07:43:51 up 339 days, 17:24, 0 user, load average: 1.99, 2.01, 2.00 starting at Tue Mar 3 07:43:51 AM AEDT 2026 cd scripts && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 mfiltercc gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' gmake[1]: 'mfiltercc' is up to date. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' gc_grade=`scripts/ml --grade hlc.gc.pregen --print-gc-grade`; \ cd boehm_gc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 GC_GRADE=$gc_grade gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/boehm_gc' MAKEFLAGS=""; export MAKEFLAGS; \ PATH=../util:$PATH gmake -j2 -j1 \ GRADE=hlc.gc.pregen GC_GRADE=gc \ AR=ar RANLIB=ranlib \ libgc.a libgc.so \ FINAL_INSTALL_MERC_GC_LIB_DIR=/home/mercury/testing/run/install/lib/mercury/lib \ so gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/boehm_gc' gmake[2]: 'libgc.a' is up to date. gmake[2]: 'libgc.so' is up to date. gmake[2]: Nothing to be done for 'so'. gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/boehm_gc' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/boehm_gc' cd runtime && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/runtime' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/runtime' cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' cd robdd && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/robdd' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/robdd' cd library && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/library' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/library' cd mdbcomp && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/mdbcomp' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/mdbcomp' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 cd trace && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/trace' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/trace' cd ssdb && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/ssdb' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/ssdb' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/grade_lib' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/grade_lib' cd compiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/compiler' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/compiler' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/profiler' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/profiler' cd doc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/doc' "/usr/bin/texi2dvi" mercury_user_guide.texi_pp < /dev/null > mercury_user_guide.dvi_log "/usr/bin/texi2dvi" mercury_reference_manual.texi_pp < /dev/null > mercury_reference_manual.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.sfEfAm:905: mercury_user_guide.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_library_manual.texi_pp < /dev/null > mercury_library_manual.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.sfEfAm:905: mercury_reference_manual.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_faq.texi_pp < /dev/null > mercury_faq.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.sfEfAm:905: mercury_library_manual.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_transition_guide.texi_pp < /dev/null > mercury_transition_guide.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.sfEfAm:905: mercury_faq.dvi] Error 1 (ignored) You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.sfEfAm:905: mercury_transition_guide.dvi] Error 1 (ignored) gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/doc' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/slice' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/slice' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/deep_profiler' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/deep_profiler' cd mfilterjavac && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake -j2 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/mfilterjavac' gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/mfilterjavac' building of stage 1 successful linking stage 2... ./config.status --file Mmake.common config.status: creating Mmake.common cd scripts && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mfiltercc gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' /tmp/mmake.qD07Ns:1242: warning: overriding recipe for target 'realclean_local' /tmp/mmake.qD07Ns:886: warning: ignoring old recipe for target 'realclean_local' gmake[1]: 'mfiltercc' is up to date. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' gc_grade=`scripts/ml --grade java --print-gc-grade`; \ cd boehm_gc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake GC_GRADE=$gc_grade gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/boehm_gc' /tmp/mmake.dLRGE7:1360: warning: overriding recipe for target 'clean_local' /tmp/mmake.dLRGE7:897: warning: ignoring old recipe for target 'clean_local' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/boehm_gc' cd runtime && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/runtime' /tmp/mmake.PNB3wc:1692: warning: overriding recipe for target 'realclean_local' /tmp/mmake.PNB3wc:1334: warning: ignoring old recipe for target 'realclean_local' No Mercury runtime needed for GRADE=java gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/runtime' building of stage 2 runtime successful config.status: creating library/LIB_FLAGS config.status: creating mdbcomp/MDBCOMP_FLAGS config.status: creating browser/MDB_FLAGS config.status: creating ssdb/SSDB_FLAGS config.status: creating grade_lib/GRADE_LIB_FLAGS config.status: creating compiler/COMP_FLAGS config.status: creating slice/SLICE_FLAGS config.status: creating profiler/PROF_FLAGS config.status: creating deep_profiler/DEEP_FLAGS config.status: creating mfilterjavac/MFILTERJAVAC_FLAGS building of stage 2 flags files successful cd library && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' /tmp/mmake.3Gpvzj:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.3Gpvzj:1350: warning: ignoring old recipe for target 'realclean_local' test -d jmercury || mkdir jmercury test -d jmercury/runtime || cp -r ../java/runtime jmercury { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.depend_ints gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' cd mdbcomp && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_mdbcomp.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' /tmp/mmake.SoinNg:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.SoinNg:1029: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_browser.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' /tmp/mmake.WwUjGj:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.WwUjGj:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake browse_test.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' /tmp/mmake.3oqmfT:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.3oqmfT:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - browse_test.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake declarative_test.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' /tmp/mmake.HXfA9N:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.HXfA9N:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - declarative_test.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' cd ssdb && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_ssdb.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' /tmp/mmake.W0jkZp:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.W0jkZp:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.y3OstB:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.y3OstB:974: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.6eZSjE:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.6eZSjE:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.7KMUa1:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.7KMUa1:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd compiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' /tmp/mmake.0hiD9j:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.0hiD9j:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.0hiD9j:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.0hiD9j:1037: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs -f *.m gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.MJfCpV:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.MJfCpV:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.DDaopb:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.DDaopb:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.j1QujW:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.j1QujW:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.o1m75R:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.o1m75R:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.gfoZRc:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.gfoZRc:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' /tmp/mmake.h3yqPu:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.h3yqPu:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend_aux gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' /tmp/mmake.SiHa80:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.SiHa80:945: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'depend_aux'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.GctWip:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.GctWip:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.O3GRzB:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.O3GRzB:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.iJNiFF:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.iJNiFF:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.dnZ3h7:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.dnZ3h7:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.RTL4Nl:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.RTL4Nl:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.mwEBuw:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.mwEBuw:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd mfilterjavac && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' /tmp/mmake.AOEnOo:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.AOEnOo:960: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'depend'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' building of stage 2 dependencies successful ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.XbhIIu:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.XbhIIu:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.XbhIIu:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.XbhIIu:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.XbhIIu:1350: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.int3s Making Mercury/int3s/mer_std.int3 Making Mercury/int3s/builtin.int3 Making Mercury/int3s/private_builtin.int3 Making Mercury/int3s/int.int3 Making Mercury/int3s/uint.int3 Making Mercury/int3s/require.int3 Making Mercury/int3s/string.int3 Making Mercury/int3s/char.int3 Making Mercury/int3s/uint16.int3 Making Mercury/int3s/exception.int3 Making Mercury/int3s/list.int3 Making Mercury/int3s/pretty_printer.int3 Making Mercury/int3s/type_desc.int3 Making Mercury/int3s/rtti_implementation.int3 Making Mercury/int3s/int16.int3 Making Mercury/int3s/int32.int3 Making Mercury/int3s/uint32.int3 Making Mercury/int3s/array.int3 Making Mercury/int3s/string.format.int3 Making Mercury/int3s/float.int3 Making Mercury/int3s/int64.int3 Making Mercury/int3s/uint64.int3 Making Mercury/int3s/int8.int3 Making Mercury/int3s/uint8.int3 Making Mercury/int3s/string.parse_util.int3 Making Mercury/int3s/bool.int3 Making Mercury/int3s/enum.int3 Making Mercury/int3s/string.parse_runtime.int3 Making Mercury/int3s/integer.int3 Making Mercury/int3s/deconstruct.int3 Making Mercury/int3s/maybe.int3 Making Mercury/int3s/univ.int3 Making Mercury/int3s/construct.int3 Making Mercury/int3s/stream.int3 Making Mercury/int3s/stream.string_writer.int3 Making Mercury/int3s/ops.int3 Making Mercury/int3s/string.builder.int3 Making Mercury/int3s/io.int3 Making Mercury/int3s/term.int3 Making Mercury/int3s/map.int3 Making Mercury/int3s/assoc_list.int3 Making Mercury/int3s/pair.int3 Making Mercury/int3s/tree234.int3 Making Mercury/int3s/set.int3 Making Mercury/int3s/set_ordlist.int3 Making Mercury/int3s/cord.int3 Making Mercury/int3s/term_subst.int3 Making Mercury/int3s/term_context.int3 Making Mercury/int3s/term_int.int3 Making Mercury/int3s/term_unify.int3 Making Mercury/int3s/term_vars.int3 Making Mercury/int3s/bitmap.int3 Making Mercury/int3s/io.error_util.int3 Making Mercury/int3s/io.stream_ops.int3 Making Mercury/int3s/io.stream_db.int3 Making Mercury/int3s/benchmarking.int3 Making Mercury/int3s/io.primitives_write.int3 Making Mercury/int3s/mutvar.int3 Making Mercury/int3s/dir.int3 Making Mercury/int3s/unit.int3 Making Mercury/int3s/io.file.int3 Making Mercury/int3s/time.int3 Making Mercury/int3s/io.environment.int3 Making Mercury/int3s/mercury_term_parser.int3 Making Mercury/int3s/mercury_term_lexer.int3 Making Mercury/int3s/stack.int3 Making Mercury/int3s/varset.int3 Making Mercury/int3s/table_builtin.int3 Making Mercury/int3s/term_conversion.int3 Making Mercury/int3s/version_array.int3 Making Mercury/int3s/io.call_system.int3 Making Mercury/int3s/io.primitives_read.int3 Making Mercury/int3s/io.text_read.int3 Making Mercury/int3s/term_io.int3 Making Mercury/int3s/counter.int3 Making Mercury/int3s/calendar.int3 Making Mercury/int3s/fat_sparse_bitset.int3 Making Mercury/int3s/fatter_sparse_bitset.int3 Making Mercury/int3s/one_or_more.int3 Making Mercury/int3s/sparse_bitset.int3 Making Mercury/int3s/tree_bitset.int3 Making Mercury/int3s/set_tree234.int3 Making Mercury/int3s/solutions.int3 Making Mercury/int3s/stm_builtin.int3 Making Mercury/int3s/store.int3 Making Mercury/int3s/string.to_string.int3 Making Mercury/int3s/library.int3 Making Mercury/int3s/array2d.int3 Making Mercury/int3s/backjump.int3 Making Mercury/int3s/bag.int3 Making Mercury/int3s/bimap.int3 Making Mercury/int3s/bit_buffer.int3 Making Mercury/int3s/bit_buffer.read.int3 Making Mercury/int3s/bit_buffer.write.int3 Making Mercury/int3s/bt_array.int3 Making Mercury/int3s/ra_list.int3 Making Mercury/int3s/diet.int3 Making Mercury/int3s/digraph.int3 Making Mercury/int3s/edit_distance.int3 Making Mercury/int3s/edit_seq.int3 Making Mercury/int3s/eqvclass.int3 Making Mercury/int3s/gc.int3 Making Mercury/int3s/getopt.int3 Making Mercury/int3s/getopt_io.int3 Making Mercury/int3s/hash_table.int3 Making Mercury/int3s/kv_list.int3 Making Mercury/int3s/injection.int3 Making Mercury/int3s/lazy.int3 Making Mercury/int3s/math.int3 Making Mercury/int3s/multi_map.int3 Making Mercury/int3s/one_or_more_map.int3 Making Mercury/int3s/par_builtin.int3 Making Mercury/int3s/parsing_utils.int3 Making Mercury/int3s/pprint.int3 Making Mercury/int3s/robdd.int3 Making Mercury/int3s/set_bbbtree.int3 Making Mercury/int3s/set_unordlist.int3 Making Mercury/int3s/pqueue.int3 Making Mercury/int3s/profiling_builtin.int3 Making Mercury/int3s/prolog.int3 Making Mercury/int3s/psqueue.int3 Making Mercury/int3s/queue.int3 Making Mercury/int3s/random.int3 Making Mercury/int3s/random.sfc16.int3 Making Mercury/int3s/random.sfc32.int3 Making Mercury/int3s/random.sfc64.int3 Making Mercury/int3s/random.system_rng.int3 Making Mercury/int3s/ranges.int3 Making Mercury/int3s/rational.int3 Making Mercury/int3s/rbtree.int3 Making Mercury/int3s/region_builtin.int3 Making Mercury/int3s/rtree.int3 Making Mercury/int3s/set_ctree234.int3 Making Mercury/int3s/std_util.int3 Making Mercury/int3s/table_statistics.int3 Making Mercury/int3s/term_size_prof_builtin.int3 Making Mercury/int3s/term_to_xml.int3 Making Mercury/int3s/test_bitset.int3 Making Mercury/int3s/thread.int3 Making Mercury/int3s/thread.barrier.int3 Making Mercury/int3s/thread.mvar.int3 Making Mercury/int3s/thread.semaphore.int3 Making Mercury/int3s/thread.channel.int3 Making Mercury/int3s/thread.closeable_channel.int3 Making Mercury/int3s/thread.future.int3 Making Mercury/int3s/version_array2d.int3 Making Mercury/int3s/version_bitmap.int3 Making Mercury/int3s/version_hash_table.int3 Making Mercury/int3s/version_store.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.ints Making Mercury/int0s/thread.int0 Making Mercury/int0s/string.int0 Making Mercury/int0s/stream.int0 Making Mercury/int0s/random.int0 Making Mercury/int0s/io.int0 Making Mercury/int0s/bit_buffer.int0 Making Mercury/ints/array.int Making Mercury/ints/array2d.int Making Mercury/ints/assoc_list.int Making Mercury/ints/backjump.int Making Mercury/ints/bag.int Making Mercury/ints/benchmarking.int Making Mercury/ints/bimap.int Making Mercury/ints/bit_buffer.int Making Mercury/ints/bitmap.int Making Mercury/ints/bool.int Making Mercury/ints/bt_array.int Making Mercury/ints/builtin.int Making Mercury/ints/calendar.int Making Mercury/ints/char.int Making Mercury/ints/construct.int Making Mercury/ints/cord.int Making Mercury/ints/counter.int Making Mercury/ints/deconstruct.int Making Mercury/ints/diet.int Making Mercury/ints/digraph.int Making Mercury/ints/dir.int Making Mercury/ints/edit_distance.int Making Mercury/ints/edit_seq.int Making Mercury/ints/enum.int Making Mercury/ints/eqvclass.int Making Mercury/ints/exception.int Making Mercury/ints/fat_sparse_bitset.int Making Mercury/ints/fatter_sparse_bitset.int Making Mercury/ints/float.int Making Mercury/ints/gc.int Making Mercury/ints/getopt.int Making Mercury/ints/getopt_io.int Making Mercury/ints/hash_table.int Making Mercury/ints/injection.int Making Mercury/ints/int.int Making Mercury/ints/int16.int Making Mercury/ints/int32.int Making Mercury/ints/int64.int Making Mercury/ints/int8.int Making Mercury/ints/integer.int Making Mercury/ints/io.int Making Mercury/ints/kv_list.int Making Mercury/ints/lazy.int Making Mercury/ints/library.int Making Mercury/ints/list.int Making Mercury/ints/map.int Making Mercury/ints/math.int Making Mercury/ints/maybe.int Making Mercury/ints/mercury_term_lexer.int Making Mercury/ints/mer_std.int Making Mercury/ints/mercury_term_parser.int Making Mercury/ints/multi_map.int Making Mercury/ints/mutvar.int Making Mercury/ints/one_or_more.int Making Mercury/ints/one_or_more_map.int Making Mercury/ints/ops.int Making Mercury/ints/pair.int Making Mercury/ints/par_builtin.int Making Mercury/ints/parsing_utils.int Making Mercury/ints/pprint.int Making Mercury/ints/pqueue.int Making Mercury/ints/pretty_printer.int Making Mercury/ints/private_builtin.int Making Mercury/ints/profiling_builtin.int Making Mercury/ints/prolog.int Making Mercury/ints/psqueue.int Making Mercury/ints/queue.int Making Mercury/ints/ra_list.int Making Mercury/ints/random.int Making Mercury/ints/ranges.int Making Mercury/ints/rational.int Making Mercury/ints/rbtree.int Making Mercury/ints/region_builtin.int Making Mercury/ints/require.int Making Mercury/ints/robdd.int Making Mercury/ints/rtree.int Making Mercury/ints/rtti_implementation.int Making Mercury/ints/set.int Making Mercury/ints/set_bbbtree.int Making Mercury/ints/set_ctree234.int Making Mercury/ints/set_ordlist.int Making Mercury/ints/set_tree234.int Making Mercury/ints/set_unordlist.int Making Mercury/ints/solutions.int Making Mercury/ints/sparse_bitset.int Making Mercury/ints/stack.int Making Mercury/ints/std_util.int Making Mercury/ints/stm_builtin.int Making Mercury/ints/store.int Making Mercury/ints/stream.int Making Mercury/ints/string.int Making Mercury/ints/table_builtin.int Making Mercury/ints/table_statistics.int Making Mercury/ints/term.int Making Mercury/ints/term_context.int Making Mercury/ints/term_conversion.int Making Mercury/ints/term_int.int Making Mercury/ints/term_io.int Making Mercury/ints/term_size_prof_builtin.int Making Mercury/ints/term_subst.int Making Mercury/ints/term_to_xml.int Making Mercury/ints/term_unify.int Making Mercury/ints/term_vars.int Making Mercury/ints/test_bitset.int Making Mercury/ints/thread.int Making Mercury/ints/time.int Making Mercury/ints/tree234.int Making Mercury/ints/tree_bitset.int Making Mercury/ints/type_desc.int Making Mercury/ints/uint.int Making Mercury/ints/uint16.int Making Mercury/ints/uint32.int Making Mercury/ints/uint64.int Making Mercury/ints/uint8.int Making Mercury/ints/unit.int Making Mercury/ints/univ.int Making Mercury/ints/varset.int Making Mercury/ints/version_array.int Making Mercury/ints/version_array2d.int Making Mercury/ints/version_bitmap.int Making Mercury/ints/version_hash_table.int Making Mercury/ints/version_store.int Making Mercury/ints/bit_buffer.read.int Making Mercury/ints/bit_buffer.write.int Making Mercury/ints/io.call_system.int Making Mercury/ints/io.environment.int Making Mercury/ints/io.error_util.int Making Mercury/ints/io.file.int Making Mercury/ints/io.primitives_read.int Making Mercury/ints/io.primitives_write.int Making Mercury/ints/io.stream_db.int Making Mercury/ints/io.stream_ops.int Making Mercury/ints/io.text_read.int Making Mercury/ints/random.sfc16.int Making Mercury/ints/random.sfc32.int Making Mercury/ints/random.sfc64.int Making Mercury/ints/random.system_rng.int Making Mercury/ints/stream.string_writer.int Making Mercury/ints/string.builder.int Making Mercury/ints/string.format.int Making Mercury/ints/string.parse_runtime.int Making Mercury/ints/string.parse_util.int Making Mercury/ints/string.to_string.int Making Mercury/ints/thread.barrier.int Making Mercury/ints/thread.channel.int Making Mercury/ints/thread.closeable_channel.int Making Mercury/ints/thread.future.int Making Mercury/ints/thread.mvar.int Making Mercury/ints/thread.semaphore.int { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.opts Making Mercury/opts/array.opt Making Mercury/opts/array2d.opt Making Mercury/opts/assoc_list.opt Making Mercury/opts/backjump.opt Making Mercury/opts/bag.opt Making Mercury/opts/benchmarking.opt Making Mercury/opts/bimap.opt Making Mercury/opts/bit_buffer.opt Making Mercury/opts/bitmap.opt Making Mercury/opts/bool.opt Making Mercury/opts/bt_array.opt Making Mercury/opts/builtin.opt Making Mercury/opts/calendar.opt Making Mercury/opts/char.opt Making Mercury/opts/construct.opt Making Mercury/opts/cord.opt Making Mercury/opts/counter.opt Making Mercury/opts/deconstruct.opt Making Mercury/opts/diet.opt Making Mercury/opts/digraph.opt Making Mercury/opts/dir.opt Making Mercury/opts/edit_distance.opt Making Mercury/opts/edit_seq.opt Making Mercury/opts/enum.opt Making Mercury/opts/eqvclass.opt Making Mercury/opts/exception.opt Making Mercury/opts/fat_sparse_bitset.opt Making Mercury/opts/fatter_sparse_bitset.opt Making Mercury/opts/float.opt Making Mercury/opts/gc.opt Making Mercury/opts/getopt.opt Making Mercury/opts/getopt_io.opt Making Mercury/opts/hash_table.opt Making Mercury/opts/injection.opt Making Mercury/opts/int.opt Making Mercury/opts/int16.opt Making Mercury/opts/int32.opt Making Mercury/opts/int64.opt Making Mercury/opts/int8.opt Making Mercury/opts/integer.opt Making Mercury/opts/io.opt Making Mercury/opts/kv_list.opt Making Mercury/opts/lazy.opt Making Mercury/opts/library.opt Making Mercury/opts/list.opt Making Mercury/opts/map.opt Making Mercury/opts/math.opt Making Mercury/opts/maybe.opt Making Mercury/opts/mer_std.opt Making Mercury/opts/mercury_term_lexer.opt Making Mercury/opts/mercury_term_parser.opt Making Mercury/opts/multi_map.opt Making Mercury/opts/mutvar.opt Making Mercury/opts/one_or_more.opt Making Mercury/opts/one_or_more_map.opt Making Mercury/opts/ops.opt Making Mercury/opts/pair.opt Making Mercury/opts/par_builtin.opt Making Mercury/opts/parsing_utils.opt Making Mercury/opts/pprint.opt Making Mercury/opts/pqueue.opt Making Mercury/opts/pretty_printer.opt Making Mercury/opts/private_builtin.opt Making Mercury/opts/profiling_builtin.opt Making Mercury/opts/prolog.opt Making Mercury/opts/psqueue.opt Making Mercury/opts/queue.opt Making Mercury/opts/ra_list.opt Making Mercury/opts/random.opt Making Mercury/opts/ranges.opt Making Mercury/opts/rational.opt Making Mercury/opts/rbtree.opt Making Mercury/opts/region_builtin.opt Making Mercury/opts/require.opt Making Mercury/opts/robdd.opt Making Mercury/opts/rtree.opt Making Mercury/opts/rtti_implementation.opt Making Mercury/opts/set.opt Making Mercury/opts/set_bbbtree.opt Making Mercury/opts/set_ctree234.opt Making Mercury/opts/set_ordlist.opt Making Mercury/opts/set_tree234.opt Making Mercury/opts/set_unordlist.opt Making Mercury/opts/solutions.opt Making Mercury/opts/sparse_bitset.opt Making Mercury/opts/stack.opt Making Mercury/opts/std_util.opt Making Mercury/opts/stm_builtin.opt Making Mercury/opts/store.opt Making Mercury/opts/stream.opt Making Mercury/opts/string.opt Making Mercury/opts/table_builtin.opt Making Mercury/opts/table_statistics.opt Making Mercury/opts/term.opt Making Mercury/opts/term_context.opt Making Mercury/opts/term_conversion.opt Making Mercury/opts/term_int.opt Making Mercury/opts/term_io.opt Making Mercury/opts/term_size_prof_builtin.opt Making Mercury/opts/term_subst.opt Making Mercury/opts/term_to_xml.opt Making Mercury/opts/term_unify.opt Making Mercury/opts/term_vars.opt Making Mercury/opts/test_bitset.opt Making Mercury/opts/thread.opt Making Mercury/opts/time.opt Making Mercury/opts/tree234.opt Making Mercury/opts/tree_bitset.opt Making Mercury/opts/type_desc.opt Making Mercury/opts/uint.opt Making Mercury/opts/uint16.opt Making Mercury/opts/uint32.opt Making Mercury/opts/uint64.opt Making Mercury/opts/uint8.opt Making Mercury/opts/unit.opt Making Mercury/opts/univ.opt Making Mercury/opts/varset.opt Making Mercury/opts/version_array.opt Making Mercury/opts/version_array2d.opt Making Mercury/opts/version_bitmap.opt Making Mercury/opts/version_hash_table.opt Making Mercury/opts/version_store.opt Making Mercury/opts/bit_buffer.read.opt Making Mercury/opts/bit_buffer.write.opt Making Mercury/opts/io.call_system.opt Making Mercury/opts/io.environment.opt Making Mercury/opts/io.error_util.opt Making Mercury/opts/io.file.opt Making Mercury/opts/io.primitives_read.opt Making Mercury/opts/io.primitives_write.opt Making Mercury/opts/io.stream_db.opt Making Mercury/opts/io.stream_ops.opt Making Mercury/opts/io.text_read.opt Making Mercury/opts/random.sfc16.opt Making Mercury/opts/random.sfc32.opt Making Mercury/opts/random.sfc64.opt Making Mercury/opts/random.system_rng.opt Making Mercury/opts/stream.string_writer.opt Making Mercury/opts/string.builder.opt Making Mercury/opts/string.format.opt Making Mercury/opts/string.parse_runtime.opt Making Mercury/opts/string.parse_util.opt Making Mercury/opts/string.to_string.opt Making Mercury/opts/thread.barrier.opt Making Mercury/opts/thread.channel.opt Making Mercury/opts/thread.closeable_channel.opt Making Mercury/opts/thread.future.opt Making Mercury/opts/thread.mvar.opt Making Mercury/opts/thread.semaphore.opt test -d jmercury || mkdir jmercury test -d jmercury/runtime || cp -r ../java/runtime jmercury { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - libmer_std Making Mercury/javas/jmercury/array.java Making Mercury/javas/jmercury/array2d.java Making Mercury/javas/jmercury/assoc_list.java Making Mercury/javas/jmercury/backjump.java Making Mercury/javas/jmercury/bag.java Making Mercury/javas/jmercury/benchmarking.java Making Mercury/javas/jmercury/bimap.java Making Mercury/javas/jmercury/bit_buffer.java Making Mercury/javas/jmercury/bit_buffer__read.java Making Mercury/javas/jmercury/bit_buffer__write.java Making Mercury/javas/jmercury/bitmap.java Making Mercury/javas/jmercury/bool.java Making Mercury/javas/jmercury/bt_array.java Making Mercury/javas/jmercury/builtin.java Making Mercury/javas/jmercury/calendar.java Making Mercury/javas/jmercury/mr_char.java Making Mercury/javas/jmercury/construct.java Making Mercury/javas/jmercury/cord.java Making Mercury/javas/jmercury/counter.java Making Mercury/javas/jmercury/deconstruct.java Making Mercury/javas/jmercury/diet.java Making Mercury/javas/jmercury/digraph.java Making Mercury/javas/jmercury/dir.java Making Mercury/javas/jmercury/edit_distance.java Making Mercury/javas/jmercury/edit_seq.java Making Mercury/javas/jmercury/mr_enum.java Making Mercury/javas/jmercury/eqvclass.java Making Mercury/javas/jmercury/exception.java Making Mercury/javas/jmercury/fat_sparse_bitset.java Making Mercury/javas/jmercury/fatter_sparse_bitset.java Making Mercury/javas/jmercury/mr_float.java Making Mercury/javas/jmercury/gc.java Making Mercury/javas/jmercury/getopt.java Making Mercury/javas/jmercury/getopt_io.java Making Mercury/javas/jmercury/hash_table.java Making Mercury/javas/jmercury/injection.java Making Mercury/javas/jmercury/mr_int.java Making Mercury/javas/jmercury/int16.java Making Mercury/javas/jmercury/int32.java Making Mercury/javas/jmercury/int64.java Making Mercury/javas/jmercury/int8.java Making Mercury/javas/jmercury/integer.java Making Mercury/javas/jmercury/io.java Making Mercury/javas/jmercury/io__call_system.java Making Mercury/javas/jmercury/io__environment.java Making Mercury/javas/jmercury/io__error_util.java Making Mercury/javas/jmercury/io__file.java Making Mercury/javas/jmercury/io__primitives_read.java Making Mercury/javas/jmercury/io__primitives_write.java Making Mercury/javas/jmercury/io__stream_db.java Making Mercury/javas/jmercury/io__stream_ops.java Making Mercury/javas/jmercury/io__text_read.java Making Mercury/javas/jmercury/kv_list.java Making Mercury/javas/jmercury/lazy.java Making Mercury/javas/jmercury/library.java Making Mercury/javas/jmercury/list.java Making Mercury/javas/jmercury/map.java Making Mercury/javas/jmercury/math.java Making Mercury/javas/jmercury/maybe.java Making Mercury/javas/jmercury/mer_std.java Making Mercury/javas/jmercury/mercury_term_lexer.java Making Mercury/javas/jmercury/mercury_term_parser.java Making Mercury/javas/jmercury/multi_map.java Making Mercury/javas/jmercury/mutvar.java Making Mercury/javas/jmercury/one_or_more.java Making Mercury/javas/jmercury/one_or_more_map.java Making Mercury/javas/jmercury/ops.java Making Mercury/javas/jmercury/pair.java Making Mercury/javas/jmercury/par_builtin.java Making Mercury/javas/jmercury/parsing_utils.java Making Mercury/javas/jmercury/pprint.java Making Mercury/javas/jmercury/pqueue.java Making Mercury/javas/jmercury/pretty_printer.java Making Mercury/javas/jmercury/private_builtin.java Making Mercury/javas/jmercury/profiling_builtin.java Making Mercury/javas/jmercury/prolog.java Making Mercury/javas/jmercury/psqueue.java Making Mercury/javas/jmercury/queue.java Making Mercury/javas/jmercury/ra_list.java Making Mercury/javas/jmercury/random.java Making Mercury/javas/jmercury/random__sfc16.java Making Mercury/javas/jmercury/random__sfc32.java Making Mercury/javas/jmercury/random__sfc64.java Making Mercury/javas/jmercury/random__system_rng.java Making Mercury/javas/jmercury/ranges.java Making Mercury/javas/jmercury/rational.java Making Mercury/javas/jmercury/rbtree.java Making Mercury/javas/jmercury/region_builtin.java Making Mercury/javas/jmercury/require.java Making Mercury/javas/jmercury/robdd.java Making Mercury/javas/jmercury/rtree.java Making Mercury/javas/jmercury/rtti_implementation.java Making Mercury/javas/jmercury/set.java Making Mercury/javas/jmercury/set_bbbtree.java Making Mercury/javas/jmercury/set_ctree234.java Making Mercury/javas/jmercury/set_ordlist.java Making Mercury/javas/jmercury/set_tree234.java Making Mercury/javas/jmercury/set_unordlist.java Making Mercury/javas/jmercury/solutions.java Making Mercury/javas/jmercury/sparse_bitset.java Making Mercury/javas/jmercury/stack.java Making Mercury/javas/jmercury/std_util.java Making Mercury/javas/jmercury/stm_builtin.java Making Mercury/javas/jmercury/store.java Making Mercury/javas/jmercury/stream.java Making Mercury/javas/jmercury/stream__string_writer.java Making Mercury/javas/jmercury/string.java Making Mercury/javas/jmercury/string__builder.java Making Mercury/javas/jmercury/string__format.java Making Mercury/javas/jmercury/string__parse_runtime.java Making Mercury/javas/jmercury/string__parse_util.java Making Mercury/javas/jmercury/string__to_string.java Making Mercury/javas/jmercury/table_builtin.java Making Mercury/javas/jmercury/table_statistics.java Making Mercury/javas/jmercury/term.java Making Mercury/javas/jmercury/term_context.java Making Mercury/javas/jmercury/term_conversion.java Making Mercury/javas/jmercury/term_int.java Making Mercury/javas/jmercury/term_io.java Making Mercury/javas/jmercury/term_size_prof_builtin.java Making Mercury/javas/jmercury/term_subst.java Making Mercury/javas/jmercury/term_to_xml.java Making Mercury/javas/jmercury/term_unify.java Making Mercury/javas/jmercury/term_vars.java Making Mercury/javas/jmercury/test_bitset.java Making Mercury/javas/jmercury/thread.java Making Mercury/javas/jmercury/thread__barrier.java Making Mercury/javas/jmercury/thread__channel.java Making Mercury/javas/jmercury/thread__closeable_channel.java Making Mercury/javas/jmercury/thread__future.java Making Mercury/javas/jmercury/thread__mvar.java Making Mercury/javas/jmercury/thread__semaphore.java Making Mercury/javas/jmercury/time.java Making Mercury/javas/jmercury/tree234.java Making Mercury/javas/jmercury/tree_bitset.java Making Mercury/javas/jmercury/type_desc.java Making Mercury/javas/jmercury/uint.java Making Mercury/javas/jmercury/uint16.java Making Mercury/javas/jmercury/uint32.java Making Mercury/javas/jmercury/uint64.java Making Mercury/javas/jmercury/uint8.java Making Mercury/javas/jmercury/unit.java Making Mercury/javas/jmercury/univ.java Making Mercury/javas/jmercury/varset.java Making Mercury/javas/jmercury/version_array.java Making Mercury/javas/jmercury/version_array2d.java Making Mercury/javas/jmercury/version_bitmap.java Making Mercury/javas/jmercury/version_hash_table.java Making Mercury/javas/jmercury/version_store.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mer_std.jar /usr/bin/javac -J"-Xmx1024m" -sourcepath . jmercury/runtime/*.java /usr/bin/jar cf mer_rt.jar jmercury/runtime/*.class /usr/bin/jar i mer_rt.jar building of stage 2 library successful ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:556: warning: undefined variable 'mer_mdbcomp.all_os' ../Mmake.common:622: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:625: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:631: warning: undefined variable 'mer_mdbcomp.all_os' /tmp/mmake.5GgXKC:971: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.5GgXKC:983: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.5GgXKC:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.5GgXKC:1029: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_mdbcomp Making Mercury/int3s/mer_mdbcomp.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.feedback.feedback_info.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/mer_mdbcomp.int Making Mercury/ints/mdbcomp.int Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mer_mdbcomp.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mer_mdbcomp.jar building of stage 2 mdbcomp successful ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:556: warning: undefined variable 'mer_browser.all_os' ../Mmake.common:622: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:625: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:631: warning: undefined variable 'mer_browser.all_os' /tmp/mmake.rk7v9U:1008: warning: undefined variable 'mer_browser.ms' /tmp/mmake.rk7v9U:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.rk7v9U:1061: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_browser Making Mercury/int3s/mer_browser.int3 Making Mercury/int3s/mdb.int3 Making Mercury/int3s/mdb.browse.int3 Making Mercury/int3s/mdb.browser_info.int3 Making Mercury/int3s/mdb.browser_term.int3 Making Mercury/int3s/mdb.parse.int3 Making Mercury/int3s/mdb.util.int3 Making Mercury/int3s/mdb.term_rep.int3 Making Mercury/int3s/mdb.declarative_debugger.int3 Making Mercury/int3s/mdb.declarative_analyser.int3 Making Mercury/int3s/mdb.declarative_edt.int3 Making Mercury/int3s/mdb.declarative_execution.int3 Making Mercury/int3s/mdb.declarative_oracle.int3 Making Mercury/int3s/mdb.declarative_user.int3 Making Mercury/int3s/mdb.declarative_tree.int3 Making Mercury/int3s/mdb.io_action.int3 Making Mercury/int3s/mdb.help.int3 Making Mercury/int3s/mdb.print_term.int3 Making Mercury/int3s/mdb.frame.int3 Making Mercury/int3s/mdb.sized_pretty.int3 Making Mercury/int3s/mdb.term_paths.int3 Making Mercury/int3s/mdb.collect_lib.int3 Making Mercury/int3s/mdb.dl.int3 Making Mercury/int3s/mdb.name_mangle.int3 Making Mercury/int3s/mdb.cterm.int3 Making Mercury/int3s/mdb.debugger_interface.int3 Making Mercury/int3s/mdb.interactive_query.int3 Making Mercury/int3s/mdb.diff.int3 Making Mercury/int3s/mdb.listing.int3 Making Mercury/int3s/mdb.percent_encoding.int3 Making Mercury/int3s/mdb.save_term.int3 Making Mercury/int3s/mdb.term_to_html.int3 Making Mercury/int0s/mdb.int0 Making Mercury/ints/mdb.util.int Making Mercury/ints/mdb.term_to_html.int Making Mercury/ints/mdb.term_rep.int Making Mercury/ints/mdb.term_paths.int Making Mercury/ints/mdb.sized_pretty.int Making Mercury/ints/mdb.save_term.int Making Mercury/ints/mdb.print_term.int Making Mercury/ints/mdb.percent_encoding.int Making Mercury/ints/mdb.parse.int Making Mercury/ints/mdb.name_mangle.int Making Mercury/ints/mdb.listing.int Making Mercury/ints/mdb.io_action.int Making Mercury/ints/mdb.interactive_query.int Making Mercury/ints/mdb.help.int Making Mercury/ints/mdb.frame.int Making Mercury/ints/mdb.dl.int Making Mercury/ints/mdb.diff.int Making Mercury/ints/mdb.declarative_user.int Making Mercury/ints/mdb.declarative_tree.int Making Mercury/ints/mdb.declarative_oracle.int Making Mercury/ints/mdb.declarative_execution.int Making Mercury/ints/mdb.declarative_edt.int Making Mercury/ints/mdb.declarative_debugger.int Making Mercury/ints/mdb.declarative_analyser.int Making Mercury/ints/mdb.debugger_interface.int Making Mercury/ints/mdb.cterm.int Making Mercury/ints/mdb.collect_lib.int Making Mercury/ints/mdb.browser_term.int Making Mercury/ints/mdb.browser_info.int Making Mercury/ints/mdb.browse.int Making Mercury/ints/mer_browser.int Making Mercury/ints/mdb.int Making Mercury/javas/jmercury/mdb.java Making Mercury/javas/jmercury/mdb__browse.java Making Mercury/javas/jmercury/mdb__browser_info.java Making Mercury/javas/jmercury/mdb__browser_term.java Making Mercury/javas/jmercury/mdb__collect_lib.java Making Mercury/javas/jmercury/mdb__cterm.java Making Mercury/javas/jmercury/mdb__debugger_interface.java Making Mercury/javas/jmercury/mdb__declarative_analyser.java Making Mercury/javas/jmercury/mdb__declarative_debugger.java Making Mercury/javas/jmercury/mdb__declarative_edt.java Making Mercury/javas/jmercury/mdb__declarative_execution.java Making Mercury/javas/jmercury/mdb__declarative_oracle.java Making Mercury/javas/jmercury/mdb__declarative_tree.java Making Mercury/javas/jmercury/mdb__declarative_user.java Making Mercury/javas/jmercury/mdb__diff.java Making Mercury/javas/jmercury/mdb__dl.java Making Mercury/javas/jmercury/mdb__frame.java Making Mercury/javas/jmercury/mdb__help.java Making Mercury/javas/jmercury/mdb__interactive_query.java Making Mercury/javas/jmercury/mdb__io_action.java Making Mercury/javas/jmercury/mdb__listing.java Making Mercury/javas/jmercury/mdb__name_mangle.java Making Mercury/javas/jmercury/mdb__parse.java Making Mercury/javas/jmercury/mdb__percent_encoding.java Making Mercury/javas/jmercury/mdb__print_term.java Making Mercury/javas/jmercury/mdb__save_term.java Making Mercury/javas/jmercury/mdb__sized_pretty.java Making Mercury/javas/jmercury/mdb__term_paths.java Making Mercury/javas/jmercury/mdb__term_rep.java Making Mercury/javas/jmercury/mdb__term_to_html.java Making Mercury/javas/jmercury/mdb__util.java Making Mercury/javas/jmercury/mer_browser.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mer_browser.jar gmake: Nothing to be done for 'aux'. building of stage 2 browser successful ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:556: warning: undefined variable 'mer_ssdb.all_os' ../Mmake.common:622: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:625: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:631: warning: undefined variable 'mer_ssdb.all_os' /tmp/mmake.pSZpY7:981: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.pSZpY7:993: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.pSZpY7:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.pSZpY7:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_ssdb Making Mercury/int3s/mer_ssdb.int3 Making Mercury/int3s/ssdb.int3 Making Mercury/ints/mer_ssdb.int Making Mercury/ints/ssdb.int Making Mercury/javas/jmercury/mer_ssdb.java Making Mercury/javas/jmercury/ssdb.java Making Java class files ssdb.m:502: warning: SignalHandler is internal proprietary API and may be removed in a future release public static class SigIntHandler implements sun.misc.SignalHandler { ^ ssdb.m:506: warning: Signal is internal proprietary API and may be removed in a future release public void handle(sun.misc.Signal sig) { ^ ssdb.m:547: warning: Signal is internal proprietary API and may be removed in a future release sun.misc.Signal.handle(new sun.misc.Signal("INT"), new SigIntHandler()); ^ ssdb.m:547: warning: Signal is internal proprietary API and may be removed in a future release sun.misc.Signal.handle(new sun.misc.Signal("INT"), new SigIntHandler()); ^ Note: Mercury/javas/jmercury/ssdb.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings Making mer_ssdb.jar building of stage 2 ssdb successful /tmp/mmake.DXaVzb:1531: warning: overriding recipe for target 'realclean_local' /tmp/mmake.DXaVzb:1171: warning: ignoring old recipe for target 'realclean_local' gmake: Nothing to be done for 'trace'. building of stage 2 trace successful /tmp/mmake.gAwnL0:981: warning: undefined variable 'mercury_compile.ms' /tmp/mmake.gAwnL0:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.gAwnL0:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.gAwnL0:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.gAwnL0:1037: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init ../mdbcomp/mer_mdbcomp.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'; } | mmc --make --options-file - mercury_compile Making Mercury/int3s/mercury_compile.int3 Making Mercury/int3s/top_level.int3 Making Mercury/int3s/top_level.mercury_compile_main.int3 Making Mercury/int3s/top_level.mercury_compile_args.int3 Making Mercury/int3s/libs.int3 Making Mercury/int3s/libs.check_libgrades.int3 Making Mercury/int3s/parse_tree.int3 Making Mercury/int3s/parse_tree.comp_unit_interface.int3 Making Mercury/int3s/libs.file_util.int3 Making Mercury/int3s/libs.globals.int3 Making Mercury/int3s/libs.op_mode.int3 Making Mercury/int3s/libs.options.int3 Making Mercury/int3s/libs.optimization_options.int3 Making Mercury/int3s/libs.compute_grade.int3 Making Mercury/int3s/parse_tree.error_spec.int3 Making Mercury/int3s/parse_tree.prog_data.int3 Making Mercury/int3s/parse_tree.prog_item.int3 Making Mercury/int3s/recompilation.int3 Making Mercury/int3s/recompilation.check.int3 Making Mercury/int3s/hlds.int3 Making Mercury/int3s/hlds.instmap.int3 Making Mercury/int3s/check_hlds.int3 Making Mercury/int3s/check_hlds.switch_detection.int3 Making Mercury/int3s/libs.maybe_util.int3 Making Mercury/int3s/parse_tree.parse_tree_out_cons_id.int3 Making Mercury/int3s/parse_tree.parse_tree_out_info.int3 Making Mercury/int3s/parse_tree.parse_tree_out_misc.int3 Making Mercury/int3s/libs.indent.int3 Making Mercury/int3s/parse_tree.parse_tree_out_term.int3 Making Mercury/int3s/parse_tree.parse_tree_output.int3 Making Mercury/int3s/parse_tree.prog_data_pragma.int3 Making Mercury/int3s/libs.compiler_util.int3 Making Mercury/int3s/libs.rat.int3 Making Mercury/int3s/parse_tree.set_of_var.int3 Making Mercury/int3s/parse_tree.var_db.int3 Making Mercury/int3s/parse_tree.var_table.int3 Making Mercury/int3s/parse_tree.prog_type.int3 Making Mercury/int3s/parse_tree.prog_mode.int3 Making Mercury/int3s/parse_tree.prog_util.int3 Making Mercury/int3s/parse_tree.prog_type_subst.int3 Making Mercury/int3s/parse_tree.vartypes.int3 Making Mercury/int3s/parse_tree.parse_tree_out_sym_name.int3 Making Mercury/int3s/hlds.hlds_pred.int3 Making Mercury/int3s/backend_libs.int3 Making Mercury/int3s/backend_libs.compile_target_code.int3 Making Mercury/int3s/parse_tree.file_names.int3 Making Mercury/int3s/parse_tree.source_file_map.int3 Making Mercury/int3s/parse_tree.write_error_spec.int3 Making Mercury/int3s/parse_tree.error_util.int3 Making Mercury/int3s/parse_tree.maybe_error.int3 Making Mercury/int3s/libs.color_schemes.int3 Making Mercury/int3s/parse_tree.error_sort.int3 Making Mercury/int3s/parse_tree.parse_module.int3 Making Mercury/int3s/parse_tree.parse_error.int3 Making Mercury/int3s/parse_tree.prog_parse_tree.int3 Making Mercury/int3s/parse_tree.prog_data_foreign.int3 Making Mercury/int3s/recompilation.item_types.int3 Making Mercury/int3s/libs.timestamp.int3 Making Mercury/int3s/parse_tree.convert_import_use.int3 Making Mercury/int3s/parse_tree.convert_parse_tree.int3 Making Mercury/int3s/parse_tree.check_type_inst_mode_defns.int3 Making Mercury/int3s/parse_tree.item_util.int3 Making Mercury/int3s/parse_tree.prog_foreign.int3 Making Mercury/int3s/parse_tree.prog_foreign_enum.int3 Making Mercury/int3s/parse_tree.prog_type_repn.int3 Making Mercury/int3s/parse_tree.convert_include.int3 Making Mercury/int3s/parse_tree.file_kind.int3 Making Mercury/int3s/parse_tree.get_dependencies.int3 Making Mercury/int3s/parse_tree.type_inst_mode_map.int3 Making Mercury/int3s/parse_tree.parse_item.int3 Making Mercury/int3s/parse_tree.parse_class.int3 Making Mercury/int3s/parse_tree.parse_inst_mode_name.int3 Making Mercury/int3s/parse_tree.parse_sym_name.int3 Making Mercury/int3s/parse_tree.parse_util.int3 Making Mercury/int3s/parse_tree.parse_tree_out_inst.int3 Making Mercury/int3s/parse_tree.parse_tree_out_type.int3 Making Mercury/int3s/parse_tree.parse_tree_to_term.int3 Making Mercury/int3s/parse_tree.parse_type_name.int3 Making Mercury/int3s/parse_tree.prog_type_construct.int3 Making Mercury/int3s/parse_tree.prog_type_test.int3 Making Mercury/int3s/parse_tree.prog_type_scan.int3 Making Mercury/int3s/parse_tree.parse_types.int3 Making Mercury/int3s/parse_tree.parse_dcg_goal.int3 Making Mercury/int3s/parse_tree.parse_goal.int3 Making Mercury/int3s/parse_tree.parse_goal_util.int3 Making Mercury/int3s/parse_tree.parse_vars.int3 Making Mercury/int3s/parse_tree.parse_inst_mode_defn.int3 Making Mercury/int3s/parse_tree.parse_mutable.int3 Making Mercury/int3s/parse_tree.parse_pragma_foreign.int3 Making Mercury/int3s/parse_tree.parse_type_defn.int3 Making Mercury/int3s/parse_tree.prog_ctgc.int3 Making Mercury/int3s/parse_tree.prog_type_unify.int3 Making Mercury/int3s/parse_tree.parse_pragma.int3 Making Mercury/int3s/parse_tree.parse_pragma_analysis.int3 Making Mercury/int3s/parse_tree.parse_pragma_tabling.int3 Making Mercury/int3s/parse_tree.parse_tree_out_clause.int3 Making Mercury/int3s/parse_tree.parse_type_repn.int3 Making Mercury/int3s/recompilation.version.int3 Making Mercury/int3s/parse_tree.find_module.int3 Making Mercury/int3s/parse_tree.java_names.int3 Making Mercury/int3s/parse_tree.module_cmds.int3 Making Mercury/int3s/libs.copy_util.int3 Making Mercury/int3s/libs.system_cmds.int3 Making Mercury/int3s/libs.process_util.int3 Making Mercury/int3s/libs.shell_util.int3 Making Mercury/int3s/libs.trace_params.int3 Making Mercury/int3s/hlds.hlds_module.int3 Making Mercury/int3s/parse_tree.d_file_deps.int3 Making Mercury/int3s/parse_tree.deps_map.int3 Making Mercury/int3s/parse_tree.module_baggage.int3 Making Mercury/int3s/parse_tree.split_parse_tree_src.int3 Making Mercury/int3s/parse_tree.read_modules.int3 Making Mercury/int3s/parse_tree.warn_unread_modules.int3 Making Mercury/int3s/parse_tree.make_module_file_names.int3 Making Mercury/int3s/libs.mmakefiles.int3 Making Mercury/int3s/parse_tree.generate_mmakefile_fragments.int3 Making Mercury/int3s/parse_tree.module_dep_info.int3 Making Mercury/int3s/parse_tree.module_deps_graph.int3 Making Mercury/int3s/parse_tree.opt_deps_spec.int3 Making Mercury/int3s/parse_tree.output_imports_graph.int3 Making Mercury/int3s/parse_tree.module_qual.int3 Making Mercury/int3s/parse_tree.module_qual.qualify_items.int3 Making Mercury/int3s/parse_tree.prog_data_event.int3 Making Mercury/int3s/recompilation.record_uses.int3 Making Mercury/int3s/parse_tree.module_qual.mq_info.int3 Making Mercury/int3s/parse_tree.module_qual.id_set.int3 Making Mercury/int3s/parse_tree.module_qual.qual_errors.int3 Making Mercury/int3s/parse_tree.module_qual.collect_mq_info.int3 Making Mercury/int3s/parse_tree.prog_data_used_modules.int3 Making Mercury/int3s/hlds.hlds_cons.int3 Making Mercury/int3s/hlds.status.int3 Making Mercury/int3s/hlds.const_struct.int3 Making Mercury/int3s/hlds.hlds_class.int3 Making Mercury/int3s/hlds.type_util.int3 Making Mercury/int3s/parse_tree.builtin_lib_types.int3 Making Mercury/int3s/hlds.hlds_data.int3 Making Mercury/int3s/backend_libs.foreign.int3 Making Mercury/int3s/backend_libs.string_encoding.int3 Making Mercury/int3s/hlds.hlds_dependency_graph.int3 Making Mercury/int3s/libs.dependency_graph.int3 Making Mercury/int3s/parse_tree.parse_tree_out_pred_decl.int3 Making Mercury/int3s/hlds.hlds_clauses.int3 Making Mercury/int3s/hlds.hlds_args.int3 Making Mercury/int3s/hlds.hlds_goal.int3 Making Mercury/int3s/parse_tree.prog_detism.int3 Making Mercury/int3s/parse_tree.prog_rename.int3 Making Mercury/int3s/hlds.goal_mode.int3 Making Mercury/int3s/hlds.hlds_proc_util.int3 Making Mercury/int3s/hlds.inst_match.int3 Making Mercury/int3s/hlds.inst_lookup.int3 Making Mercury/int3s/hlds.hlds_inst_mode.int3 Making Mercury/int3s/hlds.inst_mode_type_prop.int3 Making Mercury/int3s/parse_tree.error_type_util.int3 Making Mercury/int3s/hlds.error_msg_inst.int3 Making Mercury/int3s/hlds.hlds_error_util.int3 Making Mercury/int3s/hlds.hlds_markers.int3 Making Mercury/int3s/hlds.hlds_out.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_goal.int3 Making Mercury/int3s/hlds.hlds_llds.int3 Making Mercury/int3s/check_hlds.mode_ordering.int3 Making Mercury/int3s/hlds.inst_graph.int3 Making Mercury/int3s/check_hlds.clause_to_proc.int3 Making Mercury/int3s/hlds.hlds_rtti.int3 Making Mercury/int3s/hlds.mode_top_functor.int3 Making Mercury/int3s/hlds.inst_test.int3 Making Mercury/int3s/hlds.inst_util.int3 Making Mercury/int3s/hlds.mode_util.int3 Making Mercury/int3s/hlds.passes_aux.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_util.int3 Making Mercury/int3s/hlds.pred_name.int3 Making Mercury/int3s/hlds.special_pred.int3 Making Mercury/int3s/hlds.pred_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_module.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_inst_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_mode.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_pred.int3 Making Mercury/int3s/parse_tree.parse_tree_out_pragma.int3 Making Mercury/int3s/hlds.var_table_hlds.int3 Making Mercury/int3s/transform_hlds.int3 Making Mercury/int3s/transform_hlds.term_constr_main_types.int3 Making Mercury/int3s/libs.lp_rational.int3 Making Mercury/int3s/libs.polyhedron.int3 Making Mercury/int3s/transform_hlds.term_constr_data.int3 Making Mercury/int3s/transform_hlds.term_constr_errors.int3 Making Mercury/int3s/transform_hlds.term_util.int3 Making Mercury/int3s/hlds.mode_test.int3 Making Mercury/int3s/transform_hlds.term_errors.int3 Making Mercury/int3s/transform_hlds.term_norm.int3 Making Mercury/int3s/transform_hlds.mmc_analysis.int3 Making Mercury/int3s/analysis.int3 Making Mercury/int3s/analysis.framework.int3 Making Mercury/int3s/analysis.operations.int3 Making Mercury/int3s/analysis.file.int3 Making Mercury/int3s/libs.pickle.int3 Making Mercury/int3s/transform_hlds.ctgc.int3 Making Mercury/int3s/transform_hlds.ctgc.util.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.analysis.int3 Making Mercury/int3s/hlds.goal_path.int3 Making Mercury/int3s/transform_hlds.intermod_analysis.int3 Making Mercury/int3s/parse_tree.parse_tree_out_item.int3 Making Mercury/int3s/parse_tree.canonicalize_interface.int3 Making Mercury/int3s/parse_tree.parse_tree_out_type_repn.int3 Making Mercury/int3s/transform_hlds.intermod_order_pred_info.int3 Making Mercury/int3s/transform_hlds.term_constr_util.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.analysis.int3 Making Mercury/int3s/hlds.arg_info.int3 Making Mercury/int3s/hlds.code_model.int3 Making Mercury/int3s/check_hlds.simplify.int3 Making Mercury/int3s/check_hlds.simplify.simplify_proc.int3 Making Mercury/int3s/hlds.quantification.int3 Making Mercury/int3s/hlds.goal_contains.int3 Making Mercury/int3s/hlds.goal_util.int3 Making Mercury/int3s/hlds.goal_vars.int3 Making Mercury/int3s/check_hlds.det_infer_goal.int3 Making Mercury/int3s/check_hlds.det_check_goal.int3 Making Mercury/int3s/check_hlds.det_check_switch.int3 Making Mercury/int3s/hlds.goal_transform.int3 Making Mercury/int3s/check_hlds.det_util.int3 Making Mercury/int3s/check_hlds.mode_comparison.int3 Making Mercury/int3s/check_hlds.mode_info.int3 Making Mercury/int3s/check_hlds.mode_errors.int3 Making Mercury/int3s/check_hlds.modecheck_util.int3 Making Mercury/int3s/hlds.make_goal.int3 Making Mercury/int3s/check_hlds.inst_abstract_unify.int3 Making Mercury/int3s/check_hlds.inst_make.int3 Making Mercury/int3s/check_hlds.delay_info.int3 Making Mercury/int3s/check_hlds.modecheck_goal.int3 Making Mercury/int3s/parse_tree.prog_event.int3 Making Mercury/int3s/check_hlds.mode_debug.int3 Making Mercury/int3s/check_hlds.modecheck_call.int3 Making Mercury/int3s/check_hlds.proc_requests.int3 Making Mercury/int3s/hlds.add_special_pred.int3 Making Mercury/int3s/check_hlds.polymorphism.int3 Making Mercury/int3s/check_hlds.introduce_exists_casts.int3 Making Mercury/int3s/check_hlds.polymorphism_clause.int3 Making Mercury/int3s/check_hlds.polymorphism_goal.int3 Making Mercury/int3s/hlds.from_ground_term_util.int3 Making Mercury/int3s/check_hlds.polymorphism_info.int3 Making Mercury/int3s/check_hlds.polymorphism_lambda.int3 Making Mercury/int3s/check_hlds.polymorphism_type_class_info.int3 Making Mercury/int3s/hlds.hlds_code_util.int3 Making Mercury/int3s/check_hlds.polymorphism_type_info.int3 Making Mercury/int3s/check_hlds.post_typecheck.int3 Making Mercury/int3s/hlds.var_origins.int3 Making Mercury/int3s/check_hlds.types_into_modes.int3 Making Mercury/int3s/check_hlds.unify_proc.int3 Making Mercury/int3s/check_hlds.modecheck_coerce.int3 Making Mercury/int3s/check_hlds.modecheck_conj.int3 Making Mercury/int3s/check_hlds.modecheck_unify.int3 Making Mercury/int3s/hlds.goal_refs.int3 Making Mercury/int3s/check_hlds.modes.int3 Making Mercury/int3s/check_hlds.cse_detection.int3 Making Mercury/int3s/check_hlds.find_bind_var.int3 Making Mercury/int3s/check_hlds.delay_partial_inst.int3 Making Mercury/int3s/check_hlds.det_analysis.int3 Making Mercury/int3s/check_hlds.det_check_proc.int3 Making Mercury/int3s/check_hlds.unique_modes.int3 Making Mercury/int3s/check_hlds.simplify.opt_format_call.int3 Making Mercury/int3s/check_hlds.simplify.opt_format_call_errors.int3 Making Mercury/int3s/check_hlds.simplify.parse_string_format.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_call.int3 Making Mercury/int3s/parse_tree.int_emu.int3 Making Mercury/int3s/transform_hlds.const_prop.int3 Making Mercury/int3s/check_hlds.simplify.common.int3 Making Mercury/int3s/transform_hlds.pd_cost.int3 Making Mercury/int3s/check_hlds.simplify.simplify_tasks.int3 Making Mercury/int3s/check_hlds.simplify.simplify_info.int3 Making Mercury/int3s/check_hlds.recompute_instmap_deltas.int3 Making Mercury/int3s/transform_hlds.direct_arg_in_out.int3 Making Mercury/int3s/check_hlds.simplify.mark_trace_goals.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal.int3 Making Mercury/int3s/hlds.goal_form.int3 Making Mercury/int3s/transform_hlds.exception_analysis.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_conj.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_disj.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_ite.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_scope.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_switch.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_unify.int3 Making Mercury/int3s/check_hlds.simplify.split_switch_arms.int3 Making Mercury/int3s/transform_hlds.ctgc.fixpoint_table.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.domain.int3 Making Mercury/int3s/transform_hlds.ctgc.datastruct.int3 Making Mercury/int3s/transform_hlds.ctgc.selector.int3 Making Mercury/int3s/ll_backend.int3 Making Mercury/int3s/ll_backend.liveness.int3 Making Mercury/int3s/hlds.hlds_desc.int3 Making Mercury/int3s/ll_backend.trace_gen.int3 Making Mercury/int3s/backend_libs.builtin_ops.int3 Making Mercury/int3s/ll_backend.code_info.int3 Making Mercury/int3s/backend_libs.proc_label.int3 Making Mercury/int3s/ll_backend.code_util.int3 Making Mercury/int3s/ll_backend.llds.int3 Making Mercury/int3s/backend_libs.rtti.int3 Making Mercury/int3s/backend_libs.name_mangle.int3 Making Mercury/int3s/ll_backend.layout.int3 Making Mercury/int3s/ll_backend.continuation_info.int3 Making Mercury/int3s/ll_backend.global_data.int3 Making Mercury/int3s/ll_backend.code_loc_dep.int3 Making Mercury/int3s/ll_backend.opt_debug.int3 Making Mercury/int3s/backend_libs.c_util.int3 Making Mercury/int3s/ll_backend.livemap.int3 Making Mercury/int3s/ll_backend.opt_util.int3 Making Mercury/int3s/ll_backend.exprn_aux.int3 Making Mercury/int3s/ll_backend.llds_out.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_code_addr.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_util.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_data.int3 Making Mercury/int3s/ll_backend.layout_out.int3 Making Mercury/int3s/ll_backend.rtti_out.int3 Making Mercury/int3s/backend_libs.type_ctor_info.int3 Making Mercury/int3s/backend_libs.pseudo_type_info.int3 Making Mercury/int3s/backend_libs.type_class_info.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_file.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_global.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_instr.int3 Making Mercury/int3s/backend_libs.export.int3 Making Mercury/int3s/ll_backend.foreign_proc_gen.int3 Making Mercury/int3s/ll_backend.var_locn.int3 Making Mercury/int3s/ll_backend.basic_block.int3 Making Mercury/int3s/ll_backend.call_gen.int3 Making Mercury/int3s/ll_backend.closure_gen.int3 Making Mercury/int3s/ll_backend.stack_layout.int3 Making Mercury/int3s/ll_backend.ll_pseudo_type_info.int3 Making Mercury/int3s/ll_backend.prog_rep.int3 Making Mercury/int3s/ll_backend.prog_rep_tables.int3 Making Mercury/int3s/ll_backend.code_gen.int3 Making Mercury/int3s/ll_backend.commit_gen.int3 Making Mercury/int3s/ll_backend.disj_gen.int3 Making Mercury/int3s/ll_backend.lookup_util.int3 Making Mercury/int3s/ll_backend.ite_gen.int3 Making Mercury/int3s/transform_hlds.rbmm.int3 Making Mercury/int3s/transform_hlds.rbmm.region_transformation.int3 Making Mercury/int3s/check_hlds.purity.int3 Making Mercury/int3s/check_hlds.resolve_unify_functor.int3 Making Mercury/int3s/transform_hlds.smm_common.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_graph.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_info.int3 Making Mercury/int3s/transform_hlds.rbmm.region_arguments.int3 Making Mercury/int3s/transform_hlds.rbmm.region_liveness_info.int3 Making Mercury/int3s/transform_hlds.rbmm.region_instruction.int3 Making Mercury/int3s/transform_hlds.rbmm.region_resurrection_renaming.int3 Making Mercury/int3s/transform_hlds.rbmm.add_rbmm_goal_infos.int3 Making Mercury/int3s/transform_hlds.rbmm.condition_renaming.int3 Making Mercury/int3s/transform_hlds.rbmm.execution_path.int3 Making Mercury/int3s/transform_hlds.rbmm.interproc_region_lifetime.int3 Making Mercury/int3s/transform_hlds.rbmm.live_region_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.live_variable_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.region_analysis.int3 Making Mercury/int3s/ll_backend.par_conj_gen.int3 Making Mercury/int3s/ll_backend.switch_gen.int3 Making Mercury/int3s/backend_libs.lookup_switch_util.int3 Making Mercury/int3s/backend_libs.switch_util.int3 Making Mercury/int3s/ll_backend.dense_switch.int3 Making Mercury/int3s/ll_backend.lookup_switch.int3 Making Mercury/int3s/ll_backend.string_switch.int3 Making Mercury/int3s/backend_libs.string_switch_util.int3 Making Mercury/int3s/ll_backend.switch_case.int3 Making Mercury/int3s/ll_backend.tag_switch.int3 Making Mercury/int3s/backend_libs.tag_switch_util.int3 Making Mercury/int3s/ll_backend.unify_gen_test.int3 Making Mercury/int3s/ll_backend.unify_gen_util.int3 Making Mercury/int3s/ll_backend.unify_gen.int3 Making Mercury/int3s/ll_backend.unify_gen_construct.int3 Making Mercury/int3s/ll_backend.unify_gen_deconstruct.int3 Making Mercury/int3s/ll_backend.coverage_profiling.int3 Making Mercury/int3s/ll_backend.deep_profiling.int3 Making Mercury/int3s/transform_hlds.dead_proc_elim.int3 Making Mercury/int3s/hlds.introduced_call_table.int3 Making Mercury/int3s/ll_backend.delay_slot.int3 Making Mercury/int3s/ll_backend.dupelim.int3 Making Mercury/int3s/ll_backend.dupproc.int3 Making Mercury/int3s/ll_backend.fact_table_gen.int3 Making Mercury/int3s/ll_backend.follow_code.int3 Making Mercury/int3s/ll_backend.follow_vars.int3 Making Mercury/int3s/ll_backend.frameopt.int3 Making Mercury/int3s/ll_backend.jumpopt.int3 Making Mercury/int3s/ll_backend.labelopt.int3 Making Mercury/int3s/ll_backend.live_vars.int3 Making Mercury/int3s/ll_backend.middle_rec.int3 Making Mercury/int3s/ll_backend.proc_gen.int3 Making Mercury/int3s/ll_backend.optimize.int3 Making Mercury/int3s/ll_backend.peephole.int3 Making Mercury/int3s/ll_backend.reassign.int3 Making Mercury/int3s/ll_backend.stdlabel.int3 Making Mercury/int3s/ll_backend.use_local_vars.int3 Making Mercury/int3s/ll_backend.wrap_blocks.int3 Making Mercury/int3s/ll_backend.saved_vars.int3 Making Mercury/int3s/ll_backend.stack_alloc.int3 Making Mercury/int3s/ll_backend.stack_opt.int3 Making Mercury/int3s/backend_libs.interval.int3 Making Mercury/int3s/backend_libs.matching.int3 Making Mercury/int3s/ll_backend.store_alloc.int3 Making Mercury/int3s/ll_backend.transform_llds.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.dead_cell_table.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.domain.int3 Making Mercury/int3s/transform_hlds.ctgc.livedata.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct_choose_reuse.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct_detect_garbage.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.indirect.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.lbu.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.lfu.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.versions.int3 Making Mercury/int3s/transform_hlds.tabling_analysis.int3 Making Mercury/int3s/transform_hlds.trailing_analysis.int3 Making Mercury/int3s/transform_hlds.unused_args_analysis.int3 Making Mercury/int3s/transform_hlds.accumulator.int3 Making Mercury/int3s/hlds.assertion.int3 Making Mercury/int3s/hlds.hlds_promise.int3 Making Mercury/int3s/hlds.goal_reorder.int3 Making Mercury/int3s/transform_hlds.goal_store.int3 Making Mercury/int3s/transform_hlds.closure_analysis.int3 Making Mercury/int3s/transform_hlds.complexity.int3 Making Mercury/int3s/transform_hlds.constraint.int3 Making Mercury/int3s/transform_hlds.deforest.int3 Making Mercury/int3s/transform_hlds.inlining.int3 Making Mercury/int3s/transform_hlds.pd_debug.int3 Making Mercury/int3s/transform_hlds.pd_info.int3 Making Mercury/int3s/transform_hlds.pd_term.int3 Making Mercury/int3s/transform_hlds.pd_util.int3 Making Mercury/int3s/transform_hlds.delay_construct.int3 Making Mercury/int3s/transform_hlds.dep_par_conj.int3 Making Mercury/int3s/transform_hlds.distance_granularity.int3 Making Mercury/int3s/transform_hlds.equiv_type_hlds.int3 Making Mercury/int3s/parse_tree.build_eqv_maps.int3 Making Mercury/int3s/parse_tree.equiv_type.int3 Making Mercury/int3s/transform_hlds.float_regs.int3 Making Mercury/int3s/transform_hlds.lambda.int3 Making Mercury/int3s/transform_hlds.granularity.int3 Making Mercury/int3s/transform_hlds.higher_order.int3 Making Mercury/int3s/transform_hlds.higher_order.higher_order_global_info.int3 Making Mercury/int3s/transform_hlds.higher_order.higher_order_info.int3 Making Mercury/int3s/transform_hlds.higher_order.make_specialized_preds.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_calls.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_unify_compare.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_in_module.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.introduce_parallelism.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.push_goals_together.int3 Making Mercury/int3s/transform_hlds.intermod.int3 Making Mercury/int3s/transform_hlds.intermod_decide.int3 Making Mercury/int3s/transform_hlds.intermod_info.int3 Making Mercury/int3s/transform_hlds.intermod_status.int3 Making Mercury/int3s/transform_hlds.intermod_mark_exported.int3 Making Mercury/int3s/transform_hlds.lco.int3 Making Mercury/int3s/transform_hlds.loop_inv.int3 Making Mercury/int3s/transform_hlds.par_loop_control.int3 Making Mercury/int3s/transform_hlds.parallel_to_plain_conj.int3 Making Mercury/int3s/transform_hlds.post_term_analysis.int3 Making Mercury/int3s/transform_hlds.size_prof.int3 Making Mercury/int3s/transform_hlds.ssdebug.int3 Making Mercury/int3s/transform_hlds.stm_expand.int3 Making Mercury/int3s/transform_hlds.table_gen.int3 Making Mercury/int3s/transform_hlds.term_constr_build.int3 Making Mercury/int3s/transform_hlds.term_constr_fixpoint.int3 Making Mercury/int3s/transform_hlds.term_constr_initial.int3 Making Mercury/int3s/transform_hlds.term_constr_main.int3 Making Mercury/int3s/transform_hlds.term_constr_pass2.int3 Making Mercury/int3s/transform_hlds.term_pass1.int3 Making Mercury/int3s/libs.lp.int3 Making Mercury/int3s/transform_hlds.term_traversal.int3 Making Mercury/int3s/transform_hlds.term_pass2.int3 Making Mercury/int3s/transform_hlds.termination.int3 Making Mercury/int3s/transform_hlds.tupling.int3 Making Mercury/int3s/transform_hlds.unneeded_code.int3 Making Mercury/int3s/transform_hlds.untupling.int3 Making Mercury/int3s/transform_hlds.unused_args.int3 Making Mercury/int3s/transform_hlds.unused_args_base_ops.int3 Making Mercury/int3s/transform_hlds.unused_args_optimize.int3 Making Mercury/int3s/transform_hlds.unused_args_warn_pragma.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_type_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_typeclass_table.int3 Making Mercury/int3s/check_hlds.mode_constraint_robdd.int3 Making Mercury/int3s/mode_robdd.int3 Making Mercury/int3s/mode_robdd.tfeirn.int3 Making Mercury/int3s/mode_robdd.equiv_vars.int3 Making Mercury/int3s/mode_robdd.implications.int3 Making Mercury/int3s/hlds.inst_merge.int3 Making Mercury/int3s/backend_libs.link_target_code.int3 Making Mercury/int3s/backend_libs.base_typeclass_info.int3 Making Mercury/int3s/check_hlds.scout_disjunctions.int3 Making Mercury/int3s/check_hlds.switch_candidates.int3 Making Mercury/int3s/check_hlds.abstract_mode_constraints.int3 Making Mercury/int3s/check_hlds.build_mode_constraints.int3 Making Mercury/int3s/check_hlds.check_for_missing_type_defns.int3 Making Mercury/int3s/check_hlds.check_pragma_format_call.int3 Making Mercury/int3s/check_hlds.check_promise.int3 Making Mercury/int3s/check_hlds.check_typeclass.int3 Making Mercury/int3s/hlds.make_hlds.int3 Making Mercury/int3s/hlds.make_hlds.instance_method_clauses.int3 Making Mercury/int3s/hlds.make_hlds.qual_info.int3 Making Mercury/int3s/hlds.make_hlds.add_clause.int3 Making Mercury/int3s/hlds.default_func_mode.int3 Making Mercury/int3s/hlds.make_hlds_error.int3 Making Mercury/int3s/hlds.pre_quantification.int3 Making Mercury/int3s/hlds.make_hlds.add_pred.int3 Making Mercury/int3s/hlds.make_hlds.check_field_access_functions.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_types.int3 Making Mercury/int3s/hlds.make_hlds.goal_expr_to_goal.int3 Making Mercury/int3s/hlds.make_hlds.field_access.int3 Making Mercury/int3s/hlds.make_hlds.state_var.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous_lambda.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous_util.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_warn.int3 Making Mercury/int3s/hlds.make_hlds.add_class.int3 Making Mercury/int3s/hlds.make_hlds.add_foreign_proc.int3 Making Mercury/int3s/hlds.make_hlds.add_mode.int3 Making Mercury/int3s/hlds.make_hlds.add_mutable_aux_preds.int3 Making Mercury/int3s/parse_tree.prog_mutable.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_decl.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_type_spec.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_type_spec_constr.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_util.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_gen.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_impl.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_tabling.int3 Making Mercury/int3s/ml_backend.int3 Making Mercury/int3s/ml_backend.mlds.int3 Making Mercury/int3s/ml_backend.ml_global_data.int3 Making Mercury/int3s/ml_backend.ml_type_gen.int3 Making Mercury/int3s/ml_backend.ml_code_util.int3 Making Mercury/int3s/ml_backend.ml_accurate_gc.int3 Making Mercury/int3s/ml_backend.ml_code_gen.int3 Making Mercury/int3s/ml_backend.ml_call_gen.int3 Making Mercury/int3s/hlds.mark_tail_calls.int3 Making Mercury/int3s/ml_backend.ml_args_util.int3 Making Mercury/int3s/ml_backend.ml_gen_info.int3 Making Mercury/int3s/ml_backend.ml_target_util.int3 Making Mercury/int3s/ml_backend.ml_util.int3 Making Mercury/int3s/ml_backend.ml_commit_gen.int3 Making Mercury/int3s/ml_backend.ml_disj_gen.int3 Making Mercury/int3s/ml_backend.ml_foreign_proc_gen.int3 Making Mercury/int3s/ml_backend.ml_switch_gen.int3 Making Mercury/int3s/ml_backend.ml_lookup_switch.int3 Making Mercury/int3s/ml_backend.ml_simplify_switch.int3 Making Mercury/int3s/ml_backend.ml_string_switch.int3 Making Mercury/int3s/ml_backend.ml_tag_switch.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_util.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_test.int3 Making Mercury/int3s/ml_backend.ml_unify_gen.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_construct.int3 Making Mercury/int3s/ml_backend.ml_closure_gen.int3 Making Mercury/int3s/ml_backend.rtti_to_mlds.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_deconstruct.int3 Making Mercury/int3s/ml_backend.mlds_to_c_name.int3 Making Mercury/int3s/ml_backend.add_heap_ops.int3 Making Mercury/int3s/ml_backend.add_trail_ops.int3 Making Mercury/int3s/ml_backend.ml_elim_nested.int3 Making Mercury/int3s/ml_backend.ml_optimize.int3 Making Mercury/int3s/ml_backend.mlds_dump.int3 Making Mercury/int3s/ml_backend.ml_proc_gen.int3 Making Mercury/int3s/ml_backend.ml_unused_assign.int3 Making Mercury/int3s/ml_backend.ml_rename_classes.int3 Making Mercury/int3s/ml_backend.ml_top_gen.int3 Making Mercury/int3s/ml_backend.mlds_to_c_class.int3 Making Mercury/int3s/ml_backend.mlds_to_c_data.int3 Making Mercury/int3s/ml_backend.mlds_to_c_type.int3 Making Mercury/int3s/ml_backend.mlds_to_c_util.int3 Making Mercury/int3s/ml_backend.mlds_to_target_util.int3 Making Mercury/int3s/ml_backend.mlds_to_c_func.int3 Making Mercury/int3s/ml_backend.mlds_to_c_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_c_export.int3 Making Mercury/int3s/ml_backend.mlds_to_c_file.int3 Making Mercury/int3s/ml_backend.mlds_to_c_global.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_class.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_data.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_name.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_util.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_type.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_func.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_export.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_file.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_global.int3 Making Mercury/int3s/ml_backend.mlds_to_java_class.int3 Making Mercury/int3s/ml_backend.mlds_to_java_data.int3 Making Mercury/int3s/ml_backend.mlds_to_java_name.int3 Making Mercury/int3s/ml_backend.mlds_to_java_util.int3 Making Mercury/int3s/ml_backend.mlds_to_java_type.int3 Making Mercury/int3s/ml_backend.mlds_to_java_func.int3 Making Mercury/int3s/ml_backend.mlds_to_java_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_java_export.int3 Making Mercury/int3s/ml_backend.mlds_to_java_file.int3 Making Mercury/int3s/ml_backend.mlds_to_java_global.int3 Making Mercury/int3s/ml_backend.mlds_to_java_wrap.int3 Making Mercury/int3s/hlds.make_hlds.add_solver.int3 Making Mercury/int3s/hlds.make_hlds.add_type.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_passes.int3 Making Mercury/int3s/parse_tree.prog_item_stats.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_separate_items.int3 Making Mercury/int3s/check_hlds.typeclasses.int3 Making Mercury/int3s/check_hlds.type_assign.int3 Making Mercury/int3s/check_hlds.typecheck_debug.int3 Making Mercury/int3s/check_hlds.typecheck_info.int3 Making Mercury/int3s/check_hlds.typecheck_errors.int3 Making Mercury/int3s/check_hlds.typecheck_error_util.int3 Making Mercury/int3s/check_hlds.inst_check.int3 Making Mercury/int3s/check_hlds.inst_user.int3 Making Mercury/int3s/check_hlds.mcsolver.int3 Making Mercury/int3s/check_hlds.mode_constraints.int3 Making Mercury/int3s/hlds.hhf.int3 Making Mercury/int3s/check_hlds.ordering_mode_constraints.int3 Making Mercury/int3s/check_hlds.prop_mode_constraints.int3 Making Mercury/int3s/check_hlds.oisu_check.int3 Making Mercury/int3s/check_hlds.old_type_constraints.int3 Making Mercury/int3s/check_hlds.polymorphism_post_copy.int3 Making Mercury/int3s/check_hlds.pre_typecheck.int3 Making Mercury/int3s/hlds.headvar_names.int3 Making Mercury/int3s/check_hlds.stratify.int3 Making Mercury/int3s/check_hlds.style_checks.int3 Making Mercury/int3s/check_hlds.try_expand.int3 Making Mercury/int3s/check_hlds.type_constraints.int3 Making Mercury/int3s/check_hlds.typecheck.int3 Making Mercury/int3s/check_hlds.typecheck_clauses.int3 Making Mercury/int3s/check_hlds.typecheck_coerce.int3 Making Mercury/int3s/check_hlds.typecheck_util.int3 Making Mercury/int3s/check_hlds.typecheck_error_arg_vector.int3 Making Mercury/int3s/check_hlds.typecheck_error_builtin.int3 Making Mercury/int3s/check_hlds.typecheck_error_type_assign.int3 Making Mercury/int3s/check_hlds.typecheck_error_overload.int3 Making Mercury/int3s/check_hlds.typecheck_error_undef.int3 Making Mercury/int3s/check_hlds.typecheck_error_unify.int3 Making Mercury/int3s/check_hlds.typecheck_error_wrong_type.int3 Making Mercury/int3s/check_hlds.typecheck_error_diff.int3 Making Mercury/int3s/check_hlds.typecheck_unify_var_functor.int3 Making Mercury/int3s/check_hlds.typecheck_cons_infos.int3 Making Mercury/int3s/check_hlds.typecheck_msgs.int3 Making Mercury/int3s/check_hlds.unused_imports.int3 Making Mercury/int3s/check_hlds.unused_types.int3 Making Mercury/int3s/check_hlds.xml_documentation.int3 Making Mercury/int3s/hlds.add_foreign_enum.int3 Making Mercury/int3s/hlds.du_type_layout.int3 Making Mercury/int3s/hlds.hlds_call_tree.int3 Making Mercury/int3s/hlds.hlds_defns.int3 Making Mercury/int3s/hlds.hlds_statistics.int3 Making Mercury/int3s/hlds.implementation_defined_literals.int3 Making Mercury/int3s/hlds.mark_static_terms.int3 Making Mercury/int3s/recompilation.used_file.int3 Making Mercury/int3s/recompilation.usage.int3 Making Mercury/int3s/libs.optdb_help.int3 Making Mercury/int3s/libs.option_categories.int3 Making Mercury/int3s/parse_tree.decide_type_repn.int3 Making Mercury/int3s/parse_tree.equiv_type_parse_tree.int3 Making Mercury/int3s/parse_tree.grab_modules.int3 Making Mercury/int3s/parse_tree.check_import_accessibility.int3 Making Mercury/int3s/parse_tree.parse_tree_out.int3 Making Mercury/int3s/parse_tree.write_deps_file.int3 Making Mercury/int3s/parse_tree.write_module_interface_files.int3 Making Mercury/int3s/parse_tree.check_module_interface.int3 Making Mercury/int3s/libs.print_help.int3 Making Mercury/int3s/libs.handle_options.int3 Making Mercury/int3s/libs.check_options.int3 Making Mercury/int3s/libs.graph_colour.int3 Making Mercury/int3s/libs.lines_builder.int3 Making Mercury/int3s/libs.md5.int3 Making Mercury/int3s/libs.va_map.int3 Making Mercury/int3s/make.int3 Making Mercury/int3s/make.build.int3 Making Mercury/int3s/make.options_file.int3 Making Mercury/int3s/make.make_info.int3 Making Mercury/int3s/make.prereqs_cache.int3 Making Mercury/int3s/make.index_set.int3 Making Mercury/int3s/make.module_target.int3 Making Mercury/int3s/make.check_up_to_date.int3 Making Mercury/int3s/make.file_names.int3 Making Mercury/int3s/make.get_module_dep_info.int3 Making Mercury/int3s/make.module_dep_file.int3 Making Mercury/int3s/make.timestamp.int3 Making Mercury/int3s/make.hash.int3 Making Mercury/int3s/make.util.int3 Making Mercury/int3s/make.prereqs.int3 Making Mercury/int3s/make.find_local_modules.int3 Making Mercury/int3s/make.top_level.int3 Making Mercury/int3s/make.program_target.int3 Making Mercury/int3s/make.clean.int3 Making Mercury/int3s/make.library_install.int3 Making Mercury/int3s/make.track_flags.int3 Making Mercury/int3s/top_level.mercury_compile_augment.int3 Making Mercury/int3s/top_level.mercury_compile_front_end.int3 Making Mercury/int3s/top_level.mercury_compile_middle_passes.int3 Making Mercury/int3s/top_level.mercury_compile_llds_back_end.int3 Making Mercury/int3s/top_level.mercury_compile_make_hlds.int3 Making Mercury/int3s/top_level.mercury_compile_mlds_back_end.int3 Making Mercury/int0s/transform_hlds.int0 Making Mercury/int0s/transform_hlds.ctgc.int0 Making Mercury/int0s/transform_hlds.ctgc.structure_sharing.int0 Making Mercury/int0s/transform_hlds.ctgc.structure_reuse.int0 Making Mercury/int0s/transform_hlds.rbmm.int0 Making Mercury/int0s/transform_hlds.implicit_parallelism.int0 Making Mercury/int0s/transform_hlds.higher_order.int0 Making Mercury/int0s/parse_tree.int0 Making Mercury/int0s/parse_tree.module_qual.int0 Making Mercury/int0s/ll_backend.int0 Making Mercury/int0s/ll_backend.llds_out.int0 Making Mercury/int0s/hlds.int0 Making Mercury/int0s/hlds.make_hlds.int0 Making Mercury/int0s/hlds.hlds_out.int0 Making Mercury/int0s/check_hlds.int0 Making Mercury/int0s/check_hlds.simplify.int0 Making Mercury/int0s/top_level.int0 Making Mercury/int0s/recompilation.int0 Making Mercury/int0s/mode_robdd.int0 Making Mercury/int0s/ml_backend.int0 Making Mercury/int0s/make.int0 Making Mercury/int0s/libs.int0 Making Mercury/int0s/backend_libs.int0 Making Mercury/int0s/analysis.int0 Making Mercury/ints/transform_hlds.ctgc.structure_sharing.domain.int Making Mercury/ints/transform_hlds.ctgc.structure_sharing.analysis.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.versions.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.lfu.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.lbu.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.indirect.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.domain.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct_detect_garbage.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct_choose_reuse.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.dead_cell_table.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.analysis.int Making Mercury/ints/transform_hlds.rbmm.region_transformation.int Making Mercury/ints/transform_hlds.rbmm.region_resurrection_renaming.int Making Mercury/ints/transform_hlds.rbmm.region_liveness_info.int Making Mercury/ints/transform_hlds.rbmm.region_instruction.int Making Mercury/ints/transform_hlds.rbmm.region_arguments.int Making Mercury/ints/transform_hlds.rbmm.region_analysis.int Making Mercury/ints/transform_hlds.rbmm.points_to_info.int Making Mercury/ints/transform_hlds.rbmm.points_to_graph.int Making Mercury/ints/transform_hlds.rbmm.points_to_analysis.int Making Mercury/ints/transform_hlds.rbmm.live_variable_analysis.int Making Mercury/ints/transform_hlds.rbmm.live_region_analysis.int Making Mercury/ints/transform_hlds.rbmm.interproc_region_lifetime.int Making Mercury/ints/transform_hlds.rbmm.execution_path.int Making Mercury/ints/transform_hlds.rbmm.condition_renaming.int Making Mercury/ints/transform_hlds.rbmm.add_rbmm_goal_infos.int Making Mercury/ints/transform_hlds.implicit_parallelism.push_goals_together.int Making Mercury/ints/transform_hlds.implicit_parallelism.introduce_parallelism.int Making Mercury/ints/transform_hlds.higher_order.specialize_unify_compare.int Making Mercury/ints/transform_hlds.higher_order.specialize_in_module.int Making Mercury/ints/transform_hlds.higher_order.specialize_calls.int Making Mercury/ints/transform_hlds.higher_order.make_specialized_preds.int Making Mercury/ints/transform_hlds.higher_order.higher_order_info.int Making Mercury/ints/transform_hlds.higher_order.higher_order_global_info.int Making Mercury/ints/transform_hlds.ctgc.util.int Making Mercury/ints/transform_hlds.ctgc.structure_sharing.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.int Making Mercury/ints/transform_hlds.ctgc.selector.int Making Mercury/ints/transform_hlds.ctgc.livedata.int Making Mercury/ints/transform_hlds.ctgc.fixpoint_table.int Making Mercury/ints/transform_hlds.ctgc.datastruct.int Making Mercury/ints/parse_tree.module_qual.qualify_items.int Making Mercury/ints/parse_tree.module_qual.qual_errors.int Making Mercury/ints/parse_tree.module_qual.mq_info.int Making Mercury/ints/parse_tree.module_qual.id_set.int Making Mercury/ints/parse_tree.module_qual.collect_mq_info.int Making Mercury/ints/ll_backend.llds_out.llds_out_util.int Making Mercury/ints/ll_backend.llds_out.llds_out_instr.int Making Mercury/ints/ll_backend.llds_out.llds_out_global.int Making Mercury/ints/ll_backend.llds_out.llds_out_file.int Making Mercury/ints/ll_backend.llds_out.llds_out_data.int Making Mercury/ints/ll_backend.llds_out.llds_out_code_addr.int Making Mercury/ints/hlds.make_hlds.superhomogeneous_util.int Making Mercury/ints/hlds.make_hlds.superhomogeneous_lambda.int Making Mercury/ints/hlds.make_hlds.superhomogeneous.int Making Mercury/ints/hlds.make_hlds.state_var.int Making Mercury/ints/hlds.make_hlds.qual_info.int Making Mercury/ints/hlds.make_hlds.make_hlds_warn.int Making Mercury/ints/hlds.make_hlds.make_hlds_types.int Making Mercury/ints/hlds.make_hlds.make_hlds_separate_items.int Making Mercury/ints/hlds.make_hlds.make_hlds_passes.int Making Mercury/ints/hlds.make_hlds.instance_method_clauses.int Making Mercury/ints/hlds.make_hlds.goal_expr_to_goal.int Making Mercury/ints/hlds.make_hlds.field_access.int Making Mercury/ints/hlds.make_hlds.check_field_access_functions.int Making Mercury/ints/hlds.make_hlds.add_type.int Making Mercury/ints/hlds.make_hlds.add_solver.int Making Mercury/ints/hlds.make_hlds.add_pred.int Making Mercury/ints/hlds.make_hlds.add_pragma_util.int Making Mercury/ints/hlds.make_hlds.add_pragma_type_spec_constr.int Making Mercury/ints/hlds.make_hlds.add_pragma_type_spec.int Making Mercury/ints/hlds.make_hlds.add_pragma_tabling.int Making Mercury/ints/hlds.make_hlds.add_pragma_impl.int Making Mercury/ints/hlds.make_hlds.add_pragma_gen.int Making Mercury/ints/hlds.make_hlds.add_pragma_decl.int Making Mercury/ints/hlds.make_hlds.add_mutable_aux_preds.int Making Mercury/ints/hlds.make_hlds.add_mode.int Making Mercury/ints/hlds.make_hlds.add_foreign_proc.int Making Mercury/ints/hlds.make_hlds.add_clause.int Making Mercury/ints/hlds.make_hlds.add_class.int Making Mercury/ints/hlds.hlds_out.hlds_out_util.int Making Mercury/ints/hlds.hlds_out.hlds_out_typeclass_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_type_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_pred.int Making Mercury/ints/hlds.hlds_out.hlds_out_module.int Making Mercury/ints/hlds.hlds_out.hlds_out_mode.int Making Mercury/ints/hlds.hlds_out.hlds_out_inst_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_goal.int Making Mercury/ints/check_hlds.simplify.split_switch_arms.int Making Mercury/ints/check_hlds.simplify.simplify_tasks.int Making Mercury/ints/check_hlds.simplify.simplify_proc.int Making Mercury/ints/check_hlds.simplify.simplify_info.int Making Mercury/ints/check_hlds.simplify.simplify_goal_unify.int Making Mercury/ints/check_hlds.simplify.simplify_goal_switch.int Making Mercury/ints/check_hlds.simplify.simplify_goal_scope.int Making Mercury/ints/check_hlds.simplify.simplify_goal_ite.int Making Mercury/ints/check_hlds.simplify.simplify_goal_disj.int Making Mercury/ints/check_hlds.simplify.simplify_goal_conj.int Making Mercury/ints/check_hlds.simplify.simplify_goal_call.int Making Mercury/ints/check_hlds.simplify.simplify_goal.int Making Mercury/ints/check_hlds.simplify.parse_string_format.int Making Mercury/ints/check_hlds.simplify.opt_format_call_errors.int Making Mercury/ints/check_hlds.simplify.opt_format_call.int Making Mercury/ints/check_hlds.simplify.mark_trace_goals.int Making Mercury/ints/check_hlds.simplify.common.int Making Mercury/ints/transform_hlds.unused_args_warn_pragma.int Making Mercury/ints/transform_hlds.unused_args_optimize.int Making Mercury/ints/transform_hlds.unused_args_base_ops.int Making Mercury/ints/transform_hlds.unused_args_analysis.int Making Mercury/ints/transform_hlds.unused_args.int Making Mercury/ints/transform_hlds.untupling.int Making Mercury/ints/transform_hlds.unneeded_code.int Making Mercury/ints/transform_hlds.tupling.int Making Mercury/ints/transform_hlds.trailing_analysis.int Making Mercury/ints/transform_hlds.termination.int Making Mercury/ints/transform_hlds.term_util.int Making Mercury/ints/transform_hlds.term_traversal.int Making Mercury/ints/transform_hlds.term_pass2.int Making Mercury/ints/transform_hlds.term_pass1.int Making Mercury/ints/transform_hlds.term_norm.int Making Mercury/ints/transform_hlds.term_errors.int Making Mercury/ints/transform_hlds.term_constr_util.int Making Mercury/ints/transform_hlds.term_constr_pass2.int Making Mercury/ints/transform_hlds.term_constr_main_types.int Making Mercury/ints/transform_hlds.term_constr_main.int Making Mercury/ints/transform_hlds.term_constr_initial.int Making Mercury/ints/transform_hlds.term_constr_fixpoint.int Making Mercury/ints/transform_hlds.term_constr_errors.int Making Mercury/ints/transform_hlds.term_constr_data.int Making Mercury/ints/transform_hlds.term_constr_build.int Making Mercury/ints/transform_hlds.tabling_analysis.int Making Mercury/ints/transform_hlds.table_gen.int Making Mercury/ints/transform_hlds.stm_expand.int Making Mercury/ints/transform_hlds.ssdebug.int Making Mercury/ints/transform_hlds.smm_common.int Making Mercury/ints/transform_hlds.size_prof.int Making Mercury/ints/transform_hlds.rbmm.int Making Mercury/ints/transform_hlds.post_term_analysis.int Making Mercury/ints/transform_hlds.pd_util.int Making Mercury/ints/transform_hlds.pd_term.int Making Mercury/ints/transform_hlds.pd_info.int Making Mercury/ints/transform_hlds.pd_debug.int Making Mercury/ints/transform_hlds.pd_cost.int Making Mercury/ints/transform_hlds.parallel_to_plain_conj.int Making Mercury/ints/transform_hlds.par_loop_control.int Making Mercury/ints/transform_hlds.mmc_analysis.int Making Mercury/ints/transform_hlds.loop_inv.int Making Mercury/ints/transform_hlds.lco.int Making Mercury/ints/transform_hlds.lambda.int Making Mercury/ints/transform_hlds.intermod_status.int Making Mercury/ints/transform_hlds.intermod_order_pred_info.int Making Mercury/ints/transform_hlds.intermod_mark_exported.int Making Mercury/ints/transform_hlds.intermod_info.int Making Mercury/ints/transform_hlds.intermod_decide.int Making Mercury/ints/transform_hlds.intermod_analysis.int Making Mercury/ints/transform_hlds.intermod.int Making Mercury/ints/transform_hlds.inlining.int Making Mercury/ints/transform_hlds.implicit_parallelism.int Making Mercury/ints/transform_hlds.higher_order.int Making Mercury/ints/transform_hlds.granularity.int Making Mercury/ints/transform_hlds.goal_store.int Making Mercury/ints/transform_hlds.float_regs.int Making Mercury/ints/transform_hlds.exception_analysis.int Making Mercury/ints/transform_hlds.equiv_type_hlds.int Making Mercury/ints/transform_hlds.distance_granularity.int Making Mercury/ints/transform_hlds.direct_arg_in_out.int Making Mercury/ints/transform_hlds.dep_par_conj.int Making Mercury/ints/transform_hlds.delay_construct.int Making Mercury/ints/transform_hlds.deforest.int Making Mercury/ints/transform_hlds.dead_proc_elim.int Making Mercury/ints/transform_hlds.ctgc.int Making Mercury/ints/transform_hlds.constraint.int Making Mercury/ints/transform_hlds.const_prop.int Making Mercury/ints/transform_hlds.complexity.int Making Mercury/ints/transform_hlds.closure_analysis.int Making Mercury/ints/transform_hlds.accumulator.int Making Mercury/ints/top_level.mercury_compile_mlds_back_end.int Making Mercury/ints/top_level.mercury_compile_middle_passes.int Making Mercury/ints/top_level.mercury_compile_make_hlds.int Making Mercury/ints/top_level.mercury_compile_llds_back_end.int Making Mercury/ints/top_level.mercury_compile_main.int Making Mercury/ints/top_level.mercury_compile_augment.int Making Mercury/ints/top_level.mercury_compile_front_end.int Making Mercury/ints/top_level.mercury_compile_args.int Making Mercury/ints/recompilation.version.int Making Mercury/ints/recompilation.used_file.int Making Mercury/ints/recompilation.usage.int Making Mercury/ints/recompilation.record_uses.int Making Mercury/ints/recompilation.item_types.int Making Mercury/ints/recompilation.check.int Making Mercury/ints/parse_tree.write_module_interface_files.int Making Mercury/ints/parse_tree.write_error_spec.int Making Mercury/ints/parse_tree.write_deps_file.int Making Mercury/ints/parse_tree.warn_unread_modules.int Making Mercury/ints/parse_tree.vartypes.int Making Mercury/ints/parse_tree.var_table.int Making Mercury/ints/parse_tree.var_db.int Making Mercury/ints/parse_tree.type_inst_mode_map.int Making Mercury/ints/parse_tree.split_parse_tree_src.int Making Mercury/ints/parse_tree.source_file_map.int Making Mercury/ints/parse_tree.set_of_var.int Making Mercury/ints/parse_tree.read_modules.int Making Mercury/ints/parse_tree.prog_util.int Making Mercury/ints/parse_tree.prog_type_unify.int Making Mercury/ints/parse_tree.prog_type_test.int Making Mercury/ints/parse_tree.prog_type_subst.int Making Mercury/ints/parse_tree.prog_type_scan.int Making Mercury/ints/parse_tree.prog_type_repn.int Making Mercury/ints/parse_tree.prog_type_construct.int Making Mercury/ints/parse_tree.prog_type.int Making Mercury/ints/parse_tree.prog_rename.int Making Mercury/ints/parse_tree.prog_parse_tree.int Making Mercury/ints/parse_tree.prog_mutable.int Making Mercury/ints/parse_tree.prog_mode.int Making Mercury/ints/parse_tree.prog_item_stats.int Making Mercury/ints/parse_tree.prog_item.int Making Mercury/ints/parse_tree.prog_foreign_enum.int Making Mercury/ints/parse_tree.prog_foreign.int Making Mercury/ints/parse_tree.prog_event.int Making Mercury/ints/parse_tree.prog_detism.int Making Mercury/ints/parse_tree.prog_data_used_modules.int Making Mercury/ints/parse_tree.prog_data_pragma.int Making Mercury/ints/parse_tree.prog_data_foreign.int Making Mercury/ints/parse_tree.prog_data_event.int Making Mercury/ints/parse_tree.prog_data.int Making Mercury/ints/parse_tree.prog_ctgc.int Making Mercury/ints/parse_tree.parse_util.int Making Mercury/ints/parse_tree.parse_types.int Making Mercury/ints/parse_tree.parse_type_repn.int Making Mercury/ints/parse_tree.parse_type_name.int Making Mercury/ints/parse_tree.parse_type_defn.int Making Mercury/ints/parse_tree.parse_tree_to_term.int Making Mercury/ints/parse_tree.parse_tree_output.int Making Mercury/ints/parse_tree.parse_tree_out_type_repn.int Making Mercury/ints/parse_tree.parse_tree_out_type.int Making Mercury/ints/parse_tree.parse_tree_out_term.int Making Mercury/ints/parse_tree.parse_tree_out_sym_name.int Making Mercury/ints/parse_tree.parse_tree_out_pred_decl.int Making Mercury/ints/parse_tree.parse_tree_out_pragma.int Making Mercury/ints/parse_tree.parse_tree_out_misc.int Making Mercury/ints/parse_tree.parse_vars.int Making Mercury/ints/parse_tree.parse_tree_out_item.int Making Mercury/ints/parse_tree.parse_tree_out_inst.int Making Mercury/ints/parse_tree.parse_tree_out_info.int Making Mercury/ints/parse_tree.parse_tree_out_cons_id.int Making Mercury/ints/parse_tree.parse_tree_out_clause.int Making Mercury/ints/parse_tree.parse_tree_out.int Making Mercury/ints/parse_tree.parse_sym_name.int Making Mercury/ints/parse_tree.parse_pragma_tabling.int Making Mercury/ints/parse_tree.parse_pragma_foreign.int Making Mercury/ints/parse_tree.parse_pragma_analysis.int Making Mercury/ints/parse_tree.parse_pragma.int Making Mercury/ints/parse_tree.parse_mutable.int Making Mercury/ints/parse_tree.parse_module.int Making Mercury/ints/parse_tree.parse_item.int Making Mercury/ints/parse_tree.parse_inst_mode_name.int Making Mercury/ints/parse_tree.parse_inst_mode_defn.int Making Mercury/ints/parse_tree.parse_goal_util.int Making Mercury/ints/parse_tree.parse_goal.int Making Mercury/ints/parse_tree.parse_error.int Making Mercury/ints/parse_tree.parse_dcg_goal.int Making Mercury/ints/parse_tree.parse_class.int Making Mercury/ints/parse_tree.output_imports_graph.int Making Mercury/ints/parse_tree.opt_deps_spec.int Making Mercury/ints/parse_tree.module_qual.int Making Mercury/ints/parse_tree.module_deps_graph.int Making Mercury/ints/parse_tree.module_dep_info.int Making Mercury/ints/parse_tree.module_cmds.int Making Mercury/ints/parse_tree.module_baggage.int Making Mercury/ints/parse_tree.maybe_error.int Making Mercury/ints/parse_tree.make_module_file_names.int Making Mercury/ints/parse_tree.java_names.int Making Mercury/ints/parse_tree.item_util.int Making Mercury/ints/parse_tree.int_emu.int Making Mercury/ints/parse_tree.grab_modules.int Making Mercury/ints/parse_tree.get_dependencies.int Making Mercury/ints/parse_tree.generate_mmakefile_fragments.int Making Mercury/ints/parse_tree.find_module.int Making Mercury/ints/parse_tree.file_names.int Making Mercury/ints/parse_tree.file_kind.int Making Mercury/ints/parse_tree.error_util.int Making Mercury/ints/parse_tree.error_type_util.int Making Mercury/ints/parse_tree.error_spec.int Making Mercury/ints/parse_tree.error_sort.int Making Mercury/ints/parse_tree.equiv_type_parse_tree.int Making Mercury/ints/parse_tree.equiv_type.int Making Mercury/ints/parse_tree.deps_map.int Making Mercury/ints/parse_tree.decide_type_repn.int Making Mercury/ints/parse_tree.d_file_deps.int Making Mercury/ints/parse_tree.convert_parse_tree.int Making Mercury/ints/parse_tree.convert_include.int Making Mercury/ints/parse_tree.convert_import_use.int Making Mercury/ints/parse_tree.comp_unit_interface.int Making Mercury/ints/parse_tree.check_type_inst_mode_defns.int Making Mercury/ints/parse_tree.check_module_interface.int Making Mercury/ints/parse_tree.check_import_accessibility.int Making Mercury/ints/parse_tree.canonicalize_interface.int Making Mercury/ints/parse_tree.builtin_lib_types.int Making Mercury/ints/parse_tree.build_eqv_maps.int Making Mercury/ints/mode_robdd.tfeirn.int Making Mercury/ints/mode_robdd.implications.int Making Mercury/ints/mode_robdd.equiv_vars.int Making Mercury/ints/ml_backend.rtti_to_mlds.int Making Mercury/ints/ml_backend.mlds_to_target_util.int Making Mercury/ints/ml_backend.mlds_to_java_wrap.int Making Mercury/ints/ml_backend.mlds_to_java_util.int Making Mercury/ints/ml_backend.mlds_to_java_type.int Making Mercury/ints/ml_backend.mlds_to_java_stmt.int Making Mercury/ints/ml_backend.mlds_to_java_name.int Making Mercury/ints/ml_backend.mlds_to_java_global.int Making Mercury/ints/ml_backend.mlds_to_java_func.int Making Mercury/ints/ml_backend.mlds_to_java_file.int Making Mercury/ints/ml_backend.mlds_to_java_export.int Making Mercury/ints/ml_backend.mlds_to_java_data.int Making Mercury/ints/ml_backend.mlds_to_java_class.int Making Mercury/ints/ml_backend.mlds_to_cs_util.int Making Mercury/ints/ml_backend.mlds_to_cs_type.int Making Mercury/ints/ml_backend.mlds_to_cs_stmt.int Making Mercury/ints/ml_backend.mlds_to_cs_name.int Making Mercury/ints/ml_backend.mlds_to_cs_global.int Making Mercury/ints/ml_backend.mlds_to_cs_func.int Making Mercury/ints/ml_backend.mlds_to_cs_file.int Making Mercury/ints/ml_backend.mlds_to_cs_export.int Making Mercury/ints/ml_backend.mlds_to_cs_data.int Making Mercury/ints/ml_backend.mlds_to_cs_class.int Making Mercury/ints/ml_backend.mlds_to_c_util.int Making Mercury/ints/ml_backend.mlds_to_c_type.int Making Mercury/ints/ml_backend.mlds_to_c_stmt.int Making Mercury/ints/ml_backend.mlds_to_c_name.int Making Mercury/ints/ml_backend.mlds_to_c_global.int Making Mercury/ints/ml_backend.mlds_to_c_func.int Making Mercury/ints/ml_backend.mlds_to_c_file.int Making Mercury/ints/ml_backend.mlds_to_c_export.int Making Mercury/ints/ml_backend.mlds_to_c_data.int Making Mercury/ints/ml_backend.mlds_to_c_class.int Making Mercury/ints/ml_backend.mlds_dump.int Making Mercury/ints/ml_backend.mlds.int Making Mercury/ints/ml_backend.ml_util.int Making Mercury/ints/ml_backend.ml_unused_assign.int Making Mercury/ints/ml_backend.ml_unify_gen_util.int Making Mercury/ints/ml_backend.ml_unify_gen_test.int Making Mercury/ints/ml_backend.ml_unify_gen_deconstruct.int Making Mercury/ints/ml_backend.ml_unify_gen_construct.int Making Mercury/ints/ml_backend.ml_unify_gen.int Making Mercury/ints/ml_backend.ml_type_gen.int Making Mercury/ints/ml_backend.ml_top_gen.int Making Mercury/ints/ml_backend.ml_target_util.int Making Mercury/ints/ml_backend.ml_tag_switch.int Making Mercury/ints/ml_backend.ml_switch_gen.int Making Mercury/ints/ml_backend.ml_string_switch.int Making Mercury/ints/ml_backend.ml_simplify_switch.int Making Mercury/ints/ml_backend.ml_rename_classes.int Making Mercury/ints/ml_backend.ml_proc_gen.int Making Mercury/ints/ml_backend.ml_optimize.int Making Mercury/ints/ml_backend.ml_lookup_switch.int Making Mercury/ints/ml_backend.ml_global_data.int Making Mercury/ints/ml_backend.ml_gen_info.int Making Mercury/ints/ml_backend.ml_foreign_proc_gen.int Making Mercury/ints/ml_backend.ml_elim_nested.int Making Mercury/ints/ml_backend.ml_disj_gen.int Making Mercury/ints/ml_backend.ml_commit_gen.int Making Mercury/ints/ml_backend.ml_code_util.int Making Mercury/ints/ml_backend.ml_code_gen.int Making Mercury/ints/ml_backend.ml_closure_gen.int Making Mercury/ints/ml_backend.ml_call_gen.int Making Mercury/ints/ml_backend.ml_args_util.int Making Mercury/ints/ml_backend.ml_accurate_gc.int Making Mercury/ints/ml_backend.add_trail_ops.int Making Mercury/ints/ml_backend.add_heap_ops.int Making Mercury/ints/make.util.int Making Mercury/ints/make.track_flags.int Making Mercury/ints/make.timestamp.int Making Mercury/ints/make.top_level.int Making Mercury/ints/make.program_target.int Making Mercury/ints/make.prereqs_cache.int Making Mercury/ints/make.prereqs.int Making Mercury/ints/make.options_file.int Making Mercury/ints/make.module_target.int Making Mercury/ints/make.module_dep_file.int Making Mercury/ints/make.make_info.int Making Mercury/ints/make.library_install.int Making Mercury/ints/make.index_set.int Making Mercury/ints/make.hash.int Making Mercury/ints/make.get_module_dep_info.int Making Mercury/ints/make.find_local_modules.int Making Mercury/ints/make.file_names.int Making Mercury/ints/make.clean.int Making Mercury/ints/make.check_up_to_date.int Making Mercury/ints/make.build.int Making Mercury/ints/ll_backend.wrap_blocks.int Making Mercury/ints/ll_backend.var_locn.int Making Mercury/ints/ll_backend.use_local_vars.int Making Mercury/ints/ll_backend.unify_gen_util.int Making Mercury/ints/ll_backend.unify_gen_test.int Making Mercury/ints/ll_backend.unify_gen_deconstruct.int Making Mercury/ints/ll_backend.unify_gen_construct.int Making Mercury/ints/ll_backend.unify_gen.int Making Mercury/ints/ll_backend.transform_llds.int Making Mercury/ints/ll_backend.trace_gen.int Making Mercury/ints/ll_backend.tag_switch.int Making Mercury/ints/ll_backend.switch_gen.int Making Mercury/ints/ll_backend.switch_case.int Making Mercury/ints/ll_backend.string_switch.int Making Mercury/ints/ll_backend.store_alloc.int Making Mercury/ints/ll_backend.stdlabel.int Making Mercury/ints/ll_backend.stack_opt.int Making Mercury/ints/ll_backend.stack_layout.int Making Mercury/ints/ll_backend.stack_alloc.int Making Mercury/ints/ll_backend.saved_vars.int Making Mercury/ints/ll_backend.rtti_out.int Making Mercury/ints/ll_backend.reassign.int Making Mercury/ints/ll_backend.prog_rep_tables.int Making Mercury/ints/ll_backend.prog_rep.int Making Mercury/ints/ll_backend.proc_gen.int Making Mercury/ints/ll_backend.peephole.int Making Mercury/ints/ll_backend.par_conj_gen.int Making Mercury/ints/ll_backend.optimize.int Making Mercury/ints/ll_backend.opt_util.int Making Mercury/ints/ll_backend.opt_debug.int Making Mercury/ints/ll_backend.middle_rec.int Making Mercury/ints/ll_backend.lookup_switch.int Making Mercury/ints/ll_backend.llds_out.int Making Mercury/ints/ll_backend.llds.int Making Mercury/ints/ll_backend.ll_pseudo_type_info.int Making Mercury/ints/ll_backend.liveness.int Making Mercury/ints/ll_backend.livemap.int Making Mercury/ints/ll_backend.live_vars.int Making Mercury/ints/ll_backend.layout_out.int Making Mercury/ints/ll_backend.layout.int Making Mercury/ints/ll_backend.labelopt.int Making Mercury/ints/ll_backend.jumpopt.int Making Mercury/ints/ll_backend.ite_gen.int Making Mercury/ints/ll_backend.lookup_util.int Making Mercury/ints/ll_backend.global_data.int Making Mercury/ints/ll_backend.frameopt.int Making Mercury/ints/ll_backend.foreign_proc_gen.int Making Mercury/ints/ll_backend.follow_vars.int Making Mercury/ints/ll_backend.follow_code.int Making Mercury/ints/ll_backend.fact_table_gen.int Making Mercury/ints/ll_backend.exprn_aux.int Making Mercury/ints/ll_backend.dupproc.int Making Mercury/ints/ll_backend.dupelim.int Making Mercury/ints/ll_backend.disj_gen.int Making Mercury/ints/ll_backend.dense_switch.int Making Mercury/ints/ll_backend.delay_slot.int Making Mercury/ints/ll_backend.deep_profiling.int Making Mercury/ints/ll_backend.coverage_profiling.int Making Mercury/ints/ll_backend.continuation_info.int Making Mercury/ints/ll_backend.commit_gen.int Making Mercury/ints/ll_backend.code_util.int Making Mercury/ints/ll_backend.code_loc_dep.int Making Mercury/ints/ll_backend.code_info.int Making Mercury/ints/ll_backend.code_gen.int Making Mercury/ints/ll_backend.closure_gen.int Making Mercury/ints/ll_backend.call_gen.int Making Mercury/ints/ll_backend.basic_block.int Making Mercury/ints/libs.va_map.int Making Mercury/ints/libs.trace_params.int Making Mercury/ints/libs.timestamp.int Making Mercury/ints/libs.system_cmds.int Making Mercury/ints/libs.shell_util.int Making Mercury/ints/libs.rat.int Making Mercury/ints/libs.process_util.int Making Mercury/ints/libs.print_help.int Making Mercury/ints/libs.polyhedron.int Making Mercury/ints/libs.pickle.int Making Mercury/ints/libs.options.int Making Mercury/ints/libs.option_categories.int Making Mercury/ints/libs.optimization_options.int Making Mercury/ints/libs.optdb_help.int Making Mercury/ints/libs.op_mode.int Making Mercury/ints/libs.mmakefiles.int Making Mercury/ints/libs.md5.int Making Mercury/ints/libs.maybe_util.int Making Mercury/ints/libs.lp_rational.int Making Mercury/ints/libs.lp.int Making Mercury/ints/libs.lines_builder.int Making Mercury/ints/libs.indent.int Making Mercury/ints/libs.handle_options.int Making Mercury/ints/libs.graph_colour.int Making Mercury/ints/libs.globals.int Making Mercury/ints/libs.file_util.int Making Mercury/ints/libs.dependency_graph.int Making Mercury/ints/libs.copy_util.int Making Mercury/ints/libs.compute_grade.int Making Mercury/ints/libs.compiler_util.int Making Mercury/ints/libs.color_schemes.int Making Mercury/ints/libs.check_options.int Making Mercury/ints/libs.check_libgrades.int Making Mercury/ints/hlds.var_table_hlds.int Making Mercury/ints/hlds.var_origins.int Making Mercury/ints/hlds.type_util.int Making Mercury/ints/hlds.status.int Making Mercury/ints/hlds.special_pred.int Making Mercury/ints/hlds.quantification.int Making Mercury/ints/hlds.pred_table.int Making Mercury/ints/hlds.pred_name.int Making Mercury/ints/hlds.pre_quantification.int Making Mercury/ints/hlds.passes_aux.int Making Mercury/ints/hlds.mode_util.int Making Mercury/ints/hlds.mode_top_functor.int Making Mercury/ints/hlds.mode_test.int Making Mercury/ints/hlds.mark_tail_calls.int Making Mercury/ints/hlds.mark_static_terms.int Making Mercury/ints/hlds.make_hlds_error.int Making Mercury/ints/hlds.make_hlds.int Making Mercury/ints/hlds.make_goal.int Making Mercury/ints/hlds.introduced_call_table.int Making Mercury/ints/hlds.instmap.int Making Mercury/ints/hlds.inst_util.int Making Mercury/ints/hlds.inst_test.int Making Mercury/ints/hlds.inst_mode_type_prop.int Making Mercury/ints/hlds.inst_match.int Making Mercury/ints/hlds.inst_lookup.int Making Mercury/ints/hlds.inst_graph.int Making Mercury/ints/hlds.implementation_defined_literals.int Making Mercury/ints/hlds.hlds_statistics.int Making Mercury/ints/hlds.hlds_rtti.int Making Mercury/ints/hlds.hlds_promise.int Making Mercury/ints/hlds.hlds_proc_util.int Making Mercury/ints/hlds.hlds_pred.int Making Mercury/ints/hlds.hlds_out.int Making Mercury/ints/hlds.hlds_module.int Making Mercury/ints/hlds.hlds_markers.int Making Mercury/ints/hlds.hlds_llds.int Making Mercury/ints/hlds.hlds_inst_mode.int Making Mercury/ints/hlds.inst_merge.int Making Mercury/ints/hlds.hlds_goal.int Making Mercury/ints/hlds.hlds_error_util.int Making Mercury/ints/hlds.hlds_desc.int Making Mercury/ints/hlds.hlds_dependency_graph.int Making Mercury/ints/hlds.hlds_defns.int Making Mercury/ints/hlds.hlds_data.int Making Mercury/ints/hlds.hlds_cons.int Making Mercury/ints/hlds.hlds_code_util.int Making Mercury/ints/hlds.hlds_clauses.int Making Mercury/ints/hlds.hlds_class.int Making Mercury/ints/hlds.hlds_call_tree.int Making Mercury/ints/hlds.hlds_args.int Making Mercury/ints/hlds.hhf.int Making Mercury/ints/hlds.headvar_names.int Making Mercury/ints/hlds.goal_vars.int Making Mercury/ints/hlds.goal_util.int Making Mercury/ints/hlds.goal_transform.int Making Mercury/ints/hlds.goal_reorder.int Making Mercury/ints/hlds.goal_refs.int Making Mercury/ints/hlds.goal_path.int Making Mercury/ints/hlds.goal_mode.int Making Mercury/ints/hlds.goal_form.int Making Mercury/ints/hlds.goal_contains.int Making Mercury/ints/hlds.from_ground_term_util.int Making Mercury/ints/hlds.error_msg_inst.int Making Mercury/ints/hlds.du_type_layout.int Making Mercury/ints/hlds.default_func_mode.int Making Mercury/ints/hlds.const_struct.int Making Mercury/ints/hlds.code_model.int Making Mercury/ints/hlds.assertion.int Making Mercury/ints/hlds.arg_info.int Making Mercury/ints/hlds.add_special_pred.int Making Mercury/ints/hlds.add_foreign_enum.int Making Mercury/ints/check_hlds.xml_documentation.int Making Mercury/ints/check_hlds.unused_types.int Making Mercury/ints/check_hlds.unused_imports.int Making Mercury/ints/check_hlds.unique_modes.int Making Mercury/ints/check_hlds.unify_proc.int Making Mercury/ints/check_hlds.types_into_modes.int Making Mercury/ints/check_hlds.typeclasses.int Making Mercury/ints/check_hlds.typecheck_util.int Making Mercury/ints/check_hlds.typecheck_unify_var_functor.int Making Mercury/ints/check_hlds.typecheck_msgs.int Making Mercury/ints/check_hlds.typecheck_info.int Making Mercury/ints/check_hlds.typecheck_errors.int Making Mercury/ints/check_hlds.typecheck_error_wrong_type.int Making Mercury/ints/check_hlds.typecheck_error_util.int Making Mercury/ints/check_hlds.typecheck_error_unify.int Making Mercury/ints/check_hlds.typecheck_error_undef.int Making Mercury/ints/check_hlds.typecheck_error_type_assign.int Making Mercury/ints/check_hlds.typecheck_error_overload.int Making Mercury/ints/check_hlds.typecheck_error_diff.int Making Mercury/ints/check_hlds.typecheck_error_builtin.int Making Mercury/ints/check_hlds.typecheck_error_arg_vector.int Making Mercury/ints/check_hlds.typecheck_debug.int Making Mercury/ints/check_hlds.typecheck_cons_infos.int Making Mercury/ints/check_hlds.typecheck_coerce.int Making Mercury/ints/check_hlds.typecheck_clauses.int Making Mercury/ints/check_hlds.typecheck.int Making Mercury/ints/check_hlds.type_constraints.int Making Mercury/ints/check_hlds.type_assign.int Making Mercury/ints/check_hlds.try_expand.int Making Mercury/ints/check_hlds.switch_detection.int Making Mercury/ints/check_hlds.switch_candidates.int Making Mercury/ints/check_hlds.style_checks.int Making Mercury/ints/check_hlds.stratify.int Making Mercury/ints/check_hlds.simplify.int Making Mercury/ints/check_hlds.scout_disjunctions.int Making Mercury/ints/check_hlds.resolve_unify_functor.int Making Mercury/ints/check_hlds.recompute_instmap_deltas.int Making Mercury/ints/check_hlds.purity.int Making Mercury/ints/check_hlds.prop_mode_constraints.int Making Mercury/ints/check_hlds.proc_requests.int Making Mercury/ints/check_hlds.pre_typecheck.int Making Mercury/ints/check_hlds.post_typecheck.int Making Mercury/ints/check_hlds.polymorphism_type_info.int Making Mercury/ints/check_hlds.polymorphism_type_class_info.int Making Mercury/ints/check_hlds.polymorphism_post_copy.int Making Mercury/ints/check_hlds.polymorphism_lambda.int Making Mercury/ints/check_hlds.polymorphism_info.int Making Mercury/ints/check_hlds.polymorphism_goal.int Making Mercury/ints/check_hlds.polymorphism_clause.int Making Mercury/ints/check_hlds.polymorphism.int Making Mercury/ints/check_hlds.ordering_mode_constraints.int Making Mercury/ints/check_hlds.old_type_constraints.int Making Mercury/ints/check_hlds.oisu_check.int Making Mercury/ints/check_hlds.modes.int Making Mercury/ints/check_hlds.modecheck_util.int Making Mercury/ints/check_hlds.modecheck_unify.int Making Mercury/ints/check_hlds.modecheck_goal.int Making Mercury/ints/check_hlds.modecheck_conj.int Making Mercury/ints/check_hlds.modecheck_coerce.int Making Mercury/ints/check_hlds.mode_ordering.int Making Mercury/ints/check_hlds.mode_info.int Making Mercury/ints/check_hlds.mode_errors.int Making Mercury/ints/check_hlds.mode_debug.int Making Mercury/ints/check_hlds.mode_constraints.int Making Mercury/ints/check_hlds.mode_constraint_robdd.int Making Mercury/ints/check_hlds.mode_comparison.int Making Mercury/ints/check_hlds.mcsolver.int Making Mercury/ints/check_hlds.introduce_exists_casts.int Making Mercury/ints/check_hlds.inst_user.int Making Mercury/ints/check_hlds.inst_make.int Making Mercury/ints/check_hlds.inst_check.int Making Mercury/ints/check_hlds.modecheck_call.int Making Mercury/ints/check_hlds.inst_abstract_unify.int Making Mercury/ints/check_hlds.find_bind_var.int Making Mercury/ints/check_hlds.det_util.int Making Mercury/ints/check_hlds.det_infer_goal.int Making Mercury/ints/check_hlds.det_check_switch.int Making Mercury/ints/check_hlds.det_check_proc.int Making Mercury/ints/check_hlds.det_check_goal.int Making Mercury/ints/check_hlds.det_analysis.int Making Mercury/ints/check_hlds.delay_partial_inst.int Making Mercury/ints/check_hlds.delay_info.int Making Mercury/ints/check_hlds.cse_detection.int Making Mercury/ints/check_hlds.clause_to_proc.int Making Mercury/ints/check_hlds.check_typeclass.int Making Mercury/ints/check_hlds.check_promise.int Making Mercury/ints/check_hlds.check_pragma_format_call.int Making Mercury/ints/check_hlds.check_for_missing_type_defns.int Making Mercury/ints/check_hlds.build_mode_constraints.int Making Mercury/ints/check_hlds.abstract_mode_constraints.int Making Mercury/ints/backend_libs.type_ctor_info.int Making Mercury/ints/backend_libs.type_class_info.int Making Mercury/ints/backend_libs.tag_switch_util.int Making Mercury/ints/backend_libs.switch_util.int Making Mercury/ints/backend_libs.string_switch_util.int Making Mercury/ints/backend_libs.string_encoding.int Making Mercury/ints/backend_libs.rtti.int Making Mercury/ints/backend_libs.pseudo_type_info.int Making Mercury/ints/backend_libs.proc_label.int Making Mercury/ints/backend_libs.name_mangle.int Making Mercury/ints/backend_libs.matching.int Making Mercury/ints/backend_libs.lookup_switch_util.int Making Mercury/ints/backend_libs.link_target_code.int Making Mercury/ints/backend_libs.interval.int Making Mercury/ints/backend_libs.foreign.int Making Mercury/ints/backend_libs.export.int Making Mercury/ints/backend_libs.compile_target_code.int Making Mercury/ints/backend_libs.c_util.int Making Mercury/ints/backend_libs.builtin_ops.int Making Mercury/ints/backend_libs.base_typeclass_info.int Making Mercury/ints/analysis.operations.int Making Mercury/ints/analysis.framework.int Making Mercury/ints/analysis.file.int Making Mercury/ints/transform_hlds.int Making Mercury/ints/top_level.int Making Mercury/ints/recompilation.int Making Mercury/ints/parse_tree.int Making Mercury/ints/mode_robdd.int Making Mercury/ints/ml_backend.int Making Mercury/ints/mercury_compile.int Making Mercury/ints/make.int Making Mercury/ints/ll_backend.int Making Mercury/ints/libs.int Making Mercury/ints/hlds.int Making Mercury/ints/check_hlds.int Making Mercury/ints/backend_libs.int Making Mercury/ints/analysis.int Making Mercury/javas/jmercury/analysis.java Making Mercury/javas/jmercury/analysis__file.java Making Mercury/javas/jmercury/analysis__framework.java Making Mercury/javas/jmercury/analysis__operations.java Making Mercury/javas/jmercury/backend_libs.java Making Mercury/javas/jmercury/backend_libs__base_typeclass_info.java Making Mercury/javas/jmercury/backend_libs__builtin_ops.java Making Mercury/javas/jmercury/backend_libs__c_util.java Making Mercury/javas/jmercury/backend_libs__compile_target_code.java Making Mercury/javas/jmercury/backend_libs__export.java Making Mercury/javas/jmercury/backend_libs__foreign.java Making Mercury/javas/jmercury/backend_libs__interval.java Making Mercury/javas/jmercury/backend_libs__link_target_code.java Making Mercury/javas/jmercury/backend_libs__lookup_switch_util.java Making Mercury/javas/jmercury/backend_libs__matching.java Making Mercury/javas/jmercury/backend_libs__name_mangle.java Making Mercury/javas/jmercury/backend_libs__proc_label.java Making Mercury/javas/jmercury/backend_libs__pseudo_type_info.java Making Mercury/javas/jmercury/backend_libs__rtti.java Making Mercury/javas/jmercury/backend_libs__string_encoding.java Making Mercury/javas/jmercury/backend_libs__string_switch_util.java Making Mercury/javas/jmercury/backend_libs__switch_util.java Making Mercury/javas/jmercury/backend_libs__tag_switch_util.java Making Mercury/javas/jmercury/backend_libs__type_class_info.java Making Mercury/javas/jmercury/backend_libs__type_ctor_info.java Making Mercury/javas/jmercury/check_hlds.java Making Mercury/javas/jmercury/check_hlds__abstract_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__build_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__check_for_missing_type_defns.java Making Mercury/javas/jmercury/check_hlds__check_pragma_format_call.java Making Mercury/javas/jmercury/check_hlds__check_promise.java Making Mercury/javas/jmercury/check_hlds__check_typeclass.java Making Mercury/javas/jmercury/check_hlds__clause_to_proc.java Making Mercury/javas/jmercury/check_hlds__cse_detection.java Making Mercury/javas/jmercury/check_hlds__delay_info.java Making Mercury/javas/jmercury/check_hlds__delay_partial_inst.java Making Mercury/javas/jmercury/check_hlds__det_analysis.java Making Mercury/javas/jmercury/check_hlds__det_check_goal.java Making Mercury/javas/jmercury/check_hlds__det_check_proc.java Making Mercury/javas/jmercury/check_hlds__det_check_switch.java Making Mercury/javas/jmercury/check_hlds__det_infer_goal.java Making Mercury/javas/jmercury/check_hlds__det_util.java Making Mercury/javas/jmercury/check_hlds__find_bind_var.java Making Mercury/javas/jmercury/check_hlds__inst_abstract_unify.java Making Mercury/javas/jmercury/check_hlds__inst_check.java Making Mercury/javas/jmercury/check_hlds__inst_make.java Making Mercury/javas/jmercury/check_hlds__inst_user.java Making Mercury/javas/jmercury/check_hlds__introduce_exists_casts.java Making Mercury/javas/jmercury/check_hlds__mcsolver.java Making Mercury/javas/jmercury/check_hlds__mode_comparison.java Making Mercury/javas/jmercury/check_hlds__mode_constraint_robdd.java Making Mercury/javas/jmercury/check_hlds__mode_constraints.java Making Mercury/javas/jmercury/check_hlds__mode_debug.java Making Mercury/javas/jmercury/check_hlds__mode_errors.java Making Mercury/javas/jmercury/check_hlds__mode_info.java Making Mercury/javas/jmercury/check_hlds__mode_ordering.java Making Mercury/javas/jmercury/check_hlds__modecheck_call.java Making Mercury/javas/jmercury/check_hlds__modecheck_coerce.java Making Mercury/javas/jmercury/check_hlds__modecheck_conj.java Making Mercury/javas/jmercury/check_hlds__modecheck_goal.java Making Mercury/javas/jmercury/check_hlds__modecheck_unify.java Making Mercury/javas/jmercury/check_hlds__modecheck_util.java Making Mercury/javas/jmercury/check_hlds__modes.java Making Mercury/javas/jmercury/check_hlds__oisu_check.java Making Mercury/javas/jmercury/check_hlds__old_type_constraints.java Making Mercury/javas/jmercury/check_hlds__ordering_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__polymorphism.java Making Mercury/javas/jmercury/check_hlds__polymorphism_clause.java Making Mercury/javas/jmercury/check_hlds__polymorphism_goal.java Making Mercury/javas/jmercury/check_hlds__polymorphism_info.java Making Mercury/javas/jmercury/check_hlds__polymorphism_lambda.java Making Mercury/javas/jmercury/check_hlds__polymorphism_post_copy.java Making Mercury/javas/jmercury/check_hlds__polymorphism_type_class_info.java Making Mercury/javas/jmercury/check_hlds__polymorphism_type_info.java Making Mercury/javas/jmercury/check_hlds__post_typecheck.java Making Mercury/javas/jmercury/check_hlds__pre_typecheck.java Making Mercury/javas/jmercury/check_hlds__proc_requests.java Making Mercury/javas/jmercury/check_hlds__prop_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__purity.java Making Mercury/javas/jmercury/check_hlds__recompute_instmap_deltas.java Making Mercury/javas/jmercury/check_hlds__resolve_unify_functor.java Making Mercury/javas/jmercury/check_hlds__scout_disjunctions.java Making Mercury/javas/jmercury/check_hlds__simplify.java Making Mercury/javas/jmercury/check_hlds__simplify__common.java Making Mercury/javas/jmercury/check_hlds__simplify__mark_trace_goals.java Making Mercury/javas/jmercury/check_hlds__simplify__opt_format_call.java Making Mercury/javas/jmercury/check_hlds__simplify__opt_format_call_errors.java Making Mercury/javas/jmercury/check_hlds__simplify__parse_string_format.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_call.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_conj.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_disj.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_ite.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_scope.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_switch.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_unify.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_info.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_proc.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_tasks.java Making Mercury/javas/jmercury/check_hlds__simplify__split_switch_arms.java Making Mercury/javas/jmercury/check_hlds__stratify.java Making Mercury/javas/jmercury/check_hlds__style_checks.java Making Mercury/javas/jmercury/check_hlds__switch_candidates.java Making Mercury/javas/jmercury/check_hlds__switch_detection.java Making Mercury/javas/jmercury/check_hlds__try_expand.java Making Mercury/javas/jmercury/check_hlds__type_assign.java Making Mercury/javas/jmercury/check_hlds__type_constraints.java Making Mercury/javas/jmercury/check_hlds__typecheck.java Making Mercury/javas/jmercury/check_hlds__typecheck_clauses.java Making Mercury/javas/jmercury/check_hlds__typecheck_coerce.java Making Mercury/javas/jmercury/check_hlds__typecheck_cons_infos.java Making Mercury/javas/jmercury/check_hlds__typecheck_debug.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_arg_vector.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_builtin.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_diff.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_overload.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_type_assign.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_undef.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_unify.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_util.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_wrong_type.java Making Mercury/javas/jmercury/check_hlds__typecheck_errors.java Making Mercury/javas/jmercury/check_hlds__typecheck_info.java Making Mercury/javas/jmercury/check_hlds__typecheck_msgs.java Making Mercury/javas/jmercury/check_hlds__typecheck_unify_var_functor.java Making Mercury/javas/jmercury/check_hlds__typecheck_util.java Making Mercury/javas/jmercury/check_hlds__typeclasses.java Making Mercury/javas/jmercury/check_hlds__types_into_modes.java Making Mercury/javas/jmercury/check_hlds__unify_proc.java Making Mercury/javas/jmercury/check_hlds__unique_modes.java Making Mercury/javas/jmercury/check_hlds__unused_imports.java Making Mercury/javas/jmercury/check_hlds__unused_types.java Making Mercury/javas/jmercury/check_hlds__xml_documentation.java Making Mercury/javas/jmercury/hlds.java Making Mercury/javas/jmercury/hlds__add_foreign_enum.java Making Mercury/javas/jmercury/hlds__add_special_pred.java Making Mercury/javas/jmercury/hlds__arg_info.java Making Mercury/javas/jmercury/hlds__assertion.java Making Mercury/javas/jmercury/hlds__code_model.java Making Mercury/javas/jmercury/hlds__const_struct.java Making Mercury/javas/jmercury/hlds__default_func_mode.java Making Mercury/javas/jmercury/hlds__du_type_layout.java Making Mercury/javas/jmercury/hlds__error_msg_inst.java Making Mercury/javas/jmercury/hlds__from_ground_term_util.java Making Mercury/javas/jmercury/hlds__goal_contains.java Making Mercury/javas/jmercury/hlds__goal_form.java Making Mercury/javas/jmercury/hlds__goal_mode.java Making Mercury/javas/jmercury/hlds__goal_path.java Making Mercury/javas/jmercury/hlds__goal_refs.java Making Mercury/javas/jmercury/hlds__goal_reorder.java Making Mercury/javas/jmercury/hlds__goal_transform.java Making Mercury/javas/jmercury/hlds__goal_util.java Making Mercury/javas/jmercury/hlds__goal_vars.java Making Mercury/javas/jmercury/hlds__headvar_names.java Making Mercury/javas/jmercury/hlds__hhf.java Making Mercury/javas/jmercury/hlds__hlds_args.java Making Mercury/javas/jmercury/hlds__hlds_call_tree.java Making Mercury/javas/jmercury/hlds__hlds_class.java Making Mercury/javas/jmercury/hlds__hlds_clauses.java Making Mercury/javas/jmercury/hlds__hlds_code_util.java Making Mercury/javas/jmercury/hlds__hlds_cons.java Making Mercury/javas/jmercury/hlds__hlds_data.java Making Mercury/javas/jmercury/hlds__hlds_defns.java Making Mercury/javas/jmercury/hlds__hlds_dependency_graph.java Making Mercury/javas/jmercury/hlds__hlds_desc.java Making Mercury/javas/jmercury/hlds__hlds_error_util.java Making Mercury/javas/jmercury/hlds__hlds_goal.java Making Mercury/javas/jmercury/hlds__hlds_inst_mode.java Making Mercury/javas/jmercury/hlds__hlds_llds.java Making Mercury/javas/jmercury/hlds__hlds_markers.java Making Mercury/javas/jmercury/hlds__hlds_module.java Making Mercury/javas/jmercury/hlds__hlds_out.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_goal.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_inst_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_mode.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_module.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_pred.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_type_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_typeclass_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_util.java Making Mercury/javas/jmercury/hlds__hlds_pred.java Making Mercury/javas/jmercury/hlds__hlds_proc_util.java Making Mercury/javas/jmercury/hlds__hlds_promise.java Making Mercury/javas/jmercury/hlds__hlds_rtti.java Making Mercury/javas/jmercury/hlds__hlds_statistics.java Making Mercury/javas/jmercury/hlds__implementation_defined_literals.java Making Mercury/javas/jmercury/hlds__inst_graph.java Making Mercury/javas/jmercury/hlds__inst_lookup.java Making Mercury/javas/jmercury/hlds__inst_match.java Making Mercury/javas/jmercury/hlds__inst_merge.java Making Mercury/javas/jmercury/hlds__inst_mode_type_prop.java Making Mercury/javas/jmercury/hlds__inst_test.java Making Mercury/javas/jmercury/hlds__inst_util.java Making Mercury/javas/jmercury/hlds__instmap.java Making Mercury/javas/jmercury/hlds__introduced_call_table.java Making Mercury/javas/jmercury/hlds__make_goal.java Making Mercury/javas/jmercury/hlds__make_hlds.java Making Mercury/javas/jmercury/hlds__make_hlds__add_class.java Making Mercury/javas/jmercury/hlds__make_hlds__add_clause.java Making Mercury/javas/jmercury/hlds__make_hlds__add_foreign_proc.java Making Mercury/javas/jmercury/hlds__make_hlds__add_mode.java Making Mercury/javas/jmercury/hlds__make_hlds__add_mutable_aux_preds.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_decl.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_gen.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_impl.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_tabling.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_type_spec.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_type_spec_constr.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_util.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pred.java Making Mercury/javas/jmercury/hlds__make_hlds__add_solver.java Making Mercury/javas/jmercury/hlds__make_hlds__add_type.java Making Mercury/javas/jmercury/hlds__make_hlds__check_field_access_functions.java Making Mercury/javas/jmercury/hlds__make_hlds__field_access.java Making Mercury/javas/jmercury/hlds__make_hlds__goal_expr_to_goal.java Making Mercury/javas/jmercury/hlds__make_hlds__instance_method_clauses.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_passes.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_separate_items.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_types.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_warn.java Making Mercury/javas/jmercury/hlds__make_hlds__qual_info.java Making Mercury/javas/jmercury/hlds__make_hlds__state_var.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous_lambda.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous_util.java Making Mercury/javas/jmercury/hlds__make_hlds_error.java Making Mercury/javas/jmercury/hlds__mark_static_terms.java Making Mercury/javas/jmercury/hlds__mark_tail_calls.java Making Mercury/javas/jmercury/hlds__mode_test.java Making Mercury/javas/jmercury/hlds__mode_top_functor.java Making Mercury/javas/jmercury/hlds__mode_util.java Making Mercury/javas/jmercury/hlds__passes_aux.java Making Mercury/javas/jmercury/hlds__pre_quantification.java Making Mercury/javas/jmercury/hlds__pred_name.java Making Mercury/javas/jmercury/hlds__pred_table.java Making Mercury/javas/jmercury/hlds__quantification.java Making Mercury/javas/jmercury/hlds__special_pred.java Making Mercury/javas/jmercury/hlds__status.java Making Mercury/javas/jmercury/hlds__type_util.java Making Mercury/javas/jmercury/hlds__var_origins.java Making Mercury/javas/jmercury/hlds__var_table_hlds.java Making Mercury/javas/jmercury/libs.java Making Mercury/javas/jmercury/libs__check_libgrades.java Making Mercury/javas/jmercury/libs__check_options.java Making Mercury/javas/jmercury/libs__color_schemes.java Making Mercury/javas/jmercury/libs__compiler_util.java Making Mercury/javas/jmercury/libs__compute_grade.java Making Mercury/javas/jmercury/libs__copy_util.java Making Mercury/javas/jmercury/libs__dependency_graph.java Making Mercury/javas/jmercury/libs__file_util.java Making Mercury/javas/jmercury/libs__globals.java Making Mercury/javas/jmercury/libs__graph_colour.java Making Mercury/javas/jmercury/libs__handle_options.java Making Mercury/javas/jmercury/libs__indent.java Making Mercury/javas/jmercury/libs__lines_builder.java Making Mercury/javas/jmercury/libs__lp.java Making Mercury/javas/jmercury/libs__lp_rational.java Making Mercury/javas/jmercury/libs__maybe_util.java Making Mercury/javas/jmercury/libs__md5.java Making Mercury/javas/jmercury/libs__mmakefiles.java Making Mercury/javas/jmercury/libs__op_mode.java Making Mercury/javas/jmercury/libs__optdb_help.java Making Mercury/javas/jmercury/libs__optimization_options.java Making Mercury/javas/jmercury/libs__option_categories.java Making Mercury/javas/jmercury/libs__options.java Making Mercury/javas/jmercury/libs__pickle.java Making Mercury/javas/jmercury/libs__polyhedron.java Making Mercury/javas/jmercury/libs__print_help.java Making Mercury/javas/jmercury/libs__process_util.java Making Mercury/javas/jmercury/libs__rat.java Making Mercury/javas/jmercury/libs__shell_util.java Making Mercury/javas/jmercury/libs__system_cmds.java Making Mercury/javas/jmercury/libs__timestamp.java Making Mercury/javas/jmercury/libs__trace_params.java Making Mercury/javas/jmercury/libs__va_map.java Making Mercury/javas/jmercury/ll_backend.java Making Mercury/javas/jmercury/ll_backend__basic_block.java Making Mercury/javas/jmercury/ll_backend__call_gen.java Making Mercury/javas/jmercury/ll_backend__closure_gen.java Making Mercury/javas/jmercury/ll_backend__code_gen.java Making Mercury/javas/jmercury/ll_backend__code_info.java Making Mercury/javas/jmercury/ll_backend__code_loc_dep.java Making Mercury/javas/jmercury/ll_backend__code_util.java Making Mercury/javas/jmercury/ll_backend__commit_gen.java Making Mercury/javas/jmercury/ll_backend__continuation_info.java Making Mercury/javas/jmercury/ll_backend__coverage_profiling.java Making Mercury/javas/jmercury/ll_backend__deep_profiling.java Making Mercury/javas/jmercury/ll_backend__delay_slot.java Making Mercury/javas/jmercury/ll_backend__dense_switch.java Making Mercury/javas/jmercury/ll_backend__disj_gen.java Making Mercury/javas/jmercury/ll_backend__dupelim.java Making Mercury/javas/jmercury/ll_backend__dupproc.java Making Mercury/javas/jmercury/ll_backend__exprn_aux.java Making Mercury/javas/jmercury/ll_backend__fact_table_gen.java Making Mercury/javas/jmercury/ll_backend__follow_code.java Making Mercury/javas/jmercury/ll_backend__follow_vars.java Making Mercury/javas/jmercury/ll_backend__foreign_proc_gen.java Making Mercury/javas/jmercury/ll_backend__frameopt.java Making Mercury/javas/jmercury/ll_backend__global_data.java Making Mercury/javas/jmercury/ll_backend__ite_gen.java Making Mercury/javas/jmercury/ll_backend__jumpopt.java Making Mercury/javas/jmercury/ll_backend__labelopt.java Making Mercury/javas/jmercury/ll_backend__layout.java Making Mercury/javas/jmercury/ll_backend__layout_out.java Making Mercury/javas/jmercury/ll_backend__live_vars.java Making Mercury/javas/jmercury/ll_backend__livemap.java Making Mercury/javas/jmercury/ll_backend__liveness.java Making Mercury/javas/jmercury/ll_backend__ll_pseudo_type_info.java Making Mercury/javas/jmercury/ll_backend__llds.java Making Mercury/javas/jmercury/ll_backend__llds_out.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_code_addr.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_data.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_file.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_global.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_instr.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_util.java Making Mercury/javas/jmercury/ll_backend__lookup_switch.java Making Mercury/javas/jmercury/ll_backend__lookup_util.java Making Mercury/javas/jmercury/ll_backend__middle_rec.java Making Mercury/javas/jmercury/ll_backend__opt_debug.java Making Mercury/javas/jmercury/ll_backend__opt_util.java Making Mercury/javas/jmercury/ll_backend__optimize.java Making Mercury/javas/jmercury/ll_backend__par_conj_gen.java Making Mercury/javas/jmercury/ll_backend__peephole.java Making Mercury/javas/jmercury/ll_backend__proc_gen.java Making Mercury/javas/jmercury/ll_backend__prog_rep.java Making Mercury/javas/jmercury/ll_backend__prog_rep_tables.java Making Mercury/javas/jmercury/ll_backend__reassign.java Making Mercury/javas/jmercury/ll_backend__rtti_out.java Making Mercury/javas/jmercury/ll_backend__saved_vars.java Making Mercury/javas/jmercury/ll_backend__stack_alloc.java Making Mercury/javas/jmercury/ll_backend__stack_layout.java Making Mercury/javas/jmercury/ll_backend__stack_opt.java Making Mercury/javas/jmercury/ll_backend__stdlabel.java Making Mercury/javas/jmercury/ll_backend__store_alloc.java Making Mercury/javas/jmercury/ll_backend__string_switch.java Making Mercury/javas/jmercury/ll_backend__switch_case.java Making Mercury/javas/jmercury/ll_backend__switch_gen.java Making Mercury/javas/jmercury/ll_backend__tag_switch.java Making Mercury/javas/jmercury/ll_backend__trace_gen.java Making Mercury/javas/jmercury/ll_backend__transform_llds.java Making Mercury/javas/jmercury/ll_backend__unify_gen.java Making Mercury/javas/jmercury/ll_backend__unify_gen_construct.java Making Mercury/javas/jmercury/ll_backend__unify_gen_deconstruct.java Making Mercury/javas/jmercury/ll_backend__unify_gen_test.java Making Mercury/javas/jmercury/ll_backend__unify_gen_util.java Making Mercury/javas/jmercury/ll_backend__use_local_vars.java Making Mercury/javas/jmercury/ll_backend__var_locn.java Making Mercury/javas/jmercury/ll_backend__wrap_blocks.java Making Mercury/javas/jmercury/make.java Making Mercury/javas/jmercury/make__build.java Making Mercury/javas/jmercury/make__check_up_to_date.java Making Mercury/javas/jmercury/make__clean.java Making Mercury/javas/jmercury/make__file_names.java Making Mercury/javas/jmercury/make__find_local_modules.java Making Mercury/javas/jmercury/make__get_module_dep_info.java Making Mercury/javas/jmercury/make__hash.java Making Mercury/javas/jmercury/make__index_set.java Making Mercury/javas/jmercury/make__library_install.java Making Mercury/javas/jmercury/make__make_info.java Making Mercury/javas/jmercury/make__module_dep_file.java Making Mercury/javas/jmercury/make__module_target.java Making Mercury/javas/jmercury/make__options_file.java Making Mercury/javas/jmercury/make__prereqs.java Making Mercury/javas/jmercury/make__prereqs_cache.java Making Mercury/javas/jmercury/make__program_target.java Making Mercury/javas/jmercury/make__timestamp.java Making Mercury/javas/jmercury/make__top_level.java Making Mercury/javas/jmercury/make__track_flags.java Making Mercury/javas/jmercury/make__util.java Making Mercury/javas/jmercury/mercury_compile.java Making Mercury/javas/jmercury/ml_backend.java Making Mercury/javas/jmercury/ml_backend__add_heap_ops.java Making Mercury/javas/jmercury/ml_backend__add_trail_ops.java Making Mercury/javas/jmercury/ml_backend__ml_accurate_gc.java Making Mercury/javas/jmercury/ml_backend__ml_args_util.java Making Mercury/javas/jmercury/ml_backend__ml_call_gen.java Making Mercury/javas/jmercury/ml_backend__ml_closure_gen.java Making Mercury/javas/jmercury/ml_backend__ml_code_gen.java Making Mercury/javas/jmercury/ml_backend__ml_code_util.java Making Mercury/javas/jmercury/ml_backend__ml_commit_gen.java Making Mercury/javas/jmercury/ml_backend__ml_disj_gen.java Making Mercury/javas/jmercury/ml_backend__ml_elim_nested.java Making Mercury/javas/jmercury/ml_backend__ml_foreign_proc_gen.java Making Mercury/javas/jmercury/ml_backend__ml_gen_info.java Making Mercury/javas/jmercury/ml_backend__ml_global_data.java Making Mercury/javas/jmercury/ml_backend__ml_lookup_switch.java Making Mercury/javas/jmercury/ml_backend__ml_optimize.java Making Mercury/javas/jmercury/ml_backend__ml_proc_gen.java Making Mercury/javas/jmercury/ml_backend__ml_rename_classes.java Making Mercury/javas/jmercury/ml_backend__ml_simplify_switch.java Making Mercury/javas/jmercury/ml_backend__ml_string_switch.java Making Mercury/javas/jmercury/ml_backend__ml_switch_gen.java Making Mercury/javas/jmercury/ml_backend__ml_tag_switch.java Making Mercury/javas/jmercury/ml_backend__ml_target_util.java Making Mercury/javas/jmercury/ml_backend__ml_top_gen.java Making Mercury/javas/jmercury/ml_backend__ml_type_gen.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_construct.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_deconstruct.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_test.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_util.java Making Mercury/javas/jmercury/ml_backend__ml_unused_assign.java Making Mercury/javas/jmercury/ml_backend__ml_util.java Making Mercury/javas/jmercury/ml_backend__mlds.java Making Mercury/javas/jmercury/ml_backend__mlds_dump.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_wrap.java Making Mercury/javas/jmercury/ml_backend__mlds_to_target_util.java Making Mercury/javas/jmercury/ml_backend__rtti_to_mlds.java Making Mercury/javas/jmercury/mode_robdd.java Making Mercury/javas/jmercury/mode_robdd__equiv_vars.java Making Mercury/javas/jmercury/mode_robdd__implications.java Making Mercury/javas/jmercury/mode_robdd__tfeirn.java Making Mercury/javas/jmercury/parse_tree.java Making Mercury/javas/jmercury/parse_tree__build_eqv_maps.java Making Mercury/javas/jmercury/parse_tree__builtin_lib_types.java Making Mercury/javas/jmercury/parse_tree__canonicalize_interface.java Making Mercury/javas/jmercury/parse_tree__check_import_accessibility.java Making Mercury/javas/jmercury/parse_tree__check_module_interface.java Making Mercury/javas/jmercury/parse_tree__check_type_inst_mode_defns.java Making Mercury/javas/jmercury/parse_tree__comp_unit_interface.java Making Mercury/javas/jmercury/parse_tree__convert_import_use.java Making Mercury/javas/jmercury/parse_tree__convert_include.java Making Mercury/javas/jmercury/parse_tree__convert_parse_tree.java Making Mercury/javas/jmercury/parse_tree__d_file_deps.java Making Mercury/javas/jmercury/parse_tree__decide_type_repn.java Making Mercury/javas/jmercury/parse_tree__deps_map.java Making Mercury/javas/jmercury/parse_tree__equiv_type.java Making Mercury/javas/jmercury/parse_tree__equiv_type_parse_tree.java Making Mercury/javas/jmercury/parse_tree__error_sort.java Making Mercury/javas/jmercury/parse_tree__error_spec.java Making Mercury/javas/jmercury/parse_tree__error_type_util.java Making Mercury/javas/jmercury/parse_tree__error_util.java Making Mercury/javas/jmercury/parse_tree__file_kind.java Making Mercury/javas/jmercury/parse_tree__file_names.java Making Mercury/javas/jmercury/parse_tree__find_module.java Making Mercury/javas/jmercury/parse_tree__generate_mmakefile_fragments.java Making Mercury/javas/jmercury/parse_tree__get_dependencies.java Making Mercury/javas/jmercury/parse_tree__grab_modules.java Making Mercury/javas/jmercury/parse_tree__int_emu.java Making Mercury/javas/jmercury/parse_tree__item_util.java Making Mercury/javas/jmercury/parse_tree__java_names.java Making Mercury/javas/jmercury/parse_tree__make_module_file_names.java Making Mercury/javas/jmercury/parse_tree__maybe_error.java Making Mercury/javas/jmercury/parse_tree__module_baggage.java Making Mercury/javas/jmercury/parse_tree__module_cmds.java Making Mercury/javas/jmercury/parse_tree__module_dep_info.java Making Mercury/javas/jmercury/parse_tree__module_deps_graph.java Making Mercury/javas/jmercury/parse_tree__module_qual.java Making Mercury/javas/jmercury/parse_tree__module_qual__collect_mq_info.java Making Mercury/javas/jmercury/parse_tree__module_qual__id_set.java Making Mercury/javas/jmercury/parse_tree__module_qual__mq_info.java Making Mercury/javas/jmercury/parse_tree__module_qual__qual_errors.java Making Mercury/javas/jmercury/parse_tree__module_qual__qualify_items.java Making Mercury/javas/jmercury/parse_tree__opt_deps_spec.java Making Mercury/javas/jmercury/parse_tree__output_imports_graph.java Making Mercury/javas/jmercury/parse_tree__parse_class.java Making Mercury/javas/jmercury/parse_tree__parse_dcg_goal.java Making Mercury/javas/jmercury/parse_tree__parse_error.java Making Mercury/javas/jmercury/parse_tree__parse_goal.java Making Mercury/javas/jmercury/parse_tree__parse_goal_util.java Making Mercury/javas/jmercury/parse_tree__parse_inst_mode_defn.java Making Mercury/javas/jmercury/parse_tree__parse_inst_mode_name.java Making Mercury/javas/jmercury/parse_tree__parse_item.java Making Mercury/javas/jmercury/parse_tree__parse_module.java Making Mercury/javas/jmercury/parse_tree__parse_mutable.java Making Mercury/javas/jmercury/parse_tree__parse_pragma.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_analysis.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_foreign.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_tabling.java Making Mercury/javas/jmercury/parse_tree__parse_sym_name.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_clause.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_cons_id.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_info.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_inst.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_item.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_misc.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_pragma.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_pred_decl.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_sym_name.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_term.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_type.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_type_repn.java Making Mercury/javas/jmercury/parse_tree__parse_tree_output.java Making Mercury/javas/jmercury/parse_tree__parse_tree_to_term.java Making Mercury/javas/jmercury/parse_tree__parse_type_defn.java Making Mercury/javas/jmercury/parse_tree__parse_type_name.java Making Mercury/javas/jmercury/parse_tree__parse_type_repn.java Making Mercury/javas/jmercury/parse_tree__parse_types.java Making Mercury/javas/jmercury/parse_tree__parse_util.java Making Mercury/javas/jmercury/parse_tree__parse_vars.java Making Mercury/javas/jmercury/parse_tree__prog_ctgc.java Making Mercury/javas/jmercury/parse_tree__prog_data.java Making Mercury/javas/jmercury/parse_tree__prog_data_event.java Making Mercury/javas/jmercury/parse_tree__prog_data_foreign.java Making Mercury/javas/jmercury/parse_tree__prog_data_pragma.java Making Mercury/javas/jmercury/parse_tree__prog_data_used_modules.java Making Mercury/javas/jmercury/parse_tree__prog_detism.java Making Mercury/javas/jmercury/parse_tree__prog_event.java Making Mercury/javas/jmercury/parse_tree__prog_foreign.java Making Mercury/javas/jmercury/parse_tree__prog_foreign_enum.java Making Mercury/javas/jmercury/parse_tree__prog_item.java Making Mercury/javas/jmercury/parse_tree__prog_item_stats.java Making Mercury/javas/jmercury/parse_tree__prog_mode.java Making Mercury/javas/jmercury/parse_tree__prog_mutable.java Making Mercury/javas/jmercury/parse_tree__prog_parse_tree.java Making Mercury/javas/jmercury/parse_tree__prog_rename.java Making Mercury/javas/jmercury/parse_tree__prog_type.java Making Mercury/javas/jmercury/parse_tree__prog_type_construct.java Making Mercury/javas/jmercury/parse_tree__prog_type_repn.java Making Mercury/javas/jmercury/parse_tree__prog_type_scan.java Making Mercury/javas/jmercury/parse_tree__prog_type_subst.java Making Mercury/javas/jmercury/parse_tree__prog_type_test.java Making Mercury/javas/jmercury/parse_tree__prog_type_unify.java Making Mercury/javas/jmercury/parse_tree__prog_util.java Making Mercury/javas/jmercury/parse_tree__read_modules.java Making Mercury/javas/jmercury/parse_tree__set_of_var.java Making Mercury/javas/jmercury/parse_tree__source_file_map.java Making Mercury/javas/jmercury/parse_tree__split_parse_tree_src.java Making Mercury/javas/jmercury/parse_tree__type_inst_mode_map.java Making Mercury/javas/jmercury/parse_tree__var_db.java Making Mercury/javas/jmercury/parse_tree__var_table.java Making Mercury/javas/jmercury/parse_tree__vartypes.java Making Mercury/javas/jmercury/parse_tree__warn_unread_modules.java Making Mercury/javas/jmercury/parse_tree__write_deps_file.java Making Mercury/javas/jmercury/parse_tree__write_error_spec.java Making Mercury/javas/jmercury/parse_tree__write_module_interface_files.java Making Mercury/javas/jmercury/recompilation.java Making Mercury/javas/jmercury/recompilation__check.java Making Mercury/javas/jmercury/recompilation__item_types.java Making Mercury/javas/jmercury/recompilation__record_uses.java Making Mercury/javas/jmercury/recompilation__usage.java Making Mercury/javas/jmercury/recompilation__used_file.java Making Mercury/javas/jmercury/recompilation__version.java Making Mercury/javas/jmercury/top_level.java Making Mercury/javas/jmercury/top_level__mercury_compile_args.java Making Mercury/javas/jmercury/top_level__mercury_compile_augment.java Making Mercury/javas/jmercury/top_level__mercury_compile_front_end.java Making Mercury/javas/jmercury/top_level__mercury_compile_llds_back_end.java Making Mercury/javas/jmercury/top_level__mercury_compile_main.java Making Mercury/javas/jmercury/top_level__mercury_compile_make_hlds.java Making Mercury/javas/jmercury/top_level__mercury_compile_middle_passes.java Making Mercury/javas/jmercury/top_level__mercury_compile_mlds_back_end.java Making Mercury/javas/jmercury/transform_hlds.java Making Mercury/javas/jmercury/transform_hlds__accumulator.java Making Mercury/javas/jmercury/transform_hlds__closure_analysis.java Making Mercury/javas/jmercury/transform_hlds__complexity.java Making Mercury/javas/jmercury/transform_hlds__const_prop.java Making Mercury/javas/jmercury/transform_hlds__constraint.java Making Mercury/javas/jmercury/transform_hlds__ctgc.java Making Mercury/javas/jmercury/transform_hlds__ctgc__datastruct.java Making Mercury/javas/jmercury/transform_hlds__ctgc__fixpoint_table.java Making Mercury/javas/jmercury/transform_hlds__ctgc__livedata.java Making Mercury/javas/jmercury/transform_hlds__ctgc__selector.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__analysis.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__dead_cell_table.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct_choose_reuse.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct_detect_garbage.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__domain.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__indirect.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__lbu.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__lfu.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__versions.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing__analysis.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing__domain.java Making Mercury/javas/jmercury/transform_hlds__ctgc__util.java Making Mercury/javas/jmercury/transform_hlds__dead_proc_elim.java Making Mercury/javas/jmercury/transform_hlds__deforest.java Making Mercury/javas/jmercury/transform_hlds__delay_construct.java Making Mercury/javas/jmercury/transform_hlds__dep_par_conj.java Making Mercury/javas/jmercury/transform_hlds__direct_arg_in_out.java Making Mercury/javas/jmercury/transform_hlds__distance_granularity.java Making Mercury/javas/jmercury/transform_hlds__equiv_type_hlds.java Making Mercury/javas/jmercury/transform_hlds__exception_analysis.java Making Mercury/javas/jmercury/transform_hlds__float_regs.java Making Mercury/javas/jmercury/transform_hlds__goal_store.java Making Mercury/javas/jmercury/transform_hlds__granularity.java Making Mercury/javas/jmercury/transform_hlds__higher_order.java Making Mercury/javas/jmercury/transform_hlds__higher_order__higher_order_global_info.java Making Mercury/javas/jmercury/transform_hlds__higher_order__higher_order_info.java Making Mercury/javas/jmercury/transform_hlds__higher_order__make_specialized_preds.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_calls.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_in_module.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_unify_compare.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism__introduce_parallelism.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism__push_goals_together.java Making Mercury/javas/jmercury/transform_hlds__inlining.java Making Mercury/javas/jmercury/transform_hlds__intermod.java Making Mercury/javas/jmercury/transform_hlds__intermod_analysis.java Making Mercury/javas/jmercury/transform_hlds__intermod_decide.java Making Mercury/javas/jmercury/transform_hlds__intermod_info.java Making Mercury/javas/jmercury/transform_hlds__intermod_mark_exported.java Making Mercury/javas/jmercury/transform_hlds__intermod_order_pred_info.java Making Mercury/javas/jmercury/transform_hlds__intermod_status.java Making Mercury/javas/jmercury/transform_hlds__lambda.java Making Mercury/javas/jmercury/transform_hlds__lco.java Making Mercury/javas/jmercury/transform_hlds__loop_inv.java Making Mercury/javas/jmercury/transform_hlds__mmc_analysis.java Making Mercury/javas/jmercury/transform_hlds__par_loop_control.java Making Mercury/javas/jmercury/transform_hlds__parallel_to_plain_conj.java Making Mercury/javas/jmercury/transform_hlds__pd_cost.java Making Mercury/javas/jmercury/transform_hlds__pd_debug.java Making Mercury/javas/jmercury/transform_hlds__pd_info.java Making Mercury/javas/jmercury/transform_hlds__pd_term.java Making Mercury/javas/jmercury/transform_hlds__pd_util.java Making Mercury/javas/jmercury/transform_hlds__post_term_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm.java Making Mercury/javas/jmercury/transform_hlds__rbmm__add_rbmm_goal_infos.java Making Mercury/javas/jmercury/transform_hlds__rbmm__condition_renaming.java Making Mercury/javas/jmercury/transform_hlds__rbmm__execution_path.java Making Mercury/javas/jmercury/transform_hlds__rbmm__interproc_region_lifetime.java Making Mercury/javas/jmercury/transform_hlds__rbmm__live_region_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__live_variable_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_graph.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_info.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_arguments.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_instruction.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_liveness_info.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_resurrection_renaming.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_transformation.java Making Mercury/javas/jmercury/transform_hlds__size_prof.java Making Mercury/javas/jmercury/transform_hlds__smm_common.java Making Mercury/javas/jmercury/transform_hlds__ssdebug.java Making Mercury/javas/jmercury/transform_hlds__stm_expand.java Making Mercury/javas/jmercury/transform_hlds__table_gen.java Making Mercury/javas/jmercury/transform_hlds__tabling_analysis.java Making Mercury/javas/jmercury/transform_hlds__term_constr_build.java Making Mercury/javas/jmercury/transform_hlds__term_constr_data.java Making Mercury/javas/jmercury/transform_hlds__term_constr_errors.java Making Mercury/javas/jmercury/transform_hlds__term_constr_fixpoint.java Making Mercury/javas/jmercury/transform_hlds__term_constr_initial.java Making Mercury/javas/jmercury/transform_hlds__term_constr_main.java Making Mercury/javas/jmercury/transform_hlds__term_constr_main_types.java Making Mercury/javas/jmercury/transform_hlds__term_constr_pass2.java Making Mercury/javas/jmercury/transform_hlds__term_constr_util.java Making Mercury/javas/jmercury/transform_hlds__term_errors.java Making Mercury/javas/jmercury/transform_hlds__term_norm.java Making Mercury/javas/jmercury/transform_hlds__term_pass1.java Making Mercury/javas/jmercury/transform_hlds__term_pass2.java Making Mercury/javas/jmercury/transform_hlds__term_traversal.java Making Mercury/javas/jmercury/transform_hlds__term_util.java Making Mercury/javas/jmercury/transform_hlds__termination.java Making Mercury/javas/jmercury/transform_hlds__trailing_analysis.java Making Mercury/javas/jmercury/transform_hlds__tupling.java Making Mercury/javas/jmercury/transform_hlds__unneeded_code.java Making Mercury/javas/jmercury/transform_hlds__untupling.java Making Mercury/javas/jmercury/transform_hlds__unused_args.java Making Mercury/javas/jmercury/transform_hlds__unused_args_analysis.java Making Mercury/javas/jmercury/transform_hlds__unused_args_base_ops.java Making Mercury/javas/jmercury/transform_hlds__unused_args_optimize.java Making Mercury/javas/jmercury/transform_hlds__unused_args_warn_pragma.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mercury_compile.jar building of stage 2 compiler successful /tmp/mmake.45U7IY:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.45U7IY:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade Making Mercury/int3s/choose_grade.int3 Making Mercury/int3s/grade_lib.int3 Making Mercury/int3s/grade_lib.grade_setup.int3 Making Mercury/int3s/var_value_names.int3 Making Mercury/int3s/grade_lib.grade_spec.int3 Making Mercury/int3s/grade_lib.grade_state.int3 Making Mercury/int3s/grade_lib.grade_solver.int3 Making Mercury/int3s/grade_lib.grade_string.int3 Making Mercury/int3s/grade_lib.grade_structure.int3 Making Mercury/int3s/grade_lib.grade_vars.int3 Making Mercury/int0s/grade_lib.int0 Making Mercury/ints/grade_lib.grade_vars.int Making Mercury/ints/grade_lib.grade_structure.int Making Mercury/ints/grade_lib.grade_string.int Making Mercury/ints/grade_lib.grade_state.int Making Mercury/ints/grade_lib.grade_spec.int Making Mercury/ints/grade_lib.grade_solver.int Making Mercury/ints/grade_lib.grade_setup.int Making Mercury/ints/var_value_names.int Making Mercury/ints/grade_lib.int Making Mercury/ints/choose_grade.int Making Mercury/javas/jmercury/choose_grade.java Making Mercury/javas/jmercury/grade_lib.java Making Mercury/javas/jmercury/grade_lib__grade_setup.java Making Mercury/javas/jmercury/grade_lib__grade_solver.java Making Mercury/javas/jmercury/grade_lib__grade_spec.java Making Mercury/javas/jmercury/grade_lib__grade_state.java Making Mercury/javas/jmercury/grade_lib__grade_string.java Making Mercury/javas/jmercury/grade_lib__grade_structure.java Making Mercury/javas/jmercury/grade_lib__grade_vars.java Making Mercury/javas/jmercury/var_value_names.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making choose_grade.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades Making Mercury/int3s/test_grades.int3 Making Mercury/ints/test_grades.int Making Mercury/javas/jmercury/test_grades.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making test_grades.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs Making Mercury/int3s/try_all_grade_structs.int3 Making Mercury/ints/try_all_grade_structs.int Making Mercury/javas/jmercury/try_all_grade_structs.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making try_all_grade_structs.jar building of stage 2 grade_lib successful /tmp/mmake.pZoEZI:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.pZoEZI:1109: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice Making Mercury/int3s/mslice.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.feedback.feedback_info.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/mslice.int Making Mercury/ints/mdbcomp.int Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mslice.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mslice.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice Making Mercury/int3s/mdice.int3 Making Mercury/ints/mdice.int Making Mercury/javas/jmercury/mdice.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdice.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov Making Mercury/int3s/mcov.int3 Making Mercury/ints/mcov.int Making Mercury/javas/jmercury/mcov.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mcov.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union Making Mercury/int3s/mtc_union.int3 Making Mercury/ints/mtc_union.int Making Mercury/javas/jmercury/mtc_union.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mtc_union.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff Making Mercury/int3s/mtc_diff.int3 Making Mercury/ints/mtc_diff.int Making Mercury/javas/jmercury/mtc_diff.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mtc_diff.jar building of stage 2 slice successful /tmp/mmake.BaAtl9:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.BaAtl9:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile Making Mercury/int3s/mercury_profile.int3 Making Mercury/int3s/call_graph.int3 Making Mercury/int3s/globals.int3 Making Mercury/int3s/options.int3 Making Mercury/int3s/read.int3 Making Mercury/int3s/demangle.int3 Making Mercury/int3s/generate_output.int3 Making Mercury/int3s/output_prof_info.int3 Making Mercury/int3s/prof_info.int3 Making Mercury/int3s/output.int3 Making Mercury/int3s/process_file.int3 Making Mercury/int3s/propagate.int3 Making Mercury/int3s/snapshots.int3 Making Mercury/ints/read.int Making Mercury/ints/snapshots.int Making Mercury/ints/propagate.int Making Mercury/ints/prof_info.int Making Mercury/ints/process_file.int Making Mercury/ints/output_prof_info.int Making Mercury/ints/output.int Making Mercury/ints/options.int Making Mercury/ints/globals.int Making Mercury/ints/mercury_profile.int Making Mercury/ints/generate_output.int Making Mercury/ints/demangle.int Making Mercury/ints/call_graph.int Making Mercury/javas/jmercury/call_graph.java Making Mercury/javas/jmercury/demangle.java Making Mercury/javas/jmercury/generate_output.java Making Mercury/javas/jmercury/globals.java Making Mercury/javas/jmercury/mercury_profile.java Making Mercury/javas/jmercury/options.java Making Mercury/javas/jmercury/output.java Making Mercury/javas/jmercury/output_prof_info.java Making Mercury/javas/jmercury/process_file.java Making Mercury/javas/jmercury/prof_info.java Making Mercury/javas/jmercury/propagate.java Making Mercury/javas/jmercury/read.java Making Mercury/javas/jmercury/snapshots.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mercury_profile.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs --no-warn-implicit-stream-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - demangle_test Making Mercury/int3s/demangle_test.int3 Making Mercury/ints/demangle_test.int Making Mercury/javas/jmercury/demangle_test.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making demangle_test.jar building of stage 2 profiler successful /tmp/mmake.BYzaYi:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.BYzaYi:1130: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi Making Mercury/int3s/mdprof_cgi.int3 Making Mercury/int3s/conf.int3 Making Mercury/int3s/interface.int3 Making Mercury/int3s/profile.int3 Making Mercury/int3s/array_util.int3 Making Mercury/int3s/exclude.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 Making Mercury/int3s/measurements.int3 Making Mercury/int3s/measurement_units.int3 Making Mercury/int3s/query.int3 Making Mercury/int3s/create_report.int3 Making Mercury/int3s/report.int3 Making Mercury/int3s/coverage.int3 Making Mercury/int3s/analysis_utils.int3 Making Mercury/int3s/program_representation_utils.int3 Making Mercury/int3s/message.int3 Making Mercury/int3s/var_use_analysis.int3 Making Mercury/int3s/recursion_patterns.int3 Making Mercury/int3s/apply_exclusion.int3 Making Mercury/int3s/top_procs.int3 Making Mercury/int3s/display_report.int3 Making Mercury/int3s/display.int3 Making Mercury/int3s/html_format.int3 Making Mercury/int3s/util.int3 Making Mercury/int3s/startup.int3 Making Mercury/int3s/callgraph.int3 Making Mercury/int3s/cliques.int3 Making Mercury/int3s/dense_bitset.int3 Making Mercury/int3s/canonical.int3 Making Mercury/int3s/dump.int3 Making Mercury/int3s/read_profile.int3 Making Mercury/int3s/io_combinator.int3 Making Mercury/int3s/timeout.int3 Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.feedback.feedback_info.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/var_use_analysis.int Making Mercury/ints/util.int Making Mercury/ints/top_procs.int Making Mercury/ints/timeout.int Making Mercury/ints/startup.int Making Mercury/ints/report.int Making Mercury/ints/recursion_patterns.int Making Mercury/ints/read_profile.int Making Mercury/ints/query.int Making Mercury/ints/program_representation_utils.int Making Mercury/ints/profile.int Making Mercury/ints/message.int Making Mercury/ints/measurements.int Making Mercury/ints/measurement_units.int Making Mercury/ints/mdbcomp.int Making Mercury/ints/mdprof_cgi.int Making Mercury/ints/io_combinator.int Making Mercury/ints/interface.int Making Mercury/ints/html_format.int Making Mercury/ints/exclude.int Making Mercury/ints/dump.int Making Mercury/ints/display_report.int Making Mercury/ints/display.int Making Mercury/ints/dense_bitset.int Making Mercury/ints/create_report.int Making Mercury/ints/coverage.int Making Mercury/ints/conf.int Making Mercury/ints/cliques.int Making Mercury/ints/canonical.int Making Mercury/ints/callgraph.int Making Mercury/ints/array_util.int Making Mercury/ints/apply_exclusion.int Making Mercury/ints/analysis_utils.int Making Mercury/javas/jmercury/analysis_utils.java Making Mercury/javas/jmercury/apply_exclusion.java Making Mercury/javas/jmercury/array_util.java Making Mercury/javas/jmercury/callgraph.java Making Mercury/javas/jmercury/canonical.java Making Mercury/javas/jmercury/cliques.java Making Mercury/javas/jmercury/conf.java Making Mercury/javas/jmercury/coverage.java Making Mercury/javas/jmercury/create_report.java Making Mercury/javas/jmercury/dense_bitset.java Making Mercury/javas/jmercury/display.java Making Mercury/javas/jmercury/display_report.java Making Mercury/javas/jmercury/dump.java Making Mercury/javas/jmercury/exclude.java Making Mercury/javas/jmercury/html_format.java Making Mercury/javas/jmercury/mr_interface.java Making Mercury/javas/jmercury/io_combinator.java Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mdprof_cgi.java Making Mercury/javas/jmercury/measurement_units.java Making Mercury/javas/jmercury/measurements.java Making Mercury/javas/jmercury/message.java Making Mercury/javas/jmercury/profile.java Making Mercury/javas/jmercury/program_representation_utils.java Making Mercury/javas/jmercury/query.java Making Mercury/javas/jmercury/read_profile.java Making Mercury/javas/jmercury/recursion_patterns.java Making Mercury/javas/jmercury/report.java Making Mercury/javas/jmercury/startup.java Making Mercury/javas/jmercury/timeout.java Making Mercury/javas/jmercury/top_procs.java Making Mercury/javas/jmercury/util.java Making Mercury/javas/jmercury/var_use_analysis.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_cgi.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test Making Mercury/int3s/mdprof_test.int3 Making Mercury/ints/mdprof_test.int Making Mercury/javas/jmercury/mdprof_test.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_test.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump Making Mercury/int3s/mdprof_dump.int3 Making Mercury/ints/mdprof_dump.int Making Mercury/javas/jmercury/mdprof_dump.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_dump.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback Making Mercury/int3s/mdprof_create_feedback.int3 Making Mercury/int3s/mdprof_fb.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_reports.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_search_callgraph.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_annotate.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_types.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_costs.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_search_goals.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_find_best_par.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_calc_overlap.int3 Making Mercury/int0s/mdprof_fb.int0 Making Mercury/int0s/mdprof_fb.automatic_parallelism.int0 Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_types.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_search_goals.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_search_callgraph.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_reports.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_find_best_par.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_costs.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_calc_overlap.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_annotate.int Making Mercury/ints/mdprof_fb.automatic_parallelism.int Making Mercury/ints/mdprof_fb.int Making Mercury/ints/mdprof_create_feedback.int Making Mercury/javas/jmercury/mdprof_fb.java Making Mercury/javas/jmercury/mdprof_create_feedback.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_annotate.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_calc_overlap.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_costs.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_find_best_par.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_reports.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_search_callgraph.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_search_goals.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_types.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_create_feedback.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback Making Mercury/int3s/mdprof_report_feedback.int3 Making Mercury/ints/mdprof_report_feedback.int Making Mercury/javas/jmercury/mdprof_report_feedback.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_report_feedback.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep Making Mercury/int3s/mdprof_procrep.int3 Making Mercury/ints/mdprof_procrep.int Making Mercury/javas/jmercury/mdprof_procrep.java Making Java class files Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mdprof_procrep.jar building of stage 2 deep profiler successful /tmp/mmake.l17N4o:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.l17N4o:960: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags MFILTERJAVAC_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mfilterjavac Making Mercury/int3s/mfilterjavac.int3 Making Mercury/ints/mfilterjavac.int Making Mercury/javas/jmercury/mfilterjavac.java Making Java class files Note: Mercury/javas/jmercury/mfilterjavac.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Making mfilterjavac.jar building of stage 2 mfilterjavac successful sed 's/@VERSION@/rotd-2026-03-02/g' .README.in > README sed 's/@VERSION@/rotd-2026-03-02/g' .INSTALL.in > INSTALL chmod a+x INSTALL cat compiler/notes/work_in_progress.html > WORK_IN_PROGRESS cat compiler/notes/todo.html > TODO cd scripts && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/scripts' cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mfiltercc gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' /tmp/mmake.pZOklQ:1242: warning: overriding recipe for target 'realclean_local' /tmp/mmake.pZOklQ:886: warning: ignoring old recipe for target 'realclean_local' gmake[1]: 'mfiltercc' is up to date. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' gc_grade=`scripts/ml --grade java --print-gc-grade`; \ cd boehm_gc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake GC_GRADE=$gc_grade gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/boehm_gc' /tmp/mmake.Bt4bhf:1360: warning: overriding recipe for target 'clean_local' /tmp/mmake.Bt4bhf:897: warning: ignoring old recipe for target 'clean_local' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/boehm_gc' cd runtime && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/runtime' /tmp/mmake.dZQn2o:1692: warning: overriding recipe for target 'realclean_local' /tmp/mmake.dZQn2o:1334: warning: ignoring old recipe for target 'realclean_local' No Mercury runtime needed for GRADE=java gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/runtime' cd util && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' /tmp/mmake.8s3fLu:1242: warning: overriding recipe for target 'realclean_local' /tmp/mmake.8s3fLu:886: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/util' cd robdd && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/robdd' ../scripts/mgnuc --no-mercury-stdlib-dir --grade java -- -DNDEBUG -DNEW -DCLEAR_CACHES -DCOMPUTED_TABLE -DEQUAL_TEST -DUSE_ITE_CONSTANT -DRESTRICT_SET -I../browser -I../library -I../runtime -I../boehm_gc -I../boehm_gc/include -I. -IMercury/mhs/. -IMercury/mihs/. -c bryant.c -o bryant.o ../scripts/mgnuc --no-mercury-stdlib-dir --grade java -- -DNDEBUG -DNEW -DCLEAR_CACHES -DCOMPUTED_TABLE -DEQUAL_TEST -DUSE_ITE_CONSTANT -DRESTRICT_SET -I../browser -I../library -I../runtime -I../boehm_gc -I../boehm_gc/include -I. -IMercury/mhs/. -IMercury/mihs/. -fPIC -DMR_PIC \ -c bryant.c -o bryant.pic_o gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/robdd' cd library && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.QqJrdX:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.QqJrdX:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.QqJrdX:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.QqJrdX:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.QqJrdX:1350: warning: ignoring old recipe for target 'realclean_local' test -d jmercury || mkdir jmercury test -d jmercury/runtime || cp -r ../java/runtime jmercury { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.depend_ints gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' cd library && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.BffeGt:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.BffeGt:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.BffeGt:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.BffeGt:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.BffeGt:1350: warning: ignoring old recipe for target 'realclean_local' test -d jmercury || mkdir jmercury test -d jmercury/runtime || cp -r ../java/runtime jmercury /usr/bin/javac -J"-Xmx1024m" -sourcepath . jmercury/runtime/*.java /usr/bin/jar cf mer_rt.jar jmercury/runtime/*.class /usr/bin/jar i mer_rt.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.int3s { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.ints { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.opts gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library' cd mdbcomp && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_mdbcomp.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:556: warning: undefined variable 'mer_mdbcomp.all_os' ../Mmake.common:622: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:625: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:631: warning: undefined variable 'mer_mdbcomp.all_os' /tmp/mmake.1MIvvs:971: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.1MIvvs:983: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.1MIvvs:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.1MIvvs:1029: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' cd mdbcomp && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:556: warning: undefined variable 'mer_mdbcomp.all_os' ../Mmake.common:622: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:625: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:631: warning: undefined variable 'mer_mdbcomp.all_os' /tmp/mmake.ELmClG:971: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.ELmClG:983: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.ELmClG:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ELmClG:1029: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_mdbcomp { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.int3s { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.ints gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mdbcomp' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_browser.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:556: warning: undefined variable 'mer_browser.all_os' ../Mmake.common:622: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:625: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:631: warning: undefined variable 'mer_browser.all_os' /tmp/mmake.duPJH2:1008: warning: undefined variable 'mer_browser.ms' /tmp/mmake.duPJH2:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.duPJH2:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:556: warning: undefined variable 'mer_browser.all_os' ../Mmake.common:622: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:625: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:631: warning: undefined variable 'mer_browser.all_os' /tmp/mmake.6zXdg4:1008: warning: undefined variable 'mer_browser.ms' /tmp/mmake.6zXdg4:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.6zXdg4:1061: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_browser gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/browser' cd trace && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/trace' /tmp/mmake.I9fHQj:1531: warning: overriding recipe for target 'realclean_local' /tmp/mmake.I9fHQj:1171: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'default_target'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/trace' cd ssdb && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_ssdb.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:556: warning: undefined variable 'mer_ssdb.all_os' ../Mmake.common:622: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:625: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:631: warning: undefined variable 'mer_ssdb.all_os' /tmp/mmake.mrarQd:981: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.mrarQd:993: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.mrarQd:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.mrarQd:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' cd ssdb && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:556: warning: undefined variable 'mer_ssdb.all_os' ../Mmake.common:622: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:625: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:631: warning: undefined variable 'mer_ssdb.all_os' /tmp/mmake.0ygL4h:981: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.0ygL4h:993: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.0ygL4h:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.0ygL4h:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - libmer_ssdb gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/ssdb' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.r4eISP:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.r4eISP:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.E0PPIO:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.E0PPIO:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.7k03aC:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.7k03aC:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' /tmp/mmake.x8uxMu:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.x8uxMu:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade Making choose_grade.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades Making test_grades.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs ** Nothing to be done for `try_all_grade_structs.jar'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/grade_lib' cd compiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' /tmp/mmake.kvFLWw:981: warning: undefined variable 'mercury_compile.ms' /tmp/mmake.kvFLWw:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.kvFLWw:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.kvFLWw:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.kvFLWw:1037: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs -f *.m gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' cd compiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' /tmp/mmake.UAy8RF:981: warning: undefined variable 'mercury_compile.ms' /tmp/mmake.UAy8RF:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.UAy8RF:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.UAy8RF:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.UAy8RF:1037: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init ../mdbcomp/mer_mdbcomp.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'; } | mmc --make --options-file - mercury_compile ** Nothing to be done for `mercury_compile.jar'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/compiler' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' /tmp/mmake.ut43YN:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ut43YN:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' /tmp/mmake.JPO3zB:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.JPO3zB:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile Making mercury_profile.jar gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/profiler' cd doc && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/doc' "/usr/bin/texi2dvi" mercury_user_guide.texi_pp < /dev/null > mercury_user_guide.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.kc8F03:905: mercury_user_guide.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_reference_manual.texi_pp < /dev/null > mercury_reference_manual.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.kc8F03:905: mercury_reference_manual.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_library_manual.texi_pp < /dev/null > mercury_library_manual.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.kc8F03:905: mercury_library_manual.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_faq.texi_pp < /dev/null > mercury_faq.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.kc8F03:905: mercury_faq.dvi] Error 1 (ignored) "/usr/bin/texi2dvi" mercury_transition_guide.texi_pp < /dev/null > mercury_transition_guide.dvi_log You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://tug.org/texlive, or do a web search for TeX and your operating system or distro. On Debian you can install a working TeX system with apt-get install texlive gmake[1]: [/tmp/mmake.kc8F03:905: mercury_transition_guide.dvi] Error 1 (ignored) gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/doc' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.89i4li:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.89i4li:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.8NBnya:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.8NBnya:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.CPq9PL:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.CPq9PL:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.ljATgv:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ljATgv:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.e1BasD:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.e1BasD:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' /tmp/mmake.Zdpnvk:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.Zdpnvk:1109: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice Making mslice.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice Making mdice.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov Making mcov.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union Making mtc_union.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff ** Nothing to be done for `mtc_diff.jar'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/slice' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.Czmg6X:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.Czmg6X:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.qf2vqy:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.qf2vqy:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.JFCCbP:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.JFCCbP:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.PErZhX:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.PErZhX:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.n18WgT:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.n18WgT:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.OW09zf:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.OW09zf:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' /tmp/mmake.BaVSOD:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.BaVSOD:1130: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi Making mdprof_cgi.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test Making mdprof_test.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump Making mdprof_dump.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback Making mdprof_create_feedback.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback Making mdprof_report_feedback.jar { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep ** Nothing to be done for `mdprof_procrep.jar'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/deep_profiler' cd mfilterjavac && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' /tmp/mmake.d58U5L:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.d58U5L:960: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'depend'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' cd mfilterjavac && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' /tmp/mmake.D2FoQR:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.D2FoQR:960: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags MFILTERJAVAC_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mfilterjavac ** Nothing to be done for `mfilterjavac.jar'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/mfilterjavac' building of stage 2 successful finishing stage 2 at Tue Mar 3 07:51:29 AM AEDT 2026 ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.HrLmIZ:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.HrLmIZ:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.HrLmIZ:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.HrLmIZ:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.HrLmIZ:1350: warning: ignoring old recipe for target 'realclean_local' linking stage 3... config.status: creating library/LIB_FLAGS config.status: creating mdbcomp/MDBCOMP_FLAGS config.status: creating browser/MDB_FLAGS config.status: creating ssdb/SSDB_FLAGS config.status: creating grade_lib/GRADE_LIB_FLAGS config.status: creating compiler/COMP_FLAGS config.status: creating slice/SLICE_FLAGS config.status: creating profiler/PROF_FLAGS config.status: creating deep_profiler/DEEP_FLAGS config.status: creating mfilterjavac/MFILTERJAVAC_FLAGS building of stage 3 flags files successful cd library && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/library' /tmp/mmake.FatSQT:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.FatSQT:1350: warning: ignoring old recipe for target 'realclean_local' test -d jmercury || mkdir jmercury test -d jmercury/runtime || cp -r ../java/runtime jmercury { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.depend_ints gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/library' cd mdbcomp && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_mdbcomp.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/mdbcomp' /tmp/mmake.9LMxUF:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.9LMxUF:1029: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/mdbcomp' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_browser.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' /tmp/mmake.9wNO3w:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.9wNO3w:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake browse_test.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' /tmp/mmake.LoPaef:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.LoPaef:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - browse_test.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' cd browser && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake declarative_test.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' /tmp/mmake.5pQ6lf:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.5pQ6lf:1061: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - declarative_test.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/browser' cd ssdb && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake mer_ssdb.depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/ssdb' /tmp/mmake.AhYL7G:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.AhYL7G:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/ssdb' cd compiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/compiler' /tmp/mmake.rNEYBa:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.rNEYBa:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.rNEYBa:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.rNEYBa:1037: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs -f *.m gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/compiler' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' /tmp/mmake.F682l4:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.F682l4:974: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' /tmp/mmake.bxY7Mk:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.bxY7Mk:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' cd grade_lib && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' /tmp/mmake.ydVhhA:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ydVhhA:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/grade_lib' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' /tmp/mmake.Ck7pMw:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.Ck7pMw:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' /tmp/mmake.2bMd5c:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.2bMd5c:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' /tmp/mmake.Bnp9Fp:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.Bnp9Fp:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' /tmp/mmake.5OKpUI:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.5OKpUI:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' cd slice && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' /tmp/mmake.fkyBxQ:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.fkyBxQ:1109: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/slice' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/profiler' /tmp/mmake.yjSyDE:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.yjSyDE:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/profiler' cd profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend_aux gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/profiler' /tmp/mmake.LylB41:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.LylB41:945: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'depend_aux'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.tlqY7N:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.tlqY7N:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.1tWpi4:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.1tWpi4:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.GKuEsd:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.GKuEsd:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.ebgASd:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ebgASd:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.QnYbiK:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.QnYbiK:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd deep_profiler && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' /tmp/mmake.qDwPFQ:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.qDwPFQ:1130: warning: ignoring old recipe for target 'realclean_local' mmc --grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs -f *.m { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.depend { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.depend gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/deep_profiler' cd mfilterjavac && PATH=../scripts:../util:../mfilterjavac:../../mfilterjavac:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts DESTDIR= ../scripts/mmake depend gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/mfilterjavac' /tmp/mmake.my48JJ:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.my48JJ:960: warning: ignoring old recipe for target 'realclean_local' gmake[1]: Nothing to be done for 'depend'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage3/mfilterjavac' building of stage 3 dependencies successful ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.O50kuR:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.O50kuR:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.O50kuR:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.O50kuR:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.O50kuR:1350: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.int3s Making Mercury/int3s/mer_std.int3 Making Mercury/int3s/builtin.int3 Making Mercury/int3s/private_builtin.int3 Making Mercury/int3s/int.int3 Making Mercury/int3s/uint.int3 Making Mercury/int3s/require.int3 Making Mercury/int3s/string.int3 Making Mercury/int3s/char.int3 Making Mercury/int3s/uint16.int3 Making Mercury/int3s/exception.int3 Making Mercury/int3s/list.int3 Making Mercury/int3s/pretty_printer.int3 Making Mercury/int3s/type_desc.int3 Making Mercury/int3s/rtti_implementation.int3 Making Mercury/int3s/int16.int3 Making Mercury/int3s/int32.int3 Making Mercury/int3s/uint32.int3 Making Mercury/int3s/array.int3 Making Mercury/int3s/string.format.int3 Making Mercury/int3s/float.int3 Making Mercury/int3s/int64.int3 Making Mercury/int3s/uint64.int3 Making Mercury/int3s/int8.int3 Making Mercury/int3s/uint8.int3 Making Mercury/int3s/string.parse_util.int3 Making Mercury/int3s/bool.int3 Making Mercury/int3s/enum.int3 Making Mercury/int3s/string.parse_runtime.int3 Making Mercury/int3s/integer.int3 Making Mercury/int3s/deconstruct.int3 Making Mercury/int3s/maybe.int3 Making Mercury/int3s/univ.int3 Making Mercury/int3s/construct.int3 Making Mercury/int3s/stream.int3 Making Mercury/int3s/stream.string_writer.int3 Making Mercury/int3s/ops.int3 Making Mercury/int3s/string.builder.int3 Making Mercury/int3s/io.int3 Making Mercury/int3s/term.int3 Making Mercury/int3s/map.int3 Making Mercury/int3s/assoc_list.int3 Making Mercury/int3s/pair.int3 Making Mercury/int3s/tree234.int3 Making Mercury/int3s/set.int3 Making Mercury/int3s/set_ordlist.int3 Making Mercury/int3s/cord.int3 Making Mercury/int3s/term_subst.int3 Making Mercury/int3s/term_context.int3 Making Mercury/int3s/term_int.int3 Making Mercury/int3s/term_unify.int3 Making Mercury/int3s/term_vars.int3 Making Mercury/int3s/bitmap.int3 Making Mercury/int3s/io.error_util.int3 Making Mercury/int3s/io.stream_ops.int3 Making Mercury/int3s/io.stream_db.int3 Making Mercury/int3s/benchmarking.int3 Making Mercury/int3s/io.primitives_write.int3 Making Mercury/int3s/mutvar.int3 Making Mercury/int3s/dir.int3 Making Mercury/int3s/unit.int3 Making Mercury/int3s/io.file.int3 Making Mercury/int3s/time.int3 Making Mercury/int3s/io.environment.int3 Making Mercury/int3s/mercury_term_parser.int3 Making Mercury/int3s/mercury_term_lexer.int3 Making Mercury/int3s/stack.int3 Making Mercury/int3s/varset.int3 Making Mercury/int3s/table_builtin.int3 Making Mercury/int3s/term_conversion.int3 Making Mercury/int3s/version_array.int3 Making Mercury/int3s/io.call_system.int3 Making Mercury/int3s/io.primitives_read.int3 Making Mercury/int3s/io.text_read.int3 Making Mercury/int3s/term_io.int3 Making Mercury/int3s/counter.int3 Making Mercury/int3s/calendar.int3 Making Mercury/int3s/fat_sparse_bitset.int3 Making Mercury/int3s/fatter_sparse_bitset.int3 Making Mercury/int3s/one_or_more.int3 Making Mercury/int3s/sparse_bitset.int3 Making Mercury/int3s/tree_bitset.int3 Making Mercury/int3s/set_tree234.int3 Making Mercury/int3s/solutions.int3 Making Mercury/int3s/stm_builtin.int3 Making Mercury/int3s/store.int3 Making Mercury/int3s/string.to_string.int3 Making Mercury/int3s/library.int3 Making Mercury/int3s/array2d.int3 Making Mercury/int3s/backjump.int3 Making Mercury/int3s/bag.int3 Making Mercury/int3s/bimap.int3 Making Mercury/int3s/bit_buffer.int3 Making Mercury/int3s/bit_buffer.read.int3 Making Mercury/int3s/bit_buffer.write.int3 Making Mercury/int3s/bt_array.int3 Making Mercury/int3s/ra_list.int3 Making Mercury/int3s/diet.int3 Making Mercury/int3s/digraph.int3 Making Mercury/int3s/edit_distance.int3 Making Mercury/int3s/edit_seq.int3 Making Mercury/int3s/eqvclass.int3 Making Mercury/int3s/gc.int3 Making Mercury/int3s/getopt.int3 Making Mercury/int3s/getopt_io.int3 Making Mercury/int3s/hash_table.int3 Making Mercury/int3s/kv_list.int3 Making Mercury/int3s/injection.int3 Making Mercury/int3s/lazy.int3 Making Mercury/int3s/math.int3 Making Mercury/int3s/multi_map.int3 Making Mercury/int3s/one_or_more_map.int3 Making Mercury/int3s/par_builtin.int3 Making Mercury/int3s/parsing_utils.int3 Making Mercury/int3s/pprint.int3 Making Mercury/int3s/robdd.int3 Making Mercury/int3s/set_bbbtree.int3 Making Mercury/int3s/set_unordlist.int3 Making Mercury/int3s/pqueue.int3 Making Mercury/int3s/profiling_builtin.int3 Making Mercury/int3s/prolog.int3 Making Mercury/int3s/psqueue.int3 Making Mercury/int3s/queue.int3 Making Mercury/int3s/random.int3 Making Mercury/int3s/random.sfc16.int3 Making Mercury/int3s/random.sfc32.int3 Making Mercury/int3s/random.sfc64.int3 Making Mercury/int3s/random.system_rng.int3 Making Mercury/int3s/ranges.int3 Making Mercury/int3s/rational.int3 Making Mercury/int3s/rbtree.int3 Making Mercury/int3s/region_builtin.int3 Making Mercury/int3s/rtree.int3 Making Mercury/int3s/set_ctree234.int3 Making Mercury/int3s/std_util.int3 Making Mercury/int3s/table_statistics.int3 Making Mercury/int3s/term_size_prof_builtin.int3 Making Mercury/int3s/term_to_xml.int3 Making Mercury/int3s/test_bitset.int3 Making Mercury/int3s/thread.int3 Making Mercury/int3s/thread.barrier.int3 Making Mercury/int3s/thread.mvar.int3 Making Mercury/int3s/thread.semaphore.int3 Making Mercury/int3s/thread.channel.int3 Making Mercury/int3s/thread.closeable_channel.int3 Making Mercury/int3s/thread.future.int3 Making Mercury/int3s/version_array2d.int3 Making Mercury/int3s/version_bitmap.int3 Making Mercury/int3s/version_hash_table.int3 Making Mercury/int3s/version_store.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.ints Making Mercury/int0s/thread.int0 Making Mercury/int0s/string.int0 Making Mercury/int0s/stream.int0 Making Mercury/int0s/random.int0 Making Mercury/int0s/io.int0 Making Mercury/int0s/bit_buffer.int0 Making Mercury/ints/array.int Making Mercury/ints/array2d.int Making Mercury/ints/assoc_list.int Making Mercury/ints/backjump.int Making Mercury/ints/bag.int Making Mercury/ints/benchmarking.int Making Mercury/ints/bimap.int Making Mercury/ints/bit_buffer.int Making Mercury/ints/bitmap.int Making Mercury/ints/bool.int Making Mercury/ints/bt_array.int Making Mercury/ints/builtin.int Making Mercury/ints/calendar.int Making Mercury/ints/char.int Making Mercury/ints/construct.int Making Mercury/ints/cord.int Making Mercury/ints/counter.int Making Mercury/ints/deconstruct.int Making Mercury/ints/diet.int Making Mercury/ints/digraph.int Making Mercury/ints/dir.int Making Mercury/ints/edit_distance.int Making Mercury/ints/edit_seq.int Making Mercury/ints/enum.int Making Mercury/ints/eqvclass.int Making Mercury/ints/exception.int Making Mercury/ints/fat_sparse_bitset.int Making Mercury/ints/fatter_sparse_bitset.int Making Mercury/ints/float.int Making Mercury/ints/gc.int Making Mercury/ints/getopt.int Making Mercury/ints/getopt_io.int Making Mercury/ints/hash_table.int Making Mercury/ints/injection.int Making Mercury/ints/int.int Making Mercury/ints/int16.int Making Mercury/ints/int32.int Making Mercury/ints/int64.int Making Mercury/ints/int8.int Making Mercury/ints/integer.int Making Mercury/ints/io.int Making Mercury/ints/kv_list.int Making Mercury/ints/lazy.int Making Mercury/ints/library.int Making Mercury/ints/list.int Making Mercury/ints/map.int Making Mercury/ints/math.int Making Mercury/ints/maybe.int Making Mercury/ints/mer_std.int Making Mercury/ints/mercury_term_lexer.int Making Mercury/ints/mercury_term_parser.int Making Mercury/ints/multi_map.int Making Mercury/ints/mutvar.int Making Mercury/ints/one_or_more.int Making Mercury/ints/one_or_more_map.int Making Mercury/ints/ops.int Making Mercury/ints/pair.int Making Mercury/ints/par_builtin.int Making Mercury/ints/parsing_utils.int Making Mercury/ints/pprint.int Making Mercury/ints/pqueue.int Making Mercury/ints/pretty_printer.int Making Mercury/ints/private_builtin.int Making Mercury/ints/profiling_builtin.int Making Mercury/ints/prolog.int Making Mercury/ints/psqueue.int Making Mercury/ints/queue.int Making Mercury/ints/ra_list.int Making Mercury/ints/random.int Making Mercury/ints/ranges.int Making Mercury/ints/rational.int Making Mercury/ints/rbtree.int Making Mercury/ints/region_builtin.int Making Mercury/ints/require.int Making Mercury/ints/robdd.int Making Mercury/ints/rtree.int Making Mercury/ints/rtti_implementation.int Making Mercury/ints/set.int Making Mercury/ints/set_bbbtree.int Making Mercury/ints/set_ctree234.int Making Mercury/ints/set_ordlist.int Making Mercury/ints/set_tree234.int Making Mercury/ints/set_unordlist.int Making Mercury/ints/solutions.int Making Mercury/ints/sparse_bitset.int Making Mercury/ints/stack.int Making Mercury/ints/std_util.int Making Mercury/ints/stm_builtin.int Making Mercury/ints/store.int Making Mercury/ints/stream.int Making Mercury/ints/string.int Making Mercury/ints/table_builtin.int Making Mercury/ints/table_statistics.int Making Mercury/ints/term.int Making Mercury/ints/term_context.int Making Mercury/ints/term_conversion.int Making Mercury/ints/term_int.int Making Mercury/ints/term_io.int Making Mercury/ints/term_size_prof_builtin.int Making Mercury/ints/term_subst.int Making Mercury/ints/term_to_xml.int Making Mercury/ints/term_unify.int Making Mercury/ints/term_vars.int Making Mercury/ints/test_bitset.int Making Mercury/ints/thread.int Making Mercury/ints/time.int Making Mercury/ints/tree234.int Making Mercury/ints/tree_bitset.int Making Mercury/ints/type_desc.int Making Mercury/ints/uint.int Making Mercury/ints/uint16.int Making Mercury/ints/uint32.int Making Mercury/ints/uint64.int Making Mercury/ints/uint8.int Making Mercury/ints/unit.int Making Mercury/ints/univ.int Making Mercury/ints/varset.int Making Mercury/ints/version_array.int Making Mercury/ints/version_array2d.int Making Mercury/ints/version_bitmap.int Making Mercury/ints/version_hash_table.int Making Mercury/ints/version_store.int Making Mercury/ints/bit_buffer.read.int Making Mercury/ints/bit_buffer.write.int Making Mercury/ints/io.call_system.int Making Mercury/ints/io.environment.int Making Mercury/ints/io.error_util.int Making Mercury/ints/io.file.int Making Mercury/ints/io.primitives_read.int Making Mercury/ints/io.primitives_write.int Making Mercury/ints/io.stream_db.int Making Mercury/ints/io.stream_ops.int Making Mercury/ints/io.text_read.int Making Mercury/ints/random.sfc16.int Making Mercury/ints/random.sfc32.int Making Mercury/ints/random.sfc64.int Making Mercury/ints/random.system_rng.int Making Mercury/ints/stream.string_writer.int Making Mercury/ints/string.builder.int Making Mercury/ints/string.format.int Making Mercury/ints/string.parse_runtime.int Making Mercury/ints/string.parse_util.int Making Mercury/ints/string.to_string.int Making Mercury/ints/thread.barrier.int Making Mercury/ints/thread.channel.int Making Mercury/ints/thread.closeable_channel.int Making Mercury/ints/thread.future.int Making Mercury/ints/thread.mvar.int Making Mercury/ints/thread.semaphore.int { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.opts Making Mercury/opts/array.opt Making Mercury/opts/array2d.opt Making Mercury/opts/assoc_list.opt Making Mercury/opts/backjump.opt Making Mercury/opts/bag.opt Making Mercury/opts/benchmarking.opt Making Mercury/opts/bimap.opt Making Mercury/opts/bit_buffer.opt Making Mercury/opts/bitmap.opt Making Mercury/opts/bool.opt Making Mercury/opts/bt_array.opt Making Mercury/opts/builtin.opt Making Mercury/opts/calendar.opt Making Mercury/opts/char.opt Making Mercury/opts/construct.opt Making Mercury/opts/cord.opt Making Mercury/opts/counter.opt Making Mercury/opts/deconstruct.opt Making Mercury/opts/diet.opt Making Mercury/opts/digraph.opt Making Mercury/opts/dir.opt Making Mercury/opts/edit_distance.opt Making Mercury/opts/edit_seq.opt Making Mercury/opts/enum.opt Making Mercury/opts/eqvclass.opt Making Mercury/opts/exception.opt Making Mercury/opts/fat_sparse_bitset.opt Making Mercury/opts/fatter_sparse_bitset.opt Making Mercury/opts/float.opt Making Mercury/opts/gc.opt Making Mercury/opts/getopt.opt Making Mercury/opts/getopt_io.opt Making Mercury/opts/hash_table.opt Making Mercury/opts/injection.opt Making Mercury/opts/int.opt Making Mercury/opts/int16.opt Making Mercury/opts/int32.opt Making Mercury/opts/int64.opt Making Mercury/opts/int8.opt Making Mercury/opts/integer.opt Making Mercury/opts/io.opt Making Mercury/opts/kv_list.opt Making Mercury/opts/lazy.opt Making Mercury/opts/library.opt Making Mercury/opts/list.opt Making Mercury/opts/map.opt Making Mercury/opts/math.opt Making Mercury/opts/maybe.opt Making Mercury/opts/mer_std.opt Making Mercury/opts/mercury_term_lexer.opt Making Mercury/opts/mercury_term_parser.opt Making Mercury/opts/multi_map.opt Making Mercury/opts/mutvar.opt Making Mercury/opts/one_or_more.opt Making Mercury/opts/one_or_more_map.opt Making Mercury/opts/ops.opt Making Mercury/opts/pair.opt Making Mercury/opts/par_builtin.opt Making Mercury/opts/parsing_utils.opt Making Mercury/opts/pprint.opt Making Mercury/opts/pqueue.opt Making Mercury/opts/pretty_printer.opt Making Mercury/opts/private_builtin.opt Making Mercury/opts/profiling_builtin.opt Making Mercury/opts/prolog.opt Making Mercury/opts/psqueue.opt Making Mercury/opts/queue.opt Making Mercury/opts/ra_list.opt Making Mercury/opts/random.opt Making Mercury/opts/ranges.opt Making Mercury/opts/rational.opt Making Mercury/opts/rbtree.opt Making Mercury/opts/region_builtin.opt Making Mercury/opts/require.opt Making Mercury/opts/robdd.opt Making Mercury/opts/rtree.opt Making Mercury/opts/rtti_implementation.opt Making Mercury/opts/set.opt Making Mercury/opts/set_bbbtree.opt Making Mercury/opts/set_ctree234.opt Making Mercury/opts/set_ordlist.opt Making Mercury/opts/set_tree234.opt Making Mercury/opts/set_unordlist.opt Making Mercury/opts/solutions.opt Making Mercury/opts/sparse_bitset.opt Making Mercury/opts/stack.opt Making Mercury/opts/std_util.opt Making Mercury/opts/stm_builtin.opt Making Mercury/opts/store.opt Making Mercury/opts/stream.opt Making Mercury/opts/string.opt Making Mercury/opts/table_builtin.opt Making Mercury/opts/table_statistics.opt Making Mercury/opts/term.opt Making Mercury/opts/term_context.opt Making Mercury/opts/term_conversion.opt Making Mercury/opts/term_int.opt Making Mercury/opts/term_io.opt Making Mercury/opts/term_size_prof_builtin.opt Making Mercury/opts/term_subst.opt Making Mercury/opts/term_to_xml.opt Making Mercury/opts/term_unify.opt Making Mercury/opts/term_vars.opt Making Mercury/opts/test_bitset.opt Making Mercury/opts/thread.opt Making Mercury/opts/time.opt Making Mercury/opts/tree234.opt Making Mercury/opts/tree_bitset.opt Making Mercury/opts/type_desc.opt Making Mercury/opts/uint.opt Making Mercury/opts/uint16.opt Making Mercury/opts/uint32.opt Making Mercury/opts/uint64.opt Making Mercury/opts/uint8.opt Making Mercury/opts/unit.opt Making Mercury/opts/univ.opt Making Mercury/opts/varset.opt Making Mercury/opts/version_array.opt Making Mercury/opts/version_array2d.opt Making Mercury/opts/version_bitmap.opt Making Mercury/opts/version_hash_table.opt Making Mercury/opts/version_store.opt Making Mercury/opts/bit_buffer.read.opt Making Mercury/opts/bit_buffer.write.opt Making Mercury/opts/io.call_system.opt Making Mercury/opts/io.environment.opt Making Mercury/opts/io.error_util.opt Making Mercury/opts/io.file.opt Making Mercury/opts/io.primitives_read.opt Making Mercury/opts/io.primitives_write.opt Making Mercury/opts/io.stream_db.opt Making Mercury/opts/io.stream_ops.opt Making Mercury/opts/io.text_read.opt Making Mercury/opts/random.sfc16.opt Making Mercury/opts/random.sfc32.opt Making Mercury/opts/random.sfc64.opt Making Mercury/opts/random.system_rng.opt Making Mercury/opts/stream.string_writer.opt Making Mercury/opts/string.builder.opt Making Mercury/opts/string.format.opt Making Mercury/opts/string.parse_runtime.opt Making Mercury/opts/string.parse_util.opt Making Mercury/opts/string.to_string.opt Making Mercury/opts/thread.barrier.opt Making Mercury/opts/thread.channel.opt Making Mercury/opts/thread.closeable_channel.opt Making Mercury/opts/thread.future.opt Making Mercury/opts/thread.mvar.opt Making Mercury/opts/thread.semaphore.opt ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:555: warning: undefined variable 'mer_std.mhs' ../Mmake.common:556: warning: undefined variable 'mer_std.all_os' ../Mmake.common:622: warning: undefined variable 'mer_std.mhs' ../Mmake.common:625: warning: undefined variable 'mer_std.mhs' ../Mmake.common:631: warning: undefined variable 'mer_std.all_os' /tmp/mmake.RHUt2Y:1022: warning: undefined variable 'mer_std.trans_opts' /tmp/mmake.RHUt2Y:1099: warning: undefined variable 'mer_std.ms' /tmp/mmake.RHUt2Y:1273: warning: undefined variable 'mer_std.all_os' /tmp/mmake.RHUt2Y:1750: warning: overriding recipe for target 'realclean_local' /tmp/mmake.RHUt2Y:1350: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags LIB_FLAGS --flags INTER_FLAGS_MMC_MAKE --allow-stubs --no-warn-stubs -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" -sourcepath . '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_rt '; 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'; } | mmc --make --options-file - mer_std.all_javas Making Mercury/javas/jmercury/array.java Making Mercury/javas/jmercury/array2d.java Making Mercury/javas/jmercury/assoc_list.java Making Mercury/javas/jmercury/backjump.java Making Mercury/javas/jmercury/bag.java Making Mercury/javas/jmercury/benchmarking.java Making Mercury/javas/jmercury/bimap.java Making Mercury/javas/jmercury/bit_buffer.java Making Mercury/javas/jmercury/bitmap.java Making Mercury/javas/jmercury/bool.java Making Mercury/javas/jmercury/bt_array.java Making Mercury/javas/jmercury/builtin.java Making Mercury/javas/jmercury/calendar.java Making Mercury/javas/jmercury/mr_char.java Making Mercury/javas/jmercury/construct.java Making Mercury/javas/jmercury/cord.java Making Mercury/javas/jmercury/counter.java Making Mercury/javas/jmercury/deconstruct.java Making Mercury/javas/jmercury/diet.java Making Mercury/javas/jmercury/digraph.java Making Mercury/javas/jmercury/dir.java Making Mercury/javas/jmercury/edit_distance.java Making Mercury/javas/jmercury/edit_seq.java Making Mercury/javas/jmercury/mr_enum.java Making Mercury/javas/jmercury/eqvclass.java Making Mercury/javas/jmercury/exception.java Making Mercury/javas/jmercury/fat_sparse_bitset.java Making Mercury/javas/jmercury/fatter_sparse_bitset.java Making Mercury/javas/jmercury/mr_float.java Making Mercury/javas/jmercury/gc.java Making Mercury/javas/jmercury/getopt.java Making Mercury/javas/jmercury/getopt_io.java Making Mercury/javas/jmercury/hash_table.java Making Mercury/javas/jmercury/injection.java Making Mercury/javas/jmercury/mr_int.java Making Mercury/javas/jmercury/int16.java Making Mercury/javas/jmercury/int32.java Making Mercury/javas/jmercury/int64.java Making Mercury/javas/jmercury/int8.java Making Mercury/javas/jmercury/integer.java Making Mercury/javas/jmercury/io.java Making Mercury/javas/jmercury/kv_list.java Making Mercury/javas/jmercury/lazy.java Making Mercury/javas/jmercury/library.java Making Mercury/javas/jmercury/list.java Making Mercury/javas/jmercury/map.java Making Mercury/javas/jmercury/math.java Making Mercury/javas/jmercury/maybe.java Making Mercury/javas/jmercury/mer_std.java Making Mercury/javas/jmercury/mercury_term_lexer.java Making Mercury/javas/jmercury/mercury_term_parser.java Making Mercury/javas/jmercury/multi_map.java Making Mercury/javas/jmercury/mutvar.java Making Mercury/javas/jmercury/one_or_more.java Making Mercury/javas/jmercury/one_or_more_map.java Making Mercury/javas/jmercury/ops.java Making Mercury/javas/jmercury/pair.java Making Mercury/javas/jmercury/par_builtin.java Making Mercury/javas/jmercury/parsing_utils.java Making Mercury/javas/jmercury/pprint.java Making Mercury/javas/jmercury/pqueue.java Making Mercury/javas/jmercury/pretty_printer.java Making Mercury/javas/jmercury/private_builtin.java Making Mercury/javas/jmercury/profiling_builtin.java Making Mercury/javas/jmercury/prolog.java Making Mercury/javas/jmercury/psqueue.java Making Mercury/javas/jmercury/queue.java Making Mercury/javas/jmercury/ra_list.java Making Mercury/javas/jmercury/random.java Making Mercury/javas/jmercury/ranges.java Making Mercury/javas/jmercury/rational.java Making Mercury/javas/jmercury/rbtree.java Making Mercury/javas/jmercury/region_builtin.java Making Mercury/javas/jmercury/require.java Making Mercury/javas/jmercury/robdd.java Making Mercury/javas/jmercury/rtree.java Making Mercury/javas/jmercury/rtti_implementation.java Making Mercury/javas/jmercury/set.java Making Mercury/javas/jmercury/set_bbbtree.java Making Mercury/javas/jmercury/set_ctree234.java Making Mercury/javas/jmercury/set_ordlist.java Making Mercury/javas/jmercury/set_tree234.java Making Mercury/javas/jmercury/set_unordlist.java Making Mercury/javas/jmercury/solutions.java Making Mercury/javas/jmercury/sparse_bitset.java Making Mercury/javas/jmercury/stack.java Making Mercury/javas/jmercury/std_util.java Making Mercury/javas/jmercury/stm_builtin.java Making Mercury/javas/jmercury/store.java Making Mercury/javas/jmercury/stream.java Making Mercury/javas/jmercury/string.java Making Mercury/javas/jmercury/table_builtin.java Making Mercury/javas/jmercury/table_statistics.java Making Mercury/javas/jmercury/term.java Making Mercury/javas/jmercury/term_context.java Making Mercury/javas/jmercury/term_conversion.java Making Mercury/javas/jmercury/term_int.java Making Mercury/javas/jmercury/term_io.java Making Mercury/javas/jmercury/term_size_prof_builtin.java Making Mercury/javas/jmercury/term_subst.java Making Mercury/javas/jmercury/term_to_xml.java Making Mercury/javas/jmercury/term_unify.java Making Mercury/javas/jmercury/term_vars.java Making Mercury/javas/jmercury/test_bitset.java Making Mercury/javas/jmercury/thread.java Making Mercury/javas/jmercury/time.java Making Mercury/javas/jmercury/tree234.java Making Mercury/javas/jmercury/tree_bitset.java Making Mercury/javas/jmercury/type_desc.java Making Mercury/javas/jmercury/uint.java Making Mercury/javas/jmercury/uint16.java Making Mercury/javas/jmercury/uint32.java Making Mercury/javas/jmercury/uint64.java Making Mercury/javas/jmercury/uint8.java Making Mercury/javas/jmercury/unit.java Making Mercury/javas/jmercury/univ.java Making Mercury/javas/jmercury/varset.java Making Mercury/javas/jmercury/version_array.java Making Mercury/javas/jmercury/version_array2d.java Making Mercury/javas/jmercury/version_bitmap.java Making Mercury/javas/jmercury/version_hash_table.java Making Mercury/javas/jmercury/version_store.java Making Mercury/javas/jmercury/bit_buffer__read.java Making Mercury/javas/jmercury/bit_buffer__write.java Making Mercury/javas/jmercury/io__call_system.java Making Mercury/javas/jmercury/io__environment.java Making Mercury/javas/jmercury/io__error_util.java Making Mercury/javas/jmercury/io__file.java Making Mercury/javas/jmercury/io__primitives_read.java Making Mercury/javas/jmercury/io__primitives_write.java Making Mercury/javas/jmercury/io__stream_db.java Making Mercury/javas/jmercury/io__stream_ops.java Making Mercury/javas/jmercury/io__text_read.java Making Mercury/javas/jmercury/random__sfc16.java Making Mercury/javas/jmercury/random__sfc32.java Making Mercury/javas/jmercury/random__sfc64.java Making Mercury/javas/jmercury/random__system_rng.java Making Mercury/javas/jmercury/stream__string_writer.java Making Mercury/javas/jmercury/string__builder.java Making Mercury/javas/jmercury/string__format.java Making Mercury/javas/jmercury/string__parse_runtime.java Making Mercury/javas/jmercury/string__parse_util.java Making Mercury/javas/jmercury/string__to_string.java Making Mercury/javas/jmercury/thread__barrier.java Making Mercury/javas/jmercury/thread__channel.java Making Mercury/javas/jmercury/thread__closeable_channel.java Making Mercury/javas/jmercury/thread__future.java Making Mercury/javas/jmercury/thread__mvar.java Making Mercury/javas/jmercury/thread__semaphore.java building of stage 3 library successful ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:556: warning: undefined variable 'mer_mdbcomp.all_os' ../Mmake.common:622: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:625: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:631: warning: undefined variable 'mer_mdbcomp.all_os' /tmp/mmake.GES8uH:971: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.GES8uH:983: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.GES8uH:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.GES8uH:1029: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.int3s Making Mercury/int3s/mer_mdbcomp.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.ints Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.int Making Mercury/ints/mer_mdbcomp.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.feedback.feedback_info.int ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:555: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:556: warning: undefined variable 'mer_mdbcomp.all_os' ../Mmake.common:622: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:625: warning: undefined variable 'mer_mdbcomp.mhs' ../Mmake.common:631: warning: undefined variable 'mer_mdbcomp.all_os' /tmp/mmake.oHzxXQ:971: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.oHzxXQ:983: warning: undefined variable 'mer_mdbcomp.ms' /tmp/mmake.oHzxXQ:1405: warning: overriding recipe for target 'realclean_local' /tmp/mmake.oHzxXQ:1029: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 --flags MDBCOMP_FLAGS -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_mdbcomp.all_javas Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mer_mdbcomp.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java building of stage 3 mdbcomp successful ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:556: warning: undefined variable 'mer_browser.all_os' ../Mmake.common:622: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:625: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:631: warning: undefined variable 'mer_browser.all_os' /tmp/mmake.KjWLIM:1008: warning: undefined variable 'mer_browser.ms' /tmp/mmake.KjWLIM:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.KjWLIM:1061: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.int3s Making Mercury/int3s/mer_browser.int3 Making Mercury/int3s/mdb.int3 Making Mercury/int3s/mdb.browse.int3 Making Mercury/int3s/mdb.browser_info.int3 Making Mercury/int3s/mdb.browser_term.int3 Making Mercury/int3s/mdb.parse.int3 Making Mercury/int3s/mdb.util.int3 Making Mercury/int3s/mdb.term_rep.int3 Making Mercury/int3s/mdb.declarative_debugger.int3 Making Mercury/int3s/mdb.declarative_analyser.int3 Making Mercury/int3s/mdb.declarative_edt.int3 Making Mercury/int3s/mdb.declarative_execution.int3 Making Mercury/int3s/mdb.declarative_oracle.int3 Making Mercury/int3s/mdb.declarative_user.int3 Making Mercury/int3s/mdb.declarative_tree.int3 Making Mercury/int3s/mdb.io_action.int3 Making Mercury/int3s/mdb.help.int3 Making Mercury/int3s/mdb.print_term.int3 Making Mercury/int3s/mdb.frame.int3 Making Mercury/int3s/mdb.sized_pretty.int3 Making Mercury/int3s/mdb.term_paths.int3 Making Mercury/int3s/mdb.collect_lib.int3 Making Mercury/int3s/mdb.dl.int3 Making Mercury/int3s/mdb.name_mangle.int3 Making Mercury/int3s/mdb.cterm.int3 Making Mercury/int3s/mdb.debugger_interface.int3 Making Mercury/int3s/mdb.interactive_query.int3 Making Mercury/int3s/mdb.diff.int3 Making Mercury/int3s/mdb.listing.int3 Making Mercury/int3s/mdb.percent_encoding.int3 Making Mercury/int3s/mdb.save_term.int3 Making Mercury/int3s/mdb.term_to_html.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - browse_test.int3s Making Mercury/int3s/browse_test.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - declarative_test.int3s Making Mercury/int3s/declarative_test.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.ints Making Mercury/int0s/mdb.int0 Making Mercury/ints/mdb.int Making Mercury/ints/mer_browser.int Making Mercury/ints/mdb.browse.int Making Mercury/ints/mdb.browser_info.int Making Mercury/ints/mdb.browser_term.int Making Mercury/ints/mdb.collect_lib.int Making Mercury/ints/mdb.cterm.int Making Mercury/ints/mdb.debugger_interface.int Making Mercury/ints/mdb.declarative_analyser.int Making Mercury/ints/mdb.declarative_debugger.int Making Mercury/ints/mdb.declarative_edt.int Making Mercury/ints/mdb.declarative_execution.int Making Mercury/ints/mdb.declarative_oracle.int Making Mercury/ints/mdb.declarative_tree.int Making Mercury/ints/mdb.declarative_user.int Making Mercury/ints/mdb.diff.int Making Mercury/ints/mdb.dl.int Making Mercury/ints/mdb.frame.int Making Mercury/ints/mdb.help.int Making Mercury/ints/mdb.interactive_query.int Making Mercury/ints/mdb.io_action.int Making Mercury/ints/mdb.listing.int Making Mercury/ints/mdb.name_mangle.int Making Mercury/ints/mdb.parse.int Making Mercury/ints/mdb.percent_encoding.int Making Mercury/ints/mdb.print_term.int Making Mercury/ints/mdb.save_term.int Making Mercury/ints/mdb.sized_pretty.int Making Mercury/ints/mdb.term_paths.int Making Mercury/ints/mdb.term_rep.int Making Mercury/ints/mdb.term_to_html.int Making Mercury/ints/mdb.util.int { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - browse_test.ints Making Mercury/ints/browse_test.int { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - declarative_test.ints Making Mercury/ints/declarative_test.int ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:555: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:556: warning: undefined variable 'mer_browser.all_os' ../Mmake.common:622: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:625: warning: undefined variable 'mer_browser.mhs' ../Mmake.common:631: warning: undefined variable 'mer_browser.all_os' /tmp/mmake.cGE5Te:1008: warning: undefined variable 'mer_browser.ms' /tmp/mmake.cGE5Te:1439: warning: overriding recipe for target 'realclean_local' /tmp/mmake.cGE5Te:1061: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags MDB_FLAGS --use-subdirs --no-warn-unused-imports --no-warn-nothing-exported '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_browser.all_javas Making Mercury/javas/jmercury/mdb.java Making Mercury/javas/jmercury/mer_browser.java Making Mercury/javas/jmercury/mdb__browse.java Making Mercury/javas/jmercury/mdb__browser_info.java Making Mercury/javas/jmercury/mdb__browser_term.java Making Mercury/javas/jmercury/mdb__collect_lib.java Making Mercury/javas/jmercury/mdb__cterm.java Making Mercury/javas/jmercury/mdb__debugger_interface.java Making Mercury/javas/jmercury/mdb__declarative_analyser.java Making Mercury/javas/jmercury/mdb__declarative_debugger.java Making Mercury/javas/jmercury/mdb__declarative_edt.java Making Mercury/javas/jmercury/mdb__declarative_execution.java Making Mercury/javas/jmercury/mdb__declarative_oracle.java Making Mercury/javas/jmercury/mdb__declarative_tree.java Making Mercury/javas/jmercury/mdb__declarative_user.java Making Mercury/javas/jmercury/mdb__diff.java Making Mercury/javas/jmercury/mdb__dl.java Making Mercury/javas/jmercury/mdb__frame.java Making Mercury/javas/jmercury/mdb__help.java Making Mercury/javas/jmercury/mdb__interactive_query.java Making Mercury/javas/jmercury/mdb__io_action.java Making Mercury/javas/jmercury/mdb__listing.java Making Mercury/javas/jmercury/mdb__name_mangle.java Making Mercury/javas/jmercury/mdb__parse.java Making Mercury/javas/jmercury/mdb__percent_encoding.java Making Mercury/javas/jmercury/mdb__print_term.java Making Mercury/javas/jmercury/mdb__save_term.java Making Mercury/javas/jmercury/mdb__sized_pretty.java Making Mercury/javas/jmercury/mdb__term_paths.java Making Mercury/javas/jmercury/mdb__term_rep.java Making Mercury/javas/jmercury/mdb__term_to_html.java Making Mercury/javas/jmercury/mdb__util.java building of stage 3 browser successful ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:556: warning: undefined variable 'mer_ssdb.all_os' ../Mmake.common:622: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:625: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:631: warning: undefined variable 'mer_ssdb.all_os' /tmp/mmake.fFVSCe:981: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.fFVSCe:993: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.fFVSCe:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.fFVSCe:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.int3s Making Mercury/int3s/mer_ssdb.int3 Making Mercury/int3s/ssdb.int3 { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.ints Making Mercury/ints/mer_ssdb.int Making Mercury/ints/ssdb.int ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:555: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:556: warning: undefined variable 'mer_ssdb.all_os' ../Mmake.common:622: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:625: warning: undefined variable 'mer_ssdb.mhs' ../Mmake.common:631: warning: undefined variable 'mer_ssdb.all_os' /tmp/mmake.kB7BrY:981: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.kB7BrY:993: warning: undefined variable 'mer_ssdb.ms' /tmp/mmake.kB7BrY:1415: warning: overriding recipe for target 'realclean_local' /tmp/mmake.kB7BrY:1039: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage shared -j2 -R/home/mercury/testing/run/install/lib/mercury/lib/java -R/home/mercury/testing/run/install/lib/mercury/lib --flags SSDB_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-nothing-exported --no-warn-unused-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init '; echo MLLIBS += ' -lmer_std -lmer_rt '; 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'; } | mmc --make --options-file - mer_ssdb.all_javas Making Mercury/javas/jmercury/mer_ssdb.java Making Mercury/javas/jmercury/ssdb.java building of stage 3 ssdb successful /tmp/mmake.ptUgTp:981: warning: undefined variable 'mercury_compile.ms' /tmp/mmake.ptUgTp:1443: warning: overriding recipe for target 'clean_local' /tmp/mmake.ptUgTp:1034: warning: ignoring old recipe for target 'clean_local' /tmp/mmake.ptUgTp:1446: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ptUgTp:1037: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags COMP_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../runtime/mer_rt.init ../mdbcomp/mer_mdbcomp.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'; } | mmc --make --options-file - mercury_compile.all_javas Making Mercury/int3s/mercury_compile.int3 Making Mercury/int3s/top_level.int3 Making Mercury/int3s/top_level.mercury_compile_main.int3 Making Mercury/int3s/top_level.mercury_compile_args.int3 Making Mercury/int3s/libs.int3 Making Mercury/int3s/libs.check_libgrades.int3 Making Mercury/int3s/parse_tree.int3 Making Mercury/int3s/parse_tree.comp_unit_interface.int3 Making Mercury/int3s/libs.file_util.int3 Making Mercury/int3s/libs.globals.int3 Making Mercury/int3s/libs.op_mode.int3 Making Mercury/int3s/libs.options.int3 Making Mercury/int3s/libs.optimization_options.int3 Making Mercury/int3s/libs.compute_grade.int3 Making Mercury/int3s/parse_tree.error_spec.int3 Making Mercury/int3s/parse_tree.prog_data.int3 Making Mercury/int3s/parse_tree.prog_item.int3 Making Mercury/int3s/recompilation.int3 Making Mercury/int3s/recompilation.check.int3 Making Mercury/int3s/hlds.int3 Making Mercury/int3s/hlds.instmap.int3 Making Mercury/int3s/check_hlds.int3 Making Mercury/int3s/check_hlds.switch_detection.int3 Making Mercury/int3s/libs.maybe_util.int3 Making Mercury/int3s/parse_tree.parse_tree_out_cons_id.int3 Making Mercury/int3s/parse_tree.parse_tree_out_info.int3 Making Mercury/int3s/parse_tree.parse_tree_out_misc.int3 Making Mercury/int3s/libs.indent.int3 Making Mercury/int3s/parse_tree.parse_tree_out_term.int3 Making Mercury/int3s/parse_tree.parse_tree_output.int3 Making Mercury/int3s/parse_tree.prog_data_pragma.int3 Making Mercury/int3s/libs.compiler_util.int3 Making Mercury/int3s/libs.rat.int3 Making Mercury/int3s/parse_tree.set_of_var.int3 Making Mercury/int3s/parse_tree.var_db.int3 Making Mercury/int3s/parse_tree.var_table.int3 Making Mercury/int3s/parse_tree.prog_type.int3 Making Mercury/int3s/parse_tree.prog_mode.int3 Making Mercury/int3s/parse_tree.prog_util.int3 Making Mercury/int3s/parse_tree.prog_type_subst.int3 Making Mercury/int3s/parse_tree.vartypes.int3 Making Mercury/int3s/parse_tree.parse_tree_out_sym_name.int3 Making Mercury/int3s/hlds.hlds_pred.int3 Making Mercury/int3s/backend_libs.int3 Making Mercury/int3s/backend_libs.compile_target_code.int3 Making Mercury/int3s/parse_tree.file_names.int3 Making Mercury/int3s/parse_tree.source_file_map.int3 Making Mercury/int3s/parse_tree.write_error_spec.int3 Making Mercury/int3s/parse_tree.error_util.int3 Making Mercury/int3s/parse_tree.maybe_error.int3 Making Mercury/int3s/libs.color_schemes.int3 Making Mercury/int3s/parse_tree.error_sort.int3 Making Mercury/int3s/parse_tree.parse_module.int3 Making Mercury/int3s/parse_tree.parse_error.int3 Making Mercury/int3s/parse_tree.prog_parse_tree.int3 Making Mercury/int3s/parse_tree.prog_data_foreign.int3 Making Mercury/int3s/recompilation.item_types.int3 Making Mercury/int3s/libs.timestamp.int3 Making Mercury/int3s/parse_tree.convert_import_use.int3 Making Mercury/int3s/parse_tree.convert_parse_tree.int3 Making Mercury/int3s/parse_tree.check_type_inst_mode_defns.int3 Making Mercury/int3s/parse_tree.item_util.int3 Making Mercury/int3s/parse_tree.prog_foreign.int3 Making Mercury/int3s/parse_tree.prog_foreign_enum.int3 Making Mercury/int3s/parse_tree.prog_type_repn.int3 Making Mercury/int3s/parse_tree.convert_include.int3 Making Mercury/int3s/parse_tree.file_kind.int3 Making Mercury/int3s/parse_tree.get_dependencies.int3 Making Mercury/int3s/parse_tree.type_inst_mode_map.int3 Making Mercury/int3s/parse_tree.parse_item.int3 Making Mercury/int3s/parse_tree.parse_class.int3 Making Mercury/int3s/parse_tree.parse_inst_mode_name.int3 Making Mercury/int3s/parse_tree.parse_sym_name.int3 Making Mercury/int3s/parse_tree.parse_util.int3 Making Mercury/int3s/parse_tree.parse_tree_out_inst.int3 Making Mercury/int3s/parse_tree.parse_tree_out_type.int3 Making Mercury/int3s/parse_tree.parse_tree_to_term.int3 Making Mercury/int3s/parse_tree.parse_type_name.int3 Making Mercury/int3s/parse_tree.prog_type_construct.int3 Making Mercury/int3s/parse_tree.prog_type_test.int3 Making Mercury/int3s/parse_tree.prog_type_scan.int3 Making Mercury/int3s/parse_tree.parse_types.int3 Making Mercury/int3s/parse_tree.parse_dcg_goal.int3 Making Mercury/int3s/parse_tree.parse_goal.int3 Making Mercury/int3s/parse_tree.parse_goal_util.int3 Making Mercury/int3s/parse_tree.parse_vars.int3 Making Mercury/int3s/parse_tree.parse_inst_mode_defn.int3 Making Mercury/int3s/parse_tree.parse_mutable.int3 Making Mercury/int3s/parse_tree.parse_pragma_foreign.int3 Making Mercury/int3s/parse_tree.parse_type_defn.int3 Making Mercury/int3s/parse_tree.prog_ctgc.int3 Making Mercury/int3s/parse_tree.prog_type_unify.int3 Making Mercury/int3s/parse_tree.parse_pragma.int3 Making Mercury/int3s/parse_tree.parse_pragma_analysis.int3 Making Mercury/int3s/parse_tree.parse_pragma_tabling.int3 Making Mercury/int3s/parse_tree.parse_tree_out_clause.int3 Making Mercury/int3s/parse_tree.parse_type_repn.int3 Making Mercury/int3s/recompilation.version.int3 Making Mercury/int3s/parse_tree.find_module.int3 Making Mercury/int3s/parse_tree.java_names.int3 Making Mercury/int3s/parse_tree.module_cmds.int3 Making Mercury/int3s/libs.copy_util.int3 Making Mercury/int3s/libs.system_cmds.int3 Making Mercury/int3s/libs.process_util.int3 Making Mercury/int3s/libs.shell_util.int3 Making Mercury/int3s/libs.trace_params.int3 Making Mercury/int3s/hlds.hlds_module.int3 Making Mercury/int3s/parse_tree.d_file_deps.int3 Making Mercury/int3s/parse_tree.deps_map.int3 Making Mercury/int3s/parse_tree.module_baggage.int3 Making Mercury/int3s/parse_tree.split_parse_tree_src.int3 Making Mercury/int3s/parse_tree.read_modules.int3 Making Mercury/int3s/parse_tree.warn_unread_modules.int3 Making Mercury/int3s/parse_tree.make_module_file_names.int3 Making Mercury/int3s/libs.mmakefiles.int3 Making Mercury/int3s/parse_tree.generate_mmakefile_fragments.int3 Making Mercury/int3s/parse_tree.module_dep_info.int3 Making Mercury/int3s/parse_tree.module_deps_graph.int3 Making Mercury/int3s/parse_tree.opt_deps_spec.int3 Making Mercury/int3s/parse_tree.output_imports_graph.int3 Making Mercury/int3s/parse_tree.module_qual.int3 Making Mercury/int3s/parse_tree.module_qual.qualify_items.int3 Making Mercury/int3s/parse_tree.prog_data_event.int3 Making Mercury/int3s/recompilation.record_uses.int3 Making Mercury/int3s/parse_tree.module_qual.mq_info.int3 Making Mercury/int3s/parse_tree.module_qual.id_set.int3 Making Mercury/int3s/parse_tree.module_qual.qual_errors.int3 Making Mercury/int3s/parse_tree.module_qual.collect_mq_info.int3 Making Mercury/int3s/parse_tree.prog_data_used_modules.int3 Making Mercury/int3s/hlds.hlds_cons.int3 Making Mercury/int3s/hlds.status.int3 Making Mercury/int3s/hlds.const_struct.int3 Making Mercury/int3s/hlds.hlds_class.int3 Making Mercury/int3s/hlds.type_util.int3 Making Mercury/int3s/parse_tree.builtin_lib_types.int3 Making Mercury/int3s/hlds.hlds_data.int3 Making Mercury/int3s/backend_libs.foreign.int3 Making Mercury/int3s/backend_libs.string_encoding.int3 Making Mercury/int3s/hlds.hlds_dependency_graph.int3 Making Mercury/int3s/libs.dependency_graph.int3 Making Mercury/int3s/parse_tree.parse_tree_out_pred_decl.int3 Making Mercury/int3s/hlds.hlds_clauses.int3 Making Mercury/int3s/hlds.hlds_args.int3 Making Mercury/int3s/hlds.hlds_goal.int3 Making Mercury/int3s/parse_tree.prog_detism.int3 Making Mercury/int3s/parse_tree.prog_rename.int3 Making Mercury/int3s/hlds.goal_mode.int3 Making Mercury/int3s/hlds.hlds_proc_util.int3 Making Mercury/int3s/hlds.inst_match.int3 Making Mercury/int3s/hlds.inst_lookup.int3 Making Mercury/int3s/hlds.hlds_inst_mode.int3 Making Mercury/int3s/hlds.inst_mode_type_prop.int3 Making Mercury/int3s/parse_tree.error_type_util.int3 Making Mercury/int3s/hlds.error_msg_inst.int3 Making Mercury/int3s/hlds.hlds_error_util.int3 Making Mercury/int3s/hlds.hlds_markers.int3 Making Mercury/int3s/hlds.hlds_out.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_goal.int3 Making Mercury/int3s/hlds.hlds_llds.int3 Making Mercury/int3s/check_hlds.mode_ordering.int3 Making Mercury/int3s/hlds.inst_graph.int3 Making Mercury/int3s/check_hlds.clause_to_proc.int3 Making Mercury/int3s/hlds.hlds_rtti.int3 Making Mercury/int3s/hlds.mode_top_functor.int3 Making Mercury/int3s/hlds.inst_test.int3 Making Mercury/int3s/hlds.inst_util.int3 Making Mercury/int3s/hlds.mode_util.int3 Making Mercury/int3s/hlds.passes_aux.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_util.int3 Making Mercury/int3s/hlds.pred_name.int3 Making Mercury/int3s/hlds.special_pred.int3 Making Mercury/int3s/hlds.pred_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_module.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_inst_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_mode.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_pred.int3 Making Mercury/int3s/parse_tree.parse_tree_out_pragma.int3 Making Mercury/int3s/hlds.var_table_hlds.int3 Making Mercury/int3s/transform_hlds.int3 Making Mercury/int3s/transform_hlds.term_constr_main_types.int3 Making Mercury/int3s/libs.lp_rational.int3 Making Mercury/int3s/libs.polyhedron.int3 Making Mercury/int3s/transform_hlds.term_constr_data.int3 Making Mercury/int3s/transform_hlds.term_constr_errors.int3 Making Mercury/int3s/transform_hlds.term_util.int3 Making Mercury/int3s/hlds.mode_test.int3 Making Mercury/int3s/transform_hlds.term_errors.int3 Making Mercury/int3s/transform_hlds.term_norm.int3 Making Mercury/int3s/transform_hlds.mmc_analysis.int3 Making Mercury/int3s/analysis.int3 Making Mercury/int3s/analysis.framework.int3 Making Mercury/int3s/analysis.operations.int3 Making Mercury/int3s/analysis.file.int3 Making Mercury/int3s/libs.pickle.int3 Making Mercury/int3s/transform_hlds.ctgc.int3 Making Mercury/int3s/transform_hlds.ctgc.util.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.analysis.int3 Making Mercury/int3s/hlds.goal_path.int3 Making Mercury/int3s/transform_hlds.intermod_analysis.int3 Making Mercury/int3s/parse_tree.parse_tree_out_item.int3 Making Mercury/int3s/parse_tree.canonicalize_interface.int3 Making Mercury/int3s/parse_tree.parse_tree_out_type_repn.int3 Making Mercury/int3s/transform_hlds.intermod_order_pred_info.int3 Making Mercury/int3s/transform_hlds.term_constr_util.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.analysis.int3 Making Mercury/int3s/hlds.arg_info.int3 Making Mercury/int3s/hlds.code_model.int3 Making Mercury/int3s/check_hlds.simplify.int3 Making Mercury/int3s/check_hlds.simplify.simplify_proc.int3 Making Mercury/int3s/hlds.quantification.int3 Making Mercury/int3s/hlds.goal_contains.int3 Making Mercury/int3s/hlds.goal_util.int3 Making Mercury/int3s/hlds.goal_vars.int3 Making Mercury/int3s/check_hlds.det_infer_goal.int3 Making Mercury/int3s/check_hlds.det_check_goal.int3 Making Mercury/int3s/check_hlds.det_check_switch.int3 Making Mercury/int3s/hlds.goal_transform.int3 Making Mercury/int3s/check_hlds.det_util.int3 Making Mercury/int3s/check_hlds.mode_comparison.int3 Making Mercury/int3s/check_hlds.mode_info.int3 Making Mercury/int3s/check_hlds.mode_errors.int3 Making Mercury/int3s/check_hlds.modecheck_util.int3 Making Mercury/int3s/hlds.make_goal.int3 Making Mercury/int3s/check_hlds.inst_abstract_unify.int3 Making Mercury/int3s/check_hlds.inst_make.int3 Making Mercury/int3s/check_hlds.delay_info.int3 Making Mercury/int3s/check_hlds.modecheck_goal.int3 Making Mercury/int3s/parse_tree.prog_event.int3 Making Mercury/int3s/check_hlds.mode_debug.int3 Making Mercury/int3s/check_hlds.modecheck_call.int3 Making Mercury/int3s/check_hlds.proc_requests.int3 Making Mercury/int3s/hlds.add_special_pred.int3 Making Mercury/int3s/check_hlds.polymorphism.int3 Making Mercury/int3s/check_hlds.introduce_exists_casts.int3 Making Mercury/int3s/check_hlds.polymorphism_clause.int3 Making Mercury/int3s/check_hlds.polymorphism_goal.int3 Making Mercury/int3s/hlds.from_ground_term_util.int3 Making Mercury/int3s/check_hlds.polymorphism_info.int3 Making Mercury/int3s/check_hlds.polymorphism_lambda.int3 Making Mercury/int3s/check_hlds.polymorphism_type_class_info.int3 Making Mercury/int3s/hlds.hlds_code_util.int3 Making Mercury/int3s/check_hlds.polymorphism_type_info.int3 Making Mercury/int3s/check_hlds.post_typecheck.int3 Making Mercury/int3s/hlds.var_origins.int3 Making Mercury/int3s/check_hlds.types_into_modes.int3 Making Mercury/int3s/check_hlds.unify_proc.int3 Making Mercury/int3s/check_hlds.modecheck_coerce.int3 Making Mercury/int3s/check_hlds.modecheck_conj.int3 Making Mercury/int3s/check_hlds.modecheck_unify.int3 Making Mercury/int3s/hlds.goal_refs.int3 Making Mercury/int3s/check_hlds.modes.int3 Making Mercury/int3s/check_hlds.cse_detection.int3 Making Mercury/int3s/check_hlds.find_bind_var.int3 Making Mercury/int3s/check_hlds.delay_partial_inst.int3 Making Mercury/int3s/check_hlds.det_analysis.int3 Making Mercury/int3s/check_hlds.det_check_proc.int3 Making Mercury/int3s/check_hlds.unique_modes.int3 Making Mercury/int3s/check_hlds.simplify.opt_format_call.int3 Making Mercury/int3s/check_hlds.simplify.opt_format_call_errors.int3 Making Mercury/int3s/check_hlds.simplify.parse_string_format.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_call.int3 Making Mercury/int3s/parse_tree.int_emu.int3 Making Mercury/int3s/transform_hlds.const_prop.int3 Making Mercury/int3s/check_hlds.simplify.common.int3 Making Mercury/int3s/transform_hlds.pd_cost.int3 Making Mercury/int3s/check_hlds.simplify.simplify_tasks.int3 Making Mercury/int3s/check_hlds.simplify.simplify_info.int3 Making Mercury/int3s/check_hlds.recompute_instmap_deltas.int3 Making Mercury/int3s/transform_hlds.direct_arg_in_out.int3 Making Mercury/int3s/check_hlds.simplify.mark_trace_goals.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal.int3 Making Mercury/int3s/hlds.goal_form.int3 Making Mercury/int3s/transform_hlds.exception_analysis.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_conj.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_disj.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_ite.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_scope.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_switch.int3 Making Mercury/int3s/check_hlds.simplify.simplify_goal_unify.int3 Making Mercury/int3s/check_hlds.simplify.split_switch_arms.int3 Making Mercury/int3s/transform_hlds.ctgc.fixpoint_table.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_sharing.domain.int3 Making Mercury/int3s/transform_hlds.ctgc.datastruct.int3 Making Mercury/int3s/transform_hlds.ctgc.selector.int3 Making Mercury/int3s/ll_backend.int3 Making Mercury/int3s/ll_backend.liveness.int3 Making Mercury/int3s/hlds.hlds_desc.int3 Making Mercury/int3s/ll_backend.trace_gen.int3 Making Mercury/int3s/backend_libs.builtin_ops.int3 Making Mercury/int3s/ll_backend.code_info.int3 Making Mercury/int3s/backend_libs.proc_label.int3 Making Mercury/int3s/ll_backend.code_util.int3 Making Mercury/int3s/ll_backend.llds.int3 Making Mercury/int3s/backend_libs.rtti.int3 Making Mercury/int3s/backend_libs.name_mangle.int3 Making Mercury/int3s/ll_backend.layout.int3 Making Mercury/int3s/ll_backend.continuation_info.int3 Making Mercury/int3s/ll_backend.global_data.int3 Making Mercury/int3s/ll_backend.code_loc_dep.int3 Making Mercury/int3s/ll_backend.opt_debug.int3 Making Mercury/int3s/backend_libs.c_util.int3 Making Mercury/int3s/ll_backend.livemap.int3 Making Mercury/int3s/ll_backend.opt_util.int3 Making Mercury/int3s/ll_backend.exprn_aux.int3 Making Mercury/int3s/ll_backend.llds_out.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_code_addr.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_util.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_data.int3 Making Mercury/int3s/ll_backend.layout_out.int3 Making Mercury/int3s/ll_backend.rtti_out.int3 Making Mercury/int3s/backend_libs.type_ctor_info.int3 Making Mercury/int3s/backend_libs.pseudo_type_info.int3 Making Mercury/int3s/backend_libs.type_class_info.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_file.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_global.int3 Making Mercury/int3s/ll_backend.llds_out.llds_out_instr.int3 Making Mercury/int3s/backend_libs.export.int3 Making Mercury/int3s/ll_backend.foreign_proc_gen.int3 Making Mercury/int3s/ll_backend.var_locn.int3 Making Mercury/int3s/ll_backend.basic_block.int3 Making Mercury/int3s/ll_backend.call_gen.int3 Making Mercury/int3s/ll_backend.closure_gen.int3 Making Mercury/int3s/ll_backend.stack_layout.int3 Making Mercury/int3s/ll_backend.ll_pseudo_type_info.int3 Making Mercury/int3s/ll_backend.prog_rep.int3 Making Mercury/int3s/ll_backend.prog_rep_tables.int3 Making Mercury/int3s/ll_backend.code_gen.int3 Making Mercury/int3s/ll_backend.commit_gen.int3 Making Mercury/int3s/ll_backend.disj_gen.int3 Making Mercury/int3s/ll_backend.lookup_util.int3 Making Mercury/int3s/ll_backend.ite_gen.int3 Making Mercury/int3s/transform_hlds.rbmm.int3 Making Mercury/int3s/transform_hlds.rbmm.region_transformation.int3 Making Mercury/int3s/check_hlds.purity.int3 Making Mercury/int3s/check_hlds.resolve_unify_functor.int3 Making Mercury/int3s/transform_hlds.smm_common.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_graph.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_info.int3 Making Mercury/int3s/transform_hlds.rbmm.region_arguments.int3 Making Mercury/int3s/transform_hlds.rbmm.region_liveness_info.int3 Making Mercury/int3s/transform_hlds.rbmm.region_instruction.int3 Making Mercury/int3s/transform_hlds.rbmm.region_resurrection_renaming.int3 Making Mercury/int3s/transform_hlds.rbmm.add_rbmm_goal_infos.int3 Making Mercury/int3s/transform_hlds.rbmm.condition_renaming.int3 Making Mercury/int3s/transform_hlds.rbmm.execution_path.int3 Making Mercury/int3s/transform_hlds.rbmm.interproc_region_lifetime.int3 Making Mercury/int3s/transform_hlds.rbmm.live_region_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.live_variable_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.points_to_analysis.int3 Making Mercury/int3s/transform_hlds.rbmm.region_analysis.int3 Making Mercury/int3s/ll_backend.par_conj_gen.int3 Making Mercury/int3s/ll_backend.switch_gen.int3 Making Mercury/int3s/backend_libs.lookup_switch_util.int3 Making Mercury/int3s/backend_libs.switch_util.int3 Making Mercury/int3s/ll_backend.dense_switch.int3 Making Mercury/int3s/ll_backend.lookup_switch.int3 Making Mercury/int3s/ll_backend.string_switch.int3 Making Mercury/int3s/backend_libs.string_switch_util.int3 Making Mercury/int3s/ll_backend.switch_case.int3 Making Mercury/int3s/ll_backend.tag_switch.int3 Making Mercury/int3s/backend_libs.tag_switch_util.int3 Making Mercury/int3s/ll_backend.unify_gen_test.int3 Making Mercury/int3s/ll_backend.unify_gen_util.int3 Making Mercury/int3s/ll_backend.unify_gen.int3 Making Mercury/int3s/ll_backend.unify_gen_construct.int3 Making Mercury/int3s/ll_backend.unify_gen_deconstruct.int3 Making Mercury/int3s/ll_backend.coverage_profiling.int3 Making Mercury/int3s/ll_backend.deep_profiling.int3 Making Mercury/int3s/transform_hlds.dead_proc_elim.int3 Making Mercury/int3s/hlds.introduced_call_table.int3 Making Mercury/int3s/ll_backend.delay_slot.int3 Making Mercury/int3s/ll_backend.dupelim.int3 Making Mercury/int3s/ll_backend.dupproc.int3 Making Mercury/int3s/ll_backend.fact_table_gen.int3 Making Mercury/int3s/ll_backend.follow_code.int3 Making Mercury/int3s/ll_backend.follow_vars.int3 Making Mercury/int3s/ll_backend.frameopt.int3 Making Mercury/int3s/ll_backend.jumpopt.int3 Making Mercury/int3s/ll_backend.labelopt.int3 Making Mercury/int3s/ll_backend.live_vars.int3 Making Mercury/int3s/ll_backend.middle_rec.int3 Making Mercury/int3s/ll_backend.proc_gen.int3 Making Mercury/int3s/ll_backend.optimize.int3 Making Mercury/int3s/ll_backend.peephole.int3 Making Mercury/int3s/ll_backend.reassign.int3 Making Mercury/int3s/ll_backend.stdlabel.int3 Making Mercury/int3s/ll_backend.use_local_vars.int3 Making Mercury/int3s/ll_backend.wrap_blocks.int3 Making Mercury/int3s/ll_backend.saved_vars.int3 Making Mercury/int3s/ll_backend.stack_alloc.int3 Making Mercury/int3s/ll_backend.stack_opt.int3 Making Mercury/int3s/backend_libs.interval.int3 Making Mercury/int3s/backend_libs.matching.int3 Making Mercury/int3s/ll_backend.store_alloc.int3 Making Mercury/int3s/ll_backend.transform_llds.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.dead_cell_table.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.domain.int3 Making Mercury/int3s/transform_hlds.ctgc.livedata.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct_choose_reuse.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.direct_detect_garbage.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.indirect.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.lbu.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.lfu.int3 Making Mercury/int3s/transform_hlds.ctgc.structure_reuse.versions.int3 Making Mercury/int3s/transform_hlds.tabling_analysis.int3 Making Mercury/int3s/transform_hlds.trailing_analysis.int3 Making Mercury/int3s/transform_hlds.unused_args_analysis.int3 Making Mercury/int3s/transform_hlds.accumulator.int3 Making Mercury/int3s/hlds.assertion.int3 Making Mercury/int3s/hlds.hlds_promise.int3 Making Mercury/int3s/hlds.goal_reorder.int3 Making Mercury/int3s/transform_hlds.goal_store.int3 Making Mercury/int3s/transform_hlds.closure_analysis.int3 Making Mercury/int3s/transform_hlds.complexity.int3 Making Mercury/int3s/transform_hlds.constraint.int3 Making Mercury/int3s/transform_hlds.deforest.int3 Making Mercury/int3s/transform_hlds.inlining.int3 Making Mercury/int3s/transform_hlds.pd_debug.int3 Making Mercury/int3s/transform_hlds.pd_info.int3 Making Mercury/int3s/transform_hlds.pd_term.int3 Making Mercury/int3s/transform_hlds.pd_util.int3 Making Mercury/int3s/transform_hlds.delay_construct.int3 Making Mercury/int3s/transform_hlds.dep_par_conj.int3 Making Mercury/int3s/transform_hlds.distance_granularity.int3 Making Mercury/int3s/transform_hlds.equiv_type_hlds.int3 Making Mercury/int3s/parse_tree.build_eqv_maps.int3 Making Mercury/int3s/parse_tree.equiv_type.int3 Making Mercury/int3s/transform_hlds.float_regs.int3 Making Mercury/int3s/transform_hlds.lambda.int3 Making Mercury/int3s/transform_hlds.granularity.int3 Making Mercury/int3s/transform_hlds.higher_order.int3 Making Mercury/int3s/transform_hlds.higher_order.higher_order_global_info.int3 Making Mercury/int3s/transform_hlds.higher_order.higher_order_info.int3 Making Mercury/int3s/transform_hlds.higher_order.make_specialized_preds.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_calls.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_unify_compare.int3 Making Mercury/int3s/transform_hlds.higher_order.specialize_in_module.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.introduce_parallelism.int3 Making Mercury/int3s/transform_hlds.implicit_parallelism.push_goals_together.int3 Making Mercury/int3s/transform_hlds.intermod.int3 Making Mercury/int3s/transform_hlds.intermod_decide.int3 Making Mercury/int3s/transform_hlds.intermod_info.int3 Making Mercury/int3s/transform_hlds.intermod_status.int3 Making Mercury/int3s/transform_hlds.intermod_mark_exported.int3 Making Mercury/int3s/transform_hlds.lco.int3 Making Mercury/int3s/transform_hlds.loop_inv.int3 Making Mercury/int3s/transform_hlds.par_loop_control.int3 Making Mercury/int3s/transform_hlds.parallel_to_plain_conj.int3 Making Mercury/int3s/transform_hlds.post_term_analysis.int3 Making Mercury/int3s/transform_hlds.size_prof.int3 Making Mercury/int3s/transform_hlds.ssdebug.int3 Making Mercury/int3s/transform_hlds.stm_expand.int3 Making Mercury/int3s/transform_hlds.table_gen.int3 Making Mercury/int3s/transform_hlds.term_constr_build.int3 Making Mercury/int3s/transform_hlds.term_constr_fixpoint.int3 Making Mercury/int3s/transform_hlds.term_constr_initial.int3 Making Mercury/int3s/transform_hlds.term_constr_main.int3 Making Mercury/int3s/transform_hlds.term_constr_pass2.int3 Making Mercury/int3s/transform_hlds.term_pass1.int3 Making Mercury/int3s/libs.lp.int3 Making Mercury/int3s/transform_hlds.term_traversal.int3 Making Mercury/int3s/transform_hlds.term_pass2.int3 Making Mercury/int3s/transform_hlds.termination.int3 Making Mercury/int3s/transform_hlds.tupling.int3 Making Mercury/int3s/transform_hlds.unneeded_code.int3 Making Mercury/int3s/transform_hlds.untupling.int3 Making Mercury/int3s/transform_hlds.unused_args.int3 Making Mercury/int3s/transform_hlds.unused_args_base_ops.int3 Making Mercury/int3s/transform_hlds.unused_args_optimize.int3 Making Mercury/int3s/transform_hlds.unused_args_warn_pragma.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_type_table.int3 Making Mercury/int3s/hlds.hlds_out.hlds_out_typeclass_table.int3 Making Mercury/int3s/check_hlds.mode_constraint_robdd.int3 Making Mercury/int3s/mode_robdd.int3 Making Mercury/int3s/mode_robdd.tfeirn.int3 Making Mercury/int3s/mode_robdd.equiv_vars.int3 Making Mercury/int3s/mode_robdd.implications.int3 Making Mercury/int3s/hlds.inst_merge.int3 Making Mercury/int3s/backend_libs.link_target_code.int3 Making Mercury/int3s/backend_libs.base_typeclass_info.int3 Making Mercury/int3s/check_hlds.scout_disjunctions.int3 Making Mercury/int3s/check_hlds.switch_candidates.int3 Making Mercury/int3s/check_hlds.abstract_mode_constraints.int3 Making Mercury/int3s/check_hlds.build_mode_constraints.int3 Making Mercury/int3s/check_hlds.check_for_missing_type_defns.int3 Making Mercury/int3s/check_hlds.check_pragma_format_call.int3 Making Mercury/int3s/check_hlds.check_promise.int3 Making Mercury/int3s/check_hlds.check_typeclass.int3 Making Mercury/int3s/hlds.make_hlds.int3 Making Mercury/int3s/hlds.make_hlds.instance_method_clauses.int3 Making Mercury/int3s/hlds.make_hlds.qual_info.int3 Making Mercury/int3s/hlds.make_hlds.add_clause.int3 Making Mercury/int3s/hlds.default_func_mode.int3 Making Mercury/int3s/hlds.make_hlds_error.int3 Making Mercury/int3s/hlds.pre_quantification.int3 Making Mercury/int3s/hlds.make_hlds.add_pred.int3 Making Mercury/int3s/hlds.make_hlds.check_field_access_functions.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_types.int3 Making Mercury/int3s/hlds.make_hlds.goal_expr_to_goal.int3 Making Mercury/int3s/hlds.make_hlds.field_access.int3 Making Mercury/int3s/hlds.make_hlds.state_var.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous_lambda.int3 Making Mercury/int3s/hlds.make_hlds.superhomogeneous_util.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_warn.int3 Making Mercury/int3s/hlds.make_hlds.add_class.int3 Making Mercury/int3s/hlds.make_hlds.add_foreign_proc.int3 Making Mercury/int3s/hlds.make_hlds.add_mode.int3 Making Mercury/int3s/hlds.make_hlds.add_mutable_aux_preds.int3 Making Mercury/int3s/parse_tree.prog_mutable.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_decl.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_type_spec.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_type_spec_constr.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_util.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_gen.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_impl.int3 Making Mercury/int3s/hlds.make_hlds.add_pragma_tabling.int3 Making Mercury/int3s/ml_backend.int3 Making Mercury/int3s/ml_backend.mlds.int3 Making Mercury/int3s/ml_backend.ml_global_data.int3 Making Mercury/int3s/ml_backend.ml_type_gen.int3 Making Mercury/int3s/ml_backend.ml_code_util.int3 Making Mercury/int3s/ml_backend.ml_accurate_gc.int3 Making Mercury/int3s/ml_backend.ml_code_gen.int3 Making Mercury/int3s/ml_backend.ml_call_gen.int3 Making Mercury/int3s/hlds.mark_tail_calls.int3 Making Mercury/int3s/ml_backend.ml_args_util.int3 Making Mercury/int3s/ml_backend.ml_gen_info.int3 Making Mercury/int3s/ml_backend.ml_target_util.int3 Making Mercury/int3s/ml_backend.ml_util.int3 Making Mercury/int3s/ml_backend.ml_commit_gen.int3 Making Mercury/int3s/ml_backend.ml_disj_gen.int3 Making Mercury/int3s/ml_backend.ml_foreign_proc_gen.int3 Making Mercury/int3s/ml_backend.ml_switch_gen.int3 Making Mercury/int3s/ml_backend.ml_lookup_switch.int3 Making Mercury/int3s/ml_backend.ml_simplify_switch.int3 Making Mercury/int3s/ml_backend.ml_string_switch.int3 Making Mercury/int3s/ml_backend.ml_tag_switch.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_util.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_test.int3 Making Mercury/int3s/ml_backend.ml_unify_gen.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_construct.int3 Making Mercury/int3s/ml_backend.ml_closure_gen.int3 Making Mercury/int3s/ml_backend.rtti_to_mlds.int3 Making Mercury/int3s/ml_backend.ml_unify_gen_deconstruct.int3 Making Mercury/int3s/ml_backend.mlds_to_c_name.int3 Making Mercury/int3s/ml_backend.add_heap_ops.int3 Making Mercury/int3s/ml_backend.add_trail_ops.int3 Making Mercury/int3s/ml_backend.ml_elim_nested.int3 Making Mercury/int3s/ml_backend.ml_optimize.int3 Making Mercury/int3s/ml_backend.mlds_dump.int3 Making Mercury/int3s/ml_backend.ml_proc_gen.int3 Making Mercury/int3s/ml_backend.ml_unused_assign.int3 Making Mercury/int3s/ml_backend.ml_rename_classes.int3 Making Mercury/int3s/ml_backend.ml_top_gen.int3 Making Mercury/int3s/ml_backend.mlds_to_c_class.int3 Making Mercury/int3s/ml_backend.mlds_to_c_data.int3 Making Mercury/int3s/ml_backend.mlds_to_c_type.int3 Making Mercury/int3s/ml_backend.mlds_to_c_util.int3 Making Mercury/int3s/ml_backend.mlds_to_target_util.int3 Making Mercury/int3s/ml_backend.mlds_to_c_func.int3 Making Mercury/int3s/ml_backend.mlds_to_c_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_c_export.int3 Making Mercury/int3s/ml_backend.mlds_to_c_file.int3 Making Mercury/int3s/ml_backend.mlds_to_c_global.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_class.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_data.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_name.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_util.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_type.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_func.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_export.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_file.int3 Making Mercury/int3s/ml_backend.mlds_to_cs_global.int3 Making Mercury/int3s/ml_backend.mlds_to_java_class.int3 Making Mercury/int3s/ml_backend.mlds_to_java_data.int3 Making Mercury/int3s/ml_backend.mlds_to_java_name.int3 Making Mercury/int3s/ml_backend.mlds_to_java_util.int3 Making Mercury/int3s/ml_backend.mlds_to_java_type.int3 Making Mercury/int3s/ml_backend.mlds_to_java_func.int3 Making Mercury/int3s/ml_backend.mlds_to_java_stmt.int3 Making Mercury/int3s/ml_backend.mlds_to_java_export.int3 Making Mercury/int3s/ml_backend.mlds_to_java_file.int3 Making Mercury/int3s/ml_backend.mlds_to_java_global.int3 Making Mercury/int3s/ml_backend.mlds_to_java_wrap.int3 Making Mercury/int3s/hlds.make_hlds.add_solver.int3 Making Mercury/int3s/hlds.make_hlds.add_type.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_passes.int3 Making Mercury/int3s/parse_tree.prog_item_stats.int3 Making Mercury/int3s/hlds.make_hlds.make_hlds_separate_items.int3 Making Mercury/int3s/check_hlds.typeclasses.int3 Making Mercury/int3s/check_hlds.type_assign.int3 Making Mercury/int3s/check_hlds.typecheck_debug.int3 Making Mercury/int3s/check_hlds.typecheck_info.int3 Making Mercury/int3s/check_hlds.typecheck_errors.int3 Making Mercury/int3s/check_hlds.typecheck_error_util.int3 Making Mercury/int3s/check_hlds.inst_check.int3 Making Mercury/int3s/check_hlds.inst_user.int3 Making Mercury/int3s/check_hlds.mcsolver.int3 Making Mercury/int3s/check_hlds.mode_constraints.int3 Making Mercury/int3s/hlds.hhf.int3 Making Mercury/int3s/check_hlds.ordering_mode_constraints.int3 Making Mercury/int3s/check_hlds.prop_mode_constraints.int3 Making Mercury/int3s/check_hlds.oisu_check.int3 Making Mercury/int3s/check_hlds.old_type_constraints.int3 Making Mercury/int3s/check_hlds.polymorphism_post_copy.int3 Making Mercury/int3s/check_hlds.pre_typecheck.int3 Making Mercury/int3s/hlds.headvar_names.int3 Making Mercury/int3s/check_hlds.stratify.int3 Making Mercury/int3s/check_hlds.style_checks.int3 Making Mercury/int3s/check_hlds.try_expand.int3 Making Mercury/int3s/check_hlds.type_constraints.int3 Making Mercury/int3s/check_hlds.typecheck.int3 Making Mercury/int3s/check_hlds.typecheck_clauses.int3 Making Mercury/int3s/check_hlds.typecheck_coerce.int3 Making Mercury/int3s/check_hlds.typecheck_util.int3 Making Mercury/int3s/check_hlds.typecheck_error_arg_vector.int3 Making Mercury/int3s/check_hlds.typecheck_error_builtin.int3 Making Mercury/int3s/check_hlds.typecheck_error_type_assign.int3 Making Mercury/int3s/check_hlds.typecheck_error_overload.int3 Making Mercury/int3s/check_hlds.typecheck_error_undef.int3 Making Mercury/int3s/check_hlds.typecheck_error_unify.int3 Making Mercury/int3s/check_hlds.typecheck_error_wrong_type.int3 Making Mercury/int3s/check_hlds.typecheck_error_diff.int3 Making Mercury/int3s/check_hlds.typecheck_unify_var_functor.int3 Making Mercury/int3s/check_hlds.typecheck_cons_infos.int3 Making Mercury/int3s/check_hlds.typecheck_msgs.int3 Making Mercury/int3s/check_hlds.unused_imports.int3 Making Mercury/int3s/check_hlds.unused_types.int3 Making Mercury/int3s/check_hlds.xml_documentation.int3 Making Mercury/int3s/hlds.add_foreign_enum.int3 Making Mercury/int3s/hlds.du_type_layout.int3 Making Mercury/int3s/hlds.hlds_call_tree.int3 Making Mercury/int3s/hlds.hlds_defns.int3 Making Mercury/int3s/hlds.hlds_statistics.int3 Making Mercury/int3s/hlds.implementation_defined_literals.int3 Making Mercury/int3s/hlds.mark_static_terms.int3 Making Mercury/int3s/recompilation.used_file.int3 Making Mercury/int3s/recompilation.usage.int3 Making Mercury/int3s/libs.optdb_help.int3 Making Mercury/int3s/libs.option_categories.int3 Making Mercury/int3s/parse_tree.decide_type_repn.int3 Making Mercury/int3s/parse_tree.equiv_type_parse_tree.int3 Making Mercury/int3s/parse_tree.grab_modules.int3 Making Mercury/int3s/parse_tree.check_import_accessibility.int3 Making Mercury/int3s/parse_tree.parse_tree_out.int3 Making Mercury/int3s/parse_tree.write_deps_file.int3 Making Mercury/int3s/parse_tree.write_module_interface_files.int3 Making Mercury/int3s/parse_tree.check_module_interface.int3 Making Mercury/int3s/libs.print_help.int3 Making Mercury/int3s/libs.handle_options.int3 Making Mercury/int3s/libs.check_options.int3 Making Mercury/int3s/libs.graph_colour.int3 Making Mercury/int3s/libs.lines_builder.int3 Making Mercury/int3s/libs.md5.int3 Making Mercury/int3s/libs.va_map.int3 Making Mercury/int3s/make.int3 Making Mercury/int3s/make.build.int3 Making Mercury/int3s/make.options_file.int3 Making Mercury/int3s/make.make_info.int3 Making Mercury/int3s/make.prereqs_cache.int3 Making Mercury/int3s/make.index_set.int3 Making Mercury/int3s/make.module_target.int3 Making Mercury/int3s/make.check_up_to_date.int3 Making Mercury/int3s/make.file_names.int3 Making Mercury/int3s/make.get_module_dep_info.int3 Making Mercury/int3s/make.module_dep_file.int3 Making Mercury/int3s/make.timestamp.int3 Making Mercury/int3s/make.hash.int3 Making Mercury/int3s/make.util.int3 Making Mercury/int3s/make.prereqs.int3 Making Mercury/int3s/make.find_local_modules.int3 Making Mercury/int3s/make.top_level.int3 Making Mercury/int3s/make.program_target.int3 Making Mercury/int3s/make.clean.int3 Making Mercury/int3s/make.library_install.int3 Making Mercury/int3s/make.track_flags.int3 Making Mercury/int3s/top_level.mercury_compile_augment.int3 Making Mercury/int3s/top_level.mercury_compile_front_end.int3 Making Mercury/int3s/top_level.mercury_compile_middle_passes.int3 Making Mercury/int3s/top_level.mercury_compile_llds_back_end.int3 Making Mercury/int3s/top_level.mercury_compile_make_hlds.int3 Making Mercury/int3s/top_level.mercury_compile_mlds_back_end.int3 Making Mercury/int0s/transform_hlds.int0 Making Mercury/int0s/transform_hlds.ctgc.int0 Making Mercury/int0s/transform_hlds.ctgc.structure_sharing.int0 Making Mercury/int0s/transform_hlds.ctgc.structure_reuse.int0 Making Mercury/int0s/transform_hlds.rbmm.int0 Making Mercury/int0s/transform_hlds.implicit_parallelism.int0 Making Mercury/int0s/transform_hlds.higher_order.int0 Making Mercury/int0s/parse_tree.int0 Making Mercury/int0s/parse_tree.module_qual.int0 Making Mercury/int0s/ll_backend.int0 Making Mercury/int0s/ll_backend.llds_out.int0 Making Mercury/int0s/hlds.int0 Making Mercury/int0s/hlds.make_hlds.int0 Making Mercury/int0s/hlds.hlds_out.int0 Making Mercury/int0s/check_hlds.int0 Making Mercury/int0s/check_hlds.simplify.int0 Making Mercury/int0s/top_level.int0 Making Mercury/int0s/recompilation.int0 Making Mercury/int0s/mode_robdd.int0 Making Mercury/int0s/ml_backend.int0 Making Mercury/int0s/make.int0 Making Mercury/int0s/libs.int0 Making Mercury/int0s/backend_libs.int0 Making Mercury/int0s/analysis.int0 Making Mercury/ints/transform_hlds.ctgc.structure_sharing.domain.int Making Mercury/ints/transform_hlds.ctgc.structure_sharing.analysis.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.versions.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.lfu.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.lbu.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.indirect.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.domain.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct_detect_garbage.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct_choose_reuse.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.direct.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.dead_cell_table.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.analysis.int Making Mercury/ints/transform_hlds.rbmm.region_transformation.int Making Mercury/ints/transform_hlds.rbmm.region_resurrection_renaming.int Making Mercury/ints/transform_hlds.rbmm.region_liveness_info.int Making Mercury/ints/transform_hlds.rbmm.region_instruction.int Making Mercury/ints/transform_hlds.rbmm.region_arguments.int Making Mercury/ints/transform_hlds.rbmm.region_analysis.int Making Mercury/ints/transform_hlds.rbmm.points_to_info.int Making Mercury/ints/transform_hlds.rbmm.points_to_graph.int Making Mercury/ints/transform_hlds.rbmm.points_to_analysis.int Making Mercury/ints/transform_hlds.rbmm.live_variable_analysis.int Making Mercury/ints/transform_hlds.rbmm.live_region_analysis.int Making Mercury/ints/transform_hlds.rbmm.interproc_region_lifetime.int Making Mercury/ints/transform_hlds.rbmm.execution_path.int Making Mercury/ints/transform_hlds.rbmm.condition_renaming.int Making Mercury/ints/transform_hlds.rbmm.add_rbmm_goal_infos.int Making Mercury/ints/transform_hlds.implicit_parallelism.push_goals_together.int Making Mercury/ints/transform_hlds.implicit_parallelism.introduce_parallelism.int Making Mercury/ints/transform_hlds.higher_order.specialize_unify_compare.int Making Mercury/ints/transform_hlds.higher_order.specialize_in_module.int Making Mercury/ints/transform_hlds.higher_order.specialize_calls.int Making Mercury/ints/transform_hlds.higher_order.make_specialized_preds.int Making Mercury/ints/transform_hlds.higher_order.higher_order_info.int Making Mercury/ints/transform_hlds.higher_order.higher_order_global_info.int Making Mercury/ints/transform_hlds.ctgc.util.int Making Mercury/ints/transform_hlds.ctgc.structure_sharing.int Making Mercury/ints/transform_hlds.ctgc.structure_reuse.int Making Mercury/ints/transform_hlds.ctgc.selector.int Making Mercury/ints/transform_hlds.ctgc.livedata.int Making Mercury/ints/transform_hlds.ctgc.fixpoint_table.int Making Mercury/ints/transform_hlds.ctgc.datastruct.int Making Mercury/ints/parse_tree.module_qual.qualify_items.int Making Mercury/ints/parse_tree.module_qual.qual_errors.int Making Mercury/ints/parse_tree.module_qual.mq_info.int Making Mercury/ints/parse_tree.module_qual.id_set.int Making Mercury/ints/parse_tree.module_qual.collect_mq_info.int Making Mercury/ints/ll_backend.llds_out.llds_out_util.int Making Mercury/ints/ll_backend.llds_out.llds_out_instr.int Making Mercury/ints/ll_backend.llds_out.llds_out_global.int Making Mercury/ints/ll_backend.llds_out.llds_out_file.int Making Mercury/ints/ll_backend.llds_out.llds_out_data.int Making Mercury/ints/ll_backend.llds_out.llds_out_code_addr.int Making Mercury/ints/hlds.make_hlds.superhomogeneous_util.int Making Mercury/ints/hlds.make_hlds.superhomogeneous_lambda.int Making Mercury/ints/hlds.make_hlds.superhomogeneous.int Making Mercury/ints/hlds.make_hlds.state_var.int Making Mercury/ints/hlds.make_hlds.qual_info.int Making Mercury/ints/hlds.make_hlds.make_hlds_warn.int Making Mercury/ints/hlds.make_hlds.make_hlds_types.int Making Mercury/ints/hlds.make_hlds.make_hlds_separate_items.int Making Mercury/ints/hlds.make_hlds.make_hlds_passes.int Making Mercury/ints/hlds.make_hlds.instance_method_clauses.int Making Mercury/ints/hlds.make_hlds.goal_expr_to_goal.int Making Mercury/ints/hlds.make_hlds.field_access.int Making Mercury/ints/hlds.make_hlds.check_field_access_functions.int Making Mercury/ints/hlds.make_hlds.add_type.int Making Mercury/ints/hlds.make_hlds.add_solver.int Making Mercury/ints/hlds.make_hlds.add_pred.int Making Mercury/ints/hlds.make_hlds.add_pragma_util.int Making Mercury/ints/hlds.make_hlds.add_pragma_type_spec_constr.int Making Mercury/ints/hlds.make_hlds.add_pragma_type_spec.int Making Mercury/ints/hlds.make_hlds.add_pragma_tabling.int Making Mercury/ints/hlds.make_hlds.add_pragma_impl.int Making Mercury/ints/hlds.make_hlds.add_pragma_gen.int Making Mercury/ints/hlds.make_hlds.add_pragma_decl.int Making Mercury/ints/hlds.make_hlds.add_mutable_aux_preds.int Making Mercury/ints/hlds.make_hlds.add_mode.int Making Mercury/ints/hlds.make_hlds.add_foreign_proc.int Making Mercury/ints/hlds.make_hlds.add_clause.int Making Mercury/ints/hlds.make_hlds.add_class.int Making Mercury/ints/hlds.hlds_out.hlds_out_util.int Making Mercury/ints/hlds.hlds_out.hlds_out_typeclass_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_type_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_pred.int Making Mercury/ints/hlds.hlds_out.hlds_out_module.int Making Mercury/ints/hlds.hlds_out.hlds_out_mode.int Making Mercury/ints/hlds.hlds_out.hlds_out_inst_table.int Making Mercury/ints/hlds.hlds_out.hlds_out_goal.int Making Mercury/ints/check_hlds.simplify.split_switch_arms.int Making Mercury/ints/check_hlds.simplify.simplify_tasks.int Making Mercury/ints/check_hlds.simplify.simplify_proc.int Making Mercury/ints/check_hlds.simplify.simplify_info.int Making Mercury/ints/check_hlds.simplify.simplify_goal_unify.int Making Mercury/ints/check_hlds.simplify.simplify_goal_switch.int Making Mercury/ints/check_hlds.simplify.simplify_goal_scope.int Making Mercury/ints/check_hlds.simplify.simplify_goal_ite.int Making Mercury/ints/check_hlds.simplify.simplify_goal_disj.int Making Mercury/ints/check_hlds.simplify.simplify_goal_conj.int Making Mercury/ints/check_hlds.simplify.simplify_goal_call.int Making Mercury/ints/check_hlds.simplify.simplify_goal.int Making Mercury/ints/check_hlds.simplify.parse_string_format.int Making Mercury/ints/check_hlds.simplify.opt_format_call_errors.int Making Mercury/ints/check_hlds.simplify.opt_format_call.int Making Mercury/ints/check_hlds.simplify.mark_trace_goals.int Making Mercury/ints/check_hlds.simplify.common.int Making Mercury/ints/transform_hlds.unused_args_warn_pragma.int Making Mercury/ints/transform_hlds.unused_args_optimize.int Making Mercury/ints/transform_hlds.unused_args_base_ops.int Making Mercury/ints/transform_hlds.unused_args_analysis.int Making Mercury/ints/transform_hlds.unused_args.int Making Mercury/ints/transform_hlds.untupling.int Making Mercury/ints/transform_hlds.unneeded_code.int Making Mercury/ints/transform_hlds.tupling.int Making Mercury/ints/transform_hlds.trailing_analysis.int Making Mercury/ints/transform_hlds.termination.int Making Mercury/ints/transform_hlds.term_util.int Making Mercury/ints/transform_hlds.term_traversal.int Making Mercury/ints/transform_hlds.term_pass2.int Making Mercury/ints/transform_hlds.term_pass1.int Making Mercury/ints/transform_hlds.term_norm.int Making Mercury/ints/transform_hlds.term_errors.int Making Mercury/ints/transform_hlds.term_constr_util.int Making Mercury/ints/transform_hlds.term_constr_pass2.int Making Mercury/ints/transform_hlds.term_constr_main_types.int Making Mercury/ints/transform_hlds.term_constr_main.int Making Mercury/ints/transform_hlds.term_constr_initial.int Making Mercury/ints/transform_hlds.term_constr_fixpoint.int Making Mercury/ints/transform_hlds.term_constr_errors.int Making Mercury/ints/transform_hlds.term_constr_data.int Making Mercury/ints/transform_hlds.term_constr_build.int Making Mercury/ints/transform_hlds.tabling_analysis.int Making Mercury/ints/transform_hlds.table_gen.int Making Mercury/ints/transform_hlds.stm_expand.int Making Mercury/ints/transform_hlds.ssdebug.int Making Mercury/ints/transform_hlds.smm_common.int Making Mercury/ints/transform_hlds.size_prof.int Making Mercury/ints/transform_hlds.rbmm.int Making Mercury/ints/transform_hlds.post_term_analysis.int Making Mercury/ints/transform_hlds.pd_util.int Making Mercury/ints/transform_hlds.pd_term.int Making Mercury/ints/transform_hlds.pd_info.int Making Mercury/ints/transform_hlds.pd_debug.int Making Mercury/ints/transform_hlds.pd_cost.int Making Mercury/ints/transform_hlds.parallel_to_plain_conj.int Making Mercury/ints/transform_hlds.par_loop_control.int Making Mercury/ints/transform_hlds.mmc_analysis.int Making Mercury/ints/transform_hlds.loop_inv.int Making Mercury/ints/transform_hlds.lco.int Making Mercury/ints/transform_hlds.lambda.int Making Mercury/ints/transform_hlds.intermod_status.int Making Mercury/ints/transform_hlds.intermod_order_pred_info.int Making Mercury/ints/transform_hlds.intermod_mark_exported.int Making Mercury/ints/transform_hlds.intermod_info.int Making Mercury/ints/transform_hlds.intermod_decide.int Making Mercury/ints/transform_hlds.intermod_analysis.int Making Mercury/ints/transform_hlds.intermod.int Making Mercury/ints/transform_hlds.inlining.int Making Mercury/ints/transform_hlds.implicit_parallelism.int Making Mercury/ints/transform_hlds.higher_order.int Making Mercury/ints/transform_hlds.granularity.int Making Mercury/ints/transform_hlds.goal_store.int Making Mercury/ints/transform_hlds.float_regs.int Making Mercury/ints/transform_hlds.exception_analysis.int Making Mercury/ints/transform_hlds.equiv_type_hlds.int Making Mercury/ints/transform_hlds.distance_granularity.int Making Mercury/ints/transform_hlds.direct_arg_in_out.int Making Mercury/ints/transform_hlds.dep_par_conj.int Making Mercury/ints/transform_hlds.delay_construct.int Making Mercury/ints/transform_hlds.deforest.int Making Mercury/ints/transform_hlds.dead_proc_elim.int Making Mercury/ints/transform_hlds.ctgc.int Making Mercury/ints/transform_hlds.constraint.int Making Mercury/ints/transform_hlds.const_prop.int Making Mercury/ints/transform_hlds.complexity.int Making Mercury/ints/transform_hlds.closure_analysis.int Making Mercury/ints/transform_hlds.accumulator.int Making Mercury/ints/top_level.mercury_compile_mlds_back_end.int Making Mercury/ints/top_level.mercury_compile_middle_passes.int Making Mercury/ints/top_level.mercury_compile_make_hlds.int Making Mercury/ints/top_level.mercury_compile_main.int Making Mercury/ints/top_level.mercury_compile_llds_back_end.int Making Mercury/ints/top_level.mercury_compile_front_end.int Making Mercury/ints/top_level.mercury_compile_augment.int Making Mercury/ints/top_level.mercury_compile_args.int Making Mercury/ints/recompilation.version.int Making Mercury/ints/recompilation.used_file.int Making Mercury/ints/recompilation.usage.int Making Mercury/ints/recompilation.record_uses.int Making Mercury/ints/recompilation.item_types.int Making Mercury/ints/recompilation.check.int Making Mercury/ints/parse_tree.write_module_interface_files.int Making Mercury/ints/parse_tree.write_error_spec.int Making Mercury/ints/parse_tree.write_deps_file.int Making Mercury/ints/parse_tree.warn_unread_modules.int Making Mercury/ints/parse_tree.vartypes.int Making Mercury/ints/parse_tree.var_table.int Making Mercury/ints/parse_tree.var_db.int Making Mercury/ints/parse_tree.type_inst_mode_map.int Making Mercury/ints/parse_tree.split_parse_tree_src.int Making Mercury/ints/parse_tree.source_file_map.int Making Mercury/ints/parse_tree.set_of_var.int Making Mercury/ints/parse_tree.read_modules.int Making Mercury/ints/parse_tree.prog_util.int Making Mercury/ints/parse_tree.prog_type_unify.int Making Mercury/ints/parse_tree.prog_type_test.int Making Mercury/ints/parse_tree.prog_type_subst.int Making Mercury/ints/parse_tree.prog_type_scan.int Making Mercury/ints/parse_tree.prog_type_repn.int Making Mercury/ints/parse_tree.prog_type_construct.int Making Mercury/ints/parse_tree.prog_type.int Making Mercury/ints/parse_tree.prog_rename.int Making Mercury/ints/parse_tree.prog_parse_tree.int Making Mercury/ints/parse_tree.prog_mutable.int Making Mercury/ints/parse_tree.prog_mode.int Making Mercury/ints/parse_tree.prog_item_stats.int Making Mercury/ints/parse_tree.prog_item.int Making Mercury/ints/parse_tree.prog_foreign_enum.int Making Mercury/ints/parse_tree.prog_foreign.int Making Mercury/ints/parse_tree.prog_event.int Making Mercury/ints/parse_tree.prog_detism.int Making Mercury/ints/parse_tree.prog_data_used_modules.int Making Mercury/ints/parse_tree.prog_data_pragma.int Making Mercury/ints/parse_tree.prog_data_foreign.int Making Mercury/ints/parse_tree.prog_data_event.int Making Mercury/ints/parse_tree.prog_data.int Making Mercury/ints/parse_tree.prog_ctgc.int Making Mercury/ints/parse_tree.parse_vars.int Making Mercury/ints/parse_tree.parse_util.int Making Mercury/ints/parse_tree.parse_types.int Making Mercury/ints/parse_tree.parse_type_repn.int Making Mercury/ints/parse_tree.parse_type_name.int Making Mercury/ints/parse_tree.parse_type_defn.int Making Mercury/ints/parse_tree.parse_tree_to_term.int Making Mercury/ints/parse_tree.parse_tree_output.int Making Mercury/ints/parse_tree.parse_tree_out_type_repn.int Making Mercury/ints/parse_tree.parse_tree_out_type.int Making Mercury/ints/parse_tree.parse_tree_out_term.int Making Mercury/ints/parse_tree.parse_tree_out_sym_name.int Making Mercury/ints/parse_tree.parse_tree_out_pred_decl.int Making Mercury/ints/parse_tree.parse_tree_out_pragma.int Making Mercury/ints/parse_tree.parse_tree_out_misc.int Making Mercury/ints/parse_tree.parse_tree_out_item.int Making Mercury/ints/parse_tree.parse_tree_out_inst.int Making Mercury/ints/parse_tree.parse_tree_out_info.int Making Mercury/ints/parse_tree.parse_tree_out_cons_id.int Making Mercury/ints/parse_tree.parse_tree_out_clause.int Making Mercury/ints/parse_tree.parse_tree_out.int Making Mercury/ints/parse_tree.parse_sym_name.int Making Mercury/ints/parse_tree.parse_pragma_tabling.int Making Mercury/ints/parse_tree.parse_pragma_foreign.int Making Mercury/ints/parse_tree.parse_pragma_analysis.int Making Mercury/ints/parse_tree.parse_pragma.int Making Mercury/ints/parse_tree.parse_mutable.int Making Mercury/ints/parse_tree.parse_module.int Making Mercury/ints/parse_tree.parse_item.int Making Mercury/ints/parse_tree.parse_inst_mode_name.int Making Mercury/ints/parse_tree.parse_inst_mode_defn.int Making Mercury/ints/parse_tree.parse_goal_util.int Making Mercury/ints/parse_tree.parse_goal.int Making Mercury/ints/parse_tree.parse_error.int Making Mercury/ints/parse_tree.parse_dcg_goal.int Making Mercury/ints/parse_tree.parse_class.int Making Mercury/ints/parse_tree.output_imports_graph.int Making Mercury/ints/parse_tree.opt_deps_spec.int Making Mercury/ints/parse_tree.module_qual.int Making Mercury/ints/parse_tree.module_deps_graph.int Making Mercury/ints/parse_tree.module_dep_info.int Making Mercury/ints/parse_tree.module_cmds.int Making Mercury/ints/parse_tree.module_baggage.int Making Mercury/ints/parse_tree.maybe_error.int Making Mercury/ints/parse_tree.make_module_file_names.int Making Mercury/ints/parse_tree.java_names.int Making Mercury/ints/parse_tree.item_util.int Making Mercury/ints/parse_tree.int_emu.int Making Mercury/ints/parse_tree.grab_modules.int Making Mercury/ints/parse_tree.get_dependencies.int Making Mercury/ints/parse_tree.generate_mmakefile_fragments.int Making Mercury/ints/parse_tree.find_module.int Making Mercury/ints/parse_tree.file_names.int Making Mercury/ints/parse_tree.file_kind.int Making Mercury/ints/parse_tree.error_util.int Making Mercury/ints/parse_tree.error_type_util.int Making Mercury/ints/parse_tree.error_spec.int Making Mercury/ints/parse_tree.error_sort.int Making Mercury/ints/parse_tree.equiv_type_parse_tree.int Making Mercury/ints/parse_tree.equiv_type.int Making Mercury/ints/parse_tree.deps_map.int Making Mercury/ints/parse_tree.decide_type_repn.int Making Mercury/ints/parse_tree.d_file_deps.int Making Mercury/ints/parse_tree.convert_parse_tree.int Making Mercury/ints/parse_tree.convert_include.int Making Mercury/ints/parse_tree.convert_import_use.int Making Mercury/ints/parse_tree.comp_unit_interface.int Making Mercury/ints/parse_tree.check_type_inst_mode_defns.int Making Mercury/ints/parse_tree.check_module_interface.int Making Mercury/ints/parse_tree.check_import_accessibility.int Making Mercury/ints/parse_tree.canonicalize_interface.int Making Mercury/ints/parse_tree.builtin_lib_types.int Making Mercury/ints/parse_tree.build_eqv_maps.int Making Mercury/ints/mode_robdd.tfeirn.int Making Mercury/ints/mode_robdd.implications.int Making Mercury/ints/mode_robdd.equiv_vars.int Making Mercury/ints/ml_backend.rtti_to_mlds.int Making Mercury/ints/ml_backend.mlds_to_target_util.int Making Mercury/ints/ml_backend.mlds_to_java_wrap.int Making Mercury/ints/ml_backend.mlds_to_java_util.int Making Mercury/ints/ml_backend.mlds_to_java_type.int Making Mercury/ints/ml_backend.mlds_to_java_stmt.int Making Mercury/ints/ml_backend.mlds_to_java_name.int Making Mercury/ints/ml_backend.mlds_to_java_global.int Making Mercury/ints/ml_backend.mlds_to_java_func.int Making Mercury/ints/ml_backend.mlds_to_java_file.int Making Mercury/ints/ml_backend.mlds_to_java_export.int Making Mercury/ints/ml_backend.mlds_to_java_data.int Making Mercury/ints/ml_backend.mlds_to_java_class.int Making Mercury/ints/ml_backend.mlds_to_cs_util.int Making Mercury/ints/ml_backend.mlds_to_cs_type.int Making Mercury/ints/ml_backend.mlds_to_cs_stmt.int Making Mercury/ints/ml_backend.mlds_to_cs_name.int Making Mercury/ints/ml_backend.mlds_to_cs_global.int Making Mercury/ints/ml_backend.mlds_to_cs_func.int Making Mercury/ints/ml_backend.mlds_to_cs_file.int Making Mercury/ints/ml_backend.mlds_to_cs_export.int Making Mercury/ints/ml_backend.mlds_to_cs_data.int Making Mercury/ints/ml_backend.mlds_to_cs_class.int Making Mercury/ints/ml_backend.mlds_to_c_util.int Making Mercury/ints/ml_backend.mlds_to_c_type.int Making Mercury/ints/ml_backend.mlds_to_c_stmt.int Making Mercury/ints/ml_backend.mlds_to_c_name.int Making Mercury/ints/ml_backend.mlds_to_c_global.int Making Mercury/ints/ml_backend.mlds_to_c_func.int Making Mercury/ints/ml_backend.mlds_to_c_file.int Making Mercury/ints/ml_backend.mlds_to_c_export.int Making Mercury/ints/ml_backend.mlds_to_c_data.int Making Mercury/ints/ml_backend.mlds_to_c_class.int Making Mercury/ints/ml_backend.mlds_dump.int Making Mercury/ints/ml_backend.mlds.int Making Mercury/ints/ml_backend.ml_util.int Making Mercury/ints/ml_backend.ml_unused_assign.int Making Mercury/ints/ml_backend.ml_unify_gen_util.int Making Mercury/ints/ml_backend.ml_unify_gen_test.int Making Mercury/ints/ml_backend.ml_unify_gen_deconstruct.int Making Mercury/ints/ml_backend.ml_unify_gen_construct.int Making Mercury/ints/ml_backend.ml_unify_gen.int Making Mercury/ints/ml_backend.ml_type_gen.int Making Mercury/ints/ml_backend.ml_top_gen.int Making Mercury/ints/ml_backend.ml_target_util.int Making Mercury/ints/ml_backend.ml_tag_switch.int Making Mercury/ints/ml_backend.ml_switch_gen.int Making Mercury/ints/ml_backend.ml_string_switch.int Making Mercury/ints/ml_backend.ml_simplify_switch.int Making Mercury/ints/ml_backend.ml_rename_classes.int Making Mercury/ints/ml_backend.ml_proc_gen.int Making Mercury/ints/ml_backend.ml_optimize.int Making Mercury/ints/ml_backend.ml_lookup_switch.int Making Mercury/ints/ml_backend.ml_global_data.int Making Mercury/ints/ml_backend.ml_gen_info.int Making Mercury/ints/ml_backend.ml_foreign_proc_gen.int Making Mercury/ints/ml_backend.ml_elim_nested.int Making Mercury/ints/ml_backend.ml_disj_gen.int Making Mercury/ints/ml_backend.ml_commit_gen.int Making Mercury/ints/ml_backend.ml_code_util.int Making Mercury/ints/ml_backend.ml_code_gen.int Making Mercury/ints/ml_backend.ml_closure_gen.int Making Mercury/ints/ml_backend.ml_call_gen.int Making Mercury/ints/ml_backend.ml_args_util.int Making Mercury/ints/ml_backend.ml_accurate_gc.int Making Mercury/ints/ml_backend.add_trail_ops.int Making Mercury/ints/ml_backend.add_heap_ops.int Making Mercury/ints/make.util.int Making Mercury/ints/make.track_flags.int Making Mercury/ints/make.top_level.int Making Mercury/ints/make.timestamp.int Making Mercury/ints/make.program_target.int Making Mercury/ints/make.prereqs_cache.int Making Mercury/ints/make.prereqs.int Making Mercury/ints/make.options_file.int Making Mercury/ints/make.module_target.int Making Mercury/ints/make.module_dep_file.int Making Mercury/ints/make.make_info.int Making Mercury/ints/make.library_install.int Making Mercury/ints/make.index_set.int Making Mercury/ints/make.hash.int Making Mercury/ints/make.get_module_dep_info.int Making Mercury/ints/make.find_local_modules.int Making Mercury/ints/make.file_names.int Making Mercury/ints/make.clean.int Making Mercury/ints/make.check_up_to_date.int Making Mercury/ints/make.build.int Making Mercury/ints/ll_backend.wrap_blocks.int Making Mercury/ints/ll_backend.var_locn.int Making Mercury/ints/ll_backend.use_local_vars.int Making Mercury/ints/ll_backend.unify_gen_util.int Making Mercury/ints/ll_backend.unify_gen_test.int Making Mercury/ints/ll_backend.unify_gen_deconstruct.int Making Mercury/ints/ll_backend.unify_gen_construct.int Making Mercury/ints/ll_backend.unify_gen.int Making Mercury/ints/ll_backend.transform_llds.int Making Mercury/ints/ll_backend.trace_gen.int Making Mercury/ints/ll_backend.tag_switch.int Making Mercury/ints/ll_backend.switch_gen.int Making Mercury/ints/ll_backend.switch_case.int Making Mercury/ints/ll_backend.string_switch.int Making Mercury/ints/ll_backend.store_alloc.int Making Mercury/ints/ll_backend.stdlabel.int Making Mercury/ints/ll_backend.stack_opt.int Making Mercury/ints/ll_backend.stack_layout.int Making Mercury/ints/ll_backend.stack_alloc.int Making Mercury/ints/ll_backend.saved_vars.int Making Mercury/ints/ll_backend.rtti_out.int Making Mercury/ints/ll_backend.reassign.int Making Mercury/ints/ll_backend.prog_rep_tables.int Making Mercury/ints/ll_backend.prog_rep.int Making Mercury/ints/ll_backend.proc_gen.int Making Mercury/ints/ll_backend.peephole.int Making Mercury/ints/ll_backend.par_conj_gen.int Making Mercury/ints/ll_backend.optimize.int Making Mercury/ints/ll_backend.opt_util.int Making Mercury/ints/ll_backend.opt_debug.int Making Mercury/ints/ll_backend.middle_rec.int Making Mercury/ints/ll_backend.lookup_util.int Making Mercury/ints/ll_backend.lookup_switch.int Making Mercury/ints/ll_backend.llds_out.int Making Mercury/ints/ll_backend.llds.int Making Mercury/ints/ll_backend.ll_pseudo_type_info.int Making Mercury/ints/ll_backend.liveness.int Making Mercury/ints/ll_backend.livemap.int Making Mercury/ints/ll_backend.live_vars.int Making Mercury/ints/ll_backend.layout_out.int Making Mercury/ints/ll_backend.layout.int Making Mercury/ints/ll_backend.labelopt.int Making Mercury/ints/ll_backend.jumpopt.int Making Mercury/ints/ll_backend.ite_gen.int Making Mercury/ints/ll_backend.global_data.int Making Mercury/ints/ll_backend.frameopt.int Making Mercury/ints/ll_backend.foreign_proc_gen.int Making Mercury/ints/ll_backend.follow_vars.int Making Mercury/ints/ll_backend.follow_code.int Making Mercury/ints/ll_backend.fact_table_gen.int Making Mercury/ints/ll_backend.exprn_aux.int Making Mercury/ints/ll_backend.dupproc.int Making Mercury/ints/ll_backend.dupelim.int Making Mercury/ints/ll_backend.disj_gen.int Making Mercury/ints/ll_backend.dense_switch.int Making Mercury/ints/ll_backend.delay_slot.int Making Mercury/ints/ll_backend.deep_profiling.int Making Mercury/ints/ll_backend.coverage_profiling.int Making Mercury/ints/ll_backend.continuation_info.int Making Mercury/ints/ll_backend.commit_gen.int Making Mercury/ints/ll_backend.code_util.int Making Mercury/ints/ll_backend.code_loc_dep.int Making Mercury/ints/ll_backend.code_info.int Making Mercury/ints/ll_backend.code_gen.int Making Mercury/ints/ll_backend.closure_gen.int Making Mercury/ints/ll_backend.call_gen.int Making Mercury/ints/ll_backend.basic_block.int Making Mercury/ints/libs.va_map.int Making Mercury/ints/libs.trace_params.int Making Mercury/ints/libs.timestamp.int Making Mercury/ints/libs.system_cmds.int Making Mercury/ints/libs.shell_util.int Making Mercury/ints/libs.rat.int Making Mercury/ints/libs.process_util.int Making Mercury/ints/libs.print_help.int Making Mercury/ints/libs.polyhedron.int Making Mercury/ints/libs.pickle.int Making Mercury/ints/libs.options.int Making Mercury/ints/libs.option_categories.int Making Mercury/ints/libs.optimization_options.int Making Mercury/ints/libs.optdb_help.int Making Mercury/ints/libs.op_mode.int Making Mercury/ints/libs.mmakefiles.int Making Mercury/ints/libs.md5.int Making Mercury/ints/libs.maybe_util.int Making Mercury/ints/libs.lp_rational.int Making Mercury/ints/libs.lp.int Making Mercury/ints/libs.lines_builder.int Making Mercury/ints/libs.indent.int Making Mercury/ints/libs.handle_options.int Making Mercury/ints/libs.graph_colour.int Making Mercury/ints/libs.globals.int Making Mercury/ints/libs.file_util.int Making Mercury/ints/libs.dependency_graph.int Making Mercury/ints/libs.copy_util.int Making Mercury/ints/libs.compute_grade.int Making Mercury/ints/libs.compiler_util.int Making Mercury/ints/libs.color_schemes.int Making Mercury/ints/libs.check_options.int Making Mercury/ints/libs.check_libgrades.int Making Mercury/ints/hlds.var_table_hlds.int Making Mercury/ints/hlds.var_origins.int Making Mercury/ints/hlds.type_util.int Making Mercury/ints/hlds.status.int Making Mercury/ints/hlds.special_pred.int Making Mercury/ints/hlds.quantification.int Making Mercury/ints/hlds.pred_table.int Making Mercury/ints/hlds.pred_name.int Making Mercury/ints/hlds.pre_quantification.int Making Mercury/ints/hlds.passes_aux.int Making Mercury/ints/hlds.mode_util.int Making Mercury/ints/hlds.mode_top_functor.int Making Mercury/ints/hlds.mode_test.int Making Mercury/ints/hlds.mark_tail_calls.int Making Mercury/ints/hlds.mark_static_terms.int Making Mercury/ints/hlds.make_hlds_error.int Making Mercury/ints/hlds.make_hlds.int Making Mercury/ints/hlds.make_goal.int Making Mercury/ints/hlds.introduced_call_table.int Making Mercury/ints/hlds.instmap.int Making Mercury/ints/hlds.inst_util.int Making Mercury/ints/hlds.inst_test.int Making Mercury/ints/hlds.inst_mode_type_prop.int Making Mercury/ints/hlds.inst_merge.int Making Mercury/ints/hlds.inst_match.int Making Mercury/ints/hlds.inst_lookup.int Making Mercury/ints/hlds.inst_graph.int Making Mercury/ints/hlds.implementation_defined_literals.int Making Mercury/ints/hlds.hlds_statistics.int Making Mercury/ints/hlds.hlds_rtti.int Making Mercury/ints/hlds.hlds_promise.int Making Mercury/ints/hlds.hlds_proc_util.int Making Mercury/ints/hlds.hlds_pred.int Making Mercury/ints/hlds.hlds_out.int Making Mercury/ints/hlds.hlds_module.int Making Mercury/ints/hlds.hlds_markers.int Making Mercury/ints/hlds.hlds_llds.int Making Mercury/ints/hlds.hlds_inst_mode.int Making Mercury/ints/hlds.hlds_goal.int Making Mercury/ints/hlds.hlds_error_util.int Making Mercury/ints/hlds.hlds_desc.int Making Mercury/ints/hlds.hlds_dependency_graph.int Making Mercury/ints/hlds.hlds_defns.int Making Mercury/ints/hlds.hlds_data.int Making Mercury/ints/hlds.hlds_cons.int Making Mercury/ints/hlds.hlds_code_util.int Making Mercury/ints/hlds.hlds_clauses.int Making Mercury/ints/hlds.hlds_class.int Making Mercury/ints/hlds.hlds_call_tree.int Making Mercury/ints/hlds.hlds_args.int Making Mercury/ints/hlds.hhf.int Making Mercury/ints/hlds.headvar_names.int Making Mercury/ints/hlds.goal_vars.int Making Mercury/ints/hlds.goal_util.int Making Mercury/ints/hlds.goal_transform.int Making Mercury/ints/hlds.goal_reorder.int Making Mercury/ints/hlds.goal_refs.int Making Mercury/ints/hlds.goal_path.int Making Mercury/ints/hlds.goal_mode.int Making Mercury/ints/hlds.goal_form.int Making Mercury/ints/hlds.goal_contains.int Making Mercury/ints/hlds.from_ground_term_util.int Making Mercury/ints/hlds.error_msg_inst.int Making Mercury/ints/hlds.du_type_layout.int Making Mercury/ints/hlds.default_func_mode.int Making Mercury/ints/hlds.const_struct.int Making Mercury/ints/hlds.code_model.int Making Mercury/ints/hlds.assertion.int Making Mercury/ints/hlds.arg_info.int Making Mercury/ints/hlds.add_special_pred.int Making Mercury/ints/hlds.add_foreign_enum.int Making Mercury/ints/check_hlds.xml_documentation.int Making Mercury/ints/check_hlds.unused_types.int Making Mercury/ints/check_hlds.unused_imports.int Making Mercury/ints/check_hlds.unique_modes.int Making Mercury/ints/check_hlds.unify_proc.int Making Mercury/ints/check_hlds.types_into_modes.int Making Mercury/ints/check_hlds.typeclasses.int Making Mercury/ints/check_hlds.typecheck_util.int Making Mercury/ints/check_hlds.typecheck_unify_var_functor.int Making Mercury/ints/check_hlds.typecheck_msgs.int Making Mercury/ints/check_hlds.typecheck_info.int Making Mercury/ints/check_hlds.typecheck_errors.int Making Mercury/ints/check_hlds.typecheck_error_wrong_type.int Making Mercury/ints/check_hlds.typecheck_error_util.int Making Mercury/ints/check_hlds.typecheck_error_unify.int Making Mercury/ints/check_hlds.typecheck_error_undef.int Making Mercury/ints/check_hlds.typecheck_error_type_assign.int Making Mercury/ints/check_hlds.typecheck_error_overload.int Making Mercury/ints/check_hlds.typecheck_error_diff.int Making Mercury/ints/check_hlds.typecheck_error_builtin.int Making Mercury/ints/check_hlds.typecheck_error_arg_vector.int Making Mercury/ints/check_hlds.typecheck_debug.int Making Mercury/ints/check_hlds.typecheck_cons_infos.int Making Mercury/ints/check_hlds.typecheck_coerce.int Making Mercury/ints/check_hlds.typecheck_clauses.int Making Mercury/ints/check_hlds.typecheck.int Making Mercury/ints/check_hlds.type_constraints.int Making Mercury/ints/check_hlds.type_assign.int Making Mercury/ints/check_hlds.try_expand.int Making Mercury/ints/check_hlds.switch_detection.int Making Mercury/ints/check_hlds.switch_candidates.int Making Mercury/ints/check_hlds.style_checks.int Making Mercury/ints/check_hlds.stratify.int Making Mercury/ints/check_hlds.simplify.int Making Mercury/ints/check_hlds.scout_disjunctions.int Making Mercury/ints/check_hlds.resolve_unify_functor.int Making Mercury/ints/check_hlds.recompute_instmap_deltas.int Making Mercury/ints/check_hlds.purity.int Making Mercury/ints/check_hlds.prop_mode_constraints.int Making Mercury/ints/check_hlds.proc_requests.int Making Mercury/ints/check_hlds.pre_typecheck.int Making Mercury/ints/check_hlds.post_typecheck.int Making Mercury/ints/check_hlds.polymorphism_type_info.int Making Mercury/ints/check_hlds.polymorphism_type_class_info.int Making Mercury/ints/check_hlds.polymorphism_post_copy.int Making Mercury/ints/check_hlds.polymorphism_lambda.int Making Mercury/ints/check_hlds.polymorphism_info.int Making Mercury/ints/check_hlds.polymorphism_goal.int Making Mercury/ints/check_hlds.polymorphism_clause.int Making Mercury/ints/check_hlds.polymorphism.int Making Mercury/ints/check_hlds.ordering_mode_constraints.int Making Mercury/ints/check_hlds.old_type_constraints.int Making Mercury/ints/check_hlds.oisu_check.int Making Mercury/ints/check_hlds.modes.int Making Mercury/ints/check_hlds.modecheck_util.int Making Mercury/ints/check_hlds.modecheck_unify.int Making Mercury/ints/check_hlds.modecheck_goal.int Making Mercury/ints/check_hlds.modecheck_conj.int Making Mercury/ints/check_hlds.modecheck_coerce.int Making Mercury/ints/check_hlds.modecheck_call.int Making Mercury/ints/check_hlds.mode_ordering.int Making Mercury/ints/check_hlds.mode_info.int Making Mercury/ints/check_hlds.mode_errors.int Making Mercury/ints/check_hlds.mode_debug.int Making Mercury/ints/check_hlds.mode_constraints.int Making Mercury/ints/check_hlds.mode_constraint_robdd.int Making Mercury/ints/check_hlds.mode_comparison.int Making Mercury/ints/check_hlds.mcsolver.int Making Mercury/ints/check_hlds.introduce_exists_casts.int Making Mercury/ints/check_hlds.inst_user.int Making Mercury/ints/check_hlds.inst_make.int Making Mercury/ints/check_hlds.inst_check.int Making Mercury/ints/check_hlds.inst_abstract_unify.int Making Mercury/ints/check_hlds.find_bind_var.int Making Mercury/ints/check_hlds.det_util.int Making Mercury/ints/check_hlds.det_infer_goal.int Making Mercury/ints/check_hlds.det_check_switch.int Making Mercury/ints/check_hlds.det_check_proc.int Making Mercury/ints/check_hlds.det_check_goal.int Making Mercury/ints/check_hlds.det_analysis.int Making Mercury/ints/check_hlds.delay_partial_inst.int Making Mercury/ints/check_hlds.delay_info.int Making Mercury/ints/check_hlds.cse_detection.int Making Mercury/ints/check_hlds.clause_to_proc.int Making Mercury/ints/check_hlds.check_typeclass.int Making Mercury/ints/check_hlds.check_promise.int Making Mercury/ints/check_hlds.check_pragma_format_call.int Making Mercury/ints/check_hlds.check_for_missing_type_defns.int Making Mercury/ints/check_hlds.build_mode_constraints.int Making Mercury/ints/check_hlds.abstract_mode_constraints.int Making Mercury/ints/backend_libs.type_ctor_info.int Making Mercury/ints/backend_libs.type_class_info.int Making Mercury/ints/backend_libs.tag_switch_util.int Making Mercury/ints/backend_libs.switch_util.int Making Mercury/ints/backend_libs.string_switch_util.int Making Mercury/ints/backend_libs.string_encoding.int Making Mercury/ints/backend_libs.rtti.int Making Mercury/ints/backend_libs.pseudo_type_info.int Making Mercury/ints/backend_libs.proc_label.int Making Mercury/ints/backend_libs.name_mangle.int Making Mercury/ints/backend_libs.matching.int Making Mercury/ints/backend_libs.lookup_switch_util.int Making Mercury/ints/backend_libs.link_target_code.int Making Mercury/ints/backend_libs.interval.int Making Mercury/ints/backend_libs.foreign.int Making Mercury/ints/backend_libs.export.int Making Mercury/ints/backend_libs.compile_target_code.int Making Mercury/ints/backend_libs.c_util.int Making Mercury/ints/backend_libs.builtin_ops.int Making Mercury/ints/backend_libs.base_typeclass_info.int Making Mercury/ints/analysis.operations.int Making Mercury/ints/analysis.framework.int Making Mercury/ints/analysis.file.int Making Mercury/ints/transform_hlds.int Making Mercury/ints/top_level.int Making Mercury/ints/recompilation.int Making Mercury/ints/parse_tree.int Making Mercury/ints/mode_robdd.int Making Mercury/ints/ml_backend.int Making Mercury/ints/mercury_compile.int Making Mercury/ints/make.int Making Mercury/ints/ll_backend.int Making Mercury/ints/libs.int Making Mercury/ints/hlds.int Making Mercury/ints/check_hlds.int Making Mercury/ints/backend_libs.int Making Mercury/ints/analysis.int Making Mercury/javas/jmercury/analysis.java Making Mercury/javas/jmercury/backend_libs.java Making Mercury/javas/jmercury/check_hlds.java Making Mercury/javas/jmercury/hlds.java Making Mercury/javas/jmercury/libs.java Making Mercury/javas/jmercury/ll_backend.java Making Mercury/javas/jmercury/make.java Making Mercury/javas/jmercury/mercury_compile.java Making Mercury/javas/jmercury/ml_backend.java Making Mercury/javas/jmercury/mode_robdd.java Making Mercury/javas/jmercury/parse_tree.java Making Mercury/javas/jmercury/recompilation.java Making Mercury/javas/jmercury/top_level.java Making Mercury/javas/jmercury/transform_hlds.java Making Mercury/javas/jmercury/analysis__file.java Making Mercury/javas/jmercury/analysis__framework.java Making Mercury/javas/jmercury/analysis__operations.java Making Mercury/javas/jmercury/backend_libs__base_typeclass_info.java Making Mercury/javas/jmercury/backend_libs__builtin_ops.java Making Mercury/javas/jmercury/backend_libs__c_util.java Making Mercury/javas/jmercury/backend_libs__compile_target_code.java Making Mercury/javas/jmercury/backend_libs__export.java Making Mercury/javas/jmercury/backend_libs__foreign.java Making Mercury/javas/jmercury/backend_libs__interval.java Making Mercury/javas/jmercury/backend_libs__link_target_code.java Making Mercury/javas/jmercury/backend_libs__lookup_switch_util.java Making Mercury/javas/jmercury/backend_libs__matching.java Making Mercury/javas/jmercury/backend_libs__name_mangle.java Making Mercury/javas/jmercury/backend_libs__proc_label.java Making Mercury/javas/jmercury/backend_libs__pseudo_type_info.java Making Mercury/javas/jmercury/backend_libs__rtti.java Making Mercury/javas/jmercury/backend_libs__string_encoding.java Making Mercury/javas/jmercury/backend_libs__string_switch_util.java Making Mercury/javas/jmercury/backend_libs__switch_util.java Making Mercury/javas/jmercury/backend_libs__tag_switch_util.java Making Mercury/javas/jmercury/backend_libs__type_class_info.java Making Mercury/javas/jmercury/backend_libs__type_ctor_info.java Making Mercury/javas/jmercury/check_hlds__abstract_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__build_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__check_for_missing_type_defns.java Making Mercury/javas/jmercury/check_hlds__check_pragma_format_call.java Making Mercury/javas/jmercury/check_hlds__check_promise.java Making Mercury/javas/jmercury/check_hlds__check_typeclass.java Making Mercury/javas/jmercury/check_hlds__clause_to_proc.java Making Mercury/javas/jmercury/check_hlds__cse_detection.java Making Mercury/javas/jmercury/check_hlds__delay_info.java Making Mercury/javas/jmercury/check_hlds__delay_partial_inst.java Making Mercury/javas/jmercury/check_hlds__det_analysis.java Making Mercury/javas/jmercury/check_hlds__det_check_goal.java Making Mercury/javas/jmercury/check_hlds__det_check_proc.java Making Mercury/javas/jmercury/check_hlds__det_check_switch.java Making Mercury/javas/jmercury/check_hlds__det_infer_goal.java Making Mercury/javas/jmercury/check_hlds__det_util.java Making Mercury/javas/jmercury/check_hlds__find_bind_var.java Making Mercury/javas/jmercury/check_hlds__inst_abstract_unify.java Making Mercury/javas/jmercury/check_hlds__inst_check.java Making Mercury/javas/jmercury/check_hlds__inst_make.java Making Mercury/javas/jmercury/check_hlds__inst_user.java Making Mercury/javas/jmercury/check_hlds__introduce_exists_casts.java Making Mercury/javas/jmercury/check_hlds__mcsolver.java Making Mercury/javas/jmercury/check_hlds__mode_comparison.java Making Mercury/javas/jmercury/check_hlds__mode_constraint_robdd.java Making Mercury/javas/jmercury/check_hlds__mode_constraints.java Making Mercury/javas/jmercury/check_hlds__mode_debug.java Making Mercury/javas/jmercury/check_hlds__mode_errors.java Making Mercury/javas/jmercury/check_hlds__mode_info.java Making Mercury/javas/jmercury/check_hlds__mode_ordering.java Making Mercury/javas/jmercury/check_hlds__modecheck_call.java Making Mercury/javas/jmercury/check_hlds__modecheck_coerce.java Making Mercury/javas/jmercury/check_hlds__modecheck_conj.java Making Mercury/javas/jmercury/check_hlds__modecheck_goal.java Making Mercury/javas/jmercury/check_hlds__modecheck_unify.java Making Mercury/javas/jmercury/check_hlds__modecheck_util.java Making Mercury/javas/jmercury/check_hlds__modes.java Making Mercury/javas/jmercury/check_hlds__oisu_check.java Making Mercury/javas/jmercury/check_hlds__old_type_constraints.java Making Mercury/javas/jmercury/check_hlds__ordering_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__polymorphism.java Making Mercury/javas/jmercury/check_hlds__polymorphism_clause.java Making Mercury/javas/jmercury/check_hlds__polymorphism_goal.java Making Mercury/javas/jmercury/check_hlds__polymorphism_info.java Making Mercury/javas/jmercury/check_hlds__polymorphism_lambda.java Making Mercury/javas/jmercury/check_hlds__polymorphism_post_copy.java Making Mercury/javas/jmercury/check_hlds__polymorphism_type_class_info.java Making Mercury/javas/jmercury/check_hlds__polymorphism_type_info.java Making Mercury/javas/jmercury/check_hlds__post_typecheck.java Making Mercury/javas/jmercury/check_hlds__pre_typecheck.java Making Mercury/javas/jmercury/check_hlds__proc_requests.java Making Mercury/javas/jmercury/check_hlds__prop_mode_constraints.java Making Mercury/javas/jmercury/check_hlds__purity.java Making Mercury/javas/jmercury/check_hlds__recompute_instmap_deltas.java Making Mercury/javas/jmercury/check_hlds__resolve_unify_functor.java Making Mercury/javas/jmercury/check_hlds__scout_disjunctions.java Making Mercury/javas/jmercury/check_hlds__simplify.java Making Mercury/javas/jmercury/check_hlds__stratify.java Making Mercury/javas/jmercury/check_hlds__style_checks.java Making Mercury/javas/jmercury/check_hlds__switch_candidates.java Making Mercury/javas/jmercury/check_hlds__switch_detection.java Making Mercury/javas/jmercury/check_hlds__try_expand.java Making Mercury/javas/jmercury/check_hlds__type_assign.java Making Mercury/javas/jmercury/check_hlds__type_constraints.java Making Mercury/javas/jmercury/check_hlds__typecheck.java Making Mercury/javas/jmercury/check_hlds__typecheck_clauses.java Making Mercury/javas/jmercury/check_hlds__typecheck_coerce.java Making Mercury/javas/jmercury/check_hlds__typecheck_cons_infos.java Making Mercury/javas/jmercury/check_hlds__typecheck_debug.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_arg_vector.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_builtin.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_diff.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_overload.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_type_assign.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_undef.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_unify.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_util.java Making Mercury/javas/jmercury/check_hlds__typecheck_error_wrong_type.java Making Mercury/javas/jmercury/check_hlds__typecheck_errors.java Making Mercury/javas/jmercury/check_hlds__typecheck_info.java Making Mercury/javas/jmercury/check_hlds__typecheck_msgs.java Making Mercury/javas/jmercury/check_hlds__typecheck_unify_var_functor.java Making Mercury/javas/jmercury/check_hlds__typecheck_util.java Making Mercury/javas/jmercury/check_hlds__typeclasses.java Making Mercury/javas/jmercury/check_hlds__types_into_modes.java Making Mercury/javas/jmercury/check_hlds__unify_proc.java Making Mercury/javas/jmercury/check_hlds__unique_modes.java Making Mercury/javas/jmercury/check_hlds__unused_imports.java Making Mercury/javas/jmercury/check_hlds__unused_types.java Making Mercury/javas/jmercury/check_hlds__xml_documentation.java Making Mercury/javas/jmercury/hlds__add_foreign_enum.java Making Mercury/javas/jmercury/hlds__add_special_pred.java Making Mercury/javas/jmercury/hlds__arg_info.java Making Mercury/javas/jmercury/hlds__assertion.java Making Mercury/javas/jmercury/hlds__code_model.java Making Mercury/javas/jmercury/hlds__const_struct.java Making Mercury/javas/jmercury/hlds__default_func_mode.java Making Mercury/javas/jmercury/hlds__du_type_layout.java Making Mercury/javas/jmercury/hlds__error_msg_inst.java Making Mercury/javas/jmercury/hlds__from_ground_term_util.java Making Mercury/javas/jmercury/hlds__goal_contains.java Making Mercury/javas/jmercury/hlds__goal_form.java Making Mercury/javas/jmercury/hlds__goal_mode.java Making Mercury/javas/jmercury/hlds__goal_path.java Making Mercury/javas/jmercury/hlds__goal_refs.java Making Mercury/javas/jmercury/hlds__goal_reorder.java Making Mercury/javas/jmercury/hlds__goal_transform.java Making Mercury/javas/jmercury/hlds__goal_util.java Making Mercury/javas/jmercury/hlds__goal_vars.java Making Mercury/javas/jmercury/hlds__headvar_names.java Making Mercury/javas/jmercury/hlds__hhf.java Making Mercury/javas/jmercury/hlds__hlds_args.java Making Mercury/javas/jmercury/hlds__hlds_call_tree.java Making Mercury/javas/jmercury/hlds__hlds_class.java Making Mercury/javas/jmercury/hlds__hlds_clauses.java Making Mercury/javas/jmercury/hlds__hlds_code_util.java Making Mercury/javas/jmercury/hlds__hlds_cons.java Making Mercury/javas/jmercury/hlds__hlds_data.java Making Mercury/javas/jmercury/hlds__hlds_defns.java Making Mercury/javas/jmercury/hlds__hlds_dependency_graph.java Making Mercury/javas/jmercury/hlds__hlds_desc.java Making Mercury/javas/jmercury/hlds__hlds_error_util.java Making Mercury/javas/jmercury/hlds__hlds_goal.java Making Mercury/javas/jmercury/hlds__hlds_inst_mode.java Making Mercury/javas/jmercury/hlds__hlds_llds.java Making Mercury/javas/jmercury/hlds__hlds_markers.java Making Mercury/javas/jmercury/hlds__hlds_module.java Making Mercury/javas/jmercury/hlds__hlds_out.java Making Mercury/javas/jmercury/hlds__hlds_pred.java Making Mercury/javas/jmercury/hlds__hlds_proc_util.java Making Mercury/javas/jmercury/hlds__hlds_promise.java Making Mercury/javas/jmercury/hlds__hlds_rtti.java Making Mercury/javas/jmercury/hlds__hlds_statistics.java Making Mercury/javas/jmercury/hlds__implementation_defined_literals.java Making Mercury/javas/jmercury/hlds__inst_graph.java Making Mercury/javas/jmercury/hlds__inst_lookup.java Making Mercury/javas/jmercury/hlds__inst_match.java Making Mercury/javas/jmercury/hlds__inst_merge.java Making Mercury/javas/jmercury/hlds__inst_mode_type_prop.java Making Mercury/javas/jmercury/hlds__inst_test.java Making Mercury/javas/jmercury/hlds__inst_util.java Making Mercury/javas/jmercury/hlds__instmap.java Making Mercury/javas/jmercury/hlds__introduced_call_table.java Making Mercury/javas/jmercury/hlds__make_goal.java Making Mercury/javas/jmercury/hlds__make_hlds.java Making Mercury/javas/jmercury/hlds__make_hlds_error.java Making Mercury/javas/jmercury/hlds__mark_static_terms.java Making Mercury/javas/jmercury/hlds__mark_tail_calls.java Making Mercury/javas/jmercury/hlds__mode_test.java Making Mercury/javas/jmercury/hlds__mode_top_functor.java Making Mercury/javas/jmercury/hlds__mode_util.java Making Mercury/javas/jmercury/hlds__passes_aux.java Making Mercury/javas/jmercury/hlds__pre_quantification.java Making Mercury/javas/jmercury/hlds__pred_name.java Making Mercury/javas/jmercury/hlds__pred_table.java Making Mercury/javas/jmercury/hlds__quantification.java Making Mercury/javas/jmercury/hlds__special_pred.java Making Mercury/javas/jmercury/hlds__status.java Making Mercury/javas/jmercury/hlds__type_util.java Making Mercury/javas/jmercury/hlds__var_origins.java Making Mercury/javas/jmercury/hlds__var_table_hlds.java Making Mercury/javas/jmercury/libs__check_libgrades.java Making Mercury/javas/jmercury/libs__check_options.java Making Mercury/javas/jmercury/libs__color_schemes.java Making Mercury/javas/jmercury/libs__compiler_util.java Making Mercury/javas/jmercury/libs__compute_grade.java Making Mercury/javas/jmercury/libs__copy_util.java Making Mercury/javas/jmercury/libs__dependency_graph.java Making Mercury/javas/jmercury/libs__file_util.java Making Mercury/javas/jmercury/libs__globals.java Making Mercury/javas/jmercury/libs__graph_colour.java Making Mercury/javas/jmercury/libs__handle_options.java Making Mercury/javas/jmercury/libs__indent.java Making Mercury/javas/jmercury/libs__lines_builder.java Making Mercury/javas/jmercury/libs__lp.java Making Mercury/javas/jmercury/libs__lp_rational.java Making Mercury/javas/jmercury/libs__maybe_util.java Making Mercury/javas/jmercury/libs__md5.java Making Mercury/javas/jmercury/libs__mmakefiles.java Making Mercury/javas/jmercury/libs__op_mode.java Making Mercury/javas/jmercury/libs__optdb_help.java Making Mercury/javas/jmercury/libs__optimization_options.java Making Mercury/javas/jmercury/libs__option_categories.java Making Mercury/javas/jmercury/libs__options.java Making Mercury/javas/jmercury/libs__pickle.java Making Mercury/javas/jmercury/libs__polyhedron.java Making Mercury/javas/jmercury/libs__print_help.java Making Mercury/javas/jmercury/libs__process_util.java Making Mercury/javas/jmercury/libs__rat.java Making Mercury/javas/jmercury/libs__shell_util.java Making Mercury/javas/jmercury/libs__system_cmds.java Making Mercury/javas/jmercury/libs__timestamp.java Making Mercury/javas/jmercury/libs__trace_params.java Making Mercury/javas/jmercury/libs__va_map.java Making Mercury/javas/jmercury/ll_backend__basic_block.java Making Mercury/javas/jmercury/ll_backend__call_gen.java Making Mercury/javas/jmercury/ll_backend__closure_gen.java Making Mercury/javas/jmercury/ll_backend__code_gen.java Making Mercury/javas/jmercury/ll_backend__code_info.java Making Mercury/javas/jmercury/ll_backend__code_loc_dep.java Making Mercury/javas/jmercury/ll_backend__code_util.java Making Mercury/javas/jmercury/ll_backend__commit_gen.java Making Mercury/javas/jmercury/ll_backend__continuation_info.java Making Mercury/javas/jmercury/ll_backend__coverage_profiling.java Making Mercury/javas/jmercury/ll_backend__deep_profiling.java Making Mercury/javas/jmercury/ll_backend__delay_slot.java Making Mercury/javas/jmercury/ll_backend__dense_switch.java Making Mercury/javas/jmercury/ll_backend__disj_gen.java Making Mercury/javas/jmercury/ll_backend__dupelim.java Making Mercury/javas/jmercury/ll_backend__dupproc.java Making Mercury/javas/jmercury/ll_backend__exprn_aux.java Making Mercury/javas/jmercury/ll_backend__fact_table_gen.java Making Mercury/javas/jmercury/ll_backend__follow_code.java Making Mercury/javas/jmercury/ll_backend__follow_vars.java Making Mercury/javas/jmercury/ll_backend__foreign_proc_gen.java Making Mercury/javas/jmercury/ll_backend__frameopt.java Making Mercury/javas/jmercury/ll_backend__global_data.java Making Mercury/javas/jmercury/ll_backend__ite_gen.java Making Mercury/javas/jmercury/ll_backend__jumpopt.java Making Mercury/javas/jmercury/ll_backend__labelopt.java Making Mercury/javas/jmercury/ll_backend__layout.java Making Mercury/javas/jmercury/ll_backend__layout_out.java Making Mercury/javas/jmercury/ll_backend__live_vars.java Making Mercury/javas/jmercury/ll_backend__livemap.java Making Mercury/javas/jmercury/ll_backend__liveness.java Making Mercury/javas/jmercury/ll_backend__ll_pseudo_type_info.java Making Mercury/javas/jmercury/ll_backend__llds.java Making Mercury/javas/jmercury/ll_backend__llds_out.java Making Mercury/javas/jmercury/ll_backend__lookup_switch.java Making Mercury/javas/jmercury/ll_backend__lookup_util.java Making Mercury/javas/jmercury/ll_backend__middle_rec.java Making Mercury/javas/jmercury/ll_backend__opt_debug.java Making Mercury/javas/jmercury/ll_backend__opt_util.java Making Mercury/javas/jmercury/ll_backend__optimize.java Making Mercury/javas/jmercury/ll_backend__par_conj_gen.java Making Mercury/javas/jmercury/ll_backend__peephole.java Making Mercury/javas/jmercury/ll_backend__proc_gen.java Making Mercury/javas/jmercury/ll_backend__prog_rep.java Making Mercury/javas/jmercury/ll_backend__prog_rep_tables.java Making Mercury/javas/jmercury/ll_backend__reassign.java Making Mercury/javas/jmercury/ll_backend__rtti_out.java Making Mercury/javas/jmercury/ll_backend__saved_vars.java Making Mercury/javas/jmercury/ll_backend__stack_alloc.java Making Mercury/javas/jmercury/ll_backend__stack_layout.java Making Mercury/javas/jmercury/ll_backend__stack_opt.java Making Mercury/javas/jmercury/ll_backend__stdlabel.java Making Mercury/javas/jmercury/ll_backend__store_alloc.java Making Mercury/javas/jmercury/ll_backend__string_switch.java Making Mercury/javas/jmercury/ll_backend__switch_case.java Making Mercury/javas/jmercury/ll_backend__switch_gen.java Making Mercury/javas/jmercury/ll_backend__tag_switch.java Making Mercury/javas/jmercury/ll_backend__trace_gen.java Making Mercury/javas/jmercury/ll_backend__transform_llds.java Making Mercury/javas/jmercury/ll_backend__unify_gen.java Making Mercury/javas/jmercury/ll_backend__unify_gen_construct.java Making Mercury/javas/jmercury/ll_backend__unify_gen_deconstruct.java Making Mercury/javas/jmercury/ll_backend__unify_gen_test.java Making Mercury/javas/jmercury/ll_backend__unify_gen_util.java Making Mercury/javas/jmercury/ll_backend__use_local_vars.java Making Mercury/javas/jmercury/ll_backend__var_locn.java Making Mercury/javas/jmercury/ll_backend__wrap_blocks.java Making Mercury/javas/jmercury/make__build.java Making Mercury/javas/jmercury/make__check_up_to_date.java Making Mercury/javas/jmercury/make__clean.java Making Mercury/javas/jmercury/make__file_names.java Making Mercury/javas/jmercury/make__find_local_modules.java Making Mercury/javas/jmercury/make__get_module_dep_info.java Making Mercury/javas/jmercury/make__hash.java Making Mercury/javas/jmercury/make__index_set.java Making Mercury/javas/jmercury/make__library_install.java Making Mercury/javas/jmercury/make__make_info.java Making Mercury/javas/jmercury/make__module_dep_file.java Making Mercury/javas/jmercury/make__module_target.java Making Mercury/javas/jmercury/make__options_file.java Making Mercury/javas/jmercury/make__prereqs.java Making Mercury/javas/jmercury/make__prereqs_cache.java Making Mercury/javas/jmercury/make__program_target.java Making Mercury/javas/jmercury/make__timestamp.java Making Mercury/javas/jmercury/make__top_level.java Making Mercury/javas/jmercury/make__track_flags.java Making Mercury/javas/jmercury/make__util.java Making Mercury/javas/jmercury/ml_backend__add_heap_ops.java Making Mercury/javas/jmercury/ml_backend__add_trail_ops.java Making Mercury/javas/jmercury/ml_backend__ml_accurate_gc.java Making Mercury/javas/jmercury/ml_backend__ml_args_util.java Making Mercury/javas/jmercury/ml_backend__ml_call_gen.java Making Mercury/javas/jmercury/ml_backend__ml_closure_gen.java Making Mercury/javas/jmercury/ml_backend__ml_code_gen.java Making Mercury/javas/jmercury/ml_backend__ml_code_util.java Making Mercury/javas/jmercury/ml_backend__ml_commit_gen.java Making Mercury/javas/jmercury/ml_backend__ml_disj_gen.java Making Mercury/javas/jmercury/ml_backend__ml_elim_nested.java Making Mercury/javas/jmercury/ml_backend__ml_foreign_proc_gen.java Making Mercury/javas/jmercury/ml_backend__ml_gen_info.java Making Mercury/javas/jmercury/ml_backend__ml_global_data.java Making Mercury/javas/jmercury/ml_backend__ml_lookup_switch.java Making Mercury/javas/jmercury/ml_backend__ml_optimize.java Making Mercury/javas/jmercury/ml_backend__ml_proc_gen.java Making Mercury/javas/jmercury/ml_backend__ml_rename_classes.java Making Mercury/javas/jmercury/ml_backend__ml_simplify_switch.java Making Mercury/javas/jmercury/ml_backend__ml_string_switch.java Making Mercury/javas/jmercury/ml_backend__ml_switch_gen.java Making Mercury/javas/jmercury/ml_backend__ml_tag_switch.java Making Mercury/javas/jmercury/ml_backend__ml_target_util.java Making Mercury/javas/jmercury/ml_backend__ml_top_gen.java Making Mercury/javas/jmercury/ml_backend__ml_type_gen.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_construct.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_deconstruct.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_test.java Making Mercury/javas/jmercury/ml_backend__ml_unify_gen_util.java Making Mercury/javas/jmercury/ml_backend__ml_unused_assign.java Making Mercury/javas/jmercury/ml_backend__ml_util.java Making Mercury/javas/jmercury/ml_backend__mlds.java Making Mercury/javas/jmercury/ml_backend__mlds_dump.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_c_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_cs_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_class.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_data.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_export.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_file.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_func.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_global.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_name.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_stmt.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_type.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_util.java Making Mercury/javas/jmercury/ml_backend__mlds_to_java_wrap.java Making Mercury/javas/jmercury/ml_backend__mlds_to_target_util.java Making Mercury/javas/jmercury/ml_backend__rtti_to_mlds.java Making Mercury/javas/jmercury/mode_robdd__equiv_vars.java Making Mercury/javas/jmercury/mode_robdd__implications.java Making Mercury/javas/jmercury/mode_robdd__tfeirn.java Making Mercury/javas/jmercury/parse_tree__build_eqv_maps.java Making Mercury/javas/jmercury/parse_tree__builtin_lib_types.java Making Mercury/javas/jmercury/parse_tree__canonicalize_interface.java Making Mercury/javas/jmercury/parse_tree__check_import_accessibility.java Making Mercury/javas/jmercury/parse_tree__check_module_interface.java Making Mercury/javas/jmercury/parse_tree__check_type_inst_mode_defns.java Making Mercury/javas/jmercury/parse_tree__comp_unit_interface.java Making Mercury/javas/jmercury/parse_tree__convert_import_use.java Making Mercury/javas/jmercury/parse_tree__convert_include.java Making Mercury/javas/jmercury/parse_tree__convert_parse_tree.java Making Mercury/javas/jmercury/parse_tree__d_file_deps.java Making Mercury/javas/jmercury/parse_tree__decide_type_repn.java Making Mercury/javas/jmercury/parse_tree__deps_map.java Making Mercury/javas/jmercury/parse_tree__equiv_type.java Making Mercury/javas/jmercury/parse_tree__equiv_type_parse_tree.java Making Mercury/javas/jmercury/parse_tree__error_sort.java Making Mercury/javas/jmercury/parse_tree__error_spec.java Making Mercury/javas/jmercury/parse_tree__error_type_util.java Making Mercury/javas/jmercury/parse_tree__error_util.java Making Mercury/javas/jmercury/parse_tree__file_kind.java Making Mercury/javas/jmercury/parse_tree__file_names.java Making Mercury/javas/jmercury/parse_tree__find_module.java Making Mercury/javas/jmercury/parse_tree__generate_mmakefile_fragments.java Making Mercury/javas/jmercury/parse_tree__get_dependencies.java Making Mercury/javas/jmercury/parse_tree__grab_modules.java Making Mercury/javas/jmercury/parse_tree__int_emu.java Making Mercury/javas/jmercury/parse_tree__item_util.java Making Mercury/javas/jmercury/parse_tree__java_names.java Making Mercury/javas/jmercury/parse_tree__make_module_file_names.java Making Mercury/javas/jmercury/parse_tree__maybe_error.java Making Mercury/javas/jmercury/parse_tree__module_baggage.java Making Mercury/javas/jmercury/parse_tree__module_cmds.java Making Mercury/javas/jmercury/parse_tree__module_dep_info.java Making Mercury/javas/jmercury/parse_tree__module_deps_graph.java Making Mercury/javas/jmercury/parse_tree__module_qual.java Making Mercury/javas/jmercury/parse_tree__opt_deps_spec.java Making Mercury/javas/jmercury/parse_tree__output_imports_graph.java Making Mercury/javas/jmercury/parse_tree__parse_class.java Making Mercury/javas/jmercury/parse_tree__parse_dcg_goal.java Making Mercury/javas/jmercury/parse_tree__parse_error.java Making Mercury/javas/jmercury/parse_tree__parse_goal.java Making Mercury/javas/jmercury/parse_tree__parse_goal_util.java Making Mercury/javas/jmercury/parse_tree__parse_inst_mode_defn.java Making Mercury/javas/jmercury/parse_tree__parse_inst_mode_name.java Making Mercury/javas/jmercury/parse_tree__parse_item.java Making Mercury/javas/jmercury/parse_tree__parse_module.java Making Mercury/javas/jmercury/parse_tree__parse_mutable.java Making Mercury/javas/jmercury/parse_tree__parse_pragma.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_analysis.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_foreign.java Making Mercury/javas/jmercury/parse_tree__parse_pragma_tabling.java Making Mercury/javas/jmercury/parse_tree__parse_sym_name.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_clause.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_cons_id.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_info.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_inst.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_item.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_misc.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_pragma.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_pred_decl.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_sym_name.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_term.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_type.java Making Mercury/javas/jmercury/parse_tree__parse_tree_out_type_repn.java Making Mercury/javas/jmercury/parse_tree__parse_tree_output.java Making Mercury/javas/jmercury/parse_tree__parse_tree_to_term.java Making Mercury/javas/jmercury/parse_tree__parse_type_defn.java Making Mercury/javas/jmercury/parse_tree__parse_type_name.java Making Mercury/javas/jmercury/parse_tree__parse_type_repn.java Making Mercury/javas/jmercury/parse_tree__parse_types.java Making Mercury/javas/jmercury/parse_tree__parse_util.java Making Mercury/javas/jmercury/parse_tree__parse_vars.java Making Mercury/javas/jmercury/parse_tree__prog_ctgc.java Making Mercury/javas/jmercury/parse_tree__prog_data.java Making Mercury/javas/jmercury/parse_tree__prog_data_event.java Making Mercury/javas/jmercury/parse_tree__prog_data_foreign.java Making Mercury/javas/jmercury/parse_tree__prog_data_pragma.java Making Mercury/javas/jmercury/parse_tree__prog_data_used_modules.java Making Mercury/javas/jmercury/parse_tree__prog_detism.java Making Mercury/javas/jmercury/parse_tree__prog_event.java Making Mercury/javas/jmercury/parse_tree__prog_foreign.java Making Mercury/javas/jmercury/parse_tree__prog_foreign_enum.java Making Mercury/javas/jmercury/parse_tree__prog_item.java Making Mercury/javas/jmercury/parse_tree__prog_item_stats.java Making Mercury/javas/jmercury/parse_tree__prog_mode.java Making Mercury/javas/jmercury/parse_tree__prog_mutable.java Making Mercury/javas/jmercury/parse_tree__prog_parse_tree.java Making Mercury/javas/jmercury/parse_tree__prog_rename.java Making Mercury/javas/jmercury/parse_tree__prog_type.java Making Mercury/javas/jmercury/parse_tree__prog_type_construct.java Making Mercury/javas/jmercury/parse_tree__prog_type_repn.java Making Mercury/javas/jmercury/parse_tree__prog_type_scan.java Making Mercury/javas/jmercury/parse_tree__prog_type_subst.java Making Mercury/javas/jmercury/parse_tree__prog_type_test.java Making Mercury/javas/jmercury/parse_tree__prog_type_unify.java Making Mercury/javas/jmercury/parse_tree__prog_util.java Making Mercury/javas/jmercury/parse_tree__read_modules.java Making Mercury/javas/jmercury/parse_tree__set_of_var.java Making Mercury/javas/jmercury/parse_tree__source_file_map.java Making Mercury/javas/jmercury/parse_tree__split_parse_tree_src.java Making Mercury/javas/jmercury/parse_tree__type_inst_mode_map.java Making Mercury/javas/jmercury/parse_tree__var_db.java Making Mercury/javas/jmercury/parse_tree__var_table.java Making Mercury/javas/jmercury/parse_tree__vartypes.java Making Mercury/javas/jmercury/parse_tree__warn_unread_modules.java Making Mercury/javas/jmercury/parse_tree__write_deps_file.java Making Mercury/javas/jmercury/parse_tree__write_error_spec.java Making Mercury/javas/jmercury/parse_tree__write_module_interface_files.java Making Mercury/javas/jmercury/recompilation__check.java Making Mercury/javas/jmercury/recompilation__item_types.java Making Mercury/javas/jmercury/recompilation__record_uses.java Making Mercury/javas/jmercury/recompilation__usage.java Making Mercury/javas/jmercury/recompilation__used_file.java Making Mercury/javas/jmercury/recompilation__version.java Making Mercury/javas/jmercury/top_level__mercury_compile_args.java Making Mercury/javas/jmercury/top_level__mercury_compile_augment.java Making Mercury/javas/jmercury/top_level__mercury_compile_front_end.java Making Mercury/javas/jmercury/top_level__mercury_compile_llds_back_end.java Making Mercury/javas/jmercury/top_level__mercury_compile_main.java Making Mercury/javas/jmercury/top_level__mercury_compile_make_hlds.java Making Mercury/javas/jmercury/top_level__mercury_compile_middle_passes.java Making Mercury/javas/jmercury/top_level__mercury_compile_mlds_back_end.java Making Mercury/javas/jmercury/transform_hlds__accumulator.java Making Mercury/javas/jmercury/transform_hlds__closure_analysis.java Making Mercury/javas/jmercury/transform_hlds__complexity.java Making Mercury/javas/jmercury/transform_hlds__const_prop.java Making Mercury/javas/jmercury/transform_hlds__constraint.java Making Mercury/javas/jmercury/transform_hlds__ctgc.java Making Mercury/javas/jmercury/transform_hlds__dead_proc_elim.java Making Mercury/javas/jmercury/transform_hlds__deforest.java Making Mercury/javas/jmercury/transform_hlds__delay_construct.java Making Mercury/javas/jmercury/transform_hlds__dep_par_conj.java Making Mercury/javas/jmercury/transform_hlds__direct_arg_in_out.java Making Mercury/javas/jmercury/transform_hlds__distance_granularity.java Making Mercury/javas/jmercury/transform_hlds__equiv_type_hlds.java Making Mercury/javas/jmercury/transform_hlds__exception_analysis.java Making Mercury/javas/jmercury/transform_hlds__float_regs.java Making Mercury/javas/jmercury/transform_hlds__goal_store.java Making Mercury/javas/jmercury/transform_hlds__granularity.java Making Mercury/javas/jmercury/transform_hlds__higher_order.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism.java Making Mercury/javas/jmercury/transform_hlds__inlining.java Making Mercury/javas/jmercury/transform_hlds__intermod.java Making Mercury/javas/jmercury/transform_hlds__intermod_analysis.java Making Mercury/javas/jmercury/transform_hlds__intermod_decide.java Making Mercury/javas/jmercury/transform_hlds__intermod_info.java Making Mercury/javas/jmercury/transform_hlds__intermod_mark_exported.java Making Mercury/javas/jmercury/transform_hlds__intermod_order_pred_info.java Making Mercury/javas/jmercury/transform_hlds__intermod_status.java Making Mercury/javas/jmercury/transform_hlds__lambda.java Making Mercury/javas/jmercury/transform_hlds__lco.java Making Mercury/javas/jmercury/transform_hlds__loop_inv.java Making Mercury/javas/jmercury/transform_hlds__mmc_analysis.java Making Mercury/javas/jmercury/transform_hlds__par_loop_control.java Making Mercury/javas/jmercury/transform_hlds__parallel_to_plain_conj.java Making Mercury/javas/jmercury/transform_hlds__pd_cost.java Making Mercury/javas/jmercury/transform_hlds__pd_debug.java Making Mercury/javas/jmercury/transform_hlds__pd_info.java Making Mercury/javas/jmercury/transform_hlds__pd_term.java Making Mercury/javas/jmercury/transform_hlds__pd_util.java Making Mercury/javas/jmercury/transform_hlds__post_term_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm.java Making Mercury/javas/jmercury/transform_hlds__size_prof.java Making Mercury/javas/jmercury/transform_hlds__smm_common.java Making Mercury/javas/jmercury/transform_hlds__ssdebug.java Making Mercury/javas/jmercury/transform_hlds__stm_expand.java Making Mercury/javas/jmercury/transform_hlds__table_gen.java Making Mercury/javas/jmercury/transform_hlds__tabling_analysis.java Making Mercury/javas/jmercury/transform_hlds__term_constr_build.java Making Mercury/javas/jmercury/transform_hlds__term_constr_data.java Making Mercury/javas/jmercury/transform_hlds__term_constr_errors.java Making Mercury/javas/jmercury/transform_hlds__term_constr_fixpoint.java Making Mercury/javas/jmercury/transform_hlds__term_constr_initial.java Making Mercury/javas/jmercury/transform_hlds__term_constr_main.java Making Mercury/javas/jmercury/transform_hlds__term_constr_main_types.java Making Mercury/javas/jmercury/transform_hlds__term_constr_pass2.java Making Mercury/javas/jmercury/transform_hlds__term_constr_util.java Making Mercury/javas/jmercury/transform_hlds__term_errors.java Making Mercury/javas/jmercury/transform_hlds__term_norm.java Making Mercury/javas/jmercury/transform_hlds__term_pass1.java Making Mercury/javas/jmercury/transform_hlds__term_pass2.java Making Mercury/javas/jmercury/transform_hlds__term_traversal.java Making Mercury/javas/jmercury/transform_hlds__term_util.java Making Mercury/javas/jmercury/transform_hlds__termination.java Making Mercury/javas/jmercury/transform_hlds__trailing_analysis.java Making Mercury/javas/jmercury/transform_hlds__tupling.java Making Mercury/javas/jmercury/transform_hlds__unneeded_code.java Making Mercury/javas/jmercury/transform_hlds__untupling.java Making Mercury/javas/jmercury/transform_hlds__unused_args.java Making Mercury/javas/jmercury/transform_hlds__unused_args_analysis.java Making Mercury/javas/jmercury/transform_hlds__unused_args_base_ops.java Making Mercury/javas/jmercury/transform_hlds__unused_args_optimize.java Making Mercury/javas/jmercury/transform_hlds__unused_args_warn_pragma.java Making Mercury/javas/jmercury/check_hlds__simplify__common.java Making Mercury/javas/jmercury/check_hlds__simplify__mark_trace_goals.java Making Mercury/javas/jmercury/check_hlds__simplify__opt_format_call.java Making Mercury/javas/jmercury/check_hlds__simplify__opt_format_call_errors.java Making Mercury/javas/jmercury/check_hlds__simplify__parse_string_format.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_call.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_conj.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_disj.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_ite.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_scope.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_switch.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_goal_unify.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_info.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_proc.java Making Mercury/javas/jmercury/check_hlds__simplify__simplify_tasks.java Making Mercury/javas/jmercury/check_hlds__simplify__split_switch_arms.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_goal.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_inst_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_mode.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_module.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_pred.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_type_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_typeclass_table.java Making Mercury/javas/jmercury/hlds__hlds_out__hlds_out_util.java Making Mercury/javas/jmercury/hlds__make_hlds__add_class.java Making Mercury/javas/jmercury/hlds__make_hlds__add_clause.java Making Mercury/javas/jmercury/hlds__make_hlds__add_foreign_proc.java Making Mercury/javas/jmercury/hlds__make_hlds__add_mode.java Making Mercury/javas/jmercury/hlds__make_hlds__add_mutable_aux_preds.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_decl.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_gen.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_impl.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_tabling.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_type_spec.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_type_spec_constr.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pragma_util.java Making Mercury/javas/jmercury/hlds__make_hlds__add_pred.java Making Mercury/javas/jmercury/hlds__make_hlds__add_solver.java Making Mercury/javas/jmercury/hlds__make_hlds__add_type.java Making Mercury/javas/jmercury/hlds__make_hlds__check_field_access_functions.java Making Mercury/javas/jmercury/hlds__make_hlds__field_access.java Making Mercury/javas/jmercury/hlds__make_hlds__goal_expr_to_goal.java Making Mercury/javas/jmercury/hlds__make_hlds__instance_method_clauses.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_passes.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_separate_items.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_types.java Making Mercury/javas/jmercury/hlds__make_hlds__make_hlds_warn.java Making Mercury/javas/jmercury/hlds__make_hlds__qual_info.java Making Mercury/javas/jmercury/hlds__make_hlds__state_var.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous_lambda.java Making Mercury/javas/jmercury/hlds__make_hlds__superhomogeneous_util.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_code_addr.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_data.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_file.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_global.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_instr.java Making Mercury/javas/jmercury/ll_backend__llds_out__llds_out_util.java Making Mercury/javas/jmercury/parse_tree__module_qual__collect_mq_info.java Making Mercury/javas/jmercury/parse_tree__module_qual__id_set.java Making Mercury/javas/jmercury/parse_tree__module_qual__mq_info.java Making Mercury/javas/jmercury/parse_tree__module_qual__qual_errors.java Making Mercury/javas/jmercury/parse_tree__module_qual__qualify_items.java Making Mercury/javas/jmercury/transform_hlds__ctgc__datastruct.java Making Mercury/javas/jmercury/transform_hlds__ctgc__fixpoint_table.java Making Mercury/javas/jmercury/transform_hlds__ctgc__livedata.java Making Mercury/javas/jmercury/transform_hlds__ctgc__selector.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing.java Making Mercury/javas/jmercury/transform_hlds__ctgc__util.java Making Mercury/javas/jmercury/transform_hlds__higher_order__higher_order_global_info.java Making Mercury/javas/jmercury/transform_hlds__higher_order__higher_order_info.java Making Mercury/javas/jmercury/transform_hlds__higher_order__make_specialized_preds.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_calls.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_in_module.java Making Mercury/javas/jmercury/transform_hlds__higher_order__specialize_unify_compare.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism__introduce_parallelism.java Making Mercury/javas/jmercury/transform_hlds__implicit_parallelism__push_goals_together.java Making Mercury/javas/jmercury/transform_hlds__rbmm__add_rbmm_goal_infos.java Making Mercury/javas/jmercury/transform_hlds__rbmm__condition_renaming.java Making Mercury/javas/jmercury/transform_hlds__rbmm__execution_path.java Making Mercury/javas/jmercury/transform_hlds__rbmm__interproc_region_lifetime.java Making Mercury/javas/jmercury/transform_hlds__rbmm__live_region_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__live_variable_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_graph.java Making Mercury/javas/jmercury/transform_hlds__rbmm__points_to_info.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_analysis.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_arguments.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_instruction.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_liveness_info.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_resurrection_renaming.java Making Mercury/javas/jmercury/transform_hlds__rbmm__region_transformation.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__analysis.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__dead_cell_table.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct_choose_reuse.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__direct_detect_garbage.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__domain.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__indirect.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__lbu.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__lfu.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_reuse__versions.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing__analysis.java Making Mercury/javas/jmercury/transform_hlds__ctgc__structure_sharing__domain.java building of stage 3 compiler successful /tmp/mmake.ryO5jQ:1330: warning: overriding recipe for target 'realclean_local' /tmp/mmake.ryO5jQ:974: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - choose_grade.all_javas Making Mercury/int3s/choose_grade.int3 Making Mercury/int3s/grade_lib.int3 Making Mercury/int3s/grade_lib.grade_setup.int3 Making Mercury/int3s/var_value_names.int3 Making Mercury/int3s/grade_lib.grade_spec.int3 Making Mercury/int3s/grade_lib.grade_state.int3 Making Mercury/int3s/grade_lib.grade_solver.int3 Making Mercury/int3s/grade_lib.grade_string.int3 Making Mercury/int3s/grade_lib.grade_structure.int3 Making Mercury/int3s/grade_lib.grade_vars.int3 Making Mercury/int0s/grade_lib.int0 Making Mercury/ints/grade_lib.grade_vars.int Making Mercury/ints/grade_lib.grade_structure.int Making Mercury/ints/grade_lib.grade_string.int Making Mercury/ints/grade_lib.grade_state.int Making Mercury/ints/grade_lib.grade_spec.int Making Mercury/ints/grade_lib.grade_solver.int Making Mercury/ints/grade_lib.grade_setup.int Making Mercury/ints/var_value_names.int Making Mercury/ints/grade_lib.int Making Mercury/ints/choose_grade.int Making Mercury/javas/jmercury/choose_grade.java Making Mercury/javas/jmercury/grade_lib.java Making Mercury/javas/jmercury/var_value_names.java Making Mercury/javas/jmercury/grade_lib__grade_setup.java Making Mercury/javas/jmercury/grade_lib__grade_solver.java Making Mercury/javas/jmercury/grade_lib__grade_spec.java Making Mercury/javas/jmercury/grade_lib__grade_state.java Making Mercury/javas/jmercury/grade_lib__grade_string.java Making Mercury/javas/jmercury/grade_lib__grade_structure.java Making Mercury/javas/jmercury/grade_lib__grade_vars.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - test_grades.all_javas Making Mercury/int3s/test_grades.int3 Making Mercury/ints/test_grades.int Making Mercury/javas/jmercury/test_grades.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 -j2 --flags GRADE_LIB_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - try_all_grade_structs.all_javas Making Mercury/int3s/try_all_grade_structs.int3 Making Mercury/ints/try_all_grade_structs.int Making Mercury/javas/jmercury/try_all_grade_structs.java building of stage 3 grade_lib successful /tmp/mmake.kUxQbs:1505: warning: overriding recipe for target 'realclean_local' /tmp/mmake.kUxQbs:1109: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mslice.all_javas Making Mercury/int3s/mslice.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.feedback.feedback_info.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/mslice.int Making Mercury/ints/mdbcomp.int Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mslice.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdice.all_javas Making Mercury/int3s/mdice.int3 Making Mercury/ints/mdice.int Making Mercury/javas/jmercury/mdice.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mcov.all_javas Making Mercury/int3s/mcov.int3 Making Mercury/ints/mcov.int Making Mercury/javas/jmercury/mcov.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_union.all_javas Making Mercury/int3s/mtc_union.int3 Making Mercury/ints/mtc_union.int Making Mercury/javas/jmercury/mtc_union.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags SLICE_FLAGS --allow-stubs --no-warn-stubs --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mtc_diff.all_javas Making Mercury/int3s/mtc_diff.int3 Making Mercury/ints/mtc_diff.int Making Mercury/javas/jmercury/mtc_diff.java building of stage 3 slice successful /tmp/mmake.eLM5Qp:1323: warning: overriding recipe for target 'realclean_local' /tmp/mmake.eLM5Qp:945: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags PROF_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mercury_profile.all_javas Making Mercury/int3s/mercury_profile.int3 Making Mercury/int3s/call_graph.int3 Making Mercury/int3s/globals.int3 Making Mercury/int3s/options.int3 Making Mercury/int3s/read.int3 Making Mercury/int3s/demangle.int3 Making Mercury/int3s/generate_output.int3 Making Mercury/int3s/output_prof_info.int3 Making Mercury/int3s/prof_info.int3 Making Mercury/int3s/output.int3 Making Mercury/int3s/process_file.int3 Making Mercury/int3s/propagate.int3 Making Mercury/int3s/snapshots.int3 Making Mercury/ints/snapshots.int Making Mercury/ints/read.int Making Mercury/ints/propagate.int Making Mercury/ints/prof_info.int Making Mercury/ints/process_file.int Making Mercury/ints/output_prof_info.int Making Mercury/ints/output.int Making Mercury/ints/options.int Making Mercury/ints/mercury_profile.int Making Mercury/ints/globals.int Making Mercury/ints/generate_output.int Making Mercury/ints/demangle.int Making Mercury/ints/call_graph.int Making Mercury/javas/jmercury/call_graph.java Making Mercury/javas/jmercury/demangle.java Making Mercury/javas/jmercury/generate_output.java Making Mercury/javas/jmercury/globals.java Making Mercury/javas/jmercury/mercury_profile.java Making Mercury/javas/jmercury/options.java Making Mercury/javas/jmercury/output.java Making Mercury/javas/jmercury/output_prof_info.java Making Mercury/javas/jmercury/process_file.java Making Mercury/javas/jmercury/prof_info.java Making Mercury/javas/jmercury/propagate.java Making Mercury/javas/jmercury/read.java Making Mercury/javas/jmercury/snapshots.java building of stage 3 profiler successful /tmp/mmake.kjHJGJ:1569: warning: overriding recipe for target 'realclean_local' /tmp/mmake.kjHJGJ:1130: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_cgi.all_javas Making Mercury/int3s/mdprof_cgi.int3 Making Mercury/int3s/conf.int3 Making Mercury/int3s/interface.int3 Making Mercury/int3s/profile.int3 Making Mercury/int3s/array_util.int3 Making Mercury/int3s/exclude.int3 Making Mercury/int3s/mdbcomp.int3 Making Mercury/int3s/mdbcomp.goal_path.int3 Making Mercury/int3s/mdbcomp.prim_data.int3 Making Mercury/int3s/mdbcomp.sym_name.int3 Making Mercury/int3s/mdbcomp.program_representation.int3 Making Mercury/int3s/mdbcomp.builtin_modules.int3 Making Mercury/int3s/mdbcomp.rtti_access.int3 Making Mercury/int3s/mdbcomp.trace_counts.int3 Making Mercury/int3s/mdbcomp.feedback.int3 Making Mercury/int3s/mdbcomp.feedback.automatic_parallelism.int3 Making Mercury/int3s/mdbcomp.feedback.feedback_info.int3 Making Mercury/int3s/mdbcomp.read_trace_counts.int3 Making Mercury/int3s/mdbcomp.shared_utilities.int3 Making Mercury/int3s/mdbcomp.slice_and_dice.int3 Making Mercury/int3s/mdbcomp.write_trace_counts.int3 Making Mercury/int3s/measurements.int3 Making Mercury/int3s/measurement_units.int3 Making Mercury/int3s/query.int3 Making Mercury/int3s/create_report.int3 Making Mercury/int3s/report.int3 Making Mercury/int3s/coverage.int3 Making Mercury/int3s/analysis_utils.int3 Making Mercury/int3s/program_representation_utils.int3 Making Mercury/int3s/message.int3 Making Mercury/int3s/var_use_analysis.int3 Making Mercury/int3s/recursion_patterns.int3 Making Mercury/int3s/apply_exclusion.int3 Making Mercury/int3s/top_procs.int3 Making Mercury/int3s/display_report.int3 Making Mercury/int3s/display.int3 Making Mercury/int3s/html_format.int3 Making Mercury/int3s/util.int3 Making Mercury/int3s/startup.int3 Making Mercury/int3s/callgraph.int3 Making Mercury/int3s/cliques.int3 Making Mercury/int3s/dense_bitset.int3 Making Mercury/int3s/canonical.int3 Making Mercury/int3s/dump.int3 Making Mercury/int3s/read_profile.int3 Making Mercury/int3s/io_combinator.int3 Making Mercury/int3s/timeout.int3 Making Mercury/int0s/mdbcomp.int0 Making Mercury/int0s/mdbcomp.feedback.int0 Making Mercury/ints/mdbcomp.feedback.feedback_info.int Making Mercury/ints/mdbcomp.feedback.automatic_parallelism.int Making Mercury/ints/mdbcomp.write_trace_counts.int Making Mercury/ints/mdbcomp.trace_counts.int Making Mercury/ints/mdbcomp.sym_name.int Making Mercury/ints/mdbcomp.slice_and_dice.int Making Mercury/ints/mdbcomp.shared_utilities.int Making Mercury/ints/mdbcomp.rtti_access.int Making Mercury/ints/mdbcomp.read_trace_counts.int Making Mercury/ints/mdbcomp.program_representation.int Making Mercury/ints/mdbcomp.prim_data.int Making Mercury/ints/mdbcomp.goal_path.int Making Mercury/ints/mdbcomp.feedback.int Making Mercury/ints/mdbcomp.builtin_modules.int Making Mercury/ints/var_use_analysis.int Making Mercury/ints/util.int Making Mercury/ints/top_procs.int Making Mercury/ints/timeout.int Making Mercury/ints/startup.int Making Mercury/ints/report.int Making Mercury/ints/recursion_patterns.int Making Mercury/ints/read_profile.int Making Mercury/ints/query.int Making Mercury/ints/program_representation_utils.int Making Mercury/ints/profile.int Making Mercury/ints/message.int Making Mercury/ints/measurements.int Making Mercury/ints/measurement_units.int Making Mercury/ints/mdprof_cgi.int Making Mercury/ints/mdbcomp.int Making Mercury/ints/io_combinator.int Making Mercury/ints/interface.int Making Mercury/ints/html_format.int Making Mercury/ints/exclude.int Making Mercury/ints/dump.int Making Mercury/ints/display_report.int Making Mercury/ints/display.int Making Mercury/ints/dense_bitset.int Making Mercury/ints/create_report.int Making Mercury/ints/coverage.int Making Mercury/ints/conf.int Making Mercury/ints/cliques.int Making Mercury/ints/canonical.int Making Mercury/ints/callgraph.int Making Mercury/ints/array_util.int Making Mercury/ints/apply_exclusion.int Making Mercury/ints/analysis_utils.int Making Mercury/javas/jmercury/analysis_utils.java Making Mercury/javas/jmercury/apply_exclusion.java Making Mercury/javas/jmercury/array_util.java Making Mercury/javas/jmercury/callgraph.java Making Mercury/javas/jmercury/canonical.java Making Mercury/javas/jmercury/cliques.java Making Mercury/javas/jmercury/conf.java Making Mercury/javas/jmercury/coverage.java Making Mercury/javas/jmercury/create_report.java Making Mercury/javas/jmercury/dense_bitset.java Making Mercury/javas/jmercury/display.java Making Mercury/javas/jmercury/display_report.java Making Mercury/javas/jmercury/dump.java Making Mercury/javas/jmercury/exclude.java Making Mercury/javas/jmercury/html_format.java Making Mercury/javas/jmercury/mr_interface.java Making Mercury/javas/jmercury/io_combinator.java Making Mercury/javas/jmercury/mdbcomp.java Making Mercury/javas/jmercury/mdprof_cgi.java Making Mercury/javas/jmercury/measurement_units.java Making Mercury/javas/jmercury/measurements.java Making Mercury/javas/jmercury/message.java Making Mercury/javas/jmercury/profile.java Making Mercury/javas/jmercury/program_representation_utils.java Making Mercury/javas/jmercury/query.java Making Mercury/javas/jmercury/read_profile.java Making Mercury/javas/jmercury/recursion_patterns.java Making Mercury/javas/jmercury/report.java Making Mercury/javas/jmercury/startup.java Making Mercury/javas/jmercury/timeout.java Making Mercury/javas/jmercury/top_procs.java Making Mercury/javas/jmercury/util.java Making Mercury/javas/jmercury/var_use_analysis.java Making Mercury/javas/jmercury/mdbcomp__builtin_modules.java Making Mercury/javas/jmercury/mdbcomp__feedback.java Making Mercury/javas/jmercury/mdbcomp__goal_path.java Making Mercury/javas/jmercury/mdbcomp__prim_data.java Making Mercury/javas/jmercury/mdbcomp__program_representation.java Making Mercury/javas/jmercury/mdbcomp__read_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__rtti_access.java Making Mercury/javas/jmercury/mdbcomp__shared_utilities.java Making Mercury/javas/jmercury/mdbcomp__slice_and_dice.java Making Mercury/javas/jmercury/mdbcomp__sym_name.java Making Mercury/javas/jmercury/mdbcomp__trace_counts.java Making Mercury/javas/jmercury/mdbcomp__write_trace_counts.java Making Mercury/javas/jmercury/mdbcomp__feedback__automatic_parallelism.java Making Mercury/javas/jmercury/mdbcomp__feedback__feedback_info.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_test.all_javas Making Mercury/int3s/mdprof_test.int3 Making Mercury/ints/mdprof_test.int Making Mercury/javas/jmercury/mdprof_test.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_dump.all_javas Making Mercury/int3s/mdprof_dump.int3 Making Mercury/ints/mdprof_dump.int Making Mercury/javas/jmercury/mdprof_dump.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_create_feedback.all_javas Making Mercury/int3s/mdprof_create_feedback.int3 Making Mercury/int3s/mdprof_fb.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_reports.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_search_callgraph.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_annotate.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_types.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_costs.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_search_goals.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_find_best_par.int3 Making Mercury/int3s/mdprof_fb.automatic_parallelism.autopar_calc_overlap.int3 Making Mercury/int0s/mdprof_fb.int0 Making Mercury/int0s/mdprof_fb.automatic_parallelism.int0 Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_types.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_search_goals.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_search_callgraph.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_reports.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_find_best_par.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_costs.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_calc_overlap.int Making Mercury/ints/mdprof_fb.automatic_parallelism.autopar_annotate.int Making Mercury/ints/mdprof_fb.automatic_parallelism.int Making Mercury/ints/mdprof_fb.int Making Mercury/ints/mdprof_create_feedback.int Making Mercury/javas/jmercury/mdprof_create_feedback.java Making Mercury/javas/jmercury/mdprof_fb.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_annotate.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_calc_overlap.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_costs.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_find_best_par.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_reports.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_search_callgraph.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_search_goals.java Making Mercury/javas/jmercury/mdprof_fb__automatic_parallelism__autopar_types.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_report_feedback.all_javas Making Mercury/int3s/mdprof_report_feedback.int3 Making Mercury/ints/mdprof_report_feedback.int Making Mercury/javas/jmercury/mdprof_report_feedback.java { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags DEEP_FLAGS --allow-stubs --no-warn-stubs --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mdprof_procrep.all_javas Making Mercury/int3s/mdprof_procrep.int3 Making Mercury/ints/mdprof_procrep.int Making Mercury/javas/jmercury/mdprof_procrep.java building of stage 3 deep profiler successful /tmp/mmake.9OIVFb:1340: warning: overriding recipe for target 'realclean_local' /tmp/mmake.9OIVFb:960: warning: ignoring old recipe for target 'realclean_local' { echo MCFLAGS += '--grade java --options-file ../Mercury.options --mercury-linkage static -j2 --flags MFILTERJAVAC_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '../library/mer_std.init ../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'; } | mmc --make --options-file - mfilterjavac.all_javas Making Mercury/int3s/mfilterjavac.int3 Making Mercury/ints/mfilterjavac.int Making Mercury/javas/jmercury/mfilterjavac.java building of stage 3 mfilterjavac successful stage 2 and stage 3 compare ok removing stage 3... finishing stage 3 at Tue Mar 3 09:31:22 AM AEDT 2026 starting the test suite at Tue Mar 3 09:31:22 AM AEDT 2026 making test_mdbrc MERCURY_COLOR_SCHEME=specified@subject=87:correct=40:incorrect=203:inconsistent=171:hint=226 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' STARTING tests in accumulator in grade java at Tue Mar 3 09:31:22 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST accumulator/base in grade java RUNNING TEST accumulator/call_in_base in grade java FAILED TEST accumulator/base in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base Making Mercury/int3s/base.int3 Making Mercury/ints/base.int Making Mercury/opts/base.opt Making Mercury/javas/jmercury/base.java Making Java class files Mercury/javas/jmercury/base.java:33: 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/base.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/base.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/base.java:91: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/base.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "base"; ^ Mercury/javas/jmercury/base.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/base.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/base.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class base Mercury/javas/jmercury/base.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class base Mercury/javas/jmercury/base.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/base.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/base.java:33: 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/base.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/base.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/base.java:40: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/base.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/base.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/base.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/base.java:53: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/base.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class base Mercury/javas/jmercury/base.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/base.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/base.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/base.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base.java:64: error: package list does not exist (list.List_1) base.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/base.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base.java:69: error: package list does not exist (list.List_1) base.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/base.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base.java:74: error: package list does not exist (list.List_1) base.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/base.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/base.java:103: error: package list.List_1 does not exist int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/base.java:103: error: illegal start of type int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/base.java:104: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/base.java:104: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/base.java:108: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = T_6; ^ Mercury/javas/jmercury/base.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/base.java:128: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/base.java:129: error: package io does not exist io.Text_output_stream_0 Var_18 = null; ^ Mercury/javas/jmercury/base.java:130: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_20 = null; ^ Mercury/javas/jmercury/base.java:132: error: package list does not exist list.List_1 T_23 = null; ^ Mercury/javas/jmercury/base.java:134: error: package io does not exist io.Text_output_stream_0 Var_30 = null; ^ Mercury/javas/jmercury/base.java:135: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_32 = null; ^ Mercury/javas/jmercury/base.java:136: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_34 = null; ^ Mercury/javas/jmercury/base.java:137: error: package univ does not exist univ.Univ_0 Var_36 = null; ^ Mercury/javas/jmercury/base.java:138: error: package ops does not exist ops.Priority_0 Var_37 = null; ^ Mercury/javas/jmercury/base.java:142: error: cannot find symbol Var_20 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class base Mercury/javas/jmercury/base.java:145: error: package io does not exist Var_18 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/base.java:150: error: cannot find symbol io.write_string_4_p_0(Var_18, Var_7); ^ symbol: variable io location: class base Mercury/javas/jmercury/base.java:152: error: package list does not exist Var_9 = (list.List_1) base.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/base.java:153: error: package list.List_1 does not exist H_22 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/base.java:153: error: illegal start of type H_22 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/base.java:154: error: package list.List_1 does not exist T_23 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/base.java:159: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class base Mercury/javas/jmercury/base.java:159: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/base.java:161: error: cannot find symbol Var_32 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class base Mercury/javas/jmercury/base.java:164: error: package io does not exist Var_30 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/base.java:168: error: package deconstruct does not exist Var_34 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/base.java:171: error: cannot find symbol Var_36 = univ.type_to_univ_2_p_1(TypeCtorInfo_17_17, java.lang.Integer.valueOf(Length_4)); ^ symbol: variable univ location: class base Mercury/javas/jmercury/base.java:173: error: package ops does not exist Var_37 = (ops.Priority_0) base.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/base.java:175: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_35, Var_30, Var_34, Var_36, Var_37); ^ symbol: variable stream__string_writer location: class base Mercury/javas/jmercury/base.java:179: error: cannot find symbol io.write_char_4_p_0(Var_30, Var_39); ^ symbol: variable io location: class base 74 errors gmake[3]: *** [/tmp/mmake.oKE6X4:1216: base] Error 1 gmake[3]: Target 'base.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: base.log] Error 1 RUNNING TEST accumulator/chain in grade java FAILED TEST accumulator/call_in_base in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - call_in_base.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - call_in_base Making Mercury/int3s/call_in_base.int3 Making Mercury/ints/call_in_base.int Making Mercury/opts/call_in_base.opt Making Mercury/javas/jmercury/call_in_base.java Making Java class files Mercury/javas/jmercury/call_in_base.java:33: 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/call_in_base.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/call_in_base.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/call_in_base.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/call_in_base.java:92: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/call_in_base.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "call_in_base"; ^ Mercury/javas/jmercury/call_in_base.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/call_in_base.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/call_in_base.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class call_in_base Mercury/javas/jmercury/call_in_base.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class call_in_base Mercury/javas/jmercury/call_in_base.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/call_in_base.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/call_in_base.java:33: 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/call_in_base.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/call_in_base.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/call_in_base.java:40: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/call_in_base.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/call_in_base.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/call_in_base.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/call_in_base.java:53: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/call_in_base.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class call_in_base Mercury/javas/jmercury/call_in_base.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/call_in_base.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/call_in_base.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/call_in_base.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/call_in_base.java:64: error: package list does not exist (list.List_1) call_in_base.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/call_in_base.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/call_in_base.java:69: error: package list does not exist (list.List_1) call_in_base.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/call_in_base.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/call_in_base.java:74: error: package list does not exist (list.List_1) call_in_base.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/call_in_base.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/call_in_base.java:110: error: package list does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/call_in_base.java:110: error: package list.List_1 does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/call_in_base.java:114: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = T_5; ^ Mercury/javas/jmercury/call_in_base.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/call_in_base.java:140: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/call_in_base.java:141: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/call_in_base.java:142: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/call_in_base.java:143: error: package list does not exist list.List_1 T_22 = null; ^ Mercury/javas/jmercury/call_in_base.java:145: error: package io does not exist io.Text_output_stream_0 Var_28 = null; ^ Mercury/javas/jmercury/call_in_base.java:146: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_30 = null; ^ Mercury/javas/jmercury/call_in_base.java:147: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_32 = null; ^ Mercury/javas/jmercury/call_in_base.java:148: error: package univ does not exist univ.Univ_0 Var_34 = null; ^ Mercury/javas/jmercury/call_in_base.java:149: error: package ops does not exist ops.Priority_0 Var_35 = null; ^ Mercury/javas/jmercury/call_in_base.java:153: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class call_in_base Mercury/javas/jmercury/call_in_base.java:156: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/call_in_base.java:161: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class call_in_base Mercury/javas/jmercury/call_in_base.java:163: error: package list does not exist Var_9 = (list.List_1) call_in_base.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/call_in_base.java:164: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class call_in_base Mercury/javas/jmercury/call_in_base.java:164: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/call_in_base.java:165: error: package list.List_1 does not exist T_22 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/call_in_base.java:171: error: cannot find symbol Var_30 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class call_in_base Mercury/javas/jmercury/call_in_base.java:174: error: package io does not exist Var_28 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/call_in_base.java:178: error: package deconstruct does not exist Var_32 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/call_in_base.java:181: error: cannot find symbol Var_34 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, java.lang.Integer.valueOf(Length_4)); ^ symbol: variable univ location: class call_in_base Mercury/javas/jmercury/call_in_base.java:183: error: package ops does not exist Var_35 = (ops.Priority_0) call_in_base.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/call_in_base.java:185: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_33, Var_28, Var_32, Var_34, Var_35); ^ symbol: variable stream__string_writer location: class call_in_base Mercury/javas/jmercury/call_in_base.java:189: error: cannot find symbol io.write_char_4_p_0(Var_28, Var_37); ^ symbol: variable io location: class call_in_base 71 errors gmake[3]: *** [/tmp/mmake.S817kw:1216: call_in_base] Error 1 gmake[3]: Target 'call_in_base.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: call_in_base.log] Error 1 RUNNING TEST accumulator/commutative in grade java FAILED TEST accumulator/commutative in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commutative.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commutative Making Mercury/int3s/commutative.int3 Making Mercury/ints/commutative.int Making Mercury/opts/commutative.opt Making Mercury/javas/jmercury/commutative.java Making Java class files Mercury/javas/jmercury/commutative.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct commutative__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/commutative.java:100: 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/commutative.java:101: 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/commutative.java:102: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/commutative.java:213: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commutative.java:389: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/commutative.java:390: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/commutative.java:281: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/commutative.java:345: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commutative.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commutative"; ^ Mercury/javas/jmercury/commutative.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commutative.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commutative.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commutative Mercury/javas/jmercury/commutative.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commutative Mercury/javas/jmercury/commutative.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commutative.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commutative.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct commutative__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/commutative.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/commutative.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/commutative.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/commutative.java:100: 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/commutative.java:101: 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/commutative.java:102: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/commutative.java:107: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:108: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:108: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/commutative.java:109: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:109: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/commutative.java:113: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:115: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/commutative.java:116: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:116: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/commutative.java:120: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:122: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:122: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/commutative.java:123: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class commutative Mercury/javas/jmercury/commutative.java:123: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/commutative.java:124: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:124: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/commutative.java:127: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/commutative.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:131: error: package list does not exist (list.List_1) commutative.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/commutative.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:136: error: package list does not exist (list.List_1) commutative.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/commutative.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:141: error: package list does not exist (list.List_1) commutative.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/commutative.java:144: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/commutative.java:158: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/commutative.java:162: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/commutative.java:163: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/commutative.java:164: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/commutative.java:165: error: package io does not exist io.Text_output_stream_0 Var_20 = null; ^ Mercury/javas/jmercury/commutative.java:166: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_22 = null; ^ Mercury/javas/jmercury/commutative.java:167: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_24 = null; ^ Mercury/javas/jmercury/commutative.java:168: error: package univ does not exist univ.Univ_0 Var_26 = null; ^ Mercury/javas/jmercury/commutative.java:169: error: package ops does not exist ops.Priority_0 Var_27 = null; ^ Mercury/javas/jmercury/commutative.java:173: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class commutative Mercury/javas/jmercury/commutative.java:176: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/commutative.java:181: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:183: error: package list does not exist Var_9 = (list.List_1) commutative.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/commutative.java:187: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(commutative.commutative__type_ctor_info_t_0); ^ Mercury/javas/jmercury/commutative.java:189: error: cannot find symbol Var_22 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class commutative Mercury/javas/jmercury/commutative.java:192: error: package io does not exist Var_20 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/commutative.java:196: error: package deconstruct does not exist Var_24 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/commutative.java:199: error: cannot find symbol Var_26 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, ((java.lang.Object) (R_4))); ^ symbol: variable univ location: class commutative Mercury/javas/jmercury/commutative.java:201: error: package ops does not exist Var_27 = (ops.Priority_0) commutative.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/commutative.java:203: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_25, Var_20, Var_24, Var_26, Var_27); ^ symbol: variable stream__string_writer location: class commutative Mercury/javas/jmercury/commutative.java:207: error: cannot find symbol io.write_char_4_p_0(Var_20, Var_29); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:221: error: package list.List_1 does not exist commutative.T_0 H_3 = ((commutative.T_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/commutative.java:222: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commutative.java:222: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commutative.java:228: error: cannot find symbol switch (H_3.MR_value) { ^ symbol: variable MR_value location: variable H_3 of type T_0 Mercury/javas/jmercury/commutative.java:228: error: illegal start of type switch (H_3.MR_value) { ^ Mercury/javas/jmercury/commutative.java:230: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:230: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:241: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:245: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:245: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:256: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:260: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:260: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:271: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:275: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commutative.java:288: 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 T_0 100 errors gmake[3]: *** [/tmp/mmake.xPtJGB:1216: commutative] Error 1 gmake[3]: Target 'commutative.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: commutative.log] Error 1 RUNNING TEST accumulator/construct_test in grade java FAILED TEST accumulator/chain in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - chain.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - chain Making Mercury/int3s/chain.int3 Making Mercury/ints/chain.int Making Mercury/opts/chain.opt Making Mercury/javas/jmercury/chain.java Making Java class files Mercury/javas/jmercury/chain.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/chain.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/chain.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/chain.java:121: error: package list does not exist list.List_1 A_NewH_15, ^ Mercury/javas/jmercury/chain.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct A_TypeCtorInfo_14_16, ^ Mercury/javas/jmercury/chain.java:123: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:119: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/chain.java:307: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:305: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/chain.java:348: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:376: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/chain.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "chain"; ^ Mercury/javas/jmercury/chain.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/chain.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/chain.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class chain Mercury/javas/jmercury/chain.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class chain Mercury/javas/jmercury/chain.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/chain.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/chain.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/chain.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/chain.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/chain.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/chain.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/chain.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class chain Mercury/javas/jmercury/chain.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/chain.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:58: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/chain.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class chain Mercury/javas/jmercury/chain.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/chain.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class chain Mercury/javas/jmercury/chain.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/chain.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/chain.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:69: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:74: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:79: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/chain.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:84: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/chain.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:89: error: package list does not exist (list.List_1) chain.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/chain.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:94: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/chain.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:99: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/chain.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:104: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/chain.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:109: error: package list does not exist (list.List_1) chain.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/chain.java:127: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/chain.java:132: error: package list does not exist list.List_1 T0_7 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:132: error: package list does not exist list.List_1 T0_7 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:135: error: cannot find symbol HeadVar__2_2 = list.append_3_p_1(A_TypeCtorInfo_14_16, T0_7, A_NewH_15); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/chain.java:141: error: package list.List_1 does not exist int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/chain.java:141: error: illegal start of type int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/chain.java:142: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/chain.java:142: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/chain.java:143: error: package list does not exist list.List_1 NewH_8 = null; ^ Mercury/javas/jmercury/chain.java:144: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/chain.java:145: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/chain.java:146: error: package list does not exist list.List_1 Var_11 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:146: error: package list does not exist list.List_1 Var_11 = (list.List_1) chain.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/chain.java:147: error: package list does not exist list.List_1 NewAcc_NewH_17 = null; ^ Mercury/javas/jmercury/chain.java:148: error: package list does not exist list.List_1 next_value_of_A_NewH_15 = null; ^ Mercury/javas/jmercury/chain.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct next_value_of_A_TypeCtorInfo_14_16 = null; ^ Mercury/javas/jmercury/chain.java:150: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/chain.java:153: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/chain.java:158: error: package list does not exist Var_10 = (list.List_1) chain.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/chain.java:159: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class chain Mercury/javas/jmercury/chain.java:159: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/chain.java:161: error: cannot find symbol NewH_8 = list.append_3_p_1(TypeCtorInfo_14_14, Var_9, Var_10); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:164: error: cannot find symbol NewAcc_NewH_17 = list.append_3_p_1(TypeCtorInfo_14_14, NewH_8, A_NewH_15); ^ symbol: variable list location: class chain Mercury/javas/jmercury/chain.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = null; ^ Mercury/javas/jmercury/chain.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = null; ^ Mercury/javas/jmercury/chain.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_65 = null; ^ Mercury/javas/jmercury/chain.java:185: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/chain.java:186: error: package list does not exist list.List_1 ListB_5 = null; ^ Mercury/javas/jmercury/chain.java:190: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/chain.java:192: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/chain.java:194: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/chain.java:196: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/chain.java:197: error: package io does not exist io.Text_output_stream_0 Var_51 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.loZfeU:1216: chain] Error 1 gmake[3]: Target 'chain.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: chain.log] Error 1 RUNNING TEST accumulator/deconstruct_test in grade java FAILED TEST accumulator/construct_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test Making Mercury/int3s/construct_test.int3 Making Mercury/ints/construct_test.int Making Mercury/opts/construct_test.opt Making Mercury/javas/jmercury/construct_test.java Making Java class files Mercury/javas/jmercury/construct_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/construct_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_test.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/construct_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/construct_test.java:112: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_test.java:113: error: package list does not exist list.List_1 AddrOfHeadVar__2_10) ^ Mercury/javas/jmercury/construct_test.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/construct_test.java:212: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/construct_test.java:209: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/construct_test.java:240: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/construct_test.java:238: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/construct_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "construct_test"; ^ Mercury/javas/jmercury/construct_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/construct_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/construct_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class construct_test Mercury/javas/jmercury/construct_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class construct_test Mercury/javas/jmercury/construct_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/construct_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/construct_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/construct_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_test.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/construct_test.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/construct_test.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class construct_test Mercury/javas/jmercury/construct_test.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/construct_test.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class construct_test Mercury/javas/jmercury/construct_test.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/construct_test.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/construct_test.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/construct_test.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/construct_test.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/construct_test.java:58: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/construct_test.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class construct_test Mercury/javas/jmercury/construct_test.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/construct_test.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/construct_test.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/construct_test.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:69: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/construct_test.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:74: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/construct_test.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:79: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/construct_test.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:84: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/construct_test.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:89: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/construct_test.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:94: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/construct_test.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:99: error: package list does not exist (list.List_1) construct_test.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/construct_test.java:120: error: package list does not exist list.List_1 HeadVar__2_2 = (list.List_1) construct_test.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/construct_test.java:120: error: package list does not exist list.List_1 HeadVar__2_2 = (list.List_1) construct_test.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/construct_test.java:122: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__2_10).F2 = HeadVar__2_2; ^ Mercury/javas/jmercury/construct_test.java:126: error: package list.List_1 does not exist java.lang.Object H_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/construct_test.java:127: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/construct_test.java:127: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/construct_test.java:128: error: package list does not exist list.List_1 AddrT0_9 = null; ^ Mercury/javas/jmercury/construct_test.java:129: error: package list does not exist list.List_1 HeadVar__2_13 = null; ^ Mercury/javas/jmercury/construct_test.java:130: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/construct_test.java:131: error: package list does not exist list.List_1 next_value_of_AddrOfHeadVar__2_10 = null; ^ Mercury/javas/jmercury/construct_test.java:134: error: package list.List_1 does not exist HeadVar__2_13 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/construct_test.java:140: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__2_10).F2 = HeadVar__2_13; ^ Mercury/javas/jmercury/construct_test.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/construct_test.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/construct_test.java:157: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/construct_test.java:158: error: package list does not exist list.List_1 ListB_5 = null; ^ Mercury/javas/jmercury/construct_test.java:160: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/construct_test.java:162: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/construct_test.java:163: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/construct_test.java:164: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_31 = null; ^ Mercury/javas/jmercury/construct_test.java:165: error: package io does not exist io.Text_output_stream_0 Var_32 = null; ^ Mercury/javas/jmercury/construct_test.java:166: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_34 = null; ^ Mercury/javas/jmercury/construct_test.java:169: error: cannot find symbol Var_31 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class construct_test Mercury/javas/jmercury/construct_test.java:172: error: package io does not exist Var_29 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/construct_test.java:177: error: cannot find symbol io.write_string_4_p_0(Var_29, Var_8); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:179: error: package list does not exist Var_10 = (list.List_1) construct_test.MR_scalar_common_4[3]; ^ Mercury/javas/jmercury/construct_test.java:180: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class construct_test Mercury/javas/jmercury/construct_test.java:180: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/construct_test.java:184: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(construct_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/construct_test.java:186: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, ((java.lang.Object) (ListA_4))); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:190: error: cannot find symbol Var_34 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class construct_test Mercury/javas/jmercury/construct_test.java:193: error: package io does not exist Var_32 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/construct_test.java:198: error: cannot find symbol io.write_string_4_p_0(Var_32, Var_18); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:200: error: package list does not exist Var_20 = (list.List_1) construct_test.MR_scalar_common_4[6]; ^ Mercury/javas/jmercury/construct_test.java:205: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, ((java.lang.Object) (ListB_5))); ^ symbol: variable io location: class construct_test Mercury/javas/jmercury/construct_test.java:214: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/construct_test.java:217: error: package list does not exist HeadVar__2_2 = (list.List_1) construct_test.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/construct_test.java:220: error: package list.List_1 does not exist java.lang.Object H_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ 100 errors gmake[3]: *** [/tmp/mmake.FaqpTv:1216: construct_test] Error 1 gmake[3]: Target 'construct_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_test.log] Error 1 RUNNING TEST accumulator/dcg in grade java FAILED TEST accumulator/deconstruct_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deconstruct_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deconstruct_test Making Mercury/int3s/deconstruct_test.int3 Making Mercury/ints/deconstruct_test.int Making Mercury/opts/deconstruct_test.opt Making Mercury/javas/jmercury/deconstruct_test.java Making Java class files Mercury/javas/jmercury/deconstruct_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_test__field_types_wrapper_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deconstruct_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_test__du_functor_desc_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_test__du_stag_ordered_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_test__du_ptag_ordered_wrapper_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_test__du_name_ordered_wrapper_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_test__type_ctor_info_wrapper_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_test.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:112: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:113: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/deconstruct_test.java:578: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deconstruct_test.java:299: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/deconstruct_test.java:366: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/deconstruct_test.java:427: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deconstruct_test.java:581: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/deconstruct_test.java:590: error: package list does not exist list.List_1 F2) ^ Mercury/javas/jmercury/deconstruct_test.java:536: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deconstruct_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deconstruct_test"; ^ Mercury/javas/jmercury/deconstruct_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deconstruct_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deconstruct_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deconstruct_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deconstruct_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_test__field_types_wrapper_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deconstruct_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_test__du_functor_desc_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_test__du_stag_ordered_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_test__du_ptag_ordered_wrapper_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_test__du_name_ordered_wrapper_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_test__type_ctor_info_wrapper_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_test.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:46: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:46: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/deconstruct_test.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deconstruct_test.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deconstruct_test.list__ti_list_1builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deconstruct_test.java:57: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/deconstruct_test.java:73: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/deconstruct_test.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/deconstruct_test.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/deconstruct_test.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:112: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/deconstruct_test.java:113: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/deconstruct_test.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deconstruct_test.java:119: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:119: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/deconstruct_test.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/deconstruct_test.java:124: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:125: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:125: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/deconstruct_test.java:126: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:126: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/deconstruct_test.java:130: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/deconstruct_test.java:133: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:133: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/deconstruct_test.java:137: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:139: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:139: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/deconstruct_test.java:140: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:140: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/deconstruct_test.java:141: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:141: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/deconstruct_test.java:144: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/deconstruct_test.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:148: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/deconstruct_test.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:153: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/deconstruct_test.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:158: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/deconstruct_test.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:163: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/deconstruct_test.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:168: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/deconstruct_test.java:171: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:173: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/deconstruct_test.java:176: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deconstruct_test.java:178: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/deconstruct_test.java:183: error: package list does not exist (list.List_1) deconstruct_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/deconstruct_test.java:199: error: package io does not exist io.Text_output_stream_0 Var_33 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:200: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_35 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:201: error: package io does not exist io.Text_output_stream_0 Var_39 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:202: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_41 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:203: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:204: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:206: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/deconstruct_test.java:209: error: cannot find symbol Var_35 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:212: error: package io does not exist Var_33 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/deconstruct_test.java:217: error: cannot find symbol io.write_string_4_p_0(Var_33, Var_8); ^ symbol: variable io location: class deconstruct_test Mercury/javas/jmercury/deconstruct_test.java:219: error: package list does not exist Var_10 = (list.List_1) deconstruct_test.MR_scalar_common_4[3]; ^ 100 errors gmake[3]: *** [/tmp/mmake.dxUQaS:1216: deconstruct_test] Error 1 gmake[3]: Target 'deconstruct_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deconstruct_test.log] Error 1 RUNNING TEST accumulator/disj in grade java FAILED TEST accumulator/dcg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dcg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dcg Making Mercury/int3s/dcg.int3 Making Mercury/ints/dcg.int Making Mercury/opts/dcg.opt Making Mercury/javas/jmercury/dcg.java Making Java class files Mercury/javas/jmercury/dcg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dcg.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/dcg.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/dcg.java:101: error: package list does not exist list.List_1 A__18, ^ Mercury/javas/jmercury/dcg.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct A_TypeInfo_for_T_19, ^ Mercury/javas/jmercury/dcg.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/dcg.java:104: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/dcg.java:105: error: package list does not exist list.List_1 DCG_0_3) ^ Mercury/javas/jmercury/dcg.java:288: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_18, ^ Mercury/javas/jmercury/dcg.java:289: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/dcg.java:290: error: package list does not exist list.List_1 DCG_0_3) ^ Mercury/javas/jmercury/dcg.java:340: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/dcg.java:342: error: package list does not exist list.List_1 DCG0_5) ^ Mercury/javas/jmercury/dcg.java:338: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/dcg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dcg"; ^ Mercury/javas/jmercury/dcg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dcg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dcg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dcg Mercury/javas/jmercury/dcg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dcg Mercury/javas/jmercury/dcg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dcg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dcg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dcg.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/dcg.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/dcg.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/dcg.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class dcg Mercury/javas/jmercury/dcg.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/dcg.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class dcg Mercury/javas/jmercury/dcg.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/dcg.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/dcg.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/dcg.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/dcg.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/dcg.java:58: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/dcg.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class dcg Mercury/javas/jmercury/dcg.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/dcg.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class dcg Mercury/javas/jmercury/dcg.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/dcg.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/dcg.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:69: error: package list does not exist (list.List_1) dcg.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/dcg.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:74: error: package list does not exist (list.List_1) dcg.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/dcg.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:79: error: package list does not exist (list.List_1) dcg.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/dcg.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:84: error: package list does not exist (list.List_1) dcg.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/dcg.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:89: error: package list does not exist (list.List_1) dcg.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/dcg.java:109: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/dcg.java:110: error: package list does not exist list.List_1 HeadVar__4_4 = null; ^ Mercury/javas/jmercury/dcg.java:115: error: package list does not exist list.List_1 T0_11 = (list.List_1) dcg.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/dcg.java:115: error: package list does not exist list.List_1 T0_11 = (list.List_1) dcg.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/dcg.java:119: error: cannot find symbol HeadVar__2_2 = list.append_3_p_1(A_TypeInfo_for_T_19, T0_11, A__18); ^ symbol: variable list location: class dcg Mercury/javas/jmercury/dcg.java:124: error: package list.List_1 does not exist java.lang.Object H_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/dcg.java:125: error: package list does not exist list.List_1 T_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/dcg.java:125: error: package list.List_1 does not exist list.List_1 T_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/dcg.java:126: error: package list does not exist list.List_1 DCG_1_13 = null; ^ Mercury/javas/jmercury/dcg.java:127: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/dcg.java:128: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/dcg.java:129: error: package list does not exist list.List_1 NewAcc__20 = null; ^ Mercury/javas/jmercury/dcg.java:130: error: package list does not exist list.List_1 next_value_of_A__18 = null; ^ Mercury/javas/jmercury/dcg.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct next_value_of_A_TypeInfo_for_T_19 = null; ^ Mercury/javas/jmercury/dcg.java:132: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dcg.java:133: error: package list does not exist list.List_1 next_value_of_DCG_0_3 = null; ^ Mercury/javas/jmercury/dcg.java:138: error: package list does not exist Var_16 = (list.List_1) dcg.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/dcg.java:140: error: package list.List_1 does not exist Var_15 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg.java:146: error: cannot find symbol NewAcc__20 = list.append_3_p_1(TypeInfo_for_T_17, Var_15, A__18); ^ symbol: variable list location: class dcg Mercury/javas/jmercury/dcg.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_45_45 = null; ^ Mercury/javas/jmercury/dcg.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_46_46 = null; ^ Mercury/javas/jmercury/dcg.java:171: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/dcg.java:172: error: package list does not exist list.List_1 ListB_5 = null; ^ Mercury/javas/jmercury/dcg.java:173: error: package list does not exist list.List_1 ListA2_6 = null; ^ Mercury/javas/jmercury/dcg.java:174: error: package list does not exist list.List_1 ListB2_7 = null; ^ Mercury/javas/jmercury/dcg.java:176: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/dcg.java:177: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/dcg.java:180: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/dcg.java:181: error: package list does not exist list.List_1 Var_31 = null; ^ Mercury/javas/jmercury/dcg.java:183: error: package io does not exist io.Text_output_stream_0 Var_47 = null; ^ Mercury/javas/jmercury/dcg.java:184: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_49 = null; ^ Mercury/javas/jmercury/dcg.java:186: error: package list does not exist list.List_1 T_55 = null; ^ Mercury/javas/jmercury/dcg.java:187: error: package list does not exist list.List_1 DCG_1_58 = null; ^ Mercury/javas/jmercury/dcg.java:188: error: package list does not exist list.List_1 Var_60 = null; ^ Mercury/javas/jmercury/dcg.java:189: error: package list does not exist list.List_1 Var_61 = null; ^ Mercury/javas/jmercury/dcg.java:190: error: package io does not exist io.Text_output_stream_0 Var_65 = null; ^ Mercury/javas/jmercury/dcg.java:191: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_67 = null; ^ Mercury/javas/jmercury/dcg.java:192: error: package io does not exist io.Text_output_stream_0 Var_68 = null; ^ Mercury/javas/jmercury/dcg.java:193: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_70 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.MJQNIH:1216: dcg] Error 1 gmake[3]: Target 'dcg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dcg.log] Error 1 RUNNING TEST accumulator/func in grade java FAILED TEST accumulator/disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disj Making Mercury/int3s/disj.int3 Making Mercury/ints/disj.int Making Mercury/opts/disj.opt Making Mercury/javas/jmercury/disj.java Making Java class files Mercury/javas/jmercury/disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disj__field_types_wrapper_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disj__du_functor_desc_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disj__du_stag_ordered_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] disj__du_ptag_ordered_wrapper_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/disj.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disj__du_name_ordered_wrapper_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/disj.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disj__type_ctor_info_wrapper_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/disj.java:121: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/disj.java:122: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/disj.java:259: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/disj.java:260: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:517: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:606: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:655: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:1450: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/disj.java:704: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:727: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/disj.java:728: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:788: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/disj.java:789: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:869: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/disj.java:870: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:948: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/disj.java:949: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:1042: error: package list does not exist list.List_1 X_3, ^ Mercury/javas/jmercury/disj.java:1043: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj.java:1095: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/disj.java:1231: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/disj.java:1336: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/disj.java:1406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/disj.java:1478: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1480: error: package list does not exist public list.List_1 T_4; ^ Mercury/javas/jmercury/disj.java:1488: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1497: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1506: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1515: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1525: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/disj.java:1531: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1542: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1553: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1569: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1580: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj.java:1582: error: package list does not exist public list.List_1 T_4; ^ Mercury/javas/jmercury/disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "disj"; ^ Mercury/javas/jmercury/disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class disj Mercury/javas/jmercury/disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class disj Mercury/javas/jmercury/disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disj Mercury/javas/jmercury/disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disj Mercury/javas/jmercury/disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disj Mercury/javas/jmercury/disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disj Mercury/javas/jmercury/disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disj__field_types_wrapper_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disj__du_functor_desc_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disj__du_stag_ordered_wrapper_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] disj__du_ptag_ordered_wrapper_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/disj.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disj__du_name_ordered_wrapper_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/disj.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disj__type_ctor_info_wrapper_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disj.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class disj Mercury/javas/jmercury/disj.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/disj.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class disj Mercury/javas/jmercury/disj.java:53: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/disj.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disj.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disj.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disj.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:66: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class disj Mercury/javas/jmercury/disj.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class disj Mercury/javas/jmercury/disj.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/disj.java:82: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class disj Mercury/javas/jmercury/disj.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/disj.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/disj.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/disj.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/disj.java:121: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/disj.java:122: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/disj.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/disj.java:131: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class disj Mercury/javas/jmercury/disj.java:131: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/disj.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/disj.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/disj.java:136: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class disj Mercury/javas/jmercury/disj.java:136: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/disj.java:137: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(disj.disj__type_ctor_info_wrapper_0))) ^ Mercury/javas/jmercury/disj.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/disj.java:141: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ symbol: variable list location: class disj Mercury/javas/jmercury/disj.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ Mercury/javas/jmercury/disj.java:142: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class disj Mercury/javas/jmercury/disj.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/disj.java:146: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class disj 100 errors gmake[3]: *** [/tmp/mmake.9PE8JM:1216: disj] Error 1 gmake[3]: Target 'disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: disj.log] Error 1 RUNNING TEST accumulator/highorder in grade java FAILED TEST accumulator/func in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func Making Mercury/int3s/func.int3 Making Mercury/ints/func.int Making Mercury/opts/func.opt Making Mercury/javas/jmercury/func.java Making Java class files Mercury/javas/jmercury/func.java:33: 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/func.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/func.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/func.java:151: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func"; ^ Mercury/javas/jmercury/func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func Mercury/javas/jmercury/func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func Mercury/javas/jmercury/func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func.java:33: 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/func.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/func.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/func.java:40: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/func.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/func.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/func.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/func.java:53: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/func.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class func Mercury/javas/jmercury/func.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/func.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/func.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/func.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:64: error: package list does not exist (list.List_1) func.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/func.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:69: error: package list does not exist (list.List_1) func.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/func.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func.java:74: error: package list does not exist (list.List_1) func.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/func.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/func.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/func.java:95: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/func.java:96: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/func.java:97: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/func.java:99: error: package list does not exist list.List_1 T_21 = null; ^ Mercury/javas/jmercury/func.java:100: error: package io does not exist io.Text_output_stream_0 Var_25 = null; ^ Mercury/javas/jmercury/func.java:101: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_27 = null; ^ Mercury/javas/jmercury/func.java:102: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_29 = null; ^ Mercury/javas/jmercury/func.java:103: error: package univ does not exist univ.Univ_0 Var_31 = null; ^ Mercury/javas/jmercury/func.java:104: error: package ops does not exist ops.Priority_0 Var_32 = null; ^ Mercury/javas/jmercury/func.java:108: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class func Mercury/javas/jmercury/func.java:111: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/func.java:116: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:118: error: package list does not exist Var_9 = (list.List_1) func.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/func.java:119: error: package list.List_1 does not exist H_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:119: error: illegal start of type H_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:120: error: package list.List_1 does not exist T_21 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/func.java:124: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func Mercury/javas/jmercury/func.java:124: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func.java:126: error: cannot find symbol Var_27 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class func Mercury/javas/jmercury/func.java:129: error: package io does not exist Var_25 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/func.java:133: error: package deconstruct does not exist Var_29 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/func.java:136: error: cannot find symbol Var_31 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, java.lang.Integer.valueOf(Sum_4)); ^ symbol: variable univ location: class func Mercury/javas/jmercury/func.java:138: error: package ops does not exist Var_32 = (ops.Priority_0) func.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/func.java:140: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_30, Var_25, Var_29, Var_31, Var_32); ^ symbol: variable stream__string_writer location: class func Mercury/javas/jmercury/func.java:144: error: cannot find symbol io.write_char_4_p_0(Var_25, Var_34); ^ symbol: variable io location: class func Mercury/javas/jmercury/func.java:166: error: package list.List_1 does not exist int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:166: error: illegal start of type int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/func.java:167: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func.java:167: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func.java:170: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = T_4; ^ 74 errors gmake[3]: *** [/tmp/mmake.Bi2MzV:1216: func] Error 1 gmake[3]: Target 'func.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: func.log] Error 1 RUNNING TEST accumulator/heuristic in grade java FAILED TEST accumulator/highorder in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - highorder.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - highorder Making Mercury/int3s/highorder.int3 Making Mercury/ints/highorder.int Making Mercury/opts/highorder.opt Making Mercury/javas/jmercury/highorder.java Making Java class files Mercury/javas/jmercury/highorder.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/highorder.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/highorder.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/highorder.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_13, ^ Mercury/javas/jmercury/highorder.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_14, ^ Mercury/javas/jmercury/highorder.java:110: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/highorder.java:226: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/highorder.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "highorder"; ^ Mercury/javas/jmercury/highorder.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/highorder.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/highorder.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class highorder Mercury/javas/jmercury/highorder.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class highorder Mercury/javas/jmercury/highorder.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/highorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/highorder.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/highorder.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/highorder.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/highorder.java:42: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/highorder.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/highorder.java:48: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/highorder.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/highorder.java:55: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/highorder.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/highorder.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/highorder.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/highorder.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/highorder.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/highorder.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/highorder.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:81: error: package list does not exist (list.List_1) highorder.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/highorder.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:86: error: package list does not exist (list.List_1) highorder.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/highorder.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/highorder.java:91: error: package list does not exist (list.List_1) highorder.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/highorder.java:94: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/highorder.java:119: error: package list.List_1 does not exist java.lang.Object H_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/highorder.java:120: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/highorder.java:120: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/highorder.java:122: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/highorder.java:127: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/highorder.java:129: error: package jmercury.runtime does not exist Acc_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_1))), ((java.lang.Object) (H_8)), ((java.lang.Object) (Acc1_12)))); ^ Mercury/javas/jmercury/highorder.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/highorder.java:143: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/highorder.java:145: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/highorder.java:146: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_24 = null; ^ Mercury/javas/jmercury/highorder.java:147: error: package io does not exist io.Text_output_stream_0 Var_25 = null; ^ Mercury/javas/jmercury/highorder.java:148: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_27 = null; ^ Mercury/javas/jmercury/highorder.java:149: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_29 = null; ^ Mercury/javas/jmercury/highorder.java:150: error: package univ does not exist univ.Univ_0 Var_31 = null; ^ Mercury/javas/jmercury/highorder.java:151: error: package ops does not exist ops.Priority_0 Var_32 = null; ^ Mercury/javas/jmercury/highorder.java:156: error: cannot find symbol Var_24 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class highorder Mercury/javas/jmercury/highorder.java:159: error: package io does not exist Var_22 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/highorder.java:164: error: cannot find symbol io.write_string_4_p_0(Var_22, Var_7); ^ symbol: variable io location: class highorder Mercury/javas/jmercury/highorder.java:167: error: package list does not exist Var_10 = (list.List_1) highorder.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/highorder.java:169: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class highorder Mercury/javas/jmercury/highorder.java:169: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/highorder.java:175: error: cannot find symbol Var_27 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class highorder Mercury/javas/jmercury/highorder.java:178: error: package io does not exist Var_25 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/highorder.java:182: error: package deconstruct does not exist Var_29 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/highorder.java:185: error: cannot find symbol Var_31 = univ.type_to_univ_2_p_1(TypeCtorInfo_21_21, java.lang.Integer.valueOf(ListA_4)); ^ symbol: variable univ location: class highorder Mercury/javas/jmercury/highorder.java:187: error: package ops does not exist Var_32 = (ops.Priority_0) highorder.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/highorder.java:189: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_30, Var_25, Var_29, Var_31, Var_32); ^ symbol: variable stream__string_writer location: class highorder Mercury/javas/jmercury/highorder.java:193: error: cannot find symbol io.write_char_4_p_0(Var_25, Var_34); ^ symbol: variable io location: class highorder 80 errors gmake[3]: *** [/tmp/mmake.PSnOj4:1216: highorder] Error 1 gmake[3]: Target 'highorder.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: highorder.log] Error 1 RUNNING TEST accumulator/identity in grade java FAILED TEST accumulator/identity in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - identity.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - identity Making Mercury/int3s/identity.int3 Making Mercury/ints/identity.int Making Mercury/opts/identity.opt Making Mercury/javas/jmercury/identity.java Making Java class files Mercury/javas/jmercury/identity.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/identity.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/identity.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/identity.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/identity.java:101: error: package list does not exist list.List_1 A_Tmp_15, ^ Mercury/javas/jmercury/identity.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct A_TypeCtorInfo_14_16, ^ Mercury/javas/jmercury/identity.java:103: error: package list does not exist list.List_1 X_1) ^ Mercury/javas/jmercury/identity.java:99: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/identity.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "identity"; ^ Mercury/javas/jmercury/identity.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/identity.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/identity.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class identity Mercury/javas/jmercury/identity.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class identity Mercury/javas/jmercury/identity.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/identity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/identity.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/identity.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/identity.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/identity.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/identity.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/identity.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class identity Mercury/javas/jmercury/identity.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/identity.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class identity Mercury/javas/jmercury/identity.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/identity.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/identity.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/identity.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/identity.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/identity.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/identity.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class identity Mercury/javas/jmercury/identity.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/identity.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/identity.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/identity.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:70: error: package list does not exist (list.List_1) identity.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/identity.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:75: error: package list does not exist (list.List_1) identity.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/identity.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:80: error: package list does not exist (list.List_1) identity.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/identity.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:85: error: package list does not exist (list.List_1) identity.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/identity.java:88: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/identity.java:107: error: package list does not exist list.List_1 R_2 = null; ^ Mercury/javas/jmercury/identity.java:112: error: package list does not exist list.List_1 R0_11 = (list.List_1) identity.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/identity.java:112: error: package list does not exist list.List_1 R0_11 = (list.List_1) identity.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/identity.java:115: error: cannot find symbol R_2 = list.append_3_p_1(A_TypeCtorInfo_14_16, R0_11, A_Tmp_15); ^ symbol: variable list location: class identity Mercury/javas/jmercury/identity.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/identity.java:121: error: package list.List_1 does not exist int H_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) X_1).F1)).intValue(); ^ Mercury/javas/jmercury/identity.java:121: error: illegal start of type int H_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) X_1).F1)).intValue(); ^ Mercury/javas/jmercury/identity.java:122: error: package list does not exist list.List_1 T_10 = ((list.List_1.F_cons_2) X_1).F2; ^ Mercury/javas/jmercury/identity.java:122: error: package list.List_1 does not exist list.List_1 T_10 = ((list.List_1.F_cons_2) X_1).F2; ^ Mercury/javas/jmercury/identity.java:123: error: package list does not exist list.List_1 Tmp_12 = null; ^ Mercury/javas/jmercury/identity.java:124: error: package list does not exist list.List_1 Var_13 = (list.List_1) identity.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/identity.java:124: error: package list does not exist list.List_1 Var_13 = (list.List_1) identity.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/identity.java:125: error: package list does not exist list.List_1 NewAcc_Tmp_17 = null; ^ Mercury/javas/jmercury/identity.java:126: error: package list does not exist list.List_1 next_value_of_A_Tmp_15 = null; ^ Mercury/javas/jmercury/identity.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct next_value_of_A_TypeCtorInfo_14_16 = null; ^ Mercury/javas/jmercury/identity.java:128: error: package list does not exist list.List_1 next_value_of_X_1 = null; ^ Mercury/javas/jmercury/identity.java:131: error: package list.List_1 does not exist Tmp_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:136: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class identity Mercury/javas/jmercury/identity.java:136: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/identity.java:138: error: cannot find symbol NewAcc_Tmp_17 = list.append_3_p_1(TypeCtorInfo_14_14, Tmp_12, A_Tmp_15); ^ symbol: variable list location: class identity Mercury/javas/jmercury/identity.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/identity.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_31 = null; ^ Mercury/javas/jmercury/identity.java:159: error: package list does not exist list.List_1 Reverse_4 = null; ^ Mercury/javas/jmercury/identity.java:161: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/identity.java:162: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/identity.java:163: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/identity.java:165: error: package list does not exist list.List_1 T_27 = null; ^ Mercury/javas/jmercury/identity.java:166: error: package list does not exist list.List_1 Tmp_29 = null; ^ Mercury/javas/jmercury/identity.java:167: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/identity.java:168: error: package io does not exist io.Text_output_stream_0 Var_35 = null; ^ Mercury/javas/jmercury/identity.java:169: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_37 = null; ^ Mercury/javas/jmercury/identity.java:170: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_39 = null; ^ Mercury/javas/jmercury/identity.java:171: error: package univ does not exist univ.Univ_0 Var_41 = null; ^ Mercury/javas/jmercury/identity.java:172: error: package ops does not exist ops.Priority_0 Var_42 = null; ^ Mercury/javas/jmercury/identity.java:176: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class identity Mercury/javas/jmercury/identity.java:179: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/identity.java:184: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class identity Mercury/javas/jmercury/identity.java:186: error: package list does not exist Var_9 = (list.List_1) identity.MR_scalar_common_4[3]; ^ Mercury/javas/jmercury/identity.java:187: error: package list.List_1 does not exist H_26 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/identity.java:187: error: illegal start of type H_26 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/identity.java:188: error: package list.List_1 does not exist T_27 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/identity.java:189: error: package list does not exist Var_30 = (list.List_1) identity.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/identity.java:191: error: package list.List_1 does not exist Tmp_29 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/identity.java:196: error: cannot find symbol TypeCtorInfo_14_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class identity Mercury/javas/jmercury/identity.java:196: error: package jmercury.runtime does not exist TypeCtorInfo_14_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.Wnm4V3:1216: identity] Error 1 gmake[3]: Target 'identity.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: identity.log] Error 1 RUNNING TEST accumulator/inter in grade java FAILED TEST accumulator/heuristic in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - heuristic.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - heuristic Making Mercury/int3s/heuristic.int3 Making Mercury/ints/heuristic.int Making Mercury/opts/heuristic.opt Making Mercury/javas/jmercury/heuristic.java Making Java class files Mercury/javas/jmercury/heuristic.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/heuristic.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/heuristic.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/heuristic.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/heuristic.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/heuristic.java:205: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/heuristic.java:202: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/heuristic.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "heuristic"; ^ Mercury/javas/jmercury/heuristic.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/heuristic.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/heuristic.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class heuristic Mercury/javas/jmercury/heuristic.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class heuristic Mercury/javas/jmercury/heuristic.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/heuristic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/heuristic.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/heuristic.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/heuristic.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/heuristic.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/heuristic.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/heuristic.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class heuristic Mercury/javas/jmercury/heuristic.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/heuristic.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class heuristic Mercury/javas/jmercury/heuristic.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/heuristic.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/heuristic.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/heuristic.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/heuristic.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/heuristic.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/heuristic.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class heuristic Mercury/javas/jmercury/heuristic.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/heuristic.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/heuristic.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/heuristic.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:70: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/heuristic.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:75: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/heuristic.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:80: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/heuristic.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:84: error: package list does not exist ((java.lang.Object) ((list.List_1) heuristic.MR_scalar_common_4[2])), ^ Mercury/javas/jmercury/heuristic.java:85: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/heuristic.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:90: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/heuristic.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:95: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/heuristic.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:100: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/heuristic.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:104: error: package list does not exist ((java.lang.Object) ((list.List_1) heuristic.MR_scalar_common_4[6])), ^ Mercury/javas/jmercury/heuristic.java:105: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/heuristic.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:109: error: package list does not exist ((java.lang.Object) ((list.List_1) heuristic.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/heuristic.java:110: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/heuristic.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:115: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/heuristic.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:120: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/heuristic.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:125: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/heuristic.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/heuristic.java:129: error: package list does not exist ((java.lang.Object) ((list.List_1) heuristic.MR_scalar_common_4[11])), ^ Mercury/javas/jmercury/heuristic.java:130: error: package list does not exist (list.List_1) heuristic.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/heuristic.java:133: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/heuristic.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/heuristic.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/heuristic.java:150: error: package list does not exist list.List_1 Length_4 = null; ^ Mercury/javas/jmercury/heuristic.java:152: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/heuristic.java:153: error: package io does not exist io.Text_output_stream_0 Var_38 = null; ^ Mercury/javas/jmercury/heuristic.java:154: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_40 = null; ^ Mercury/javas/jmercury/heuristic.java:155: error: package io does not exist io.Text_output_stream_0 Var_41 = null; ^ Mercury/javas/jmercury/heuristic.java:156: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_43 = null; ^ Mercury/javas/jmercury/heuristic.java:157: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_45 = null; ^ Mercury/javas/jmercury/heuristic.java:158: error: package univ does not exist univ.Univ_0 Var_47 = null; ^ Mercury/javas/jmercury/heuristic.java:159: error: package ops does not exist ops.Priority_0 Var_48 = null; ^ Mercury/javas/jmercury/heuristic.java:163: error: cannot find symbol Var_40 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class heuristic Mercury/javas/jmercury/heuristic.java:166: error: package io does not exist Var_38 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/heuristic.java:171: error: cannot find symbol io.write_string_4_p_0(Var_38, Var_7); ^ symbol: variable io location: class heuristic Mercury/javas/jmercury/heuristic.java:173: error: package list does not exist Var_9 = (list.List_1) heuristic.MR_scalar_common_4[12]; ^ Mercury/javas/jmercury/heuristic.java:174: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class heuristic Mercury/javas/jmercury/heuristic.java:174: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/heuristic.java:178: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(heuristic.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/heuristic.java:180: error: cannot find symbol Var_43 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class heuristic Mercury/javas/jmercury/heuristic.java:183: error: package io does not exist Var_41 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/heuristic.java:187: error: package deconstruct does not exist Var_45 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/heuristic.java:190: error: cannot find symbol Var_47 = univ.type_to_univ_2_p_1(TypeInfo_37_37, ((java.lang.Object) (Length_4))); ^ symbol: variable univ location: class heuristic Mercury/javas/jmercury/heuristic.java:192: error: package ops does not exist Var_48 = (ops.Priority_0) heuristic.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/heuristic.java:194: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_46, Var_41, Var_45, Var_47, Var_48); ^ symbol: variable stream__string_writer location: class heuristic 100 errors gmake[3]: *** [/tmp/mmake.VyU02g:1216: heuristic] Error 1 gmake[3]: Target 'heuristic.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: heuristic.log] Error 1 RUNNING TEST accumulator/ite in grade java FAILED TEST accumulator/ite in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-modes --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ite.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-modes --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ite Making Mercury/int3s/ite.int3 Making Mercury/ints/ite.int Making Mercury/opts/ite.opt Making Mercury/javas/jmercury/ite.java ite.m:032: Inferred :- mode sort_of_factorial(di, uo) is det. Making Java class files Mercury/javas/jmercury/ite.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ite"; ^ Mercury/javas/jmercury/ite.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ite.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ite.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ite Mercury/javas/jmercury/ite.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ite Mercury/javas/jmercury/ite.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ite.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/ite.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class ite Mercury/javas/jmercury/ite.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/ite.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/ite.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/ite.java:119: error: package io does not exist io.Text_output_stream_0 Var_16 = null; ^ Mercury/javas/jmercury/ite.java:120: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_18 = null; ^ Mercury/javas/jmercury/ite.java:122: error: package io does not exist io.Text_output_stream_0 Var_24 = null; ^ Mercury/javas/jmercury/ite.java:123: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_26 = null; ^ Mercury/javas/jmercury/ite.java:128: error: cannot find symbol Var_18 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class ite Mercury/javas/jmercury/ite.java:131: error: package io does not exist Var_16 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/ite.java:136: error: cannot find symbol io.write_string_4_p_0(Var_16, Var_8); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:143: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ite Mercury/javas/jmercury/ite.java:143: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ite.java:145: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, java.lang.Integer.valueOf(Factorial_4)); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:149: error: cannot find symbol Var_26 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class ite Mercury/javas/jmercury/ite.java:152: error: package io does not exist Var_24 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/ite.java:157: error: cannot find symbol io.write_string_4_p_0(Var_24, Var_12); ^ symbol: variable io location: class ite Mercury/javas/jmercury/ite.java:165: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, java.lang.Integer.valueOf(Factorial2_5)); ^ symbol: variable io location: class ite 43 errors gmake[3]: *** [/tmp/mmake.PgGocu:1216: ite] Error 1 gmake[3]: Target 'ite.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ite.log] Error 1 RUNNING TEST accumulator/nonrec in grade java FAILED TEST accumulator/inter in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - inter.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - inter Making Mercury/int3s/inter.int3 Making Mercury/ints/inter.int Making Mercury/opts/inter.opt Making Mercury/javas/jmercury/inter.java Making Java class files Mercury/javas/jmercury/inter.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/inter.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/inter.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/inter.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/inter.java:96: error: package list does not exist list.List_1 A_Tmp_18, ^ Mercury/javas/jmercury/inter.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/inter.java:99: error: package list does not exist list.List_1 X_1) ^ Mercury/javas/jmercury/inter.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "inter"; ^ Mercury/javas/jmercury/inter.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/inter.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/inter.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class inter Mercury/javas/jmercury/inter.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class inter Mercury/javas/jmercury/inter.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/inter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/inter.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/inter.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/inter.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/inter.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/inter.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/inter.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class inter Mercury/javas/jmercury/inter.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/inter.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class inter Mercury/javas/jmercury/inter.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/inter.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/inter.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/inter.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/inter.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/inter.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/inter.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class inter Mercury/javas/jmercury/inter.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/inter.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/inter.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/inter.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inter.java:70: error: package list does not exist (list.List_1) inter.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/inter.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inter.java:75: error: package list does not exist (list.List_1) inter.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/inter.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inter.java:80: error: package list does not exist (list.List_1) inter.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/inter.java:83: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/inter.java:104: error: package list does not exist list.List_1 R_3 = null; ^ Mercury/javas/jmercury/inter.java:110: error: package list does not exist list.List_1 R0_13 = (list.List_1) inter.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/inter.java:110: error: package list does not exist list.List_1 R0_13 = (list.List_1) inter.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/inter.java:114: error: cannot find symbol R_3 = list.append_3_p_1(TypeInfo_for_T_17, R0_13, A_Tmp_18); ^ symbol: variable list location: class inter Mercury/javas/jmercury/inter.java:119: error: package list.List_1 does not exist java.lang.Object H_10 = ((list.List_1.F_cons_2) X_1).F1; ^ Mercury/javas/jmercury/inter.java:120: error: package list does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) X_1).F2; ^ Mercury/javas/jmercury/inter.java:120: error: package list.List_1 does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) X_1).F2; ^ Mercury/javas/jmercury/inter.java:121: error: package list does not exist list.List_1 Tmp_14 = null; ^ Mercury/javas/jmercury/inter.java:123: error: package list does not exist list.List_1 Var_16 = (list.List_1) inter.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/inter.java:123: error: package list does not exist list.List_1 Var_16 = (list.List_1) inter.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/inter.java:125: error: package list does not exist list.List_1 NewAcc_Tmp_21 = null; ^ Mercury/javas/jmercury/inter.java:126: error: package list does not exist list.List_1 next_value_of_A_Tmp_18 = null; ^ Mercury/javas/jmercury/inter.java:128: error: package list does not exist list.List_1 next_value_of_X_1 = null; ^ Mercury/javas/jmercury/inter.java:131: error: package list.List_1 does not exist Tmp_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inter.java:138: error: cannot find symbol NewAcc_Tmp_21 = list.append_3_p_1(TypeInfo_for_T_17, Tmp_14, A_Tmp_18); ^ symbol: variable list location: class inter Mercury/javas/jmercury/inter.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/inter.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/inter.java:164: error: package list does not exist list.List_1 Reverse_5 = null; ^ Mercury/javas/jmercury/inter.java:166: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/inter.java:168: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/inter.java:169: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_24 = null; ^ Mercury/javas/jmercury/inter.java:171: error: package list does not exist list.List_1 T_32 = null; ^ Mercury/javas/jmercury/inter.java:172: error: package list does not exist list.List_1 Tmp_35 = null; ^ Mercury/javas/jmercury/inter.java:174: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/inter.java:175: error: package io does not exist io.Text_output_stream_0 Var_42 = null; ^ Mercury/javas/jmercury/inter.java:176: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_44 = null; ^ Mercury/javas/jmercury/inter.java:177: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_46 = null; ^ Mercury/javas/jmercury/inter.java:178: error: package univ does not exist univ.Univ_0 Var_47 = null; ^ Mercury/javas/jmercury/inter.java:179: error: package ops does not exist ops.Priority_0 Var_48 = null; ^ Mercury/javas/jmercury/inter.java:180: error: package io does not exist io.Text_output_stream_0 Var_50 = null; ^ Mercury/javas/jmercury/inter.java:181: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_52 = null; ^ Mercury/javas/jmercury/inter.java:182: error: package io does not exist io.Text_output_stream_0 Var_53 = null; ^ Mercury/javas/jmercury/inter.java:183: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_55 = null; ^ Mercury/javas/jmercury/inter.java:184: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_57 = null; ^ Mercury/javas/jmercury/inter.java:185: error: package univ does not exist univ.Univ_0 Var_59 = null; ^ Mercury/javas/jmercury/inter.java:189: error: cannot find symbol Var_24 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class inter Mercury/javas/jmercury/inter.java:192: error: package io does not exist Var_22 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/inter.java:197: error: cannot find symbol io.write_string_4_p_0(Var_22, Var_8); ^ symbol: variable io location: class inter Mercury/javas/jmercury/inter.java:199: error: package list does not exist Var_10 = (list.List_1) inter.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/inter.java:200: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class inter Mercury/javas/jmercury/inter.java:200: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/inter.java:201: error: package list.List_1 does not exist H_31 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_10).F1)).intValue(); ^ Mercury/javas/jmercury/inter.java:201: error: illegal start of type H_31 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_10).F1)).intValue(); ^ Mercury/javas/jmercury/inter.java:202: error: package list.List_1 does not exist T_32 = ((list.List_1.F_cons_2) Var_10).F2; ^ Mercury/javas/jmercury/inter.java:204: error: package list does not exist Var_37 = (list.List_1) inter.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/inter.java:206: error: package list.List_1 does not exist Tmp_35 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inter.java:214: error: package list does not exist Reverse_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/inter.java:217: error: cannot find symbol Var_46 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class inter 100 errors gmake[3]: *** [/tmp/mmake.dsSO4c:1216: inter] Error 1 gmake[3]: Target 'inter.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: inter.log] Error 1 RUNNING TEST accumulator/out_to_in in grade java FAILED TEST accumulator/out_to_in in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - out_to_in.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - out_to_in Making Mercury/int3s/out_to_in.int3 Making Mercury/ints/out_to_in.int Making Mercury/opts/out_to_in.opt Making Mercury/javas/jmercury/out_to_in.java Making Java class files Mercury/javas/jmercury/out_to_in.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/out_to_in.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/out_to_in.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/out_to_in.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/out_to_in.java:245: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/out_to_in.java:246: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/out_to_in.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "out_to_in"; ^ Mercury/javas/jmercury/out_to_in.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/out_to_in.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/out_to_in.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class out_to_in Mercury/javas/jmercury/out_to_in.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class out_to_in Mercury/javas/jmercury/out_to_in.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/out_to_in.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/out_to_in.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/out_to_in.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/out_to_in.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/out_to_in.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/out_to_in.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/out_to_in.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class out_to_in Mercury/javas/jmercury/out_to_in.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/out_to_in.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class out_to_in Mercury/javas/jmercury/out_to_in.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/out_to_in.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/out_to_in.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class out_to_in Mercury/javas/jmercury/out_to_in.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/out_to_in.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(out_to_in.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/out_to_in.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/out_to_in.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/out_to_in.java:57: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/out_to_in.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/out_to_in.java:64: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/out_to_in.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class out_to_in Mercury/javas/jmercury/out_to_in.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/out_to_in.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/out_to_in.java:71: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/out_to_in.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:75: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/out_to_in.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:80: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/out_to_in.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:84: error: package list does not exist ((java.lang.Object) ((list.List_1) out_to_in.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/out_to_in.java:85: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/out_to_in.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:90: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/out_to_in.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:94: error: package list does not exist ((java.lang.Object) ((list.List_1) out_to_in.MR_scalar_common_4[3])), ^ Mercury/javas/jmercury/out_to_in.java:95: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/out_to_in.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:100: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/out_to_in.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/out_to_in.java:104: error: package list does not exist ((java.lang.Object) ((list.List_1) out_to_in.MR_scalar_common_4[5])), ^ Mercury/javas/jmercury/out_to_in.java:105: error: package list does not exist (list.List_1) out_to_in.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/out_to_in.java:108: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/out_to_in.java:124: error: package io does not exist io.Text_output_stream_0 Var_44 = null; ^ Mercury/javas/jmercury/out_to_in.java:125: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_46 = null; ^ Mercury/javas/jmercury/out_to_in.java:126: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/out_to_in.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = null; ^ Mercury/javas/jmercury/out_to_in.java:129: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/out_to_in.java:133: error: cannot find symbol Var_46 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class out_to_in Mercury/javas/jmercury/out_to_in.java:136: error: package io does not exist Var_44 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/out_to_in.java:141: error: cannot find symbol io.write_string_4_p_0(Var_44, Var_8); ^ symbol: variable io location: class out_to_in Mercury/javas/jmercury/out_to_in.java:143: error: package list does not exist Var_10 = (list.List_1) out_to_in.MR_scalar_common_4[6]; ^ Mercury/javas/jmercury/out_to_in.java:145: error: cannot find symbol TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class out_to_in Mercury/javas/jmercury/out_to_in.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/out_to_in.java:149: error: package list does not exist List_4 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/out_to_in.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(out_to_in.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/out_to_in.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(out_to_in.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/out_to_in.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = null; ^ Mercury/javas/jmercury/out_to_in.java:159: error: package io does not exist io.Text_output_stream_0 Var_47 = null; ^ Mercury/javas/jmercury/out_to_in.java:160: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_49 = null; ^ Mercury/javas/jmercury/out_to_in.java:161: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_51 = null; ^ Mercury/javas/jmercury/out_to_in.java:162: error: package univ does not exist univ.Univ_0 Var_52 = null; ^ Mercury/javas/jmercury/out_to_in.java:163: error: package ops does not exist ops.Priority_0 Var_53 = null; ^ Mercury/javas/jmercury/out_to_in.java:164: error: package io does not exist io.Text_output_stream_0 Var_55 = null; ^ Mercury/javas/jmercury/out_to_in.java:165: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_57 = null; ^ Mercury/javas/jmercury/out_to_in.java:166: error: package io does not exist io.Text_output_stream_0 Var_58 = null; ^ Mercury/javas/jmercury/out_to_in.java:167: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_60 = null; ^ Mercury/javas/jmercury/out_to_in.java:168: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_62 = null; ^ Mercury/javas/jmercury/out_to_in.java:169: error: package univ does not exist univ.Univ_0 Var_64 = null; ^ Mercury/javas/jmercury/out_to_in.java:173: error: cannot find symbol Var_51 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class out_to_in Mercury/javas/jmercury/out_to_in.java:176: error: package io does not exist Var_47 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/out_to_in.java:180: error: package deconstruct does not exist Var_49 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/out_to_in.java:183: error: cannot find symbol Var_52 = univ.type_to_univ_2_p_1(TypeInfo_42_42, ((java.lang.Object) (List_4))); ^ symbol: variable univ location: class out_to_in Mercury/javas/jmercury/out_to_in.java:185: error: package ops does not exist Var_53 = (ops.Priority_0) out_to_in.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/out_to_in.java:187: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_50, Var_47, Var_49, Var_52, Var_53); ^ symbol: variable stream__string_writer location: class out_to_in Mercury/javas/jmercury/out_to_in.java:191: error: cannot find symbol Var_57 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class out_to_in Mercury/javas/jmercury/out_to_in.java:194: error: package io does not exist Var_55 = new io.Text_output_stream_0( ^ 100 errors gmake[3]: *** [/tmp/mmake.yp0EJx:1216: out_to_in] Error 1 gmake[3]: Target 'out_to_in.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST FAILED TEST accumulator/nonrec in grade java LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: out_to_in.log] Error 1 MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nonrec.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nonrec Making Mercury/int3s/nonrec.int3 Making Mercury/ints/nonrec.int Making Mercury/opts/nonrec.opt Making Mercury/javas/jmercury/nonrec.java Making Java class files Mercury/javas/jmercury/nonrec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/nonrec.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/nonrec.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/nonrec.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/nonrec.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/nonrec.java:274: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nonrec.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/nonrec.java:349: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/nonrec.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nonrec"; ^ Mercury/javas/jmercury/nonrec.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nonrec.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nonrec.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nonrec Mercury/javas/jmercury/nonrec.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nonrec Mercury/javas/jmercury/nonrec.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nonrec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nonrec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/nonrec.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/nonrec.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/nonrec.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/nonrec.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/nonrec.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class nonrec Mercury/javas/jmercury/nonrec.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/nonrec.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class nonrec Mercury/javas/jmercury/nonrec.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/nonrec.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/nonrec.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class nonrec Mercury/javas/jmercury/nonrec.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/nonrec.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(nonrec.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/nonrec.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/nonrec.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/nonrec.java:57: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/nonrec.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/nonrec.java:64: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/nonrec.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class nonrec Mercury/javas/jmercury/nonrec.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/nonrec.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/nonrec.java:71: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/nonrec.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:75: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/nonrec.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:80: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/nonrec.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:84: error: package list does not exist ((java.lang.Object) ((list.List_1) nonrec.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/nonrec.java:85: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/nonrec.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:90: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/nonrec.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:94: error: package list does not exist ((java.lang.Object) ((list.List_1) nonrec.MR_scalar_common_4[3])), ^ Mercury/javas/jmercury/nonrec.java:95: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/nonrec.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:100: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/nonrec.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nonrec.java:104: error: package list does not exist ((java.lang.Object) ((list.List_1) nonrec.MR_scalar_common_4[5])), ^ Mercury/javas/jmercury/nonrec.java:105: error: package list does not exist (list.List_1) nonrec.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/nonrec.java:108: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/nonrec.java:125: error: package io does not exist io.Text_output_stream_0 Var_77 = null; ^ Mercury/javas/jmercury/nonrec.java:126: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_79 = null; ^ Mercury/javas/jmercury/nonrec.java:127: error: package io does not exist io.Text_output_stream_0 Var_94 = null; ^ Mercury/javas/jmercury/nonrec.java:128: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_96 = null; ^ Mercury/javas/jmercury/nonrec.java:130: error: package list does not exist list.List_1 ListA_5 = null; ^ Mercury/javas/jmercury/nonrec.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_72_72 = null; ^ Mercury/javas/jmercury/nonrec.java:132: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/nonrec.java:133: error: package list does not exist list.List_1 ListB_6 = null; ^ Mercury/javas/jmercury/nonrec.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_75_75 = null; ^ Mercury/javas/jmercury/nonrec.java:135: error: package list does not exist list.List_1 Var_44 = null; ^ Mercury/javas/jmercury/nonrec.java:139: error: cannot find symbol Var_79 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class nonrec Mercury/javas/jmercury/nonrec.java:142: error: package io does not exist Var_77 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/nonrec.java:147: error: cannot find symbol io.write_string_4_p_0(Var_77, Var_9); ^ symbol: variable io location: class nonrec Mercury/javas/jmercury/nonrec.java:149: error: package list does not exist Var_11 = (list.List_1) nonrec.MR_scalar_common_4[6]; ^ Mercury/javas/jmercury/nonrec.java:150: error: cannot find symbol TypeCtorInfo_72_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nonrec Mercury/javas/jmercury/nonrec.java:150: error: package jmercury.runtime does not exist TypeCtorInfo_72_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nonrec.java:155: error: package list does not exist ListA_5 = (list.List_1) result[2]; ^ Mercury/javas/jmercury/nonrec.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nonrec.java:159: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nonrec Mercury/javas/jmercury/nonrec.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nonrec.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_74_74 = null; ^ Mercury/javas/jmercury/nonrec.java:163: error: package io does not exist io.Text_output_stream_0 Var_80 = null; ^ Mercury/javas/jmercury/nonrec.java:164: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_82 = null; ^ Mercury/javas/jmercury/nonrec.java:165: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_84 = null; ^ Mercury/javas/jmercury/nonrec.java:166: error: package univ does not exist univ.Univ_0 Var_85 = null; ^ Mercury/javas/jmercury/nonrec.java:167: error: package ops does not exist ops.Priority_0 Var_86 = null; ^ Mercury/javas/jmercury/nonrec.java:168: error: package io does not exist io.Text_output_stream_0 Var_88 = null; ^ Mercury/javas/jmercury/nonrec.java:169: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_90 = null; ^ Mercury/javas/jmercury/nonrec.java:172: error: cannot find symbol Var_84 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class nonrec Mercury/javas/jmercury/nonrec.java:175: error: package io does not exist Var_80 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/nonrec.java:179: error: package deconstruct does not exist Var_82 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/nonrec.java:182: error: cannot find symbol Var_85 = univ.type_to_univ_2_p_1(TypeCtorInfo_73_73, java.lang.Integer.valueOf(Length_4)); ^ symbol: variable univ location: class nonrec 100 errors gmake[3]: *** [/tmp/mmake.orZFe9:1216: nonrec] Error 1 gmake[3]: Target 'nonrec.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nonrec.log] Error 1 RUNNING TEST accumulator/qsort in grade java RUNNING TEST accumulator/simple in grade java FAILED TEST accumulator/simple in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - simple.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - simple Making Mercury/int3s/simple.int3 Making Mercury/ints/simple.int Making Mercury/opts/simple.opt Making Mercury/javas/jmercury/simple.java Making Java class files Mercury/javas/jmercury/simple.java:33: 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/simple.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/simple.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/simple.java:90: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/simple.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "simple"; ^ Mercury/javas/jmercury/simple.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/simple.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/simple.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class simple Mercury/javas/jmercury/simple.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class simple Mercury/javas/jmercury/simple.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/simple.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/simple.java:33: 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/simple.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/simple.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/simple.java:40: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/simple.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/simple.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/simple.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/simple.java:53: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/simple.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class simple Mercury/javas/jmercury/simple.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/simple.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/simple.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/simple.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/simple.java:64: error: package list does not exist (list.List_1) simple.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/simple.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/simple.java:69: error: package list does not exist (list.List_1) simple.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/simple.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/simple.java:74: error: package list does not exist (list.List_1) simple.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/simple.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/simple.java:99: error: package list.List_1 does not exist int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/simple.java:99: error: illegal start of type int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/simple.java:100: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/simple.java:100: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/simple.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/simple.java:118: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/simple.java:120: error: package io does not exist io.Text_output_stream_0 Var_18 = null; ^ Mercury/javas/jmercury/simple.java:121: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_20 = null; ^ Mercury/javas/jmercury/simple.java:122: error: package io does not exist io.Text_output_stream_0 Var_21 = null; ^ Mercury/javas/jmercury/simple.java:123: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_23 = null; ^ Mercury/javas/jmercury/simple.java:124: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_25 = null; ^ Mercury/javas/jmercury/simple.java:125: error: package univ does not exist univ.Univ_0 Var_27 = null; ^ Mercury/javas/jmercury/simple.java:126: error: package ops does not exist ops.Priority_0 Var_28 = null; ^ Mercury/javas/jmercury/simple.java:130: error: cannot find symbol Var_20 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class simple Mercury/javas/jmercury/simple.java:133: error: package io does not exist Var_18 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/simple.java:138: error: cannot find symbol io.write_string_4_p_0(Var_18, Var_7); ^ symbol: variable io location: class simple Mercury/javas/jmercury/simple.java:140: error: package list does not exist Var_9 = (list.List_1) simple.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/simple.java:145: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class simple Mercury/javas/jmercury/simple.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/simple.java:147: error: cannot find symbol Var_23 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class simple Mercury/javas/jmercury/simple.java:150: error: package io does not exist Var_21 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/simple.java:154: error: package deconstruct does not exist Var_25 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/simple.java:157: error: cannot find symbol Var_27 = univ.type_to_univ_2_p_1(TypeCtorInfo_17_17, java.lang.Integer.valueOf(Ans_4)); ^ symbol: variable univ location: class simple Mercury/javas/jmercury/simple.java:159: error: package ops does not exist Var_28 = (ops.Priority_0) simple.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/simple.java:161: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_26, Var_21, Var_25, Var_27, Var_28); ^ symbol: variable stream__string_writer location: class simple Mercury/javas/jmercury/simple.java:165: error: cannot find symbol io.write_char_4_p_0(Var_21, Var_30); ^ symbol: variable io location: class simple 69 errors gmake[3]: *** [/tmp/mmake.chE4ZK:1216: simple] Error 1 gmake[3]: Target 'simple.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: simple.log] Error 1 RUNNING TEST accumulator/split in grade java FAILED TEST accumulator/qsort in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qsort.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qsort Making Mercury/int3s/qsort.int3 Making Mercury/ints/qsort.int Making Mercury/opts/qsort.opt Making Mercury/javas/jmercury/qsort.java Making Java class files Mercury/javas/jmercury/qsort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/qsort.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/qsort.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/qsort.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/qsort.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/qsort.java:112: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:114: error: package list does not exist list.List_1 AddrOfHeadVar__3_18) ^ Mercury/javas/jmercury/qsort.java:109: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/qsort.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/qsort.java:187: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:189: error: package list does not exist list.List_1 AddrOfHeadVar__4_18) ^ Mercury/javas/jmercury/qsort.java:184: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/qsort.java:320: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/qsort.java:321: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:383: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/qsort.java:384: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:385: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/qsort.java:381: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/qsort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "qsort"; ^ Mercury/javas/jmercury/qsort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/qsort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/qsort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class qsort Mercury/javas/jmercury/qsort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class qsort Mercury/javas/jmercury/qsort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/qsort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/qsort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/qsort.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/qsort.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/qsort.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/qsort.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/qsort.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class qsort Mercury/javas/jmercury/qsort.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/qsort.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class qsort Mercury/javas/jmercury/qsort.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/qsort.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/qsort.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/qsort.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/qsort.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/qsort.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/qsort.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class qsort Mercury/javas/jmercury/qsort.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/qsort.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/qsort.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/qsort.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:70: error: package list does not exist (list.List_1) qsort.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/qsort.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:75: error: package list does not exist (list.List_1) qsort.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/qsort.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:80: error: package list does not exist (list.List_1) qsort.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/qsort.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:85: error: package list does not exist (list.List_1) qsort.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/qsort.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:90: error: package list does not exist (list.List_1) qsort.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/qsort.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:95: error: package list does not exist (list.List_1) qsort.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/qsort.java:98: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/qsort.java:119: error: package list does not exist list.List_1 HeadVar__4_4 = null; ^ Mercury/javas/jmercury/qsort.java:124: error: package list does not exist list.List_1 HeadVar__3_3 = (list.List_1) qsort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qsort.java:124: error: package list does not exist list.List_1 HeadVar__3_3 = (list.List_1) qsort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qsort.java:126: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__3_18).F2 = HeadVar__3_3; ^ Mercury/javas/jmercury/qsort.java:127: error: package list does not exist HeadVar__4_4 = (list.List_1) qsort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qsort.java:131: error: package list.List_1 does not exist java.lang.Object Head_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/qsort.java:132: error: package list does not exist list.List_1 Tail_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qsort.java:132: error: package list.List_1 does not exist list.List_1 Tail_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qsort.java:133: error: package builtin does not exist builtin.Comparison_result_0 Var_13 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/qsort.java:133: error: package builtin does not exist builtin.Comparison_result_0 Var_13 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/qsort.java:134: error: package builtin does not exist builtin.Comparison_result_0 Var_15 = null; ^ Mercury/javas/jmercury/qsort.java:137: error: cannot find symbol Var_15 = builtin.compare_3_p_0(TypeInfo_for_T_14, Head_6, Partition_2); ^ symbol: variable builtin location: class qsort Mercury/javas/jmercury/qsort.java:142: error: package list does not exist list.List_1 AddrLow1_16 = null; ^ Mercury/javas/jmercury/qsort.java:143: error: package list does not exist list.List_1 HeadVar__3_22 = null; ^ Mercury/javas/jmercury/qsort.java:144: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/qsort.java:145: error: package list does not exist list.List_1 next_value_of_AddrOfHeadVar__3_18 = null; ^ Mercury/javas/jmercury/qsort.java:148: error: package list.List_1 does not exist HeadVar__3_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:154: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__3_18).F2 = HeadVar__3_22; ^ Mercury/javas/jmercury/qsort.java:164: error: package list does not exist list.List_1 AddrHigh1_17 = null; ^ Mercury/javas/jmercury/qsort.java:165: error: package list does not exist list.List_1 HeadVar__3_25 = null; ^ Mercury/javas/jmercury/qsort.java:168: error: package list.List_1 does not exist HeadVar__4_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:177: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__3_18).F2 = HeadVar__3_25; ^ Mercury/javas/jmercury/qsort.java:194: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/qsort.java:199: error: package list does not exist list.List_1 HeadVar__4_4 = null; ^ Mercury/javas/jmercury/qsort.java:201: error: package list does not exist HeadVar__3_3 = (list.List_1) qsort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qsort.java:202: error: package list does not exist HeadVar__4_4 = (list.List_1) qsort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qsort.java:203: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__4_18).F2 = HeadVar__4_4; ^ Mercury/javas/jmercury/qsort.java:207: error: package list.List_1 does not exist java.lang.Object Head_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/qsort.java:208: error: package list does not exist list.List_1 Tail_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qsort.java:208: error: package list.List_1 does not exist list.List_1 Tail_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qsort.java:209: error: package builtin does not exist builtin.Comparison_result_0 Var_13 = builtin.Comparison_result_0.K1; ^ 100 errors gmake[3]: *** [/tmp/mmake.7MlCvI:1216: qsort] Error 1 gmake[3]: Target 'qsort.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: qsort.log] Error 1 RUNNING TEST accumulator/swap in grade java FAILED TEST accumulator/split in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - split.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - split Making Mercury/int3s/split.int3 Making Mercury/ints/split.int Making Mercury/opts/split.opt Making Mercury/javas/jmercury/split.java Making Java class files Mercury/javas/jmercury/split.java:33: 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/split.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/split.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/split.java:146: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/split.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "split"; ^ Mercury/javas/jmercury/split.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/split.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/split.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class split Mercury/javas/jmercury/split.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class split Mercury/javas/jmercury/split.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/split.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/split.java:33: 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/split.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/split.java:35: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/split.java:40: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/split.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/split.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/split.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/split.java:53: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/split.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class split Mercury/javas/jmercury/split.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/split.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/split.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/split.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/split.java:64: error: package list does not exist (list.List_1) split.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/split.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/split.java:69: error: package list does not exist (list.List_1) split.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/split.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/split.java:74: error: package list does not exist (list.List_1) split.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/split.java:77: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/split.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/split.java:94: error: package list does not exist list.List_1 Var_7 = (list.List_1) split.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/split.java:94: error: package list does not exist list.List_1 Var_7 = (list.List_1) split.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/split.java:96: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/split.java:97: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/split.java:98: error: package io does not exist io.Text_output_stream_0 Var_20 = null; ^ Mercury/javas/jmercury/split.java:99: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_22 = null; ^ Mercury/javas/jmercury/split.java:100: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_24 = null; ^ Mercury/javas/jmercury/split.java:101: error: package univ does not exist univ.Univ_0 Var_26 = null; ^ Mercury/javas/jmercury/split.java:102: error: package ops does not exist ops.Priority_0 Var_27 = null; ^ Mercury/javas/jmercury/split.java:110: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class split Mercury/javas/jmercury/split.java:113: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/split.java:118: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_14); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:120: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class split Mercury/javas/jmercury/split.java:120: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/split.java:122: error: cannot find symbol Var_22 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class split Mercury/javas/jmercury/split.java:125: error: package io does not exist Var_20 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/split.java:129: error: package deconstruct does not exist Var_24 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/split.java:132: error: cannot find symbol Var_26 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, java.lang.Integer.valueOf(S_4)); ^ symbol: variable univ location: class split Mercury/javas/jmercury/split.java:134: error: package ops does not exist Var_27 = (ops.Priority_0) split.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/split.java:136: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_25, Var_20, Var_24, Var_26, Var_27); ^ symbol: variable stream__string_writer location: class split Mercury/javas/jmercury/split.java:140: error: cannot find symbol io.write_char_4_p_0(Var_20, Var_29); ^ symbol: variable io location: class split Mercury/javas/jmercury/split.java:154: error: package list.List_1 does not exist int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/split.java:154: error: illegal start of type int H_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/split.java:155: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/split.java:155: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ 69 errors gmake[3]: *** [/tmp/mmake.nL5KOk:1216: split] Error 1 gmake[3]: Target 'split.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: split.log] Error 1 FAILED TEST accumulator/swap in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - swap.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - swap Making Mercury/int3s/swap.int3 Making Mercury/ints/swap.int Making Mercury/opts/swap.opt Making Mercury/javas/jmercury/swap.java Making Java class files Mercury/javas/jmercury/swap.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/swap.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/swap.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/swap.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/swap.java:96: error: package list does not exist list.List_1 A__10, ^ Mercury/javas/jmercury/swap.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/swap.java:98: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/swap.java:94: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/swap.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "swap"; ^ Mercury/javas/jmercury/swap.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/swap.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/swap.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class swap Mercury/javas/jmercury/swap.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class swap Mercury/javas/jmercury/swap.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/swap.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/swap.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/swap.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/swap.java:36: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_5 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/swap.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/swap.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class swap Mercury/javas/jmercury/swap.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/swap.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class swap Mercury/javas/jmercury/swap.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/swap.java:46: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/swap.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/swap.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/swap.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/swap.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/swap.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class swap Mercury/javas/jmercury/swap.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/swap.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/swap.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/swap.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:70: error: package list does not exist (list.List_1) swap.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/swap.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:75: error: package list does not exist (list.List_1) swap.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/swap.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:80: error: package list does not exist (list.List_1) swap.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/swap.java:83: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/swap.java:102: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/swap.java:107: error: package list does not exist list.List_1 R0_6 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:107: error: package list does not exist list.List_1 R0_6 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:110: error: cannot find symbol HeadVar__2_2 = list.append_3_p_1(TypeInfo_for_T_9, R0_6, A__10); ^ symbol: variable list location: class swap Mercury/javas/jmercury/swap.java:115: error: package list.List_1 does not exist java.lang.Object H_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/swap.java:116: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/swap.java:116: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/swap.java:117: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/swap.java:118: error: package list does not exist list.List_1 Var_8 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:118: error: package list does not exist list.List_1 Var_8 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:119: error: package list does not exist list.List_1 NewAcc__11 = null; ^ Mercury/javas/jmercury/swap.java:120: error: package list does not exist list.List_1 next_value_of_A__10 = null; ^ Mercury/javas/jmercury/swap.java:121: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/swap.java:124: error: package list.List_1 does not exist Var_7 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:130: error: cannot find symbol NewAcc__11 = list.append_3_p_1(TypeInfo_for_T_9, Var_7, A__10); ^ symbol: variable list location: class swap Mercury/javas/jmercury/swap.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/swap.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/swap.java:149: error: package list does not exist list.List_1 ListA_4 = null; ^ Mercury/javas/jmercury/swap.java:151: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/swap.java:152: error: package io does not exist io.Text_output_stream_0 Var_18 = null; ^ Mercury/javas/jmercury/swap.java:153: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_20 = null; ^ Mercury/javas/jmercury/swap.java:155: error: package list does not exist list.List_1 T_22 = null; ^ Mercury/javas/jmercury/swap.java:156: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/swap.java:157: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/swap.java:158: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/swap.java:159: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_31 = null; ^ Mercury/javas/jmercury/swap.java:160: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_33 = null; ^ Mercury/javas/jmercury/swap.java:161: error: package univ does not exist univ.Univ_0 Var_35 = null; ^ Mercury/javas/jmercury/swap.java:162: error: package ops does not exist ops.Priority_0 Var_36 = null; ^ Mercury/javas/jmercury/swap.java:166: error: cannot find symbol Var_20 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class swap Mercury/javas/jmercury/swap.java:169: error: package io does not exist Var_18 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/swap.java:174: error: cannot find symbol io.write_string_4_p_0(Var_18, Var_7); ^ symbol: variable io location: class swap Mercury/javas/jmercury/swap.java:176: error: package list does not exist Var_9 = (list.List_1) swap.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/swap.java:177: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class swap Mercury/javas/jmercury/swap.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/swap.java:178: error: package list.List_1 does not exist H_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/swap.java:178: error: illegal start of type H_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_9).F1)).intValue(); ^ Mercury/javas/jmercury/swap.java:179: error: package list.List_1 does not exist T_22 = ((list.List_1.F_cons_2) Var_9).F2; ^ Mercury/javas/jmercury/swap.java:180: error: package list does not exist Var_26 = (list.List_1) swap.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/swap.java:182: error: package list.List_1 does not exist Var_25 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/swap.java:190: error: package jmercury.runtime does not exist TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(swap.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/swap.java:192: error: cannot find symbol Var_31 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class swap Mercury/javas/jmercury/swap.java:195: error: package io does not exist Var_29 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/swap.java:199: error: package deconstruct does not exist Var_33 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/swap.java:202: error: cannot find symbol Var_35 = univ.type_to_univ_2_p_1(TypeInfo_17_17, ((java.lang.Object) (ListA_4))); ^ symbol: variable univ location: class swap Mercury/javas/jmercury/swap.java:204: error: package ops does not exist Var_36 = (ops.Priority_0) swap.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/swap.java:206: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_34, Var_29, Var_33, Var_35, Var_36); ^ symbol: variable stream__string_writer location: class swap 100 errors gmake[3]: *** [/tmp/mmake.3wQ0Gl:1216: swap] Error 1 gmake[3]: Target 'swap.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: swap.log] Error 1 gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' FAILED tests in accumulator in grade java gmake[1]: *** [../Mmake.common:415: runtests_local] Error 1 gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/accumulator' SOME TESTS FAILED: see FAILED_TESTS and runtests.errs gmake: *** [../Mmake.common:314: runtests_dir] Error 1 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_ctgc' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_ctgc' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_excp' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_excp' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_external' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_external' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_sharing' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_sharing' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_table' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_table' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_trail' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_trail' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_unused_args' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/analysis_unused_args' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' STARTING tests in benchmarks in grade java at Tue Mar 3 09:31:37 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST benchmarks/cqueens in grade java RUNNING TEST benchmarks/crypt in grade java FAILED TEST benchmarks/cqueens in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cqueens.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cqueens Making Mercury/int3s/cqueens.int3 Making Mercury/ints/cqueens.int Making Mercury/javas/jmercury/cqueens.java Making Java class files Mercury/javas/jmercury/cqueens.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/cqueens.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/cqueens.java:172: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/cqueens.java:187: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/cqueens.java:238: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/cqueens.java:270: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cqueens.java:271: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cqueens.java:323: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/cqueens.java:337: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cqueens.java:338: error: package list does not exist list.List_1 History_2, ^ Mercury/javas/jmercury/cqueens.java:339: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cqueens.java:392: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/cqueens.java:423: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/cqueens.java:436: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/cqueens.java:478: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cqueens.java:525: error: package list does not exist public list.List_1 Out_5; ^ Mercury/javas/jmercury/cqueens.java:526: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/cqueens.java:532: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cqueens.java:535: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/cqueens.java:537: error: package list does not exist public list.List_1 NT_9; ^ Mercury/javas/jmercury/cqueens.java:543: error: package list does not exist public list.List_1 History_2; ^ Mercury/javas/jmercury/cqueens.java:544: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cqueens.java:547: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/cqueens.java:549: error: package list does not exist public list.List_1 M_8; ^ Mercury/javas/jmercury/cqueens.java:550: error: package list does not exist public list.List_1 L1_11; ^ Mercury/javas/jmercury/cqueens.java:552: error: package list does not exist public list.List_1 Var_13; ^ Mercury/javas/jmercury/cqueens.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cqueens"; ^ Mercury/javas/jmercury/cqueens.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cqueens.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cqueens.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cqueens Mercury/javas/jmercury/cqueens.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cqueens Mercury/javas/jmercury/cqueens.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cqueens.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cqueens.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/cqueens.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/cqueens.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cqueens.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:41: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cqueens.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:46: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cqueens.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:51: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cqueens.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:56: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cqueens.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:61: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cqueens.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:66: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cqueens.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:71: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cqueens.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:76: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cqueens.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:81: error: package list does not exist (list.List_1) cqueens.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cqueens.java:103: error: package list does not exist list.List_1 Data_4 = (list.List_1) cqueens.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/cqueens.java:103: error: package list does not exist list.List_1 Data_4 = (list.List_1) cqueens.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/cqueens.java:109: error: package list does not exist list.List_1 Var_28 = (list.List_1) cqueens.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/cqueens.java:109: error: package list does not exist list.List_1 Var_28 = (list.List_1) cqueens.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/cqueens.java:118: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cqueens.java:128: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:133: error: package list.List_1 does not exist int H_29 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:133: error: illegal start of type int H_29 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:134: error: package list does not exist list.List_1 T_30 = ((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F2; ^ Mercury/javas/jmercury/cqueens.java:134: error: package list.List_1 does not exist list.List_1 T_30 = ((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F2; ^ Mercury/javas/jmercury/cqueens.java:139: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:146: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:154: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:166: error: package jmercury.runtime does not exist ((cqueens.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cqueens.java:198: error: package list.List_1 does not exist int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:198: error: illegal start of type int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:199: error: package list does not exist list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/cqueens.java:199: error: package list.List_1 does not exist list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/cqueens.java:204: error: package list does not exist list.List_1 next_value_of_HeadVar__3_3 = null; ^ Mercury/javas/jmercury/cqueens.java:244: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:248: error: package list.List_1 does not exist int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:248: error: illegal start of type int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:249: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/cqueens.java:249: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/cqueens.java:252: error: package list does not exist list.List_1 next_value_of_Xs_6 = null; ^ Mercury/javas/jmercury/cqueens.java:255: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class cqueens Mercury/javas/jmercury/cqueens.java:285: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/cqueens.java:289: error: package list.List_1 does not exist ((cqueens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:289: error: illegal start of type ((cqueens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/cqueens.java:290: error: package list.List_1 does not exist Var_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/cqueens.java:294: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cqueens.java:310: error: package list.List_1 does not exist ((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:316: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cqueens.java:354: error: package list does not exist ((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3 = (list.List_1) cqueens.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/cqueens.java:356: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cqueens.java:378: error: package list.List_1 does not exist ((cqueens.Queen_2_3_p_0_env_0) env_ptr).Var_13 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:411: error: package list.List_1 does not exist ((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cqueens.java:417: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cqueens.java:451: error: package list does not exist cqueens.main_2_p_0_2(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/cqueens.java:460: error: package list does not exist cqueens.queen_2_3_p_0_4(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/cqueens.java:465: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/cqueens.java:494: error: package list does not exist cqueens.queen_2_3_p_0_2(((java.lang.Integer) arg1).intValue(), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 100 errors gmake[3]: *** [/tmp/mmake.2tEULc:1201: cqueens] Error 1 gmake[3]: Target 'cqueens.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cqueens.log] Error 1 RUNNING TEST benchmarks/deriv_1 in grade java FAILED TEST benchmarks/crypt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - crypt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - crypt Making Mercury/int3s/crypt.int3 Making Mercury/ints/crypt.int Making Mercury/javas/jmercury/crypt.java Making Java class files Mercury/javas/jmercury/crypt.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/crypt.java:106: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/crypt.java:797: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/crypt.java:795: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/crypt.java:863: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/crypt.java:895: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/crypt.java:896: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/crypt.java:893: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/crypt.java:1025: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/crypt.java:1055: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/crypt.java:1111: error: package list does not exist public list.List_1 Out_4; ^ Mercury/javas/jmercury/crypt.java:1112: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/crypt.java:1129: error: package list does not exist public list.List_1 X_25; ^ Mercury/javas/jmercury/crypt.java:1130: error: package list does not exist public list.List_1 Y_26; ^ Mercury/javas/jmercury/crypt.java:1131: error: package list does not exist public list.List_1 Z_27; ^ Mercury/javas/jmercury/crypt.java:1132: error: package list does not exist public list.List_1 Var_28; ^ Mercury/javas/jmercury/crypt.java:1133: error: package list does not exist public list.List_1 Var_29; ^ Mercury/javas/jmercury/crypt.java:1134: error: package list does not exist public list.List_1 Var_30; ^ Mercury/javas/jmercury/crypt.java:1135: error: package list does not exist public list.List_1 Var_31; ^ Mercury/javas/jmercury/crypt.java:1136: error: package list does not exist public list.List_1 Var_32; ^ Mercury/javas/jmercury/crypt.java:1137: error: package list does not exist public list.List_1 Var_33; ^ Mercury/javas/jmercury/crypt.java:1138: error: package list does not exist public list.List_1 Var_34; ^ Mercury/javas/jmercury/crypt.java:1139: error: package list does not exist public list.List_1 Var_35; ^ Mercury/javas/jmercury/crypt.java:1140: error: package list does not exist public list.List_1 Var_36; ^ Mercury/javas/jmercury/crypt.java:1141: error: package list does not exist public list.List_1 Var_37; ^ Mercury/javas/jmercury/crypt.java:1142: error: package list does not exist public list.List_1 Var_38; ^ Mercury/javas/jmercury/crypt.java:1143: error: package list does not exist public list.List_1 Var_39; ^ Mercury/javas/jmercury/crypt.java:1144: error: package list does not exist public list.List_1 Var_40; ^ Mercury/javas/jmercury/crypt.java:1145: error: package list does not exist public list.List_1 Var_41; ^ Mercury/javas/jmercury/crypt.java:1146: error: package list does not exist public list.List_1 Var_42; ^ Mercury/javas/jmercury/crypt.java:1147: error: package list does not exist public list.List_1 Var_43; ^ Mercury/javas/jmercury/crypt.java:1148: error: package list does not exist public list.List_1 Var_44; ^ Mercury/javas/jmercury/crypt.java:1149: error: package list does not exist public list.List_1 Var_45; ^ Mercury/javas/jmercury/crypt.java:1150: error: package list does not exist public list.List_1 Var_46; ^ Mercury/javas/jmercury/crypt.java:1151: error: package list does not exist public list.List_1 Var_47; ^ Mercury/javas/jmercury/crypt.java:1152: error: package list does not exist public list.List_1 Var_48; ^ Mercury/javas/jmercury/crypt.java:1153: error: package list does not exist public list.List_1 Var_49; ^ Mercury/javas/jmercury/crypt.java:1154: error: package list does not exist public list.List_1 Var_50; ^ Mercury/javas/jmercury/crypt.java:1155: error: package list does not exist public list.List_1 Var_51; ^ Mercury/javas/jmercury/crypt.java:1156: error: package list does not exist public list.List_1 Var_53; ^ Mercury/javas/jmercury/crypt.java:1157: error: package list does not exist public list.List_1 Var_57; ^ Mercury/javas/jmercury/crypt.java:1158: error: package list does not exist public list.List_1 Var_58; ^ Mercury/javas/jmercury/crypt.java:1159: error: package list does not exist public list.List_1 Var_59; ^ Mercury/javas/jmercury/crypt.java:1160: error: package list does not exist public list.List_1 Var_60; ^ Mercury/javas/jmercury/crypt.java:1161: error: package list does not exist public list.List_1 Var_61; ^ Mercury/javas/jmercury/crypt.java:1162: error: package list does not exist public list.List_1 Var_62; ^ Mercury/javas/jmercury/crypt.java:1163: error: package list does not exist public list.List_1 Var_63; ^ Mercury/javas/jmercury/crypt.java:1164: error: package list does not exist public list.List_1 Var_64; ^ Mercury/javas/jmercury/crypt.java:1165: error: package list does not exist public list.List_1 Var_65; ^ Mercury/javas/jmercury/crypt.java:1167: error: package list does not exist public list.List_1 Var_67; ^ Mercury/javas/jmercury/crypt.java:1168: error: package list does not exist public list.List_1 Var_68; ^ Mercury/javas/jmercury/crypt.java:1169: error: package list does not exist public list.List_1 Var_69; ^ Mercury/javas/jmercury/crypt.java:1170: error: package list does not exist public list.List_1 Var_71; ^ Mercury/javas/jmercury/crypt.java:1171: error: package list does not exist public list.List_1 Var_72; ^ Mercury/javas/jmercury/crypt.java:1172: error: package list does not exist public list.List_1 Var_73; ^ Mercury/javas/jmercury/crypt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "crypt"; ^ Mercury/javas/jmercury/crypt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/crypt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/crypt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class crypt Mercury/javas/jmercury/crypt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class crypt Mercury/javas/jmercury/crypt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/crypt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/crypt.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/crypt.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/crypt.java:118: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__1_1), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/crypt.java:139: error: package list does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_43 = (list.List_1) crypt.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/crypt.java:156: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/crypt.java:162: error: package list.List_1 does not exist int H_77 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Out_4)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:162: error: illegal start of type int H_77 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Out_4)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:163: error: package list does not exist list.List_1 T_78 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Out_4)).F2; ^ Mercury/javas/jmercury/crypt.java:163: error: package list.List_1 does not exist list.List_1 T_78 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Out_4)).F2; ^ Mercury/javas/jmercury/crypt.java:168: error: cannot find symbol io.write_string_3_p_0(Var_80); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:175: error: cannot find symbol io.write_string_3_p_0(Var_83); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:183: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class crypt Mercury/javas/jmercury/crypt.java:194: error: package jmercury.runtime does not exist ((crypt.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/crypt.java:263: error: package list does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_48 = (list.List_1) crypt.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/crypt.java:265: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_47 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/crypt.java:271: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_46 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/crypt.java:277: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_44 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/crypt.java:289: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).I_17 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_45)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:289: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).I_17 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_45)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:290: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_49 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_45)).F2; ^ Mercury/javas/jmercury/crypt.java:294: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).H_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_49)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:294: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).H_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_49)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:295: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_50 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_49)).F2; ^ Mercury/javas/jmercury/crypt.java:299: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).G_15 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_50)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:299: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).G_15 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_50)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:300: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_51 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_50)).F2; ^ Mercury/javas/jmercury/crypt.java:304: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).F_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_51)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:304: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).F_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_51)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:305: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).X_25 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_51)).F2; ^ Mercury/javas/jmercury/crypt.java:440: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).L_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_53)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:440: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).L_20 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_53)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:441: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).Var_57 = ((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_53)).F2; ^ Mercury/javas/jmercury/crypt.java:445: error: package list.List_1 does not exist ((crypt.Main_2_p_0_env_0) env_ptr).K_19 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_57)).F1)).intValue(); ^ Mercury/javas/jmercury/crypt.java:445: error: illegal start of type ((crypt.Main_2_p_0_env_0) env_ptr).K_19 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((crypt.Main_2_p_0_env_0) env_ptr).Var_57)).F1)).intValue(); ^ 100 errors gmake[3]: *** [/tmp/mmake.VefNOF:1201: crypt] Error 1 gmake[3]: Target 'crypt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: crypt.log] Error 1 RUNNING TEST benchmarks/deriv_2 in grade java FAILED TEST benchmarks/deriv_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deriv_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deriv_1 Making Mercury/int3s/deriv_1.int3 Making Mercury/ints/deriv_1.int Making Mercury/javas/jmercury/deriv_1.java Making Java class files Mercury/javas/jmercury/deriv_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_1__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deriv_1__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deriv_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_1__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deriv_1__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deriv_1.java:1877: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deriv_1.java:1167: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deriv_1.java:1835: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deriv_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deriv_1"; ^ Mercury/javas/jmercury/deriv_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deriv_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deriv_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deriv_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deriv_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_1__field_types_expr_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_1__du_functor_desc_expr_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_1__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deriv_1__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deriv_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_1__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deriv_1__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deriv_1.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deriv_1.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:92: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:94: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:99: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:107: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:111: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:113: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:118: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:126: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:130: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:132: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:137: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:145: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:149: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:151: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:156: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:164: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:168: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:173: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:181: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:185: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:187: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deriv_1.java:187: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:192: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:200: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:204: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:209: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:217: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:221: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_1.deriv_1__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_1.java:226: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:234: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:258: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/deriv_1.java:260: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_1 Mercury/javas/jmercury/deriv_1.java:310: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/deriv_1.java:315: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ 100 errors gmake[3]: *** [/tmp/mmake.mDmF2V:1201: deriv_1] Error 1 gmake[3]: Target 'deriv_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deriv_1.log] Error 1 RUNNING TEST benchmarks/nrev in grade java FAILED TEST benchmarks/deriv_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deriv_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deriv_2 Making Mercury/int3s/deriv_2.int3 Making Mercury/ints/deriv_2.int Making Mercury/javas/jmercury/deriv_2.java Making Java class files Mercury/javas/jmercury/deriv_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_2__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deriv_2__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deriv_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_2__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deriv_2__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deriv_2.java:1886: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deriv_2.java:1176: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deriv_2.java:1844: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deriv_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deriv_2"; ^ Mercury/javas/jmercury/deriv_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deriv_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deriv_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deriv_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deriv_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deriv_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deriv_2__field_types_expr_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deriv_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deriv_2__du_functor_desc_expr_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deriv_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_2__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deriv_2__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deriv_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deriv_2__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/deriv_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deriv_2__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deriv_2.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deriv_2.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:92: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:94: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:99: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:107: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:111: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:113: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:118: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:126: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:130: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:132: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:137: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:145: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:149: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:151: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:156: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:164: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:168: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:173: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:181: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:185: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:187: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/deriv_2.java:187: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:192: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:200: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:204: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:209: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:217: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:221: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) deriv_2.deriv_2__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/deriv_2.java:226: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:234: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:258: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/deriv_2.java:260: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class deriv_2 Mercury/javas/jmercury/deriv_2.java:310: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/deriv_2.java:315: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ 100 errors gmake[3]: *** [/tmp/mmake.AAeZhs:1201: deriv_2] Error 1 gmake[3]: Target 'deriv_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deriv_2.log] Error 1 RUNNING TEST benchmarks/poly in grade java FAILED TEST benchmarks/nrev in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nrev.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nrev Making Mercury/int3s/nrev.int3 Making Mercury/ints/nrev.int Making Mercury/javas/jmercury/nrev.java Making Java class files Mercury/javas/jmercury/nrev.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/nrev.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/nrev.java:198: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/nrev.java:199: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/nrev.java:196: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/nrev.java:263: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nrev.java:261: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/nrev.java:297: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/nrev.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nrev"; ^ Mercury/javas/jmercury/nrev.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nrev.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nrev.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nrev Mercury/javas/jmercury/nrev.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nrev Mercury/javas/jmercury/nrev.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nrev.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nrev.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/nrev.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/nrev.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/nrev.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:41: error: package list does not exist (list.List_1) nrev.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/nrev.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:46: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/nrev.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:51: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/nrev.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:56: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/nrev.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:61: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/nrev.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:66: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/nrev.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:71: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/nrev.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:76: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/nrev.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:81: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/nrev.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:86: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/nrev.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:91: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/nrev.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:96: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/nrev.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:101: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/nrev.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:106: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/nrev.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:111: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[13] ^ Mercury/javas/jmercury/nrev.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:116: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[14] ^ Mercury/javas/jmercury/nrev.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:121: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[15] ^ Mercury/javas/jmercury/nrev.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:126: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[16] ^ Mercury/javas/jmercury/nrev.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:131: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[17] ^ Mercury/javas/jmercury/nrev.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:136: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[18] ^ Mercury/javas/jmercury/nrev.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:141: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[19] ^ Mercury/javas/jmercury/nrev.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:146: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[20] ^ Mercury/javas/jmercury/nrev.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:151: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[21] ^ Mercury/javas/jmercury/nrev.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:156: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[22] ^ Mercury/javas/jmercury/nrev.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:161: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[23] ^ Mercury/javas/jmercury/nrev.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:166: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[24] ^ Mercury/javas/jmercury/nrev.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:171: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[25] ^ Mercury/javas/jmercury/nrev.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:176: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[26] ^ Mercury/javas/jmercury/nrev.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:181: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[27] ^ Mercury/javas/jmercury/nrev.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:186: error: package list does not exist (list.List_1) nrev.MR_scalar_common_2[28] ^ Mercury/javas/jmercury/nrev.java:201: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/nrev.java:207: error: package list.List_1 does not exist int X_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nrev.java:207: error: illegal start of type int X_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nrev.java:208: error: package list does not exist list.List_1 L1_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nrev.java:208: error: package list.List_1 does not exist list.List_1 L1_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nrev.java:209: error: package list does not exist list.List_1 L3_7 = null; ^ Mercury/javas/jmercury/nrev.java:215: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/nrev.java:227: error: package list does not exist list.List_1 Data_4 = (list.List_1) nrev.MR_scalar_common_2[29]; ^ Mercury/javas/jmercury/nrev.java:227: error: package list does not exist list.List_1 Data_4 = (list.List_1) nrev.MR_scalar_common_2[29]; ^ Mercury/javas/jmercury/nrev.java:228: error: package list does not exist list.List_1 Out_5 = null; ^ Mercury/javas/jmercury/nrev.java:238: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:243: error: package list.List_1 does not exist int H_68 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_5).F1)).intValue(); ^ Mercury/javas/jmercury/nrev.java:243: error: illegal start of type int H_68 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_5).F1)).intValue(); ^ Mercury/javas/jmercury/nrev.java:244: error: package list does not exist list.List_1 T_69 = ((list.List_1.F_cons_2) Out_5).F2; ^ Mercury/javas/jmercury/nrev.java:244: error: package list.List_1 does not exist list.List_1 T_69 = ((list.List_1.F_cons_2) Out_5).F2; ^ Mercury/javas/jmercury/nrev.java:249: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:256: error: cannot find symbol io.write_string_3_p_0(Var_74); ^ symbol: variable io location: class nrev Mercury/javas/jmercury/nrev.java:265: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.PWVyab:1201: nrev] Error 1 gmake[3]: Target 'nrev.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nrev.log] Error 1 RUNNING TEST benchmarks/primes in grade java FAILED TEST benchmarks/poly in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - poly.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - poly Making Mercury/int3s/poly.int3 Making Mercury/ints/poly.int Making Mercury/javas/jmercury/poly.java Making Java class files Mercury/javas/jmercury/poly.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1poly__type_ctor_info_term_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_poly_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/poly.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_poly_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_poly_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/poly.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_poly_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_stag_ordered_poly_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/poly.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] poly__du_ptag_ordered_poly_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/poly.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_name_ordered_poly_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/poly.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_poly_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_term_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/poly.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_term_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_stag_ordered_term_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/poly.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] poly__du_ptag_ordered_term_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/poly.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_name_ordered_term_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/poly.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_term_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] poly__enum_ordinal_ordered_var_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/poly.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] poly__enum_name_ordered_var_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/poly.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_var_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:253: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/poly.java:254: 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/poly.java:1492: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/poly.java:1538: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/poly.java:257: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/poly.java:317: error: package list does not exist list.List_1 List_4, ^ Mercury/javas/jmercury/poly.java:315: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/poly.java:411: error: package list does not exist list.List_1 List_4, ^ Mercury/javas/jmercury/poly.java:409: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/poly.java:872: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/poly.java:924: error: package list does not exist list.List_1 List_4, ^ Mercury/javas/jmercury/poly.java:922: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/poly.java:973: error: package list does not exist list.List_1 List1_4, ^ Mercury/javas/jmercury/poly.java:974: error: package list does not exist list.List_1 List2_5) ^ Mercury/javas/jmercury/poly.java:971: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/poly.java:1066: error: package list does not exist list.List_1 List1_4, ^ Mercury/javas/jmercury/poly.java:1067: error: package list does not exist list.List_1 List2_5) ^ Mercury/javas/jmercury/poly.java:1064: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/poly.java:1099: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/poly.java:1187: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/poly.java:1560: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/poly.java:1561: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/poly.java:1245: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/poly.java:1517: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/poly.java:1526: error: package list does not exist list.List_1 F2) ^ Mercury/javas/jmercury/poly.java:1414: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/poly.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "poly"; ^ Mercury/javas/jmercury/poly.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/poly.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/poly.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class poly Mercury/javas/jmercury/poly.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class poly Mercury/javas/jmercury/poly.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/poly.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class poly Mercury/javas/jmercury/poly.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class poly Mercury/javas/jmercury/poly.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class poly Mercury/javas/jmercury/poly.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class poly Mercury/javas/jmercury/poly.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/poly.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1poly__type_ctor_info_term_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_poly_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/poly.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_poly_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_poly_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/poly.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_poly_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_stag_ordered_poly_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/poly.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] poly__du_ptag_ordered_poly_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/poly.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_name_ordered_poly_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/poly.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_poly_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] poly__field_types_term_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/poly.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc poly__du_functor_desc_term_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_stag_ordered_term_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/poly.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] poly__du_ptag_ordered_term_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/poly.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] poly__du_name_ordered_term_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/poly.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_term_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc poly__enum_functor_desc_var_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/poly.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] poly__enum_ordinal_ordered_var_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/poly.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] poly__enum_name_ordered_var_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/poly.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct poly__type_ctor_info_var_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/poly.java:60: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class poly Mercury/javas/jmercury/poly.java:62: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(poly.poly__type_ctor_info_term_0) ^ Mercury/javas/jmercury/poly.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) poly.poly__type_ctor_info_var_0; ^ Mercury/javas/jmercury/poly.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) poly.list__ti_list_1poly__type_ctor_info_term_0; ^ Mercury/javas/jmercury/poly.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:85: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/poly.java:85: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class poly Mercury/javas/jmercury/poly.java:90: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:98: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:106: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/poly.java:108: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/poly.java:131: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/poly.java:134: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/poly.java:143: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/poly.java:143: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class poly Mercury/javas/jmercury/poly.java:145: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) poly.poly__type_ctor_info_poly_0; ^ Mercury/javas/jmercury/poly.java:150: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:158: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class poly Mercury/javas/jmercury/poly.java:164: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ 100 errors gmake[3]: *** [/tmp/mmake.RYTUwZ:1201: poly] Error 1 gmake[3]: Target 'poly.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: poly.log] Error 1 RUNNING TEST benchmarks/qsort in grade java FAILED TEST benchmarks/primes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - primes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - primes Making Mercury/int3s/primes.int3 Making Mercury/ints/primes.int Making Mercury/javas/jmercury/primes.java Making Java class files Mercury/javas/jmercury/primes.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/primes.java:45: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:120: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/primes.java:153: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/primes.java:150: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:202: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/primes.java:200: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/primes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "primes"; ^ Mercury/javas/jmercury/primes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/primes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/primes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class primes Mercury/javas/jmercury/primes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class primes Mercury/javas/jmercury/primes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/primes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/primes.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/primes.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/primes.java:51: error: package list does not exist list.List_1 Result_6 = null; ^ Mercury/javas/jmercury/primes.java:56: error: package list does not exist list.List_1 Rest_8 = null; ^ Mercury/javas/jmercury/primes.java:64: error: package list.List_1 does not exist Result_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/primes.java:71: error: package list does not exist Result_6 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:78: error: package list does not exist list.List_1 Out_4 = null; ^ Mercury/javas/jmercury/primes.java:80: error: package list does not exist list.List_1 Integers_8 = null; ^ Mercury/javas/jmercury/primes.java:94: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:99: error: package list.List_1 does not exist int H_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_4).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:99: error: illegal start of type int H_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Out_4).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:100: error: package list does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) Out_4).F2; ^ Mercury/javas/jmercury/primes.java:100: error: package list.List_1 does not exist list.List_1 T_11 = ((list.List_1.F_cons_2) Out_4).F2; ^ Mercury/javas/jmercury/primes.java:105: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:112: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:126: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:130: error: package list.List_1 does not exist int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:130: error: illegal start of type int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:131: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/primes.java:131: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/primes.java:134: error: package list does not exist list.List_1 next_value_of_Xs_6 = null; ^ Mercury/javas/jmercury/primes.java:137: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class primes Mercury/javas/jmercury/primes.java:158: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/primes.java:162: error: package list does not exist HeadVar__3_3 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:165: error: package list.List_1 does not exist int I_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:165: error: illegal start of type int I_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:166: error: package list does not exist list.List_1 Is_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/primes.java:166: error: package list.List_1 does not exist list.List_1 Is_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/primes.java:170: error: cannot find symbol Var_10 = mr_int.mod_2_f_0(I_6, HeadVar__1_1); ^ symbol: variable mr_int location: class primes Mercury/javas/jmercury/primes.java:175: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = Is_7; ^ Mercury/javas/jmercury/primes.java:183: error: package list does not exist list.List_1 TailResult_11 = null; ^ Mercury/javas/jmercury/primes.java:189: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/primes.java:204: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/primes.java:207: error: package list does not exist HeadVar__2_2 = (list.List_1) primes.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/primes.java:210: error: package list.List_1 does not exist int Integer_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:210: error: illegal start of type int Integer_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/primes.java:211: error: package list does not exist list.List_1 Integers_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/primes.java:211: error: package list.List_1 does not exist list.List_1 Integers_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/primes.java:212: error: package list does not exist list.List_1 Ps_5 = null; ^ Mercury/javas/jmercury/primes.java:213: error: package list does not exist list.List_1 New_6 = null; ^ Mercury/javas/jmercury/primes.java:222: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ 59 errors gmake[3]: *** [/tmp/mmake.uVtQuJ:1201: primes] Error 1 gmake[3]: Target 'primes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: primes.log] Error 1 RUNNING TEST benchmarks/queens in grade java FAILED TEST benchmarks/qsort in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qsort.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qsort Making Mercury/int3s/qsort.int3 Making Mercury/ints/qsort.int Making Mercury/javas/jmercury/qsort.java Making Java class files Mercury/javas/jmercury/qsort.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/qsort.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[50]; ^ Mercury/javas/jmercury/qsort.java:296: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/qsort.java:348: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:408: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/qsort.java:440: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qsort.java:441: error: package list does not exist list.List_1 STATE_VARIABLE_SortedRest_0_2) ^ Mercury/javas/jmercury/qsort.java:438: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/qsort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "qsort"; ^ Mercury/javas/jmercury/qsort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/qsort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/qsort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class qsort Mercury/javas/jmercury/qsort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class qsort Mercury/javas/jmercury/qsort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/qsort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qsort Mercury/javas/jmercury/qsort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/qsort.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/qsort.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[50]; ^ Mercury/javas/jmercury/qsort.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/qsort.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:41: error: package list does not exist (list.List_1) qsort.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/qsort.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:46: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/qsort.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:51: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/qsort.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:56: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/qsort.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:61: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/qsort.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:66: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/qsort.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:71: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/qsort.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:76: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/qsort.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:81: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/qsort.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:86: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/qsort.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:91: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/qsort.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:96: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/qsort.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:101: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/qsort.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:106: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/qsort.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:111: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[13] ^ Mercury/javas/jmercury/qsort.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:116: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[14] ^ Mercury/javas/jmercury/qsort.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:121: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[15] ^ Mercury/javas/jmercury/qsort.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:126: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[16] ^ Mercury/javas/jmercury/qsort.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:131: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[17] ^ Mercury/javas/jmercury/qsort.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:136: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[18] ^ Mercury/javas/jmercury/qsort.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:141: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[19] ^ Mercury/javas/jmercury/qsort.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:146: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[20] ^ Mercury/javas/jmercury/qsort.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:151: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[21] ^ Mercury/javas/jmercury/qsort.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:156: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[22] ^ Mercury/javas/jmercury/qsort.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:161: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[23] ^ Mercury/javas/jmercury/qsort.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:166: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[24] ^ Mercury/javas/jmercury/qsort.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:171: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[25] ^ Mercury/javas/jmercury/qsort.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:176: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[26] ^ Mercury/javas/jmercury/qsort.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:181: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[27] ^ Mercury/javas/jmercury/qsort.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:186: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[28] ^ Mercury/javas/jmercury/qsort.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:191: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[29] ^ Mercury/javas/jmercury/qsort.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:196: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[30] ^ Mercury/javas/jmercury/qsort.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:201: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[31] ^ Mercury/javas/jmercury/qsort.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:206: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[32] ^ Mercury/javas/jmercury/qsort.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:211: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[33] ^ Mercury/javas/jmercury/qsort.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:216: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[34] ^ Mercury/javas/jmercury/qsort.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:221: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[35] ^ Mercury/javas/jmercury/qsort.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:226: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[36] ^ Mercury/javas/jmercury/qsort.java:229: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qsort.java:231: error: package list does not exist (list.List_1) qsort.MR_scalar_common_2[37] ^ 100 errors gmake[3]: *** [/tmp/mmake.P1ql8K:1201: qsort] Error 1 gmake[3]: Target 'qsort.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: qsort.log] Error 1 RUNNING TEST benchmarks/query in grade java FAILED TEST benchmarks/queens in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - queens.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - queens Making Mercury/int3s/queens.int3 Making Mercury/ints/queens.int Making Mercury/javas/jmercury/queens.java Making Java class files Mercury/javas/jmercury/queens.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/queens.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/queens.java:177: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/queens.java:192: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/queens.java:243: error: package list does not exist list.List_1 Xs_6) ^ Mercury/javas/jmercury/queens.java:275: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/queens.java:276: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/queens.java:328: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/queens.java:342: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/queens.java:343: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/queens.java:382: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/queens.java:413: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/queens.java:426: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/queens.java:459: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/queens.java:501: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/queens.java:549: error: package list does not exist public list.List_1 Out_5; ^ Mercury/javas/jmercury/queens.java:550: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/queens.java:556: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/queens.java:559: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/queens.java:561: error: package list does not exist public list.List_1 NT_9; ^ Mercury/javas/jmercury/queens.java:567: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/queens.java:569: error: package list does not exist public list.List_1 HeadVar__2_2; ^ Mercury/javas/jmercury/queens.java:571: error: package list does not exist public list.List_1 Rest_7; ^ Mercury/javas/jmercury/queens.java:572: error: package list does not exist public list.List_1 RestPerm_8; ^ Mercury/javas/jmercury/queens.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "queens"; ^ Mercury/javas/jmercury/queens.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/queens.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/queens.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class queens Mercury/javas/jmercury/queens.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class queens Mercury/javas/jmercury/queens.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/queens.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/queens.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/queens.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/queens.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/queens.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:41: error: package list does not exist (list.List_1) queens.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/queens.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:46: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/queens.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:51: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/queens.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:56: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/queens.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:61: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/queens.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:66: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/queens.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:71: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/queens.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:76: error: package list does not exist (list.List_1) queens.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/queens.java:97: error: package list does not exist list.List_1 Data_4 = (list.List_1) queens.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/queens.java:97: error: package list does not exist list.List_1 Data_4 = (list.List_1) queens.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/queens.java:108: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/queens.java:118: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:123: error: package list.List_1 does not exist int H_26 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((queens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:123: error: illegal start of type int H_26 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((queens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:124: error: package list does not exist list.List_1 T_27 = ((list.List_1.F_cons_2) (((queens.Main_2_p_0_env_0) env_ptr).Out_5)).F2; ^ Mercury/javas/jmercury/queens.java:124: error: package list.List_1 does not exist list.List_1 T_27 = ((list.List_1.F_cons_2) (((queens.Main_2_p_0_env_0) env_ptr).Out_5)).F2; ^ Mercury/javas/jmercury/queens.java:129: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:136: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:144: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:156: error: package jmercury.runtime does not exist ((queens.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/queens.java:203: error: package list.List_1 does not exist int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:203: error: illegal start of type int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:204: error: package list does not exist list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/queens.java:204: error: package list.List_1 does not exist list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/queens.java:209: error: package list does not exist list.List_1 next_value_of_HeadVar__3_3 = null; ^ Mercury/javas/jmercury/queens.java:249: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:253: error: package list.List_1 does not exist int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:253: error: illegal start of type int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:254: error: package list does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/queens.java:254: error: package list.List_1 does not exist list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2; ^ Mercury/javas/jmercury/queens.java:257: error: package list does not exist list.List_1 next_value_of_Xs_6 = null; ^ Mercury/javas/jmercury/queens.java:260: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class queens Mercury/javas/jmercury/queens.java:290: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/queens.java:294: error: package list.List_1 does not exist ((queens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:294: error: illegal start of type ((queens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:295: error: package list.List_1 does not exist Var_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/queens.java:299: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((queens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((queens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((queens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((queens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/queens.java:315: error: package list.List_1 does not exist ((queens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:321: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((queens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((queens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((queens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((queens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/queens.java:357: error: package list does not exist ((queens.Qperm_2_p_0_env_0) env_ptr).HeadVar__2_2 = (list.List_1) queens.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/queens.java:359: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((queens.Qperm_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((queens.Qperm_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((queens.Qperm_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/queens.java:401: error: package list.List_1 does not exist ((queens.Qperm_2_p_0_env_0) env_ptr).HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/queens.java:407: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((queens.Qperm_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((queens.Qperm_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((queens.Qperm_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/queens.java:437: error: package list.List_1 does not exist int H_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:437: error: illegal start of type int H_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/queens.java:438: error: package list does not exist list.List_1 T_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/queens.java:438: error: package list.List_1 does not exist list.List_1 T_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/queens.java:440: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/queens.java:474: error: package list does not exist queens.main_2_p_0_3(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/queens.java:483: error: package list does not exist queens.qperm_2_p_0_4(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/queens.java:488: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/queens.java:517: error: package list does not exist queens.qperm_2_p_0_2(((java.lang.Integer) arg1).intValue(), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/queens.java:526: error: package list does not exist queens.qdelete_3_p_0_2(((java.lang.Integer) arg1).intValue(), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/queens.java:531: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.tsRk21:1201: queens] Error 1 gmake[3]: Target 'queens.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: queens.log] Error 1 RUNNING TEST benchmarks/tak in grade java FAILED TEST benchmarks/query in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - query.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - query Making Mercury/int3s/query.int3 Making Mercury/ints/query.int Making Mercury/javas/jmercury/query.java Making Java class files Mercury/javas/jmercury/query.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] query__field_types_quad_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/query.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc query__du_functor_desc_quad_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/query.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] query__du_stag_ordered_quad_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/query.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] query__du_ptag_ordered_quad_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/query.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] query__du_name_ordered_quad_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/query.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct query__type_ctor_info_quad_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/query.java:230: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/query.java:816: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/query.java:584: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/query.java:731: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/query.java:773: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/query.java:846: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/query.java:862: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/query.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "query"; ^ Mercury/javas/jmercury/query.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/query.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/query.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class query Mercury/javas/jmercury/query.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class query Mercury/javas/jmercury/query.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/query.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/query.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] query__field_types_quad_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/query.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc query__du_functor_desc_quad_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/query.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] query__du_stag_ordered_quad_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/query.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] query__du_ptag_ordered_quad_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/query.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] query__du_name_ordered_quad_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/query.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct query__type_ctor_info_quad_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/query.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/query.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class query Mercury/javas/jmercury/query.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/query.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class query Mercury/javas/jmercury/query.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/query.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class query Mercury/javas/jmercury/query.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/query.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class query Mercury/javas/jmercury/query.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class query Mercury/javas/jmercury/query.java:62: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class query Mercury/javas/jmercury/query.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/query.java:70: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class query Mercury/javas/jmercury/query.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/query.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/query.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/query.java:423: error: cannot find symbol ((query.Density_2_p_0_env_0) env_ptr).D_4 = mr_int.f_47_47_2_f_0(((query.Density_2_p_0_env_0) env_ptr).P100_7, ((query.Density_2_p_0_env_0) env_ptr).A_6); ^ symbol: variable mr_int location: class query Mercury/javas/jmercury/query.java:426: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((query.Density_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((query.Density_2_p_0_env_0) env_ptr).C_3)), java.lang.Integer.valueOf(((query.Density_2_p_0_env_0) env_ptr).D_4), ((java.lang.Object) (((query.Density_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/query.java:450: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/query.java:466: error: cannot find symbol io.write_string_3_p_0(C1_5); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:470: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:473: error: cannot find symbol io.write_int_3_p_0(D1_6); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:477: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:480: error: cannot find symbol io.write_string_3_p_0(C2_7); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:484: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:487: error: cannot find symbol io.write_int_3_p_0(D2_8); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:491: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:499: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class query Mercury/javas/jmercury/query.java:510: error: package jmercury.runtime does not exist ((query.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/query.java:590: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/query.java:596: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/query.java:607: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/query.java:610: error: cannot find symbol SubResult1_6 = private_builtin.builtin_compare_string_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class query Mercury/javas/jmercury/query.java:612: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/query.java:617: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/query.java:621: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/query.java:626: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/query.java:628: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/query.java:630: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/query.java:635: error: package builtin does not exist builtin.Comparison_result_0 SubResult3_12 = null; ^ Mercury/javas/jmercury/query.java:638: error: cannot find symbol SubResult3_12 = private_builtin.builtin_compare_string_3_p_0(ArgX3_10, ArgY3_11); ^ symbol: variable private_builtin location: class query Mercury/javas/jmercury/query.java:640: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult3_12.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/query.java:647: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/query.java:652: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/query.java:654: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/query.java:669: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/query.java:760: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/query.java:803: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 77 errors gmake[3]: *** [/tmp/mmake.P2wDF7:1201: query] Error 1 gmake[3]: Target 'query.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: query.log] Error 1 FAILED TEST benchmarks/tak in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tak.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tak Making Mercury/int3s/tak.int3 Making Mercury/ints/tak.int Making Mercury/javas/jmercury/tak.java Making Java class files Mercury/javas/jmercury/tak.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tak"; ^ Mercury/javas/jmercury/tak.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tak.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tak.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tak Mercury/javas/jmercury/tak.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tak Mercury/javas/jmercury/tak.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tak.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tak Mercury/javas/jmercury/tak.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tak Mercury/javas/jmercury/tak.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tak Mercury/javas/jmercury/tak.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tak Mercury/javas/jmercury/tak.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tak.java:46: error: cannot find symbol io.write_int_3_p_0(Out_4); ^ symbol: variable io location: class tak Mercury/javas/jmercury/tak.java:50: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tak 13 errors gmake[3]: *** [/tmp/mmake.bVeLk2:1201: tak] Error 1 gmake[3]: Target 'tak.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tak.log] Error 1 gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' FAILED tests in benchmarks in grade java gmake[1]: *** [../Mmake.common:415: runtests_local] Error 1 gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/benchmarks' SOME TESTS FAILED: see FAILED_TESTS and runtests.errs gmake: *** [../Mmake.common:314: runtests_dir] Error 1 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/debugger' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/debugger' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/declarative_debugger' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/declarative_debugger' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' gmake[2]: warning: -j1 forced in submake: resetting jobserver mode. STARTING tests in dppd in grade java at Tue Mar 3 09:31:42 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST dppd/run in grade java FAILED TEST dppd/run in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - run.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - run Making Mercury/int3s/run.int3 Making Mercury/int3s/advisor.int3 Making Mercury/int3s/advisor_impl.int3 Making Mercury/int3s/applast.int3 Making Mercury/int3s/applast_impl.int3 Making Mercury/int3s/contains_kmp.int3 Making Mercury/int3s/contains.int3 Making Mercury/int3s/contains_lam.int3 Making Mercury/int3s/doubleapp.int3 Making Mercury/int3s/doubleapp_impl.int3 Making Mercury/int3s/flip.int3 Making Mercury/int3s/flip_impl.int3 Making Mercury/int3s/grammar.int3 Making Mercury/int3s/grammar_impl.int3 Making Mercury/int3s/imperative_solve_power.int3 Making Mercury/int3s/imperative_solve_impl.int3 Making Mercury/int3s/map_reduce.int3 Making Mercury/int3s/map_impl.int3 Making Mercury/int3s/map_rev.int3 Making Mercury/int3s/match.int3 Making Mercury/int3s/match_impl.int3 Making Mercury/int3s/match_append.int3 Making Mercury/int3s/match_append_impl.int3 Making Mercury/int3s/match_kmp.int3 Making Mercury/int3s/maxlength.int3 Making Mercury/int3s/max_length_impl.int3 Making Mercury/int3s/missionaries.int3 Making Mercury/int3s/missionaries_impl.int3 Making Mercury/int3s/regexp_r1.int3 Making Mercury/int3s/regexp.int3 Making Mercury/int3s/regexp_r2.int3 Making Mercury/int3s/regexp_r3.int3 Making Mercury/int3s/relative.int3 Making Mercury/int3s/relative_impl.int3 Making Mercury/int3s/remove.int3 Making Mercury/int3s/remove_impl.int3 Making Mercury/int3s/remove2.int3 Making Mercury/int3s/remove2_impl.int3 Making Mercury/int3s/rotateprune.int3 Making Mercury/int3s/rotateprune_impl.int3 Making Mercury/int3s/ssuply.int3 Making Mercury/int3s/ssuply_impl.int3 Making Mercury/int3s/transpose.int3 Making Mercury/int3s/transpose_impl.int3 Making Mercury/int3s/upto_sum1.int3 Making Mercury/int3s/upto_sum_impl.int3 Making Mercury/int3s/upto_sum2.int3 Making Mercury/ints/upto_sum_impl.int Making Mercury/ints/upto_sum2.int Making Mercury/ints/transpose_impl.int Making Mercury/ints/upto_sum1.int Making Mercury/ints/transpose.int Making Mercury/ints/ssuply_impl.int Making Mercury/ints/ssuply.int Making Mercury/ints/run.int Making Mercury/ints/rotateprune_impl.int Making Mercury/ints/rotateprune.int Making Mercury/ints/remove_impl.int Making Mercury/ints/remove2_impl.int Making Mercury/ints/remove2.int Making Mercury/ints/remove.int Making Mercury/ints/relative_impl.int Making Mercury/ints/relative.int Making Mercury/ints/regexp_r3.int Making Mercury/ints/regexp_r2.int Making Mercury/ints/regexp_r1.int Making Mercury/ints/regexp.int Making Mercury/ints/missionaries_impl.int Making Mercury/ints/missionaries.int Making Mercury/ints/maxlength.int Making Mercury/ints/max_length_impl.int Making Mercury/ints/match_kmp.int Making Mercury/ints/match_impl.int Making Mercury/ints/match_append_impl.int Making Mercury/ints/match_append.int Making Mercury/ints/match.int Making Mercury/ints/map_rev.int Making Mercury/ints/map_reduce.int Making Mercury/ints/map_impl.int Making Mercury/ints/imperative_solve_power.int Making Mercury/ints/imperative_solve_impl.int Making Mercury/ints/grammar_impl.int Making Mercury/ints/grammar.int Making Mercury/ints/flip_impl.int Making Mercury/ints/flip.int Making Mercury/ints/doubleapp_impl.int Making Mercury/ints/contains_lam.int Making Mercury/ints/doubleapp.int Making Mercury/ints/contains_kmp.int Making Mercury/ints/contains.int Making Mercury/ints/applast_impl.int Making Mercury/ints/applast.int Making Mercury/ints/advisor_impl.int Making Mercury/ints/advisor.int Making Mercury/javas/jmercury/advisor.java Making Mercury/javas/jmercury/advisor_impl.java Making Mercury/javas/jmercury/applast.java Making Mercury/javas/jmercury/applast_impl.java Making Mercury/javas/jmercury/contains.java Making Mercury/javas/jmercury/contains_kmp.java Making Mercury/javas/jmercury/contains_lam.java Making Mercury/javas/jmercury/doubleapp.java Making Mercury/javas/jmercury/doubleapp_impl.java Making Mercury/javas/jmercury/flip.java Making Mercury/javas/jmercury/flip_impl.java Making Mercury/javas/jmercury/grammar.java Making Mercury/javas/jmercury/grammar_impl.java Making Mercury/javas/jmercury/imperative_solve_impl.java grammar_impl.m:075: Warning: this disjunct will never have any solutions. grammar_impl.m:077: Warning: this disjunct will never have any solutions. grammar_impl.m:079: Warning: this disjunct will never have any solutions. grammar_impl.m:160: Warning: this disjunct will never have any solutions. Making Mercury/javas/jmercury/imperative_solve_power.java Making Mercury/javas/jmercury/map_impl.java Making Mercury/javas/jmercury/map_reduce.java Making Mercury/javas/jmercury/map_rev.java Making Mercury/javas/jmercury/match.java Making Mercury/javas/jmercury/match_append.java Making Mercury/javas/jmercury/match_append_impl.java Making Mercury/javas/jmercury/match_impl.java Making Mercury/javas/jmercury/match_kmp.java Making Mercury/javas/jmercury/max_length_impl.java Making Mercury/javas/jmercury/maxlength.java Making Mercury/javas/jmercury/missionaries.java Making Mercury/javas/jmercury/missionaries_impl.java Making Mercury/javas/jmercury/regexp.java Making Mercury/javas/jmercury/regexp_r1.java Making Mercury/javas/jmercury/regexp_r2.java Making Mercury/javas/jmercury/regexp_r3.java Making Mercury/javas/jmercury/relative.java Making Mercury/javas/jmercury/relative_impl.java Making Mercury/javas/jmercury/remove.java Making Mercury/javas/jmercury/remove2.java Making Mercury/javas/jmercury/remove2_impl.java Making Mercury/javas/jmercury/remove_impl.java Making Mercury/javas/jmercury/rotateprune.java Making Mercury/javas/jmercury/rotateprune_impl.java Making Mercury/javas/jmercury/run.java Making Mercury/javas/jmercury/ssuply.java Making Mercury/javas/jmercury/ssuply_impl.java Making Mercury/javas/jmercury/transpose.java Making Mercury/javas/jmercury/transpose_impl.java Making Mercury/javas/jmercury/upto_sum1.java Making Mercury/javas/jmercury/upto_sum2.java Making Mercury/javas/jmercury/upto_sum_impl.java Making Java class files Mercury/javas/jmercury/advisor_impl.java:1411: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/advisor_impl.java:1412: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/advisor_impl.java:1466: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/advisor_impl.java:1467: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/advisor_impl.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_activity_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_ordinal_ordered_activity_0 = new jmercury.runtime.EnumFunctorDesc[9]; ^ Mercury/javas/jmercury/advisor_impl.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_name_ordered_activity_0 = new jmercury.runtime.EnumFunctorDesc[9]; ^ Mercury/javas/jmercury/advisor_impl.java:27: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct advisor_impl__type_ctor_info_activity_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/advisor_impl.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_ordinal_ordered_day_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/advisor_impl.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_name_ordered_day_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/advisor_impl.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct advisor_impl__type_ctor_info_day_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/advisor_impl.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_day_type_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_ordinal_ordered_day_type_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/advisor_impl.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_name_ordered_day_type_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/advisor_impl.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct advisor_impl__type_ctor_info_day_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/advisor_impl.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_ordinal_ordered_weather_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/advisor_impl.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_name_ordered_weather_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/advisor_impl.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct advisor_impl__type_ctor_info_weather_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/advisor_impl.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc advisor_impl__enum_functor_desc_weather_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/advisor_impl.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_ordinal_ordered_weather_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/advisor_impl.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] advisor_impl__enum_name_ordered_weather_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/advisor_impl.java:65: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct advisor_impl__type_ctor_info_weather_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/advisor_impl.java:1430: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/advisor_impl.java:1431: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/advisor_impl.java:1452: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/advisor_impl.java:1453: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/advisor_impl.java:1480: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/advisor_impl.java:1481: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/advisor_impl.java:609: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/advisor_impl.java:695: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/advisor_impl.java:846: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/advisor_impl.java:881: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/advisor_impl.java:933: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/advisor_impl.java:945: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/advisor_impl.java:984: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/advisor_impl.java:1023: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/advisor_impl.java:1062: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/advisor_impl.java:1101: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/advisor.java:181: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/advisor.java:246: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/advisor.java:247: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9; ^ Mercury/javas/jmercury/advisor.java:248: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10; ^ Mercury/javas/jmercury/advisor_impl.java:1257: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/advisor_impl.java:1389: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/advisor_impl.java:1496: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/advisor_impl.java:1509: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/advisor_impl.java:1517: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/applast.java:15: 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/applast.java:16: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[28]; ^ Mercury/javas/jmercury/applast_impl.java:15: 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/applast_impl.java:30: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/applast_impl.java:31: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/applast_impl.java:32: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/applast_impl.java:28: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/applast_impl.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/applast_impl.java:60: error: package list does not exist list.List_1 L_4, ^ Mercury/javas/jmercury/applast_impl.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/applast_impl.java:94: error: package list does not exist list.List_1 L_4, ^ Mercury/javas/jmercury/applast_impl.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/applast_impl.java:126: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/contains.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/contains.java:16: 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/contains.java:17: 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/contains.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/contains.java:53: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/contains.java:54: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/contains.java:50: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/contains.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/contains.java:82: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/contains.java:83: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/contains.java:138: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/contains.java:139: error: package list does not exist list.List_1 arg2, ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.qjMEIQ:1170: run] Error 1 gmake[3]: Target 'run.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: run.log] Error 1 gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' FAILED tests in dppd in grade java gmake[1]: *** [../Mmake.common:415: runtests_local] Error 1 gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/dppd' SOME TESTS FAILED: see FAILED_TESTS and runtests.errs gmake: *** [../Mmake.common:314: runtests_dir] Error 1 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' STARTING tests in exceptions in grade java at Tue Mar 3 09:31:44 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST exceptions/test_exceptions in grade java RUNNING TEST exceptions/test_exceptions_func in grade java FAILED TEST exceptions/test_exceptions_func in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_exceptions_func.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_exceptions_func Making Mercury/int3s/test_exceptions_func.int3 Making Mercury/ints/test_exceptions_func.int Making Mercury/javas/jmercury/test_exceptions_func.java Making Java class files Mercury/javas/jmercury/test_exceptions_func.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_exceptions_func.java:355: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_exceptions_func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_exceptions_func"; ^ Mercury/javas/jmercury/test_exceptions_func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_exceptions_func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_exceptions_func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_exceptions_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_exceptions_func.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_exceptions_func.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_exceptions_func.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_exceptions_func.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ Mercury/javas/jmercury/test_exceptions_func.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/test_exceptions_func.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:99: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:104: error: cannot find symbol conv0_HeadVar__1_1 = exception.throw_1_f_0(TypeCtorInfo_3_3, TypeCtorInfo_3_3, ((java.lang.Object) (Var_2))); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:114: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_46 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:116: error: package exception does not exist exception.Exception_result_1 R1_4 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:117: error: package exception does not exist exception.Exception_result_1 R2_5 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:118: error: package exception does not exist exception.Exception_result_1 SemidetThrowResult_6 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:119: error: package exception does not exist exception.Exception_result_1 SemidetSucceedResult_7 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:120: error: package exception does not exist exception.Exception_result_1 SemidetFailResult_8 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:133: error: cannot find symbol R1_4 = exception.try_2_p_0(TypeCtorInfo_36_36, Var_11); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:137: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:139: error: package jmercury.runtime does not exist TypeInfo_10_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_exceptions_func.MR_scalar_common_3[0]); ^ Mercury/javas/jmercury/test_exceptions_func.java:141: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (R1_4))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:144: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:148: error: cannot find symbol R2_5 = exception.try_2_p_0(TypeCtorInfo_36_36, Var_16); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:152: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:155: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (R2_5))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:158: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:162: error: cannot find symbol SemidetThrowResult_6 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_21); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:166: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:169: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetThrowResult_6))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:176: error: cannot find symbol SemidetSucceedResult_7 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_26); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:180: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_27))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:183: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetSucceedResult_7))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:186: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:190: error: cannot find symbol SemidetFailResult_8 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_31); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:194: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:197: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetFailResult_8))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:200: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:338: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:343: error: cannot find symbol conv0_HeadVar__1_1 = exception.throw_1_f_0(TypeCtorInfo_3_3, TypeCtorInfo_3_3, ((java.lang.Object) (Var_2))); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:410: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 60 errors gmake[3]: *** [/tmp/mmake.eNlSOR:1216: test_exceptions_func] Error 1 gmake[3]: Target 'test_exceptions_func.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_exceptions_func.log] Error 1 RUNNING TEST exceptions/test_try_all in grade java FAILED TEST exceptions/test_exceptions in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_exceptions.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_exceptions Making Mercury/int3s/test_exceptions.int3 Making Mercury/ints/test_exceptions.int Making Mercury/javas/jmercury/test_exceptions.java Making Java class files Mercury/javas/jmercury/test_exceptions.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_exceptions.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_exceptions.java:264: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:305: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:326: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:367: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:388: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:429: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:450: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:491: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:512: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:553: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:574: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:615: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:636: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_exceptions.java:677: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1350: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1372: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1403: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1420: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1434: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1456: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1487: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_exceptions.java:1546: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_exceptions.java:1722: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_exceptions.java:1809: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_exceptions.java:1901: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1910: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1919: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1928: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1937: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1946: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:1955: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_exceptions.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_exceptions"; ^ Mercury/javas/jmercury/test_exceptions.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_exceptions.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_exceptions.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_exceptions.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_exceptions.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_exceptions.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/test_exceptions.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_exceptions.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_exceptions.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ symbol: variable exception location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ Mercury/javas/jmercury/test_exceptions.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_exceptions.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_exceptions.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_exceptions.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_exceptions.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_exceptions.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ symbol: variable exception location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ Mercury/javas/jmercury/test_exceptions.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(test_exceptions.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/test_exceptions.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_exceptions.java:267: error: package list does not exist list.List_1 LambdaHeadVar__1_101 = null; ^ Mercury/javas/jmercury/test_exceptions.java:268: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:268: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:268: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:272: error: cannot find symbol LambdaHeadVar__1_101 = solutions.solutions_2_p_1(TypeCtorInfo_140_140, Var_102); ^ symbol: variable solutions location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:285: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_exceptions.introducedFrom__pred__main__100__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__100__1_1_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__100__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_exceptions.java:329: error: package list does not exist list.List_1 LambdaHeadVar__1_65 = null; ^ Mercury/javas/jmercury/test_exceptions.java:330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_126_126 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:330: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_126_126 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_126_126 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:334: error: cannot find symbol LambdaHeadVar__1_65 = solutions.solutions_2_p_0(TypeCtorInfo_126_126, Var_66); ^ symbol: variable solutions location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:347: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_exceptions.introducedFrom__pred__main__70__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__70__1_1_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__70__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_exceptions.java:391: error: package list does not exist list.List_1 LambdaHeadVar__1_71 = null; ^ Mercury/javas/jmercury/test_exceptions.java:392: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_130_130 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:392: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_130_130 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:392: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_130_130 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:396: error: cannot find symbol LambdaHeadVar__1_71 = solutions.solutions_2_p_0(TypeCtorInfo_130_130, Var_72); ^ symbol: variable solutions location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:409: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_exceptions.introducedFrom__pred__main__75__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__75__1_1_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__75__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_exceptions.java:453: error: package list does not exist list.List_1 LambdaHeadVar__1_77 = null; ^ Mercury/javas/jmercury/test_exceptions.java:454: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_132_132 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:454: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_132_132 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:454: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_132_132 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:458: error: cannot find symbol LambdaHeadVar__1_77 = solutions.solutions_2_p_0(TypeCtorInfo_132_132, Var_78); ^ symbol: variable solutions location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:471: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_exceptions.introducedFrom__pred__main__80__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__80__1_1_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__80__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_exceptions.java:515: error: package list does not exist list.List_1 LambdaHeadVar__1_83 = null; ^ Mercury/javas/jmercury/test_exceptions.java:516: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:516: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:516: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:520: error: cannot find symbol LambdaHeadVar__1_83 = solutions.solutions_2_p_1(TypeCtorInfo_134_134, Var_84); ^ symbol: variable solutions location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:533: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_exceptions.introducedFrom__pred__main__85__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__85__1_1_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((test_exceptions.introducedFrom__pred__main__85__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_exceptions.java:577: error: package list does not exist list.List_1 LambdaHeadVar__1_89 = null; ^ Mercury/javas/jmercury/test_exceptions.java:578: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:578: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions Mercury/javas/jmercury/test_exceptions.java:578: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions.java:582: error: cannot find symbol LambdaHeadVar__1_89 = solutions.solutions_2_p_1(TypeCtorInfo_136_136, Var_90); ^ symbol: variable solutions location: class test_exceptions 100 errors gmake[3]: *** [/tmp/mmake.1MlCl0:1216: test_exceptions] Error 1 gmake[3]: Target 'test_exceptions.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_exceptions.log] Error 1 RUNNING TEST exceptions/test_uncaught_exception in grade java FAILED TEST exceptions/test_uncaught_exception in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_uncaught_exception.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_uncaught_exception Making Mercury/int3s/test_uncaught_exception.int3 Making Mercury/ints/test_uncaught_exception.int Making Mercury/javas/jmercury/test_uncaught_exception.java test_uncaught_exception.m:018: Warning: the determinism declaration for test_uncaught_exception.m:018: predicate `main'/2 could be tighter. test_uncaught_exception.m:018: Declared `cc_multi', inferred `erroneous'. test_uncaught_exception.m:024: In predicate `main'/2: test_uncaught_exception.m:024: warning: the first argument and the second test_uncaught_exception.m:024: argument, represented by the state variable test_uncaught_exception.m:024: `!IO', could be deleted, because they are not test_uncaught_exception.m:024: used, and because the final value is always test_uncaught_exception.m:024: the same as the initial value. Making Java class files Mercury/javas/jmercury/test_uncaught_exception.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_uncaught_exception"; ^ Mercury/javas/jmercury/test_uncaught_exception.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_uncaught_exception.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_uncaught_exception.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_uncaught_exception.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_uncaught_exception.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_uncaught_exception.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_uncaught_exception Mercury/javas/jmercury/test_uncaught_exception.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_uncaught_exception.java:40: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable exception location: class test_uncaught_exception 15 errors gmake[3]: *** [/tmp/mmake.xAVnfz:1216: test_uncaught_exception] Error 1 gmake[3]: Target 'test_uncaught_exception.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_uncaught_exception.log] Error 1 RUNNING TEST exceptions/tricky_try_store in grade java FAILED TEST exceptions/test_try_all in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_try_all.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_try_all Making Mercury/int3s/test_try_all.int3 Making Mercury/ints/test_try_all.int Making Mercury/javas/jmercury/test_try_all.java Making Java class files Mercury/javas/jmercury/test_try_all.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_try_all.java:492: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:541: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:590: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:639: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:688: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:737: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:786: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:809: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:831: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:862: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:879: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:893: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:915: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:946: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_try_all.java:964: error: package maybe does not exist maybe.Maybe_1 Excp_7, ^ Mercury/javas/jmercury/test_try_all.java:965: error: package list does not exist list.List_1 Sols_8) ^ Mercury/javas/jmercury/test_try_all.java:1039: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_try_all.java:1107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_try_all.java:1194: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_try_all.java:1286: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1295: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1304: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1313: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1322: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1331: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:1340: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_try_all.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_try_all"; ^ Mercury/javas/jmercury/test_try_all.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_try_all.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_try_all.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_try_all Mercury/javas/jmercury/test_try_all.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_try_all Mercury/javas/jmercury/test_try_all.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_try_all.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_try_all Mercury/javas/jmercury/test_try_all.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_try_all Mercury/javas/jmercury/test_try_all.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_try_all Mercury/javas/jmercury/test_try_all.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_try_all Mercury/javas/jmercury/test_try_all.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_try_all.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_try_all.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_try_all.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class test_try_all Mercury/javas/jmercury/test_try_all.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/test_try_all.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ symbol: variable univ location: class test_try_all Mercury/javas/jmercury/test_try_all.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ Mercury/javas/jmercury/test_try_all.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_try_all.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_try_all Mercury/javas/jmercury/test_try_all.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_try_all.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_try_all Mercury/javas/jmercury/test_try_all.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_try_all.java:52: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_try_all Mercury/javas/jmercury/test_try_all.java:52: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_try_all.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_try_all.java:175: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_try_all Mercury/javas/jmercury/test_try_all.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_try_all.java:179: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_4_4, ((java.lang.Object) (Var_3))); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_try_all.java:188: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_try_all Mercury/javas/jmercury/test_try_all.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_try_all.java:189: error: package maybe does not exist maybe.Maybe_1 DetThrowExcp_4 = null; ^ Mercury/javas/jmercury/test_try_all.java:190: error: package list does not exist list.List_1 DetThrowSols_5 = null; ^ Mercury/javas/jmercury/test_try_all.java:191: error: package maybe does not exist maybe.Maybe_1 DetSucceedExcp_6 = null; ^ Mercury/javas/jmercury/test_try_all.java:192: error: package list does not exist list.List_1 DetSucceedSols_7 = null; ^ Mercury/javas/jmercury/test_try_all.java:193: error: package maybe does not exist maybe.Maybe_1 SemidetThrowExcp_8 = null; ^ Mercury/javas/jmercury/test_try_all.java:194: error: package list does not exist list.List_1 SemidetThrowSols_9 = null; ^ Mercury/javas/jmercury/test_try_all.java:195: error: package maybe does not exist maybe.Maybe_1 SemidetSucceedExcp_10 = null; ^ Mercury/javas/jmercury/test_try_all.java:196: error: package list does not exist list.List_1 SemidetSucceedSols_11 = null; ^ Mercury/javas/jmercury/test_try_all.java:197: error: package maybe does not exist maybe.Maybe_1 SemidetFailExcp_12 = null; ^ Mercury/javas/jmercury/test_try_all.java:198: error: package list does not exist list.List_1 SemidetFailSols_13 = null; ^ Mercury/javas/jmercury/test_try_all.java:199: error: package maybe does not exist maybe.Maybe_1 MultiThrowExcp_14 = null; ^ Mercury/javas/jmercury/test_try_all.java:200: error: package list does not exist list.List_1 MultiThrowSols_15 = null; ^ Mercury/javas/jmercury/test_try_all.java:201: error: package maybe does not exist maybe.Maybe_1 MultiSucceedExcp_16 = null; ^ Mercury/javas/jmercury/test_try_all.java:202: error: package list does not exist list.List_1 MultiSucceedSols_17 = null; ^ Mercury/javas/jmercury/test_try_all.java:203: error: package maybe does not exist maybe.Maybe_1 MultiSucceedThenThrowExcp_18 = null; ^ Mercury/javas/jmercury/test_try_all.java:204: error: package list does not exist list.List_1 MultiSucceedThenThrowSols_19 = null; ^ Mercury/javas/jmercury/test_try_all.java:205: error: package maybe does not exist maybe.Maybe_1 NondetThrowExcp_20 = null; ^ Mercury/javas/jmercury/test_try_all.java:206: error: package list does not exist list.List_1 NondetThrowSols_21 = null; ^ Mercury/javas/jmercury/test_try_all.java:207: error: package maybe does not exist maybe.Maybe_1 NondetSucceedExcp_22 = null; ^ Mercury/javas/jmercury/test_try_all.java:208: error: package list does not exist list.List_1 NondetSucceedSols_23 = null; ^ Mercury/javas/jmercury/test_try_all.java:209: error: package maybe does not exist maybe.Maybe_1 NondetFailExcp_24 = null; ^ Mercury/javas/jmercury/test_try_all.java:210: error: package list does not exist list.List_1 NondetFailSols_25 = null; ^ Mercury/javas/jmercury/test_try_all.java:211: error: package maybe does not exist maybe.Maybe_1 NondetSucceedThenThrowExcp_26 = null; ^ Mercury/javas/jmercury/test_try_all.java:212: error: package list does not exist list.List_1 NondetSucceedThenThrowSols_27 = null; ^ Mercury/javas/jmercury/test_try_all.java:239: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_0(TypeCtorInfo_66_66, Var_30); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:240: error: package maybe does not exist DetThrowExcp_4 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:241: error: package list does not exist DetThrowSols_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_try_all.java:249: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_0(TypeCtorInfo_66_66, Var_33); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:250: error: package maybe does not exist DetSucceedExcp_6 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:251: error: package list does not exist DetSucceedSols_7 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_try_all.java:259: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_1(TypeCtorInfo_66_66, Var_36); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:260: error: package maybe does not exist SemidetThrowExcp_8 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:261: error: package list does not exist SemidetThrowSols_9 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_try_all.java:269: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_1(TypeCtorInfo_66_66, Var_39); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:270: error: package maybe does not exist SemidetSucceedExcp_10 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:271: error: package list does not exist SemidetSucceedSols_11 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_try_all.java:279: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_1(TypeCtorInfo_66_66, Var_42); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:280: error: package maybe does not exist SemidetFailExcp_12 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:281: error: package list does not exist SemidetFailSols_13 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_try_all.java:289: error: cannot find symbol java.lang.Object [] result = exception.try_all_3_p_2(TypeCtorInfo_66_66, Var_45); ^ symbol: variable exception location: class test_try_all Mercury/javas/jmercury/test_try_all.java:290: error: package maybe does not exist MultiThrowExcp_14 = (maybe.Maybe_1) result[0]; ^ Mercury/javas/jmercury/test_try_all.java:291: error: package list does not exist MultiThrowSols_15 = (list.List_1) result[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.bmb8G3:1216: test_try_all] Error 1 gmake[3]: Target 'test_try_all.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_try_all.log] Error 1 FAILED TEST exceptions/tricky_try_store in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tricky_try_store.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tricky_try_store Making Mercury/int3s/tricky_try_store.int3 Making Mercury/ints/tricky_try_store.int Making Mercury/javas/jmercury/tricky_try_store.java tricky_try_store.m:039: Warning: the determinism declaration for predicate tricky_try_store.m:039: `tricky'/4 could be tighter. tricky_try_store.m:039: Declared `det', inferred `erroneous'. Making Java class files Mercury/javas/jmercury/tricky_try_store.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__pti_store_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__pti_generic_ref_2__plain_list__ti_list_1builtin__type_ctor_info_string_0__pseudo_store__pti_store_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/tricky_try_store.java:65: 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/tricky_try_store.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_31_31, ^ Mercury/javas/jmercury/tricky_try_store.java:109: error: package store does not exist store.Ref Key_5) ^ Mercury/javas/jmercury/tricky_try_store.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/tricky_try_store.java:281: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/tricky_try_store.java:300: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tricky_try_store.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tricky_try_store"; ^ Mercury/javas/jmercury/tricky_try_store.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tricky_try_store.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tricky_try_store.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tricky_try_store.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tricky_try_store.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__pti_store_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__pti_generic_ref_2__plain_list__ti_list_1builtin__type_ctor_info_string_0__pseudo_store__pti_store_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tricky_try_store.java:39: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/tricky_try_store.java:45: error: cannot find symbol store.store__type_ctor_info_store_1, ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/tricky_try_store.java:51: error: cannot find symbol store.store__type_ctor_info_generic_ref_2, ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tricky_try_store.list__ti_list_1builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/tricky_try_store.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tricky_try_store.store__pti_store_1__pseudo_1 ^ Mercury/javas/jmercury/tricky_try_store.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/tricky_try_store.java:65: 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/tricky_try_store.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tricky_try_store.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/tricky_try_store.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/tricky_try_store.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tricky_try_store.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ symbol: variable exception location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1))), ^ Mercury/javas/jmercury/tricky_try_store.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/tricky_try_store.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/tricky_try_store.java:92: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:92: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/tricky_try_store.java:94: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:94: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/tricky_try_store.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(tricky_try_store.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/tricky_try_store.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(tricky_try_store.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/tricky_try_store.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(store.store__type_ctor_info_store_1); ^ Mercury/javas/jmercury/tricky_try_store.java:113: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(store.store__type_ctor_info_store_1); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(store.store__type_ctor_info_store_1); ^ Mercury/javas/jmercury/tricky_try_store.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_44 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:115: error: cannot find symbol /* typeclass_info */ java.lang.Object[] BaseTypeClassInfo_for_store_45 = (/* typeclass_info */ java.lang.Object[]) store.base_typeclass_info_store__store__arity1__store__store__arity1__; ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:117: error: package list does not exist list.List_1 Value_42 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:121: error: package jmercury.runtime does not exist TypeInfo_13_44 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tricky_try_store.java:134: error: package store does not exist conv0_Value_42 = store.extract_ref_value_3_p_0(TypeInfo_41_41, TypeClassInfo_for_store_46, java.lang.Integer.valueOf(0), (store.Ref) Key_5); ^ Mercury/javas/jmercury/tricky_try_store.java:134: error: cannot find symbol conv0_Value_42 = store.extract_ref_value_3_p_0(TypeInfo_41_41, TypeClassInfo_for_store_46, java.lang.Integer.valueOf(0), (store.Ref) Key_5); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:136: error: package list does not exist Value_42 = ((list.List_1) conv0_Value_42); ^ Mercury/javas/jmercury/tricky_try_store.java:138: error: cannot find symbol exception.throw_1_p_0(TypeInfo_41_41, ((java.lang.Object) (Value_42))); ^ symbol: variable exception location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_31_31 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_34_34 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_43_43 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:155: error: package store does not exist store.Ref Key_5 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:156: error: package store does not exist store.Ref SubKey_7 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:157: error: package exception does not exist exception.Exception_result_1 Result_9 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:158: error: package list does not exist list.List_1 Val_12 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:159: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/tricky_try_store.java:173: error: cannot find symbol TypeInfo_31_31 = store.init_1_p_0(); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:175: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:175: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/tricky_try_store.java:180: error: cannot find symbol BaseTypeClassInfo_for_store_35 = (/* typeclass_info */ java.lang.Object[]) store.base_typeclass_info_store__store__arity1__store__store__arity1__; ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:181: error: cannot find symbol TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(store.store__type_ctor_info_store_1); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:181: error: package jmercury.runtime does not exist TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(store.store__type_ctor_info_store_1); ^ Mercury/javas/jmercury/tricky_try_store.java:183: error: package jmercury.runtime does not exist TypeInfo_34_34 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tricky_try_store.java:195: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(tricky_try_store.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/tricky_try_store.java:197: error: cannot find symbol java.lang.Object [] result = store.new_ref_4_p_0(TypeInfo_37_37, TypeClassInfo_for_store_36, ((java.lang.Object) (Var_15)), java.lang.Integer.valueOf(0)); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:198: error: package store does not exist Key_5 = (store.Ref) result[0]; ^ Mercury/javas/jmercury/tricky_try_store.java:203: error: cannot find symbol java.lang.Object [] result = store.arg_ref_5_p_0(TypeInfo_37_37, TypeCtorInfo_32_32, TypeClassInfo_for_store_36, Key_5, Var_17, java.lang.Integer.valueOf(0)); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:204: error: package store does not exist SubKey_7 = (store.Ref) result[0]; ^ Mercury/javas/jmercury/tricky_try_store.java:216: error: cannot find symbol TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:216: error: package jmercury.runtime does not exist TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/tricky_try_store.java:218: error: cannot find symbol Result_9 = exception.try_store_4_p_0(TypeCtorInfo_42_42, TypeInfo_31_31, Var_18); ^ symbol: variable exception location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:222: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_19))); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:224: error: package jmercury.runtime does not exist TypeInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(tricky_try_store.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/tricky_try_store.java:226: error: cannot find symbol io.print_3_p_0(TypeInfo_43_43, ((java.lang.Object) (Result_9))); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:233: error: cannot find symbol conv3_Store_11 = store.set_ref_value_4_p_0(TypeCtorInfo_32_32, TypeClassInfo_for_store_36, SubKey_7, ((java.lang.Object) (Var_23)), java.lang.Integer.valueOf(0)); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:237: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:240: error: cannot find symbol io.print_3_p_0(TypeInfo_43_43, ((java.lang.Object) (Result_9))); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:246: error: package store does not exist conv4_Val_12 = store.extract_ref_value_3_p_0(TypeInfo_37_37, TypeClassInfo_for_store_36, java.lang.Integer.valueOf(0), (store.Ref) Key_5); ^ Mercury/javas/jmercury/tricky_try_store.java:246: error: cannot find symbol conv4_Val_12 = store.extract_ref_value_3_p_0(TypeInfo_37_37, TypeClassInfo_for_store_36, java.lang.Integer.valueOf(0), (store.Ref) Key_5); ^ symbol: variable store location: class tricky_try_store Mercury/javas/jmercury/tricky_try_store.java:248: error: package list does not exist Val_12 = ((list.List_1) conv4_Val_12); ^ 100 errors gmake[3]: *** [/tmp/mmake.T4XfN4:1216: tricky_try_store] Error 1 gmake[3]: Target 'tricky_try_store.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tricky_try_store.log] Error 1 gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' FAILED tests in exceptions in grade java gmake[1]: *** [../Mmake.common:415: runtests_local] Error 1 gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/exceptions' SOME TESTS FAILED: see FAILED_TESTS and runtests.errs gmake: *** [../Mmake.common:314: runtests_dir] Error 1 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/feedback' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/feedback' STARTING tests in feedback in grade java at Tue Mar 3 09:31:47 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST feedback/autopar_mandelbrot-nodepend in grade java RUNNING TEST feedback/autopar_mmc-nodepend in grade java gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/feedback' PASSED ALL TESTS in feedback in grade java cleaning up the directory after the tests gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/feedback' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' STARTING tests in general in grade java at Tue Mar 3 09:32:34 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST general/arithmetic in grade java RUNNING TEST general/array_binsearch in grade java FAILED TEST general/arithmetic in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arithmetic.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arithmetic Making Mercury/int3s/arithmetic.int3 Making Mercury/ints/arithmetic.int Making Mercury/javas/jmercury/arithmetic.java Making Java class files Mercury/javas/jmercury/arithmetic.java:32: 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/arithmetic.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arithmetic"; ^ Mercury/javas/jmercury/arithmetic.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arithmetic.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arithmetic.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arithmetic Mercury/javas/jmercury/arithmetic.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arithmetic Mercury/javas/jmercury/arithmetic.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arithmetic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arithmetic.java:32: 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/arithmetic.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/arithmetic.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/arithmetic.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/arithmetic.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/arithmetic.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/arithmetic.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/arithmetic.java:153: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_27 = null; ^ Mercury/javas/jmercury/arithmetic.java:157: error: cannot find symbol io.write_string_3_p_0(Msg_5); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:161: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:163: error: package string__parse_util does not exist Var_27 = (string__parse_util.String_format_flags_0) arithmetic.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/arithmetic.java:165: error: cannot find symbol Var_21 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_27, N_6); ^ symbol: variable string__format location: class arithmetic Mercury/javas/jmercury/arithmetic.java:168: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class arithmetic Mercury/javas/jmercury/arithmetic.java:172: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class arithmetic 26 errors gmake[3]: *** [/tmp/mmake.IH4NSj:1284: arithmetic] Error 1 gmake[3]: Target 'arithmetic.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arithmetic.log] Error 1 RUNNING TEST general/array_test in grade java FAILED TEST general/array_binsearch in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_binsearch.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_binsearch Making Mercury/int3s/array_binsearch.int3 Making Mercury/ints/array_binsearch.int Making Mercury/javas/jmercury/array_binsearch.java Making Java class files Mercury/javas/jmercury/array_binsearch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_binsearch.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_binsearch.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_binsearch.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[66]; ^ Mercury/javas/jmercury/array_binsearch.java:1293: error: package list does not exist list.List_1 SortedList_5, ^ Mercury/javas/jmercury/array_binsearch.java:1394: error: package list does not exist list.List_1 SortedList_5, ^ Mercury/javas/jmercury/array_binsearch.java:1879: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_binsearch.java:1893: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_binsearch.java:1907: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_binsearch.java:1921: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_binsearch.java:1935: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_binsearch.java:1959: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/array_binsearch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_binsearch"; ^ Mercury/javas/jmercury/array_binsearch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_binsearch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_binsearch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_binsearch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_binsearch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_binsearch.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_binsearch.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_binsearch.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[66]; ^ Mercury/javas/jmercury/array_binsearch.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_binsearch.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_binsearch.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_binsearch.java:46: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/array_binsearch.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/array_binsearch.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/array_binsearch.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/array_binsearch.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/array_binsearch.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/array_binsearch.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_binsearch.java:59: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:59: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_binsearch.java:60: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class array_binsearch Mercury/javas/jmercury/array_binsearch.java:60: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/array_binsearch.java:135: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_binsearch.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:139: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_binsearch.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:144: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/array_binsearch.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:149: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/array_binsearch.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:154: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/array_binsearch.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:159: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/array_binsearch.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:164: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/array_binsearch.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:169: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/array_binsearch.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:174: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/array_binsearch.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:179: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[7] ^ Mercury/javas/jmercury/array_binsearch.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:184: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/array_binsearch.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:189: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[9] ^ Mercury/javas/jmercury/array_binsearch.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:194: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[10] ^ Mercury/javas/jmercury/array_binsearch.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:199: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[11] ^ Mercury/javas/jmercury/array_binsearch.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:204: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[12] ^ Mercury/javas/jmercury/array_binsearch.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:209: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[13] ^ Mercury/javas/jmercury/array_binsearch.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:214: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[14] ^ Mercury/javas/jmercury/array_binsearch.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:219: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[15] ^ Mercury/javas/jmercury/array_binsearch.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:224: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[16] ^ Mercury/javas/jmercury/array_binsearch.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:229: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[17] ^ Mercury/javas/jmercury/array_binsearch.java:232: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:234: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[18] ^ Mercury/javas/jmercury/array_binsearch.java:237: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:239: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[19] ^ Mercury/javas/jmercury/array_binsearch.java:242: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:244: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[20] ^ Mercury/javas/jmercury/array_binsearch.java:247: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:249: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[21] ^ Mercury/javas/jmercury/array_binsearch.java:252: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:254: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[22] ^ Mercury/javas/jmercury/array_binsearch.java:257: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:259: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[23] ^ Mercury/javas/jmercury/array_binsearch.java:262: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:264: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[24] ^ Mercury/javas/jmercury/array_binsearch.java:267: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_binsearch.java:269: error: package list does not exist (list.List_1) array_binsearch.MR_scalar_common_6[25] ^ Mercury/javas/jmercury/array_binsearch.java:272: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.PlOz6G:1284: array_binsearch] Error 1 gmake[3]: Target 'array_binsearch.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_binsearch.log] Error 1 RUNNING TEST general/base_string_to_int_test in grade java FAILED TEST general/array_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test Making Mercury/int3s/array_test.int3 Making Mercury/ints/array_test.int Making Mercury/javas/jmercury/array_test.java Making Java class files Mercury/javas/jmercury/array_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/array_test.java:35: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_4 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/array_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/array_test.java:133: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_test.java:166: error: package list does not exist list.List_1 Xs_4) ^ Mercury/javas/jmercury/array_test.java:663: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/array_test.java:709: error: package list does not exist list.List_1 List_6) ^ Mercury/javas/jmercury/array_test.java:751: error: package maybe does not exist maybe.Maybe_1 HeadVar__2_2) ^ Mercury/javas/jmercury/array_test.java:794: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_test.java:817: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/array_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_test"; ^ Mercury/javas/jmercury/array_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_test Mercury/javas/jmercury/array_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_test Mercury/javas/jmercury/array_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test Mercury/javas/jmercury/array_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test Mercury/javas/jmercury/array_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test Mercury/javas/jmercury/array_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test Mercury/javas/jmercury/array_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/array_test.java:35: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_4 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/array_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/array_test.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_test.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_test Mercury/javas/jmercury/array_test.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_test.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_test.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_test.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class array_test Mercury/javas/jmercury/array_test.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/array_test.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_test.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_test.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_test.java:57: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:57: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/array_test.java:72: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/array_test.java:74: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_test.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:78: error: package list does not exist (list.List_1) array_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_test.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:83: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/array_test.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:88: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/array_test.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:93: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/array_test.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:98: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/array_test.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:103: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/array_test.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:108: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/array_test.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:113: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/array_test.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:118: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[7] ^ Mercury/javas/jmercury/array_test.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test.java:123: error: package list does not exist (list.List_1) array_test.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/array_test.java:139: error: package builtin does not exist builtin.Comparison_result_0 LambdaHeadVar__3_54 = null; ^ Mercury/javas/jmercury/array_test.java:142: error: package builtin does not exist LambdaHeadVar__3_54 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/array_test.java:147: error: package builtin does not exist LambdaHeadVar__3_54 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/array_test.java:149: error: package builtin does not exist LambdaHeadVar__3_54 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/array_test.java:157: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_test.MR_scalar_common_6[9]; ^ Mercury/javas/jmercury/array_test.java:157: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_test.MR_scalar_common_6[9]; ^ Mercury/javas/jmercury/array_test.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_test.java:169: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_test Mercury/javas/jmercury/array_test.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_test.java:173: error: package list does not exist list.List_1 As0_12 = null; ^ Mercury/javas/jmercury/array_test.java:179: error: package maybe does not exist maybe.Maybe_1 MaybeABsearch_19 = null; ^ Mercury/javas/jmercury/array_test.java:181: error: package list does not exist list.List_1 As1_21 = null; ^ Mercury/javas/jmercury/array_test.java:183: error: package list does not exist list.List_1 As2_23 = null; ^ Mercury/javas/jmercury/array_test.java:185: error: package list does not exist list.List_1 As3_25 = null; ^ Mercury/javas/jmercury/array_test.java:187: error: package list does not exist list.List_1 As4_27 = null; ^ Mercury/javas/jmercury/array_test.java:189: error: package list does not exist list.List_1 As5_29 = null; ^ Mercury/javas/jmercury/array_test.java:191: error: package list does not exist list.List_1 As6_31 = null; ^ Mercury/javas/jmercury/array_test.java:192: error: package bt_array does not exist bt_array.Bt_array_1 B0_32 = null; ^ Mercury/javas/jmercury/array_test.java:193: error: package list does not exist list.List_1 Bs0_33 = null; ^ Mercury/javas/jmercury/array_test.java:199: error: package maybe does not exist maybe.Maybe_1 MaybeBBsearch_40 = null; ^ Mercury/javas/jmercury/array_test.java:200: error: package bt_array does not exist bt_array.Bt_array_1 B1_41 = null; ^ Mercury/javas/jmercury/array_test.java:201: error: package list does not exist list.List_1 Bs1_42 = null; ^ Mercury/javas/jmercury/array_test.java:202: error: package bt_array does not exist bt_array.Bt_array_1 B2_43 = null; ^ Mercury/javas/jmercury/array_test.java:203: error: package list does not exist list.List_1 Bs2_44 = null; ^ Mercury/javas/jmercury/array_test.java:204: error: package bt_array does not exist bt_array.Bt_array_1 B3_45 = null; ^ Mercury/javas/jmercury/array_test.java:205: error: package list does not exist list.List_1 Bs3_46 = null; ^ Mercury/javas/jmercury/array_test.java:222: error: package list does not exist list.List_1 Var_82 = null; ^ Mercury/javas/jmercury/array_test.java:227: error: package list does not exist list.List_1 Var_88 = null; ^ Mercury/javas/jmercury/array_test.java:228: error: package list does not exist list.List_1 Var_89 = null; ^ Mercury/javas/jmercury/array_test.java:264: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_137_137 = null; ^ Mercury/javas/jmercury/array_test.java:265: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_138_138 = null; ^ Mercury/javas/jmercury/array_test.java:266: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_139_139 = null; ^ Mercury/javas/jmercury/array_test.java:267: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_140_140 = null; ^ Mercury/javas/jmercury/array_test.java:268: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_141_141 = null; ^ Mercury/javas/jmercury/array_test.java:269: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_142_142 = null; ^ Mercury/javas/jmercury/array_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_143_143 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.s5RuVv:1284: array_test] Error 1 gmake[3]: Target 'array_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_test.log] Error 1 RUNNING TEST general/base_string_to_integer in grade java FAILED TEST general/base_string_to_int_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base_string_to_int_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base_string_to_int_test Making Mercury/int3s/base_string_to_int_test.int3 Making Mercury/ints/base_string_to_int_test.int Making Mercury/javas/jmercury/base_string_to_int_test.java Making Java class files Mercury/javas/jmercury/base_string_to_int_test.java:32: 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/base_string_to_int_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "base_string_to_int_test"; ^ Mercury/javas/jmercury/base_string_to_int_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/base_string_to_int_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/base_string_to_int_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/base_string_to_int_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/base_string_to_int_test.java:32: 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/base_string_to_int_test.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/base_string_to_int_test.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/base_string_to_int_test.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/base_string_to_int_test.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/base_string_to_int_test.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/base_string_to_int_test.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/base_string_to_int_test.java:132: error: cannot find symbol Var_39 = mr_int.min_int_0_f_0(); ^ symbol: variable mr_int location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:135: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(Var_38, MinIntStr_4); ^ symbol: variable string location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:146: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:154: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:170: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:173: error: cannot find symbol io.write_string_3_p_0(S_4); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:177: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:181: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(Var_14, S_4); ^ symbol: variable string location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:188: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) base_string_to_int_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/base_string_to_int_test.java:188: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) base_string_to_int_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/base_string_to_int_test.java:192: error: cannot find symbol Var_27 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, N_6); ^ symbol: variable string__format location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:195: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:199: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class base_string_to_int_test Mercury/javas/jmercury/base_string_to_int_test.java:207: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class base_string_to_int_test 33 errors gmake[3]: *** [/tmp/mmake.tjyiEw:1284: base_string_to_int_test] Error 1 gmake[3]: Target 'base_string_to_int_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: base_string_to_int_test.log] Error 1 RUNNING TEST general/commit_bug_1 in grade java FAILED TEST general/commit_bug_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commit_bug_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commit_bug_1 Making Mercury/int3s/commit_bug_1.int3 Making Mercury/ints/commit_bug_1.int Making Mercury/javas/jmercury/commit_bug_1.java Making Java class files Mercury/javas/jmercury/commit_bug_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commit_bug_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/commit_bug_1.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_1.java:152: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commit_bug_1.java:180: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_1.java:258: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commit_bug_1.java:300: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/commit_bug_1.java:324: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_1.java:333: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commit_bug_1"; ^ Mercury/javas/jmercury/commit_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commit_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commit_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commit_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commit_bug_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commit_bug_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/commit_bug_1.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/commit_bug_1.java:52: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/commit_bug_1.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:56: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/commit_bug_1.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:61: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/commit_bug_1.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:66: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/commit_bug_1.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:71: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/commit_bug_1.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commit_bug_1.java:76: error: package list does not exist (list.List_1) commit_bug_1.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/commit_bug_1.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_1.java:89: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_1.java:90: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:94: error: cannot find symbol List_4 = solutions.solutions_2_p_0(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:109: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((commit_bug_1.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:159: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_1.java:159: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_1.java:160: error: package list does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_1.java:160: error: package list.List_1 does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_1.java:161: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:164: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:167: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:194: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/commit_bug_1.java:197: error: package list does not exist Var_6 = (list.List_1) commit_bug_1.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/commit_bug_1.java:198: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:198: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_1.java:200: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_18_18, Var_6, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class commit_bug_1 Mercury/javas/jmercury/commit_bug_1.java:206: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:226: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_1.Test_1_p_0_env_0) env_ptr).Val_2), ((java.lang.Object) (((commit_bug_1.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_1.java:287: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commit_bug_1.java:312: error: package jmercury.runtime does not exist commit_bug_1.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 59 errors gmake[3]: *** [/tmp/mmake.ydW6eq:1284: commit_bug_1] Error 1 gmake[3]: Target 'commit_bug_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: commit_bug_1.log] Error 1 RUNNING TEST general/commit_bug_2 in grade java FAILED TEST general/base_string_to_integer in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base_string_to_integer.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - base_string_to_integer Making Mercury/int3s/base_string_to_integer.int3 Making Mercury/ints/base_string_to_integer.int Making Mercury/javas/jmercury/base_string_to_integer.java Making Java class files Mercury/javas/jmercury/base_string_to_integer.java:32: 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/base_string_to_integer.java:33: 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/base_string_to_integer.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[68]; ^ Mercury/javas/jmercury/base_string_to_integer.java:398: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/base_string_to_integer.java:481: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/base_string_to_integer.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "base_string_to_integer"; ^ Mercury/javas/jmercury/base_string_to_integer.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/base_string_to_integer.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/base_string_to_integer.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/base_string_to_integer.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class base_string_to_integer Mercury/javas/jmercury/base_string_to_integer.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/base_string_to_integer.java:32: 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/base_string_to_integer.java:33: 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/base_string_to_integer.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[68]; ^ Mercury/javas/jmercury/base_string_to_integer.java:38: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/base_string_to_integer.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/base_string_to_integer.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/base_string_to_integer.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/base_string_to_integer.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/base_string_to_integer.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/base_string_to_integer.java:46: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/base_string_to_integer.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:50: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/base_string_to_integer.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:55: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/base_string_to_integer.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:60: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/base_string_to_integer.java:63: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:65: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/base_string_to_integer.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:70: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/base_string_to_integer.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:75: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/base_string_to_integer.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:80: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/base_string_to_integer.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:85: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/base_string_to_integer.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:90: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/base_string_to_integer.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:95: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/base_string_to_integer.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:100: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/base_string_to_integer.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:105: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/base_string_to_integer.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:110: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/base_string_to_integer.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:115: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/base_string_to_integer.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:120: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/base_string_to_integer.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:125: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/base_string_to_integer.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:130: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/base_string_to_integer.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:135: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/base_string_to_integer.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:140: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/base_string_to_integer.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:145: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/base_string_to_integer.java:148: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:150: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/base_string_to_integer.java:153: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:155: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[20] ^ Mercury/javas/jmercury/base_string_to_integer.java:158: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:160: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[21] ^ Mercury/javas/jmercury/base_string_to_integer.java:163: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:165: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[22] ^ Mercury/javas/jmercury/base_string_to_integer.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:170: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[23] ^ Mercury/javas/jmercury/base_string_to_integer.java:173: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:175: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[24] ^ Mercury/javas/jmercury/base_string_to_integer.java:178: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:180: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[25] ^ Mercury/javas/jmercury/base_string_to_integer.java:183: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:185: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[26] ^ Mercury/javas/jmercury/base_string_to_integer.java:188: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:190: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[27] ^ Mercury/javas/jmercury/base_string_to_integer.java:193: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:195: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/base_string_to_integer.java:198: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:200: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[29] ^ Mercury/javas/jmercury/base_string_to_integer.java:203: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:205: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[30] ^ Mercury/javas/jmercury/base_string_to_integer.java:208: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:210: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[31] ^ Mercury/javas/jmercury/base_string_to_integer.java:213: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:215: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[32] ^ Mercury/javas/jmercury/base_string_to_integer.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:220: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[33] ^ Mercury/javas/jmercury/base_string_to_integer.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:225: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[34] ^ Mercury/javas/jmercury/base_string_to_integer.java:228: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/base_string_to_integer.java:230: error: package list does not exist (list.List_1) base_string_to_integer.MR_scalar_common_3[35] ^ 100 errors gmake[3]: *** [/tmp/mmake.6uqnrg:1284: base_string_to_integer] Error 1 gmake[3]: Target 'base_string_to_integer.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: base_string_to_integer.log] Error 1 RUNNING TEST general/complex_failure in grade java FAILED TEST general/commit_bug_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commit_bug_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - commit_bug_2 Making Mercury/int3s/commit_bug_2.int3 Making Mercury/ints/commit_bug_2.int Making Mercury/javas/jmercury/commit_bug_2.java Making Java class files Mercury/javas/jmercury/commit_bug_2.java:147: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_2.java:170: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commit_bug_2.java:200: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/commit_bug_2.java:406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commit_bug_2.java:425: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/commit_bug_2.java:449: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_2.java:458: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/commit_bug_2.java:462: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/commit_bug_2.java:466: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_3; ^ Mercury/javas/jmercury/commit_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commit_bug_2"; ^ Mercury/javas/jmercury/commit_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commit_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commit_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commit_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commit_bug_2.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/commit_bug_2.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_2.java:107: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/commit_bug_2.java:108: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/commit_bug_2.java:112: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:127: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((commit_bug_2.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_2.java:177: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_2.java:177: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/commit_bug_2.java:178: error: package list does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_2.java:178: error: package list.List_1 does not exist list.List_1 L_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commit_bug_2.java:180: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commit_bug_2.java:183: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:187: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class commit_bug_2 Mercury/javas/jmercury/commit_bug_2.java:280: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/commit_bug_2.java:286: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((commit_bug_2.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((commit_bug_2.Test_1_p_0_env_0) env_ptr).A_2), ((java.lang.Object) (((commit_bug_2.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/commit_bug_2.java:296: error: package jmercury.runtime does not exist ((commit_bug_2.Test_1_p_0_env_0) env_ptr).commit_1 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/commit_bug_2.java:370: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/commit_bug_2.java:386: error: package jmercury.runtime does not exist ((commit_bug_2.Test_1_p_0_env_0) env_ptr).commit_3 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/commit_bug_2.java:437: error: package jmercury.runtime does not exist commit_bug_2.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 41 errors gmake[3]: *** [/tmp/mmake.f3Dyqj:1284: commit_bug_2] Error 1 gmake[3]: Target 'commit_bug_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: commit_bug_2.log] Error 1 RUNNING TEST general/det_complicated_unify_1 in grade java FAILED TEST general/complex_failure in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - complex_failure.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - complex_failure Making Mercury/int3s/complex_failure.int3 Making Mercury/ints/complex_failure.int Making Mercury/javas/jmercury/complex_failure.java Making Java class files Mercury/javas/jmercury/complex_failure.java:171: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:269: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:293: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:429: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:442: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:455: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:468: error: package list does not exist list.List_1 Xs_4) ^ Mercury/javas/jmercury/complex_failure.java:498: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/complex_failure.java:532: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:606: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:672: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/complex_failure.java:707: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/complex_failure.java:794: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/complex_failure.java:850: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/complex_failure.java:859: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/complex_failure.java:868: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/complex_failure.java:877: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/complex_failure.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "complex_failure"; ^ Mercury/javas/jmercury/complex_failure.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/complex_failure.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/complex_failure.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class complex_failure Mercury/javas/jmercury/complex_failure.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class complex_failure Mercury/javas/jmercury/complex_failure.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/complex_failure.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/complex_failure.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class complex_failure Mercury/javas/jmercury/complex_failure.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/complex_failure.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/complex_failure.java:113: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class complex_failure Mercury/javas/jmercury/complex_failure.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/complex_failure.java:114: error: package list does not exist list.List_1 Xs1_4 = null; ^ Mercury/javas/jmercury/complex_failure.java:115: error: package list does not exist list.List_1 Xs2_5 = null; ^ Mercury/javas/jmercury/complex_failure.java:116: error: package list does not exist list.List_1 Xs3_6 = null; ^ Mercury/javas/jmercury/complex_failure.java:122: error: cannot find symbol Xs1_4 = solutions.solutions_2_p_1(TypeCtorInfo_15_15, Var_9); ^ symbol: variable solutions location: class complex_failure Mercury/javas/jmercury/complex_failure.java:129: error: cannot find symbol Xs2_5 = solutions.solutions_2_p_1(TypeCtorInfo_15_15, Var_11); ^ symbol: variable solutions location: class complex_failure Mercury/javas/jmercury/complex_failure.java:136: error: cannot find symbol Xs3_6 = solutions.solutions_2_p_1(TypeCtorInfo_15_15, Var_13); ^ symbol: variable solutions location: class complex_failure Mercury/javas/jmercury/complex_failure.java:151: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((complex_failure.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((complex_failure.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((complex_failure.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:200: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((complex_failure.Main_2_p_0_6_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((complex_failure.Main_2_p_0_6_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((complex_failure.Main_2_p_0_6_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:249: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((complex_failure.Main_2_p_0_9_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((complex_failure.Main_2_p_0_9_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((complex_failure.Main_2_p_0_9_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:475: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:484: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:491: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:505: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/complex_failure.java:505: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/complex_failure.java:506: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/complex_failure.java:506: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/complex_failure.java:509: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:514: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/complex_failure.java:517: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class complex_failure Mercury/javas/jmercury/complex_failure.java:546: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:561: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:572: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:580: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:588: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:596: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:620: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:635: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:646: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:654: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:662: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:687: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(G_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:699: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(G_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/complex_failure.java:781: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/complex_failure.java:810: error: package jmercury.runtime does not exist complex_failure.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/complex_failure.java:819: error: package jmercury.runtime does not exist complex_failure.main_2_p_0_6(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/complex_failure.java:828: error: package jmercury.runtime does not exist complex_failure.main_2_p_0_9(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/complex_failure.java:833: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 71 errors gmake[3]: *** [/tmp/mmake.ocquco:1284: complex_failure] Error 1 gmake[3]: Target 'complex_failure.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: complex_failure.log] Error 1 RUNNING TEST general/det_complicated_unify_2 in grade java FAILED TEST general/det_complicated_unify_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_complicated_unify_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_complicated_unify_1 Making Mercury/int3s/det_complicated_unify_1.int3 Making Mercury/ints/det_complicated_unify_1.int Making Mercury/javas/jmercury/det_complicated_unify_1.java Making Java class files Mercury/javas/jmercury/det_complicated_unify_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc det_complicated_unify_1__enum_functor_desc_bar_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] det_complicated_unify_1__enum_ordinal_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] det_complicated_unify_1__enum_name_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_1__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_1__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_1__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_1__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_1__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_1__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:336: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_1.java:170: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_1.java:193: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_1.java:355: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/det_complicated_unify_1.java:356: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_1.java:276: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/det_complicated_unify_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "det_complicated_unify_1"; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc det_complicated_unify_1__enum_functor_desc_bar_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] det_complicated_unify_1__enum_ordinal_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] det_complicated_unify_1__enum_name_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_1__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_1__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_1__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_1__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_1__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_1__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_1.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/det_complicated_unify_1.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_complicated_unify_1.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_complicated_unify_1.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) det_complicated_unify_1.det_complicated_unify_1__type_ctor_info_bar_0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:83: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:91: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/det_complicated_unify_1.java:99: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/det_complicated_unify_1.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_complicated_unify_1.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_complicated_unify_1.java:166: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class det_complicated_unify_1 Mercury/javas/jmercury/det_complicated_unify_1.java:173: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:173: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:184: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:199: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:205: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:207: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:217: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/det_complicated_unify_1.java:323: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 57 errors gmake[3]: *** [/tmp/mmake.fM2g21:1284: det_complicated_unify_1] Error 1 gmake[3]: Target 'det_complicated_unify_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: det_complicated_unify_1.log] Error 1 RUNNING TEST general/determinism_inlining in grade java FAILED TEST general/det_complicated_unify_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_complicated_unify_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_complicated_unify_2 Making Mercury/int3s/det_complicated_unify_2.int3 Making Mercury/ints/det_complicated_unify_2.int Making Mercury/javas/jmercury/det_complicated_unify_2.java Making Java class files Mercury/javas/jmercury/det_complicated_unify_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_baz_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_baz_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_baz_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_baz_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_baz_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo2_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_foo2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_fum_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_fum_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_fum_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_fum_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_fum_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:71: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_fum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_fum2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_fum2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_fum2_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_fum2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_fum2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_fum2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_fum2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_fum2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1436: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1519: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1536: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1472: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1579: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1596: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_complicated_unify_2.java:666: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:723: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:815: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:855: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:919: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:959: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:1304: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/det_complicated_unify_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "det_complicated_unify_2"; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_complicated_unify_2 Mercury/javas/jmercury/det_complicated_unify_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_baz_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_baz_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_baz_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_baz_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_baz_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_baz_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_foo2_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_foo2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_name_ordered_foo2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_complicated_unify_2__type_ctor_info_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_complicated_unify_2__field_types_fum_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_complicated_unify_2__du_functor_desc_fum_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_complicated_unify_2.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_complicated_unify_2__du_stag_ordered_fum_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_complicated_unify_2.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_complicated_unify_2__du_ptag_ordered_fum_0 = new jmercury.runtime.DuPtagLayout[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.PuCMoQ:1284: det_complicated_unify_2] Error 1 gmake[3]: Target 'det_complicated_unify_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: det_complicated_unify_2.log] Error 1 RUNNING TEST general/disj_disj in grade java FAILED TEST general/determinism_inlining in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - determinism_inlining.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - determinism_inlining Making Mercury/int3s/determinism_inlining.int3 Making Mercury/ints/determinism_inlining.int Making Mercury/javas/jmercury/determinism_inlining.java Making Java class files Mercury/javas/jmercury/determinism_inlining.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "determinism_inlining"; ^ Mercury/javas/jmercury/determinism_inlining.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/determinism_inlining.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/determinism_inlining.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/determinism_inlining.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/determinism_inlining.java:39: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class determinism_inlining Mercury/javas/jmercury/determinism_inlining.java:42: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class determinism_inlining 13 errors gmake[3]: *** [/tmp/mmake.kZKiuy:1284: determinism_inlining] Error 1 gmake[3]: Target 'determinism_inlining.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: determinism_inlining.log] Error 1 RUNNING TEST general/dnf in grade java FAILED TEST general/disj_disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disj_disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disj_disj Making Mercury/int3s/disj_disj.int3 Making Mercury/ints/disj_disj.int Making Mercury/javas/jmercury/disj_disj.java Making Java class files Mercury/javas/jmercury/disj_disj.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/disj_disj.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/disj_disj.java:122: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj_disj.java:216: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/disj_disj.java:230: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/disj_disj.java:253: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/disj_disj.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/disj_disj.java:329: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/disj_disj.java:353: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj_disj.java:355: error: package pair does not exist public pair.Pair_2 LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/disj_disj.java:363: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/disj_disj.java:366: error: package pair does not exist public pair.Pair_2 conv0_LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/disj_disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "disj_disj"; ^ Mercury/javas/jmercury/disj_disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/disj_disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/disj_disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class disj_disj Mercury/javas/jmercury/disj_disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class disj_disj Mercury/javas/jmercury/disj_disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/disj_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/disj_disj.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/disj_disj.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class disj_disj Mercury/javas/jmercury/disj_disj.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/disj_disj.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class disj_disj Mercury/javas/jmercury/disj_disj.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/disj_disj.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class disj_disj Mercury/javas/jmercury/disj_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/disj_disj.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/disj_disj.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/disj_disj.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class disj_disj Mercury/javas/jmercury/disj_disj.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/disj_disj.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class disj_disj Mercury/javas/jmercury/disj_disj.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/disj_disj.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class disj_disj Mercury/javas/jmercury/disj_disj.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/disj_disj.java:63: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/disj_disj.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/disj_disj.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/disj_disj.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/disj_disj.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/disj_disj.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/disj_disj.java:177: error: package pair does not exist ((disj_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11 = new pair.Pair_2( ^ Mercury/javas/jmercury/disj_disj.java:183: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((disj_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((disj_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11)), ((java.lang.Object) (((disj_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/disj_disj.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(disj_disj.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/disj_disj.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(disj_disj.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/disj_disj.java:191: error: package list does not exist list.List_1 List_7 = null; ^ Mercury/javas/jmercury/disj_disj.java:195: error: cannot find symbol List_7 = solutions.solutions_2_p_0(TypeInfo_14_14, Var_10); ^ symbol: variable solutions location: class disj_disj Mercury/javas/jmercury/disj_disj.java:210: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((disj_disj.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((disj_disj.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((disj_disj.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/disj_disj.java:262: error: package list does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/disj_disj.java:262: error: package list.List_1 does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/disj_disj.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/disj_disj.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/disj_disj.java:263: error: package list.List_1 does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/disj_disj.java:266: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/disj_disj.java:270: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/disj_disj.java:272: error: package pair does not exist X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/disj_disj.java:272: error: illegal start of type X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/disj_disj.java:273: error: package pair does not exist Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/disj_disj.java:273: error: illegal start of type Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/disj_disj.java:276: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:278: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) disj_disj.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/disj_disj.java:280: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, X_7); ^ symbol: variable string__format location: class disj_disj Mercury/javas/jmercury/disj_disj.java:283: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:287: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:290: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Y_8); ^ symbol: variable string__format location: class disj_disj Mercury/javas/jmercury/disj_disj.java:293: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:297: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class disj_disj Mercury/javas/jmercury/disj_disj.java:321: error: package pair does not exist disj_disj.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/disj_disj.java:341: error: package jmercury.runtime does not exist disj_disj.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 73 errors gmake[3]: *** [/tmp/mmake.HbEJKq:1284: disj_disj] Error 1 gmake[3]: Target 'disj_disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: disj_disj.log] Error 1 RUNNING TEST general/do_while in grade java FAILED TEST general/dnf in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dnf.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dnf Making Mercury/int3s/dnf.int3 Making Mercury/ints/dnf.int Making Mercury/javas/jmercury/dnf.java dnf.m:037: Ignoring the `:- pragma memo' declaration for predicate `dnf.q'/2 dnf.m:037: mode 0, because tabling is is implemented only on the C backend. Making Java class files Mercury/javas/jmercury/dnf.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dnf.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dnf.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/dnf.java:122: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dnf.java:216: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/dnf.java:230: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dnf.java:253: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/dnf.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dnf.java:329: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dnf.java:353: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dnf.java:355: error: package pair does not exist public pair.Pair_2 LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/dnf.java:363: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dnf.java:366: error: package pair does not exist public pair.Pair_2 conv0_LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/dnf.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dnf"; ^ Mercury/javas/jmercury/dnf.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dnf.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dnf.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dnf Mercury/javas/jmercury/dnf.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dnf Mercury/javas/jmercury/dnf.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dnf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dnf.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dnf.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class dnf Mercury/javas/jmercury/dnf.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/dnf.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class dnf Mercury/javas/jmercury/dnf.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/dnf.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class dnf Mercury/javas/jmercury/dnf.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dnf.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/dnf.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/dnf.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class dnf Mercury/javas/jmercury/dnf.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/dnf.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class dnf Mercury/javas/jmercury/dnf.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/dnf.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class dnf Mercury/javas/jmercury/dnf.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/dnf.java:63: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/dnf.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/dnf.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/dnf.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/dnf.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/dnf.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/dnf.java:177: error: package pair does not exist ((dnf.introducedFrom__pred__main__23__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11 = new pair.Pair_2( ^ Mercury/javas/jmercury/dnf.java:183: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((dnf.introducedFrom__pred__main__23__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((dnf.introducedFrom__pred__main__23__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11)), ((java.lang.Object) (((dnf.introducedFrom__pred__main__23__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/dnf.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(dnf.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/dnf.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(dnf.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/dnf.java:191: error: package list does not exist list.List_1 List_7 = null; ^ Mercury/javas/jmercury/dnf.java:195: error: cannot find symbol List_7 = solutions.solutions_2_p_0(TypeInfo_14_14, Var_10); ^ symbol: variable solutions location: class dnf Mercury/javas/jmercury/dnf.java:210: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((dnf.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((dnf.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((dnf.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/dnf.java:262: error: package list does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/dnf.java:262: error: package list.List_1 does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/dnf.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/dnf.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/dnf.java:263: error: package list.List_1 does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/dnf.java:266: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/dnf.java:270: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dnf.java:272: error: package pair does not exist X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/dnf.java:272: error: illegal start of type X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/dnf.java:273: error: package pair does not exist Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/dnf.java:273: error: illegal start of type Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/dnf.java:276: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:278: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) dnf.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/dnf.java:280: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, X_7); ^ symbol: variable string__format location: class dnf Mercury/javas/jmercury/dnf.java:283: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:287: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:290: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Y_8); ^ symbol: variable string__format location: class dnf Mercury/javas/jmercury/dnf.java:293: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:297: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class dnf Mercury/javas/jmercury/dnf.java:321: error: package pair does not exist dnf.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/dnf.java:341: error: package jmercury.runtime does not exist dnf.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 73 errors gmake[3]: *** [/tmp/mmake.x7ybg5:1284: dnf] Error 1 gmake[3]: Target 'dnf.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dnf.log] Error 1 RUNNING TEST general/double_error_1 in grade java FAILED TEST general/do_while in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - do_while.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - do_while Making Mercury/int3s/do_while.int3 Making Mercury/ints/do_while.int Making Mercury/javas/jmercury/do_while.java Making Java class files Mercury/javas/jmercury/do_while.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/do_while.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/do_while.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/do_while.java:168: error: package list does not exist list.List_1 Rs0_9) ^ Mercury/javas/jmercury/do_while.java:261: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/do_while.java:356: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/do_while.java:418: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/do_while.java:445: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/do_while.java:464: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/do_while.java:529: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/do_while.java:539: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/do_while.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "do_while"; ^ Mercury/javas/jmercury/do_while.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/do_while.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/do_while.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class do_while Mercury/javas/jmercury/do_while.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class do_while Mercury/javas/jmercury/do_while.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/do_while.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/do_while.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/do_while.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class do_while Mercury/javas/jmercury/do_while.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/do_while.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/do_while.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/do_while.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/do_while.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class do_while Mercury/javas/jmercury/do_while.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/do_while.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/do_while.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/do_while.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/do_while.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:83: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class do_while Mercury/javas/jmercury/do_while.java:83: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/do_while.java:84: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:84: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/do_while.java:85: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:85: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/do_while.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:100: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:100: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:101: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class do_while Mercury/javas/jmercury/do_while.java:101: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/do_while.java:120: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/do_while.java:171: error: package bool does not exist bool.Bool_0 More_8 = null; ^ Mercury/javas/jmercury/do_while.java:172: error: package list does not exist list.List_1 HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:175: error: package list.List_1 does not exist HeadVar__5_5 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/do_while.java:182: error: package bool does not exist More_8 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/do_while.java:184: error: package bool does not exist More_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/do_while.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/do_while.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/do_while.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/do_while.java:195: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/do_while.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_36_36 = null; ^ Mercury/javas/jmercury/do_while.java:197: error: package list does not exist list.List_1 L_4 = null; ^ Mercury/javas/jmercury/do_while.java:198: error: package list does not exist list.List_1 L2_5 = null; ^ Mercury/javas/jmercury/do_while.java:202: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/do_while.java:204: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/do_while.java:210: error: cannot find symbol conv2_STATE_VARIABLE_IO_1_10 = solutions.do_while_4_p_4(TypeCtorInfo_29_29, TypeCtorInfo_30_30, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:213: error: package list does not exist Var_15 = (list.List_1) do_while.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/do_while.java:214: error: package jmercury.runtime does not exist TypeInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(do_while.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/do_while.java:216: error: cannot find symbol conv5_L_4 = solutions.do_while_4_p_3(TypeCtorInfo_29_29, TypeInfo_36_36, Var_8, Var_14, ((java.lang.Object) (Var_15))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:218: error: package list does not exist L_4 = ((list.List_1) conv5_L_4); ^ Mercury/javas/jmercury/do_while.java:220: error: cannot find symbol io.print_line_3_p_0(TypeInfo_36_36, ((java.lang.Object) (L_4))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:223: error: package list does not exist Var_21 = (list.List_1) do_while.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/do_while.java:225: error: cannot find symbol conv8_L2_5 = solutions.do_while_4_p_3(TypeCtorInfo_29_29, TypeInfo_36_36, Var_8, Var_20, ((java.lang.Object) (Var_21))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:227: error: package list does not exist L2_5 = ((list.List_1) conv8_L2_5); ^ Mercury/javas/jmercury/do_while.java:229: error: cannot find symbol io.print_line_3_p_0(TypeInfo_36_36, ((java.lang.Object) (L2_5))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:241: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((do_while.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((do_while.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((do_while.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/do_while.java:291: error: package bool does not exist bool.Bool_0 conv1_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:312: error: package bool does not exist bool.Bool_0 conv4_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:313: error: package list does not exist list.List_1 conv3_HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:316: error: package list does not exist java.lang.Object [] result = do_while.collect_answer_5_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/do_while.java:317: error: package bool does not exist conv4_More_8 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/do_while.java:318: error: package list does not exist conv3_HeadVar__5_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/do_while.java:337: error: package bool does not exist bool.Bool_0 conv7_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:338: error: package list does not exist list.List_1 conv6_HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:341: error: package list does not exist java.lang.Object [] result = do_while.collect_answer_5_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/do_while.java:342: error: package bool does not exist conv7_More_8 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/do_while.java:343: error: package list does not exist conv6_HeadVar__5_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/do_while.java:414: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((do_while.R_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((do_while.R_2_p_0_env_0) env_ptr).Z_4), ((java.lang.Object) (((do_while.R_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/do_while.java:424: error: package bool does not exist bool.Bool_0 More_8 = null; ^ Mercury/javas/jmercury/do_while.java:425: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/do_while.java:425: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:425: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/do_while.java:426: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/do_while.java:429: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (S_6))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:431: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class do_while 100 errors gmake[3]: *** [/tmp/mmake.9l4Qfs:1284: do_while] Error 1 gmake[3]: Target 'do_while.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: do_while.log] Error 1 RUNNING TEST general/double_error_2 in grade java FAILED TEST general/double_error_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - double_error_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - double_error_1 Making Mercury/int3s/double_error_1.int3 Making Mercury/ints/double_error_1.int Making Mercury/javas/jmercury/double_error_1.java Making Java class files Mercury/javas/jmercury/double_error_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "double_error_1"; ^ Mercury/javas/jmercury/double_error_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/double_error_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/double_error_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/double_error_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/double_error_1.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/double_error_1.java:38: error: package list does not exist list.List_1 Args_4 = null; ^ Mercury/javas/jmercury/double_error_1.java:43: error: cannot find symbol Args_4 = io.command_line_arguments_3_p_0(); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:45: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:45: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/double_error_1.java:47: error: cannot find symbol Num_5 = list.length_2_p_0(TypeCtorInfo_13_13, Args_4); ^ symbol: variable list location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:70: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:77: error: cannot find symbol require.error_1_p_0(Arg_6); ^ symbol: variable require location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:86: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class double_error_1 Mercury/javas/jmercury/double_error_1.java:93: error: cannot find symbol require.error_1_p_0(Arg_6); ^ symbol: variable require location: class double_error_1 21 errors gmake[3]: *** [/tmp/mmake.qYD4EO:1284: double_error_1] Error 1 gmake[3]: Target 'double_error_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: double_error_1.log] Error 1 RUNNING TEST general/duplicate_label in grade java FAILED TEST general/double_error_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - double_error_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - double_error_2 Making Mercury/int3s/double_error_2.int3 Making Mercury/ints/double_error_2.int Making Mercury/javas/jmercury/double_error_2.java Making Java class files Mercury/javas/jmercury/double_error_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "double_error_2"; ^ Mercury/javas/jmercury/double_error_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/double_error_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/double_error_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/double_error_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/double_error_2.java:40: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:47: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:55: error: cannot find symbol Name_4 = io.progname_4_p_0(Var_9); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:58: error: cannot find symbol require.error_1_p_0(Name_4); ^ symbol: variable require location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:62: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:69: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:77: error: cannot find symbol Name_4 = io.progname_4_p_0(Var_13); ^ symbol: variable io location: class double_error_2 Mercury/javas/jmercury/double_error_2.java:80: error: cannot find symbol require.error_1_p_0(Name_4); ^ symbol: variable require location: class double_error_2 19 errors gmake[3]: *** [/tmp/mmake.9uBUJR:1284: double_error_2] Error 1 gmake[3]: Target 'double_error_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: double_error_2.log] Error 1 RUNNING TEST general/environment in grade java FAILED TEST general/duplicate_label in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - duplicate_label.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - duplicate_label Making Mercury/int3s/duplicate_label.int3 Making Mercury/ints/duplicate_label.int Making Mercury/javas/jmercury/duplicate_label.java Making Java class files Mercury/javas/jmercury/duplicate_label.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/duplicate_label.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/duplicate_label.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "duplicate_label"; ^ Mercury/javas/jmercury/duplicate_label.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/duplicate_label.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/duplicate_label.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/duplicate_label.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/duplicate_label.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/duplicate_label.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/duplicate_label.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/duplicate_label.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/duplicate_label.java:41: error: package list does not exist (list.List_1) duplicate_label.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/duplicate_label.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/duplicate_label.java:46: error: package list does not exist (list.List_1) duplicate_label.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/duplicate_label.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/duplicate_label.java:50: error: package list does not exist ((java.lang.Object) ((list.List_1) duplicate_label.MR_scalar_common_2[1])), ^ Mercury/javas/jmercury/duplicate_label.java:51: error: package list does not exist (list.List_1) duplicate_label.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/duplicate_label.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/duplicate_label.java:55: error: package list does not exist ((java.lang.Object) ((list.List_1) duplicate_label.MR_scalar_common_2[1])), ^ Mercury/javas/jmercury/duplicate_label.java:56: error: package list does not exist (list.List_1) duplicate_label.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/duplicate_label.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/duplicate_label.java:69: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/duplicate_label.java:70: error: package list does not exist list.List_1 Z_6 = (list.List_1) duplicate_label.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/duplicate_label.java:70: error: package list does not exist list.List_1 Z_6 = (list.List_1) duplicate_label.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/duplicate_label.java:71: error: package list does not exist list.List_1 L_7 = null; ^ Mercury/javas/jmercury/duplicate_label.java:74: error: cannot find symbol L_7 = list.condense_2_p_0(TypeCtorInfo_14_14, Z_6); ^ symbol: variable list location: class duplicate_label Mercury/javas/jmercury/duplicate_label.java:77: error: cannot find symbol io.write_strings_3_p_0(L_7); ^ symbol: variable io location: class duplicate_label 34 errors gmake[3]: *** [/tmp/mmake.uixvRM:1284: duplicate_label] Error 1 gmake[3]: Target 'duplicate_label.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: duplicate_label.log] Error 1 RUNNING TEST general/fail_detism in grade java FAILED TEST general/environment in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - environment.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - environment Making Mercury/int3s/environment.int3 Making Mercury/ints/environment.int Making Mercury/javas/jmercury/environment.java Making Java class files Mercury/javas/jmercury/environment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/environment.java:47: 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/environment.java:48: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/environment.java:187: error: package bool does not exist bool.Bool_0 ShouldBeSet_7, ^ Mercury/javas/jmercury/environment.java:188: error: package bool does not exist bool.Bool_0 ShouldBePrinted_8) ^ Mercury/javas/jmercury/environment.java:292: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/environment.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "environment"; ^ Mercury/javas/jmercury/environment.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/environment.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/environment.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class environment Mercury/javas/jmercury/environment.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class environment Mercury/javas/jmercury/environment.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/environment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/environment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/environment.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class environment Mercury/javas/jmercury/environment.java:47: 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/environment.java:48: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/environment.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/environment.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:59: error: package list does not exist (list.List_1) environment.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/environment.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:64: error: package list does not exist (list.List_1) environment.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/environment.java:72: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:72: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/environment.java:73: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:73: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/environment.java:99: error: cannot find symbol io__environment.set_environment_var_4_p_0(Var_19, Var_20); ^ symbol: variable io__environment location: class environment Mercury/javas/jmercury/environment.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/environment.java:110: error: package bool does not exist bool.Bool_0 Var_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:110: error: package bool does not exist bool.Bool_0 Var_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:111: error: package bool does not exist bool.Bool_0 Var_9 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:111: error: package bool does not exist bool.Bool_0 Var_9 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:113: error: package bool does not exist bool.Bool_0 Var_12 = null; ^ Mercury/javas/jmercury/environment.java:114: error: package bool does not exist bool.Bool_0 Var_13 = null; ^ Mercury/javas/jmercury/environment.java:115: error: package exception does not exist exception.Exception_result_1 TryResult_15 = null; ^ Mercury/javas/jmercury/environment.java:122: error: package bool does not exist Var_12 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/environment.java:123: error: package bool does not exist Var_13 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:128: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class environment Mercury/javas/jmercury/environment.java:128: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/environment.java:130: error: cannot find symbol TryResult_15 = exception.try_io_4_p_0(TypeCtorInfo_32_32, TryLambda_30); ^ symbol: variable exception location: class environment Mercury/javas/jmercury/environment.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/environment.java:136: error: package univ does not exist univ.Univ_0 Var_16 = ((exception.Exception_result_1.Exception_1) TryResult_15).F1; ^ Mercury/javas/jmercury/environment.java:136: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_16 = ((exception.Exception_result_1.Exception_1) TryResult_15).F1; ^ Mercury/javas/jmercury/environment.java:140: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_16); ^ symbol: variable exception location: class environment Mercury/javas/jmercury/environment.java:141: error: package jmercury.runtime does not exist TypeInfo_28_28 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/environment.java:146: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:149: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, E_4); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:155: error: package bool does not exist bool.Bool_0 Var_23 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:155: error: package bool does not exist bool.Bool_0 Var_23 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:156: error: package bool does not exist bool.Bool_0 Var_24 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:156: error: package bool does not exist bool.Bool_0 Var_24 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/environment.java:190: error: package maybe does not exist maybe.Maybe_1 MaybeValue_10 = null; ^ Mercury/javas/jmercury/environment.java:191: error: package bool does not exist bool.Bool_0 Ok_12 = null; ^ Mercury/javas/jmercury/environment.java:192: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/environment.java:194: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/environment.java:195: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/environment.java:198: error: cannot find symbol MaybeValue_10 = io__environment.get_environment_var_4_p_0(Var_6); ^ symbol: variable io__environment location: class environment Mercury/javas/jmercury/environment.java:201: error: package list does not exist Var_20 = (list.List_1) environment.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/environment.java:203: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:209: error: package list.List_1 does not exist Var_16 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:215: error: cannot find symbol io.write_strings_3_p_0(Var_16); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:222: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:225: error: cannot find symbol Ok_12 = bool.not_2_p_0(ShouldBeSet_7); ^ symbol: variable bool location: class environment Mercury/javas/jmercury/environment.java:230: error: package maybe.Maybe_1 does not exist java.lang.String Value_11 = ((java.lang.String) ((maybe.Maybe_1.Yes_1) MaybeValue_10).F1); ^ Mercury/javas/jmercury/environment.java:232: error: illegal start of type switch (ShouldBePrinted_8.MR_value) { ^ Mercury/javas/jmercury/environment.java:239: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/environment.java:241: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/environment.java:242: error: package list does not exist list.List_1 Var_27 = (list.List_1) environment.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/environment.java:242: error: package list does not exist list.List_1 Var_27 = (list.List_1) environment.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/environment.java:245: error: package list.List_1 does not exist Var_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:251: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/environment.java:257: error: cannot find symbol io.write_strings_3_p_0(Var_23); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:262: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/environment.java:266: error: illegal start of type switch (Ok_12.MR_value) { ^ Mercury/javas/jmercury/environment.java:272: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:281: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class environment Mercury/javas/jmercury/environment.java:286: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 81 errors gmake[3]: *** [/tmp/mmake.xhR7o7:1284: environment] Error 1 gmake[3]: Target 'environment.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: environment.log] Error 1 RUNNING TEST general/float_roundtrip in grade java FAILED TEST general/fail_detism in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fail_detism.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fail_detism Making Mercury/int3s/fail_detism.int3 Making Mercury/ints/fail_detism.int Making Mercury/javas/jmercury/fail_detism.java Making Java class files Mercury/javas/jmercury/fail_detism.java:148: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/fail_detism.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "fail_detism"; ^ Mercury/javas/jmercury/fail_detism.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/fail_detism.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/fail_detism.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class fail_detism Mercury/javas/jmercury/fail_detism.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class fail_detism Mercury/javas/jmercury/fail_detism.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/fail_detism.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/fail_detism.java:92: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/fail_detism.java:101: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:105: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class fail_detism Mercury/javas/jmercury/fail_detism.java:116: error: package jmercury.runtime does not exist ((fail_detism.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 16 errors gmake[3]: *** [/tmp/mmake.MErJGw:1284: fail_detism] Error 1 gmake[3]: Target 'fail_detism.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: fail_detism.log] Error 1 RUNNING TEST general/float_test in grade java FAILED TEST general/float_roundtrip in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_roundtrip.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_roundtrip Making Mercury/int3s/float_roundtrip.int3 Making Mercury/ints/float_roundtrip.int Making Mercury/javas/jmercury/float_roundtrip.java Making Java class files Mercury/javas/jmercury/float_roundtrip.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/float_roundtrip.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/float_roundtrip.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_roundtrip"; ^ Mercury/javas/jmercury/float_roundtrip.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_roundtrip.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_roundtrip.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_roundtrip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_roundtrip.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/float_roundtrip.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/float_roundtrip.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/float_roundtrip.java:39: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/float_roundtrip.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/float_roundtrip.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/float_roundtrip.java:47: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/float_roundtrip.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/float_roundtrip.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/float_roundtrip.java:98: error: cannot find symbol String_52 = string.float_to_string_2_p_0(Var_18); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:101: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(String_52); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_37 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:117: error: cannot find symbol Var_23 = string.float_to_string_1_f_0(Var_18); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:119: error: package string__parse_util does not exist Var_37 = (string__parse_util.String_format_flags_0) float_roundtrip.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/float_roundtrip.java:122: error: cannot find symbol Var_31 = string__format.format_string_component_width_noprec_4_p_0(Var_37, Var_38, Var_23); ^ symbol: variable string__format location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:125: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:129: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:133: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:140: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_49 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:141: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_50 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:145: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:147: error: package string__parse_util does not exist Var_49 = (string__parse_util.String_format_flags_0) float_roundtrip.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/float_roundtrip.java:148: error: package string__parse_util does not exist Var_50 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/float_roundtrip.java:150: error: cannot find symbol Var_43 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_49, Var_50, Var_18); ^ symbol: variable string__format location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:153: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:157: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:175: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:176: error: package string does not exist string.Poly_type_0 Var_18 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:177: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:181: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_42 = null; ^ Mercury/javas/jmercury/float_roundtrip.java:186: error: cannot find symbol Var_15 = string.int_to_string_1_f_0(ReqPrecision_5); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:190: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(Var_15, Var_16); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:193: error: cannot find symbol Var_12 = string.f_43_43_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:196: error: package string.Poly_type_0 does not exist Var_18 = new string.Poly_type_0.F_1( ^ Mercury/javas/jmercury/float_roundtrip.java:200: error: package list does not exist Var_19 = (list.List_1) float_roundtrip.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/float_roundtrip.java:202: error: package list.List_1 does not exist Var_17 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_roundtrip.java:208: error: cannot find symbol FloatStr_8 = string.format_2_f_0(Var_12, Var_17); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:211: error: cannot find symbol Var_20 = string.length_1_f_0(FloatStr_8); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:215: error: package string__parse_util does not exist Var_42 = (string__parse_util.String_format_flags_0) float_roundtrip.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/float_roundtrip.java:218: error: cannot find symbol Var_36 = string__format.format_string_component_width_noprec_4_p_0(Var_42, Var_43, FloatStr_8); ^ symbol: variable string__format location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:221: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:225: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:234: error: cannot find symbol String_45 = string.float_to_string_2_p_0(Float_6); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:237: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(String_45); ^ symbol: variable string location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:248: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:256: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:266: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:269: error: cannot find symbol io.write_int_3_p_0(Precision_9); ^ symbol: variable io location: class float_roundtrip Mercury/javas/jmercury/float_roundtrip.java:273: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class float_roundtrip 68 errors gmake[3]: *** [/tmp/mmake.rFDHCN:1284: float_roundtrip] Error 1 gmake[3]: Target 'float_roundtrip.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_roundtrip.log] Error 1 RUNNING TEST general/frameopt_mkframe_bug in grade java FAILED TEST general/frameopt_mkframe_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - frameopt_mkframe_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - frameopt_mkframe_bug Making Mercury/int3s/frameopt_mkframe_bug.int3 Making Mercury/ints/frameopt_mkframe_bug.int Making Mercury/javas/jmercury/frameopt_mkframe_bug.java Making Java class files Mercury/javas/jmercury/frameopt_mkframe_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "frameopt_mkframe_bug"; ^ Mercury/javas/jmercury/frameopt_mkframe_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/frameopt_mkframe_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/frameopt_mkframe_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/frameopt_mkframe_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/frameopt_mkframe_bug.java:45: error: cannot find symbol io.write_int_3_p_0(X1_4); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:48: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:54: error: cannot find symbol io.write_int_3_p_0(X2_5); ^ symbol: variable io location: class frameopt_mkframe_bug Mercury/javas/jmercury/frameopt_mkframe_bug.java:57: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class frameopt_mkframe_bug 15 errors gmake[3]: *** [/tmp/mmake.Kq9VO7:1284: frameopt_mkframe_bug] Error 1 gmake[3]: Target 'frameopt_mkframe_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: frameopt_mkframe_bug.log] Error 1 RUNNING TEST general/hello_again in grade java FAILED TEST general/float_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_test Making Mercury/int3s/float_test.int3 Making Mercury/ints/float_test.int Making Mercury/javas/jmercury/float_test.java Making Java class files Mercury/javas/jmercury/float_test.java:32: 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/float_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_test"; ^ Mercury/javas/jmercury/float_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_test Mercury/javas/jmercury/float_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_test Mercury/javas/jmercury/float_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_test.java:32: 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/float_test.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/float_test.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/float_test.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/float_test.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/float_test.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/float_test.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/float_test.java:113: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(Var_7); ^ symbol: variable string location: class float_test Mercury/javas/jmercury/float_test.java:130: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:145: error: cannot find symbol Var_37 = mr_float.max_0_f_0(); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:152: error: cannot find symbol Var_40 = mr_float.min_0_f_0(); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:159: error: cannot find symbol Var_43 = mr_float.epsilon_0_f_0(); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:165: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:169: error: cannot find symbol Var_46 = math.pi_0_f_0(); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:176: error: cannot find symbol Var_49 = math.e_0_f_0(); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:197: error: cannot find symbol Var_26 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:203: error: cannot find symbol Var_30 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:216: error: cannot find symbol Var_54 = math.sqrt_1_f_0(Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:223: error: cannot find symbol Var_57 = math.ln_1_f_0(Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:230: error: cannot find symbol Var_60 = math.log2_1_f_0(Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:237: error: cannot find symbol Var_63 = math.log10_1_f_0(Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:245: error: cannot find symbol Var_66 = math.log_2_f_0(Var_68, Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:252: error: cannot find symbol Var_70 = math.exp_1_f_0(Var_31); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:258: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:267: error: cannot find symbol Var_75 = math.sin_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:274: error: cannot find symbol Var_78 = math.cos_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:281: error: cannot find symbol Var_81 = math.tan_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:288: error: cannot find symbol Var_84 = math.sinh_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:295: error: cannot find symbol Var_87 = math.cosh_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:302: error: cannot find symbol Var_90 = math.tanh_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:309: error: cannot find symbol Var_95 = math.sin_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:312: error: cannot find symbol Var_96 = math.cos_1_f_0(Var_33); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:315: error: cannot find symbol Var_93 = math.atan2_2_f_0(Var_95, Var_96); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:321: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:348: error: cannot find symbol Divide_11 = mr_float.f_slash_2_f_0(X_5, Y_6); ^ symbol: variable mr_float location: class float_test Mercury/javas/jmercury/float_test.java:351: error: cannot find symbol Pow_12 = math.pow_2_f_0(X_5, Y_6); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:382: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:403: error: cannot find symbol Var_11 = math.asin_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:410: error: cannot find symbol Var_14 = math.acos_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:417: error: cannot find symbol Var_17 = math.atan_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:423: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:446: error: cannot find symbol Var_11 = math.ceiling_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:453: error: cannot find symbol Var_14 = math.floor_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:460: error: cannot find symbol Var_17 = math.round_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:467: error: cannot find symbol Var_20 = math.truncate_1_f_0(X_4); ^ symbol: variable math location: class float_test Mercury/javas/jmercury/float_test.java:473: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:483: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = null; ^ Mercury/javas/jmercury/float_test.java:486: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_28 = null; ^ Mercury/javas/jmercury/float_test.java:490: error: cannot find symbol io.write_string_3_p_0(String_5); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:492: error: package string__parse_util does not exist Var_25 = (string__parse_util.String_format_flags_0) float_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/float_test.java:495: error: package string__parse_util does not exist Var_28 = string__parse_util.String_format_float_kind_0.K4; ^ Mercury/javas/jmercury/float_test.java:497: error: cannot find symbol Var_19 = string__format.format_float_component_width_prec_6_p_0(Var_25, Var_26, Var_27, Var_28, Float_6); ^ symbol: variable string__format location: class float_test Mercury/javas/jmercury/float_test.java:500: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class float_test Mercury/javas/jmercury/float_test.java:504: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class float_test 67 errors gmake[3]: *** [/tmp/mmake.kUuQQd:1284: float_test] Error 1 gmake[3]: Target 'float_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_test.log] Error 1 RUNNING TEST general/higher_order in grade java FAILED TEST general/hello_again in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hello_again.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hello_again Making Mercury/int3s/hello_again.int3 Making Mercury/ints/hello_again.int Making Mercury/javas/jmercury/hello_again.java Making Java class files Mercury/javas/jmercury/hello_again.java:88: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/hello_again.java:157: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/hello_again.java:180: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/hello_again.java:199: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/hello_again.java:223: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/hello_again.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hello_again"; ^ Mercury/javas/jmercury/hello_again.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hello_again.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hello_again.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hello_again Mercury/javas/jmercury/hello_again.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hello_again Mercury/javas/jmercury/hello_again.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hello_again.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hello_again Mercury/javas/jmercury/hello_again.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hello_again Mercury/javas/jmercury/hello_again.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hello_again Mercury/javas/jmercury/hello_again.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hello_again Mercury/javas/jmercury/hello_again.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hello_again.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class hello_again Mercury/javas/jmercury/hello_again.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/hello_again.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class hello_again Mercury/javas/jmercury/hello_again.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/hello_again.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class hello_again Mercury/javas/jmercury/hello_again.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/hello_again.java:105: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__3_3)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/hello_again.java:117: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/hello_again.java:117: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class hello_again Mercury/javas/jmercury/hello_again.java:117: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/hello_again.java:118: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/hello_again.java:122: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_11_11, Var_7); ^ symbol: variable solutions location: class hello_again Mercury/javas/jmercury/hello_again.java:125: error: cannot find symbol io.write_strings_3_p_0(List_4); ^ symbol: variable io location: class hello_again Mercury/javas/jmercury/hello_again.java:137: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((hello_again.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((hello_again.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((hello_again.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/hello_again.java:211: error: package jmercury.runtime does not exist hello_again.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 31 errors gmake[3]: *** [/tmp/mmake.wQfyO6:1284: hello_again] Error 1 gmake[3]: Target 'hello_again.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hello_again.log] Error 1 RUNNING TEST general/hlc_name_mangling in grade java FAILED TEST general/higher_order in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order Making Mercury/int3s/higher_order.int3 Making Mercury/ints/higher_order.int Making Mercury/javas/jmercury/higher_order.java Making Java class files Mercury/javas/jmercury/higher_order.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/higher_order.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/higher_order.java:322: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/higher_order.java:323: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/higher_order.java:325: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order.java:320: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/higher_order.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/higher_order.java:358: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/higher_order.java:360: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/higher_order.java:361: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/higher_order.java:406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order.java:425: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order"; ^ Mercury/javas/jmercury/higher_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order Mercury/javas/jmercury/higher_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order Mercury/javas/jmercury/higher_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order.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/higher_order.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/higher_order.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/higher_order.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/higher_order.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:75: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:80: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/higher_order.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:85: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:90: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:95: error: package list does not exist (list.List_1) higher_order.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order.java:114: error: cannot find symbol Var_64 = string.append_3_p_2(LambdaHeadVar__1_21, LambdaHeadVar__1_21); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:129: error: cannot find symbol Var_65 = string.append_3_p_2(LambdaHeadVar__1_34, LambdaHeadVar__1_34); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:144: error: cannot find symbol Var_66 = string.append_3_p_2(LambdaHeadVar__1_47, LambdaHeadVar__1_47); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:157: error: cannot find symbol Y_4 = string.append_3_p_2(X_3, X_3); ^ symbol: variable string location: class higher_order Mercury/javas/jmercury/higher_order.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/higher_order.java:166: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class higher_order Mercury/javas/jmercury/higher_order.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/higher_order.java:167: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/higher_order.java:169: error: package list does not exist list.List_1 Var_10 = (list.List_1) higher_order.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/higher_order.java:169: error: package list does not exist list.List_1 Var_10 = (list.List_1) higher_order.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/higher_order.java:172: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/higher_order.java:173: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/higher_order.java:175: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/higher_order.java:176: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/higher_order.java:178: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/higher_order.java:179: error: package list does not exist list.List_1 Var_46 = null; ^ Mercury/javas/jmercury/higher_order.java:185: error: cannot find symbol io.write_strings_3_p_0(List_4); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:189: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:192: error: package list does not exist Var_19 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:193: error: package list does not exist Var_20 = (list.List_1) higher_order.MR_scalar_common_4[3]; ^ Mercury/javas/jmercury/higher_order.java:202: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:210: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:214: error: package list does not exist Var_32 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:215: error: package list does not exist Var_33 = (list.List_1) higher_order.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/higher_order.java:224: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:232: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:236: error: package list does not exist Var_45 = (list.List_1) higher_order.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/higher_order.java:237: error: package list does not exist Var_46 = (list.List_1) higher_order.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order.java:246: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:254: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class higher_order Mercury/javas/jmercury/higher_order.java:327: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order.java:330: error: package list does not exist HeadVar__3_3 = (list.List_1) higher_order.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order.java:333: error: package list.List_1 does not exist java.lang.Object X_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order.java:334: error: package list does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:334: error: package list.List_1 does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:336: error: package list does not exist list.List_1 Ys_9 = null; ^ Mercury/javas/jmercury/higher_order.java:337: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:337: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:340: error: package jmercury.runtime does not exist Y_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__1_1))), ((java.lang.Object) (X_6)))); ^ Mercury/javas/jmercury/higher_order.java:346: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order.java:372: error: package list.List_1 does not exist java.lang.Object X_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order.java:373: error: package list does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:373: error: package list.List_1 does not exist list.List_1 Xs_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order.java:375: error: package list does not exist list.List_1 Ys_9 = null; ^ Mercury/javas/jmercury/higher_order.java:376: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/higher_order.java:377: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/higher_order.java:378: error: package list does not exist list.List_1 next_value_of_HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order.java:383: error: package list.List_1 does not exist Y_8 = ((list.List_1.F_cons_2) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/higher_order.java:384: error: package list.List_1 does not exist Ys_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2; ^ Mercury/javas/jmercury/higher_order.java:385: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__1_1)[1]); ^ Mercury/javas/jmercury/higher_order.java:387: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__1_1))), ((java.lang.Object) (X_6)), ((java.lang.Object) (Y_8)))).booleanValue(); ^ Mercury/javas/jmercury/higher_order.java:464: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors gmake[3]: *** [/tmp/mmake.zp7G8g:1284: higher_order] Error 1 gmake[3]: Target 'higher_order.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order.log] Error 1 RUNNING TEST general/ho_spec_branch_bug in grade java FAILED TEST general/hlc_name_mangling in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hlc_name_mangling.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hlc_name_mangling Making Mercury/int3s/hlc_name_mangling.int3 Making Mercury/int3s/hlc_name_mangling-helper-module.int3 Making Mercury/ints/hlc_name_mangling-helper-module.int Making Mercury/ints/hlc_name_mangling.int Making Mercury/javas/jmercury/hlc_name_mangling.java Making Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java Making Java class files Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:61: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:151: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:152: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/hlc_name_mangling.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hlc_name_mangling"; ^ Mercury/javas/jmercury/hlc_name_mangling.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hlc_name_mangling.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hlc_name_mangling.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hlc_name_mangling.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hlc_name_mangling Mercury/javas/jmercury/hlc_name_mangling.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hlc_name_mangling.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = null; ^ Mercury/javas/jmercury/hlc_name_mangling.java:38: error: package jmercury.runtime does not exist TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/hlc_name_mangling.java:40: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (0))); ^ symbol: variable io location: class hlc_name_mangling Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:75: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/f_104_108_99_95_110_97_109_101_95_109_97_110_103_108_105_110_103_45_104_101_108_112_101_114_45_109_111_100_117_108_101.java:136: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 33 errors gmake[3]: *** [/tmp/mmake.uXg3Hs:1284: hlc_name_mangling] Error 1 gmake[3]: Target 'hlc_name_mangling.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hlc_name_mangling.log] Error 1 RUNNING TEST general/intermod_type in grade java FAILED TEST general/ho_spec_branch_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_spec_branch_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_spec_branch_bug Making Mercury/int3s/ho_spec_branch_bug.int3 Making Mercury/ints/ho_spec_branch_bug.int Making Mercury/javas/jmercury/ho_spec_branch_bug.java Making Java class files Mercury/javas/jmercury/ho_spec_branch_bug.java:106: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_spec_branch_bug"; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:41: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:41: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:42: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:42: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:64: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:74: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:82: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_9)[1]); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:82: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_9)[1]); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:86: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_9))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 21 errors gmake[3]: *** [/tmp/mmake.kZVOt2:1284: ho_spec_branch_bug] Error 1 gmake[3]: Target 'ho_spec_branch_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_spec_branch_bug.log] Error 1 RUNNING TEST general/io_foldl in grade java FAILED TEST general/io_foldl in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_foldl.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_foldl Making Mercury/int3s/io_foldl.int3 Making Mercury/ints/io_foldl.int Making Mercury/javas/jmercury/io_foldl.java Making Java class files Mercury/javas/jmercury/io_foldl.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/io_foldl.java:73: error: package io does not exist io.Res_0 Res_4, ^ Mercury/javas/jmercury/io_foldl.java:74: error: package io does not exist io.Res_0 HeadVar__2_11) ^ Mercury/javas/jmercury/io_foldl.java:143: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/io_foldl.java:161: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/io_foldl.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "io_foldl"; ^ Mercury/javas/jmercury/io_foldl.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/io_foldl.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/io_foldl.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class io_foldl Mercury/javas/jmercury/io_foldl.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class io_foldl Mercury/javas/jmercury/io_foldl.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/io_foldl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/io_foldl.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/io_foldl.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class io_foldl Mercury/javas/jmercury/io_foldl.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/io_foldl.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/io_foldl.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/io_foldl.java:54: error: package io.Res_0 does not exist new io.Res_0.Ok_0(); ^ Mercury/javas/jmercury/io_foldl.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_res_0)), ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_res_0)), ^ Mercury/javas/jmercury/io_foldl.java:61: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_res_0)) ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:61: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_res_0)) ^ Mercury/javas/jmercury/io_foldl.java:79: error: cannot find symbol succeeded = io.__Unify____res_0_0(Res_4, HeadVar__2_11); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:88: error: package io does not exist io.Res_0 Res_4 = null; ^ Mercury/javas/jmercury/io_foldl.java:92: error: package io does not exist io.Res_0 Var_11 = null; ^ Mercury/javas/jmercury/io_foldl.java:95: error: cannot find symbol Res_4 = io.input_stream_foldl_io_4_p_0(Var_7); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:97: error: package io does not exist Var_11 = (io.Res_0) io_foldl.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/io_foldl.java:109: error: cannot find symbol require.require_2_p_0(Var_9, Var_10); ^ symbol: variable require location: class io_foldl Mercury/javas/jmercury/io_foldl.java:123: error: cannot find symbol io.write_char_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class io_foldl Mercury/javas/jmercury/io_foldl.java:136: error: package io does not exist succeeded = io_foldl.IntroducedFrom__pred__main__19__1_2_p_0(((io.Res_0) ((java.lang.Object[]) closure)[3]), ((io.Res_0) ((java.lang.Object[]) closure)[4])); ^ Mercury/javas/jmercury/io_foldl.java:136: error: package io does not exist succeeded = io_foldl.IntroducedFrom__pred__main__19__1_2_p_0(((io.Res_0) ((java.lang.Object[]) closure)[3]), ((io.Res_0) ((java.lang.Object[]) closure)[4])); ^ 37 errors gmake[3]: *** [/tmp/mmake.0y20zU:1284: io_foldl] Error 1 gmake[3]: Target 'io_foldl.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: io_foldl.log] Error 1 RUNNING TEST general/io_regression in grade java FAILED TEST general/io_regression in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_regression.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_regression Making Mercury/int3s/io_regression.int3 Making Mercury/ints/io_regression.int Making Mercury/javas/jmercury/io_regression.java Making Java class files Mercury/javas/jmercury/io_regression.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "io_regression"; ^ Mercury/javas/jmercury/io_regression.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/io_regression.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/io_regression.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class io_regression Mercury/javas/jmercury/io_regression.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class io_regression Mercury/javas/jmercury/io_regression.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/io_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/io_regression.java:37: error: package io does not exist io.Maybe_partial_res_1 Res_4 = null; ^ Mercury/javas/jmercury/io_regression.java:41: error: cannot find symbol Res_4 = io.read_file_as_string_3_p_0(); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:46: error: package io.Maybe_partial_res_1 does not exist Str_5 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/io_regression.java:48: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class io_regression Mercury/javas/jmercury/io_regression.java:56: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class io_regression 16 errors gmake[3]: *** [/tmp/mmake.6WxFCs:1284: io_regression] Error 1 gmake[3]: Target 'io_regression.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: io_regression.log] Error 1 RUNNING TEST general/liveness_1 in grade java FAILED TEST general/intermod_type in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_type.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_type Making Mercury/int3s/intermod_type.int3 Making Mercury/int3s/intermod_type_helper_1.int3 Making Mercury/ints/intermod_type_helper_1.int Making Mercury/ints/intermod_type.int Making Mercury/opts/intermod_type_helper_1.opt Making Mercury/opts/intermod_type.opt Making Mercury/javas/jmercury/intermod_type_helper_1.java Making Mercury/javas/jmercury/intermod_type.java Making Java class files Mercury/javas/jmercury/intermod_type.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__ti_store_1intermod_type_helper_1__type_ctor_info_my_store_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__ti_generic_mutvar_2intermod_type_helper_1__type_ctor_info_window_0store__ti_store_1intermod_type_helper_1__type_ctor_info_my_store_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1intermod_type__type_ctor_info_level_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:37: 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_0list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type__field_types_dungeon_0_0 = new jmercury.runtime.PseudoTypeInfo[10]; ^ Mercury/javas/jmercury/intermod_type.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type__du_functor_desc_dungeon_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_stag_ordered_dungeon_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type__du_ptag_ordered_dungeon_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_name_ordered_dungeon_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_dungeon_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type__field_types_level_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/intermod_type.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type__du_functor_desc_level_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_stag_ordered_level_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type__du_ptag_ordered_level_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_name_ordered_level_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_level_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_player_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type__field_types_pos_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/intermod_type.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type__du_functor_desc_pos_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_stag_ordered_pos_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type__du_ptag_ordered_pos_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type__du_name_ordered_pos_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_pos_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_rnd_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_runq_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type__type_ctor_info_who_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type.java:373: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/intermod_type.java:1438: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_type.java:458: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:1482: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_type.java:645: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:742: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:1508: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_type.java:781: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:849: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:890: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/intermod_type.java:891: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/intermod_type.java:888: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:919: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_type.java:1233: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/intermod_type.java:1234: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/intermod_type.java:1440: error: package mutvar does not exist public mutvar.Mutvar F1; ^ Mercury/javas/jmercury/intermod_type.java:1441: error: package mutvar does not exist public mutvar.Mutvar F2; ^ Mercury/javas/jmercury/intermod_type.java:1442: error: package mutvar does not exist public mutvar.Mutvar F3; ^ Mercury/javas/jmercury/intermod_type.java:1444: error: package list does not exist public list.List_1 F5; ^ Mercury/javas/jmercury/intermod_type.java:1446: error: package list does not exist public list.List_1 F7; ^ Mercury/javas/jmercury/intermod_type.java:1449: error: package list does not exist public list.List_1>> F10; ^ Mercury/javas/jmercury/intermod_type.java:1449: error: package pair does not exist public list.List_1>> F10; ^ Mercury/javas/jmercury/intermod_type.java:1449: error: package list does not exist public list.List_1>> F10; ^ Mercury/javas/jmercury/intermod_type.java:1457: error: package mutvar does not exist mutvar.Mutvar F1, ^ Mercury/javas/jmercury/intermod_type.java:1458: error: package mutvar does not exist mutvar.Mutvar F2, ^ Mercury/javas/jmercury/intermod_type.java:1459: error: package mutvar does not exist mutvar.Mutvar F3, ^ Mercury/javas/jmercury/intermod_type.java:1461: error: package list does not exist list.List_1 F5, ^ Mercury/javas/jmercury/intermod_type.java:1463: error: package list does not exist list.List_1 F7, ^ Mercury/javas/jmercury/intermod_type.java:1466: error: package list does not exist list.List_1>> F10) ^ Mercury/javas/jmercury/intermod_type.java:1466: error: package pair does not exist list.List_1>> F10) ^ Mercury/javas/jmercury/intermod_type.java:1466: error: package list does not exist list.List_1>> F10) ^ Mercury/javas/jmercury/intermod_type.java:1486: error: package list does not exist public list.List_1 F3; ^ Mercury/javas/jmercury/intermod_type.java:1487: error: package mutvar does not exist public mutvar.Mutvar F4; ^ Mercury/javas/jmercury/intermod_type.java:1497: error: package list does not exist list.List_1 F3, ^ Mercury/javas/jmercury/intermod_type.java:1498: error: package mutvar does not exist mutvar.Mutvar F4) ^ Mercury/javas/jmercury/intermod_type.java:1288: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_type_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__ti_store_1intermod_type_helper_1__type_ctor_info_my_store_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct store__ti_generic_mutvar_2intermod_type_helper_1__type_ctor_info_window_0store__ti_store_1intermod_type_helper_1__type_ctor_info_my_store_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type_helper_1__field_types_child_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type_helper_1__du_functor_desc_child_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_stag_ordered_child_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type_helper_1__du_ptag_ordered_child_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_name_ordered_child_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_child_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_curse_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type_helper_1__field_types_cursor_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type_helper_1__du_functor_desc_cursor_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_stag_ordered_cursor_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type_helper_1__du_ptag_ordered_cursor_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_name_ordered_cursor_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:31: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_cursor_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_type_helper_1__enum_functor_desc_my_store_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] intermod_type_helper_1__enum_ordinal_ordered_my_store_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] intermod_type_helper_1__enum_name_ordered_my_store_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_my_store_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_win_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1intermod_type_helper_1__type_ctor_info_wopt_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__ti_array_1builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1intermod_type_helper_1__type_ctor_info_child_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type_helper_1__field_types_window_0_0 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type_helper_1__du_functor_desc_window_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_stag_ordered_window_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type_helper_1__du_ptag_ordered_window_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_name_ordered_window_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_window_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type_helper_1__du_functor_desc_wopt_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_type_helper_1__field_types_wopt_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_type_helper_1__du_functor_desc_wopt_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_type_helper_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_stag_ordered_wopt_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_type_helper_1__du_ptag_ordered_wopt_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_type_helper_1__du_name_ordered_wopt_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/intermod_type_helper_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_type_helper_1__type_ctor_info_wopt_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ 100 errors gmake[3]: *** [/tmp/mmake.huuyFZ:1284: intermod_type] Error 1 gmake[3]: Target 'intermod_type.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_type.log] Error 1 RUNNING TEST general/liveness_2 in grade java FAILED TEST general/liveness_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - liveness_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - liveness_1 Making Mercury/int3s/liveness_1.int3 Making Mercury/ints/liveness_1.int Making Mercury/javas/jmercury/liveness_1.java Making Java class files Mercury/javas/jmercury/liveness_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "liveness_1"; ^ Mercury/javas/jmercury/liveness_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/liveness_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/liveness_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/liveness_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/liveness_1.java:43: error: cannot find symbol io.write_int_3_p_0(X1_4); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:46: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:52: error: cannot find symbol io.write_int_3_p_0(X2_5); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:55: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:59: error: cannot find symbol io.write_int_3_p_0(X3_6); ^ symbol: variable io location: class liveness_1 Mercury/javas/jmercury/liveness_1.java:62: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class liveness_1 17 errors gmake[3]: *** [/tmp/mmake.yr5uPj:1284: liveness_1] Error 1 gmake[3]: Target 'liveness_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: liveness_1.log] Error 1 RUNNING TEST general/map_corresponding in grade java FAILED TEST general/liveness_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - liveness_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - liveness_2 Making Mercury/int3s/liveness_2.int3 Making Mercury/ints/liveness_2.int Making Mercury/javas/jmercury/liveness_2.java Making Java class files Mercury/javas/jmercury/liveness_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "liveness_2"; ^ Mercury/javas/jmercury/liveness_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/liveness_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/liveness_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/liveness_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/liveness_2.java:54: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:62: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:66: error: cannot find symbol io.write_int_3_p_0(Num_4); ^ symbol: variable io location: class liveness_2 Mercury/javas/jmercury/liveness_2.java:69: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class liveness_2 15 errors gmake[3]: *** [/tmp/mmake.GchZe4:1284: liveness_2] Error 1 gmake[3]: Target 'liveness_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: liveness_2.log] Error 1 RUNNING TEST general/map_equal in grade java FAILED TEST general/map_equal in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_equal.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_equal Making Mercury/int3s/map_equal.int3 Making Mercury/ints/map_equal.int Making Mercury/javas/jmercury/map_equal.java Making Java class files Mercury/javas/jmercury/map_equal.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_equal.java:33: 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/map_equal.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[8]; ^ Mercury/javas/jmercury/map_equal.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/map_equal.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_K_23, ^ Mercury/javas/jmercury/map_equal.java:245: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_24, ^ Mercury/javas/jmercury/map_equal.java:247: error: package tree234 does not exist tree234.Tree234_2 A_7, ^ Mercury/javas/jmercury/map_equal.java:248: error: package tree234 does not exist tree234.Tree234_2 B_8) ^ Mercury/javas/jmercury/map_equal.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_equal"; ^ Mercury/javas/jmercury/map_equal.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_equal.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_equal.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_equal Mercury/javas/jmercury/map_equal.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_equal Mercury/javas/jmercury/map_equal.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_equal.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_equal Mercury/javas/jmercury/map_equal.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_equal Mercury/javas/jmercury/map_equal.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_equal Mercury/javas/jmercury/map_equal.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_equal Mercury/javas/jmercury/map_equal.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_equal.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_equal.java:33: 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/map_equal.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[8]; ^ Mercury/javas/jmercury/map_equal.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/map_equal.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_equal.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class map_equal Mercury/javas/jmercury/map_equal.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/map_equal.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/map_equal.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_equal.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_equal.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class map_equal Mercury/javas/jmercury/map_equal.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/map_equal.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/map_equal.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_equal.java:51: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/map_equal.java:53: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:58: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:63: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:68: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:73: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:78: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:83: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:88: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_equal.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:94: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/map_equal.java:95: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/map_equal.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:99: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/map_equal.java:100: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/map_equal.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:104: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[2])), ^ Mercury/javas/jmercury/map_equal.java:105: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/map_equal.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:109: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[3])), ^ Mercury/javas/jmercury/map_equal.java:110: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/map_equal.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:114: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[4])), ^ Mercury/javas/jmercury/map_equal.java:115: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/map_equal.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:119: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[5])), ^ Mercury/javas/jmercury/map_equal.java:120: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/map_equal.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:124: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[6])), ^ Mercury/javas/jmercury/map_equal.java:125: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/map_equal.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_equal.java:129: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_equal.MR_scalar_common_3[7])), ^ Mercury/javas/jmercury/map_equal.java:130: error: package list does not exist (list.List_1) map_equal.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/map_equal.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_70_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_equal.java:143: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_70_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_70_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_equal.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_71_71 = null; ^ Mercury/javas/jmercury/map_equal.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_72_72 = null; ^ Mercury/javas/jmercury/map_equal.java:146: error: package list does not exist list.List_1 List1_4 = (list.List_1) map_equal.MR_scalar_common_4[7]; ^ Mercury/javas/jmercury/map_equal.java:146: error: package list does not exist list.List_1 List1_4 = (list.List_1) map_equal.MR_scalar_common_4[7]; ^ Mercury/javas/jmercury/map_equal.java:147: error: package tree234 does not exist tree234.Tree234_2 Map1_5 = null; ^ Mercury/javas/jmercury/map_equal.java:148: error: package tree234 does not exist tree234.Tree234_2 Map1Copy_6 = null; ^ Mercury/javas/jmercury/map_equal.java:149: error: package tree234 does not exist tree234.Tree234_2 Map2_7 = null; ^ Mercury/javas/jmercury/map_equal.java:150: error: package tree234 does not exist tree234.Tree234_2 EmptyMap_8 = null; ^ Mercury/javas/jmercury/map_equal.java:151: error: package tree234 does not exist tree234.Tree234_2 EmptyMap2_9 = null; ^ Mercury/javas/jmercury/map_equal.java:152: error: package tree234 does not exist tree234.Tree234_2 Map3_10 = null; ^ Mercury/javas/jmercury/map_equal.java:153: error: package tree234 does not exist tree234.Tree234_2 Map4_11 = null; ^ Mercury/javas/jmercury/map_equal.java:164: error: package list does not exist list.List_1 Var_66 = null; ^ Mercury/javas/jmercury/map_equal.java:171: error: cannot find symbol Map1_5 = map.from_assoc_list_2_p_0(TypeCtorInfo_70_70, TypeCtorInfo_70_70, List1_4); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:177: error: package jmercury.runtime does not exist TypeInfo_71_71 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_equal.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_equal.java:179: error: cannot find symbol conv0_Map1Copy_6 = builtin.copy_2_p_1(TypeInfo_71_71, ((java.lang.Object) (Map1_5))); ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:181: error: package tree234 does not exist Map1Copy_6 = ((tree234.Tree234_2) conv0_Map1Copy_6); ^ Mercury/javas/jmercury/map_equal.java:189: error: cannot find symbol Map2_7 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_115_101_116_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_4_p_0(TypeCtorInfo_70_70, Var_51, java.lang.Integer.valueOf(Var_52), Map1_5); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:200: error: cannot find symbol EmptyMap_8 = map.init_0_f_0(TypeCtorInfo_70_70, TypeCtorInfo_70_70); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:215: error: cannot find symbol conv1_EmptyMap2_9 = builtin.copy_2_p_1(TypeInfo_71_71, ((java.lang.Object) (EmptyMap_8))); ^ symbol: variable builtin location: class map_equal Mercury/javas/jmercury/map_equal.java:217: error: package tree234 does not exist EmptyMap2_9 = ((tree234.Tree234_2) conv1_EmptyMap2_9); ^ Mercury/javas/jmercury/map_equal.java:223: error: cannot find symbol Map3_10 = map.from_assoc_list_2_p_0(TypeCtorInfo_70_70, TypeCtorInfo_70_70, List1_4); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:225: error: package jmercury.runtime does not exist TypeInfo_72_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_equal.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_equal.java:227: error: cannot find symbol Var_66 = list.reverse_1_f_0(TypeInfo_72_72, List1_4); ^ symbol: variable list location: class map_equal Mercury/javas/jmercury/map_equal.java:230: error: cannot find symbol Map4_11 = map.from_assoc_list_2_p_0(TypeCtorInfo_70_70, TypeCtorInfo_70_70, Var_66); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:258: error: cannot find symbol succeeded = map.equal_2_p_0(TypeInfo_for_K_23, TypeInfo_for_V_24, A_7, B_8); ^ symbol: variable map location: class map_equal Mercury/javas/jmercury/map_equal.java:265: error: cannot find symbol succeeded = tree234.__Unify____tree234_2_0(TypeInfo_for_K_23, TypeInfo_for_V_24, A_7, B_8); ^ symbol: variable tree234 location: class map_equal Mercury/javas/jmercury/map_equal.java:272: error: cannot find symbol io.write_string_3_p_0(Name_6); ^ symbol: variable io location: class map_equal 100 errors gmake[3]: *** [/tmp/mmake.gjcnsj:1284: map_equal] Error 1 gmake[3]: Target 'map_equal.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: map_equal.log] Error 1 RUNNING TEST general/mode_inf in grade java FAILED TEST general/map_corresponding in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_corresponding.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_corresponding Making Mercury/int3s/map_corresponding.int3 Making Mercury/ints/map_corresponding.int Making Mercury/javas/jmercury/map_corresponding.java Making Java class files Mercury/javas/jmercury/map_corresponding.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_4__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_5__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/map_corresponding.java:83: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_corresponding.java:84: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/map_corresponding.java:468: error: package list does not exist list.List_1 As_5, ^ Mercury/javas/jmercury/map_corresponding.java:469: error: package list does not exist list.List_1 Bs_6) ^ Mercury/javas/jmercury/map_corresponding.java:466: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_corresponding.java:500: error: package list does not exist list.List_1 As_5, ^ Mercury/javas/jmercury/map_corresponding.java:501: error: package list does not exist list.List_1 Bs_6, ^ Mercury/javas/jmercury/map_corresponding.java:502: error: package list does not exist list.List_1 Cs_7) ^ Mercury/javas/jmercury/map_corresponding.java:498: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_corresponding.java:614: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/map_corresponding.java:678: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/map_corresponding.java:1067: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/map_corresponding.java:1089: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/map_corresponding.java:1134: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/map_corresponding.java:1175: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/map_corresponding.java:1217: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/map_corresponding.java:1287: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/map_corresponding.java:1312: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/map_corresponding.java:1321: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/map_corresponding.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_corresponding"; ^ Mercury/javas/jmercury/map_corresponding.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_corresponding.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_corresponding.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_corresponding.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_corresponding.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_4__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_5__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_corresponding.java:40: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:42: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:42: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/map_corresponding.java:46: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ Mercury/javas/jmercury/map_corresponding.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ symbol: variable bool location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_corresponding.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_corresponding.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_corresponding.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ Mercury/javas/jmercury/map_corresponding.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ symbol: variable bool location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_corresponding.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_corresponding.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_corresponding.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_corresponding.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_corresponding.java:65: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_corresponding.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/map_corresponding.java:83: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_corresponding.java:84: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/map_corresponding.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_corresponding.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/map_corresponding.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_corresponding.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_corresponding.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/map_corresponding.java:96: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ symbol: variable bool location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:96: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ Mercury/javas/jmercury/map_corresponding.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/map_corresponding.java:98: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/map_corresponding.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/map_corresponding.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_corresponding.java:103: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:103: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/map_corresponding.java:104: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ symbol: variable bool location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:104: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ Mercury/javas/jmercury/map_corresponding.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/map_corresponding.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/map_corresponding.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/map_corresponding.java:108: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_corresponding.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/map_corresponding.java:112: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/map_corresponding.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/map_corresponding.java:122: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:122: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/map_corresponding.java:130: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:130: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/map_corresponding.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/map_corresponding.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_corresponding.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_corresponding.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class map_corresponding Mercury/javas/jmercury/map_corresponding.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ 100 errors gmake[3]: *** [/tmp/mmake.xpG9YK:1284: map_corresponding] Error 1 gmake[3]: Target 'map_corresponding.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: map_corresponding.log] Error 1 RUNNING TEST general/mode_inf_bug in grade java FAILED TEST general/mode_inf_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inf_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inf_bug Making Mercury/int3s/mode_inf_bug.int3 Making Mercury/ints/mode_inf_bug.int Making Mercury/javas/jmercury/mode_inf_bug.java Making Java class files Mercury/javas/jmercury/mode_inf_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc mode_inf_bug__enum_functor_desc_hook_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/mode_inf_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mode_inf_bug__enum_ordinal_ordered_hook_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mode_inf_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mode_inf_bug__enum_name_ordered_hook_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mode_inf_bug.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mode_inf_bug__type_ctor_info_hook_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mode_inf_bug.java:78: 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/mode_inf_bug.java:115: error: package list does not exist list.List_1 L0_5) ^ Mercury/javas/jmercury/mode_inf_bug.java:112: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/mode_inf_bug.java:164: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/mode_inf_bug.java:194: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/mode_inf_bug.java:274: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_7_7, ^ Mercury/javas/jmercury/mode_inf_bug.java:275: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/mode_inf_bug.java:309: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/mode_inf_bug.java:339: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_30, ^ Mercury/javas/jmercury/mode_inf_bug.java:596: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_20, ^ Mercury/javas/jmercury/mode_inf_bug.java:639: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/mode_inf_bug.java:685: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/mode_inf_bug.java:753: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mode_inf_bug.java:806: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/mode_inf_bug.java:807: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/mode_inf_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_inf_bug"; ^ Mercury/javas/jmercury/mode_inf_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_inf_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_inf_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_inf_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_inf_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc mode_inf_bug__enum_functor_desc_hook_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/mode_inf_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mode_inf_bug__enum_ordinal_ordered_hook_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mode_inf_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mode_inf_bug__enum_name_ordered_hook_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mode_inf_bug.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mode_inf_bug__type_ctor_info_hook_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mode_inf_bug.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/mode_inf_bug.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/mode_inf_bug.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/mode_inf_bug.java:78: 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/mode_inf_bug.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/mode_inf_bug.java:94: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:94: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/mode_inf_bug.java:97: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/mode_inf_bug.java:120: error: package list does not exist list.List_1 L_6 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:129: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:132: error: package list does not exist list.List_1 next_value_of_L0_5 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:137: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/mode_inf_bug.java:175: error: package list.List_1 does not exist int F_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:175: error: illegal start of type int F_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:176: error: package list does not exist list.List_1 R_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:176: error: package list.List_1 does not exist list.List_1 R_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:177: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:205: error: package list.List_1 does not exist int F_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:205: error: illegal start of type int F_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:206: error: package list does not exist list.List_1 R_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:206: error: package list.List_1 does not exist list.List_1 R_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:208: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:209: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:219: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_4)[1]); ^ Mercury/javas/jmercury/mode_inf_bug.java:221: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_4))))).booleanValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf_bug.java:251: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf_bug.java:252: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_14 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:266: error: cannot find symbol TypeCtorInfo_9_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_9_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf_bug.java:287: error: package list.List_1 does not exist java.lang.Object F_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/mode_inf_bug.java:288: error: package list does not exist list.List_1 R_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:288: error: package list.List_1 does not exist list.List_1 R_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/mode_inf_bug.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/mode_inf_bug.java:290: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:293: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__2_2))), ((java.lang.Object) (F_4)))).booleanValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:320: error: package list.List_1 does not exist int F_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:320: error: illegal start of type int F_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:321: error: package list does not exist list.List_1 R_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:321: error: package list.List_1 does not exist list.List_1 R_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/mode_inf_bug.java:322: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:354: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:357: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:367: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_14)[1]); ^ Mercury/javas/jmercury/mode_inf_bug.java:369: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_14))))).booleanValue(); ^ Mercury/javas/jmercury/mode_inf_bug.java:376: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:384: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:388: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:392: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:395: error: cannot find symbol io.write_int_3_p_0(Count_7); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:398: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:401: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:405: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:419: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:423: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:437: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:441: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class mode_inf_bug Mercury/javas/jmercury/mode_inf_bug.java:513: error: package list does not exist list.List_1 L_3 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:514: error: package list does not exist list.List_1 Var_4 = (list.List_1) mode_inf_bug.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/mode_inf_bug.java:514: error: package list does not exist list.List_1 Var_4 = (list.List_1) mode_inf_bug.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/mode_inf_bug.java:530: error: package list does not exist list.List_1 L_3 = null; ^ Mercury/javas/jmercury/mode_inf_bug.java:531: error: package list does not exist list.List_1 Var_4 = (list.List_1) mode_inf_bug.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/mode_inf_bug.java:531: error: package list does not exist list.List_1 Var_4 = (list.List_1) mode_inf_bug.MR_scalar_common_2[0]; ^ 100 errors gmake[3]: *** [/tmp/mmake.4eeWCR:1284: mode_inf_bug] Error 1 gmake[3]: Target 'mode_inf_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mode_inf_bug.log] Error 1 RUNNING TEST general/mode_inference_reorder in grade java FAILED TEST general/mode_inf in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inf.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inf Making Mercury/int3s/mode_inf.int3 Making Mercury/ints/mode_inf.int Making Mercury/javas/jmercury/mode_inf.java Making Java class files Mercury/javas/jmercury/mode_inf.java:86: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_inf.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_inf.java:229: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mode_inf.java:248: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/mode_inf.java:295: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_inf.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_inf"; ^ Mercury/javas/jmercury/mode_inf.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_inf.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_inf.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_inf Mercury/javas/jmercury/mode_inf.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_inf Mercury/javas/jmercury/mode_inf.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_inf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_inf.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/mode_inf.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/mode_inf.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/mode_inf.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/mode_inf.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:80: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_17_17, java.lang.Integer.valueOf(HeadVar__1_14)); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:90: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:104: error: cannot find symbol conv0_A0_6 = array.init_3_p_0(TypeCtorInfo_11_12, Var_8, java.lang.Integer.valueOf(Var_9)); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:109: error: cannot find symbol conv1_A1_7 = array.set_4_p_0(TypeCtorInfo_11_12, Var_10, java.lang.Integer.valueOf(Var_5), (/* Array */ java.lang.Object) A0_6); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:114: error: cannot find symbol conv2_Y_3 = array.lookup_3_p_0(TypeCtorInfo_11_12, (/* Array */ java.lang.Object) A1_7, Var_11); ^ symbol: variable array location: class mode_inf Mercury/javas/jmercury/mode_inf.java:122: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:130: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:138: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:146: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_inf Mercury/javas/jmercury/mode_inf.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_inf.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/mode_inf.java:148: error: package list does not exist list.List_1 L_5 = null; ^ Mercury/javas/jmercury/mode_inf.java:154: error: cannot find symbol L_5 = solutions.solutions_2_p_0(TypeCtorInfo_13_13, Var_8); ^ symbol: variable solutions location: class mode_inf Mercury/javas/jmercury/mode_inf.java:157: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class mode_inf Mercury/javas/jmercury/mode_inf.java:157: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/mode_inf.java:159: error: cannot find symbol conv1_STATE_VARIABLE_IO_7 = list.foldl_4_p_2(TypeCtorInfo_13_13, TypeCtorInfo_18_18, Var_10, L_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class mode_inf Mercury/javas/jmercury/mode_inf.java:171: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_inf.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_inf.java:264: error: package jmercury.runtime does not exist mode_inf.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/mode_inf.java:278: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 49 errors gmake[3]: *** [/tmp/mmake.a4vSuB:1284: mode_inf] Error 1 gmake[3]: Target 'mode_inf.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mode_inf.log] Error 1 RUNNING TEST general/mu in grade java FAILED TEST general/mu in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mu.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mu Making Mercury/int3s/mu.int3 Making Mercury/ints/mu.int Making Mercury/javas/jmercury/mu.java Making Java class files Mercury/javas/jmercury/mu.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mu__du_functor_desc_pint_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mu.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mu__field_types_pint_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/mu.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mu__du_functor_desc_pint_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mu.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mu__du_stag_ordered_pint_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/mu.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] mu__du_ptag_ordered_pint_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/mu.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mu__du_name_ordered_pint_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/mu.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mu__type_ctor_info_pint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mu.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/mu.java:125: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/mu.java:126: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/mu.java:228: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/mu.java:244: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/mu.java:245: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mu.java:296: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/mu.java:343: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/mu.java:455: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mu.java:497: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/mu.java:582: error: package list does not exist public list.List_1 Charlist_5; ^ Mercury/javas/jmercury/mu.java:584: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/mu.java:590: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mu.java:593: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/mu.java:595: error: package list does not exist public list.List_1 _Charlist_9; ^ Mercury/javas/jmercury/mu.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mu"; ^ Mercury/javas/jmercury/mu.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mu.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mu.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mu Mercury/javas/jmercury/mu.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mu Mercury/javas/jmercury/mu.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mu.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mu.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mu__du_functor_desc_pint_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mu.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mu__field_types_pint_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/mu.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mu__du_functor_desc_pint_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mu.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mu__du_stag_ordered_pint_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/mu.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] mu__du_ptag_ordered_pint_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/mu.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mu__du_name_ordered_pint_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/mu.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mu__type_ctor_info_pint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mu.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mu Mercury/javas/jmercury/mu.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mu Mercury/javas/jmercury/mu.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mu.mu__type_ctor_info_pint_0; ^ Mercury/javas/jmercury/mu.java:64: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mu Mercury/javas/jmercury/mu.java:72: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mu Mercury/javas/jmercury/mu.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/mu.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mu Mercury/javas/jmercury/mu.java:100: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/mu.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/mu.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/mu.java:125: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/mu.java:126: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/mu.java:136: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/mu.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/mu.java:140: error: package list does not exist (list.List_1) mu.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/mu.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/mu.java:145: error: package list does not exist (list.List_1) mu.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/mu.java:167: error: package list does not exist list.List_1 Var_10 = (list.List_1) mu.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/mu.java:167: error: package list does not exist list.List_1 Var_10 = (list.List_1) mu.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/mu.java:178: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/mu.java:188: error: cannot find symbol S_7 = string.from_char_list_2_p_0(((mu.Main_2_p_0_env_0) env_ptr).Charlist_5); ^ symbol: variable string location: class mu Mercury/javas/jmercury/mu.java:191: error: cannot find symbol io.write_string_3_p_0(S_7); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:195: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:209: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:221: error: package jmercury.runtime does not exist ((mu.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/mu.java:259: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/mu.java:264: error: package list.List_1 does not exist Var_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/mu.java:264: error: illegal start of type Var_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/mu.java:265: error: package list.List_1 does not exist Var_13 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/mu.java:273: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr4) (((mu.Mu_4_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__4_4)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mu.java:306: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr4) (((mu.Mu_4_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).HeadVar__4_4)), ((java.lang.Object) (((mu.Mu_4_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mu.java:324: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:336: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class mu Mercury/javas/jmercury/mu.java:351: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mu.java:358: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/mu.java:374: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/mu.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/mu.java:379: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/mu.java:390: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mu.java:484: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/mu.java:514: error: package list does not exist mu.main_2_p_0_2(((mu.Pint_0) arg1), ((list.List_1) arg2), ((mu.Pint_0) arg3), ((/* env_ptr */ java.lang.Object) arg4)); ^ Mercury/javas/jmercury/mu.java:523: error: package list does not exist mu.mu_4_p_0_1(((mu.Pint_0) arg1), ((list.List_1) arg2), ((mu.Pint_0) arg3), ((/* env_ptr */ java.lang.Object) arg4)); ^ Mercury/javas/jmercury/mu.java:528: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors gmake[3]: *** [/tmp/mmake.0mzzes:1284: mu] Error 1 gmake[3]: Target 'mu.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mu.log] Error 1 RUNNING TEST general/nasty_nondet in grade java FAILED TEST general/mode_inference_reorder in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inference_reorder.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_inference_reorder Making Mercury/int3s/mode_inference_reorder.int3 Making Mercury/ints/mode_inference_reorder.int Making Mercury/javas/jmercury/mode_inference_reorder.java Making Java class files Mercury/javas/jmercury/mode_inference_reorder.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mode_inference_reorder__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] mode_inference_reorder__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mode_inference_reorder__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mode_inference_reorder__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:209: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:210: 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/mode_inference_reorder.java:230: error: package list does not exist list.List_1 DCG_0_7) ^ Mercury/javas/jmercury/mode_inference_reorder.java:1292: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/mode_inference_reorder.java:285: error: package list does not exist list.List_1 DCG_0_8) ^ Mercury/javas/jmercury/mode_inference_reorder.java:414: error: package list does not exist list.List_1 DCG_0_8) ^ Mercury/javas/jmercury/mode_inference_reorder.java:520: error: package list does not exist list.List_1 DCG_0_5, ^ Mercury/javas/jmercury/mode_inference_reorder.java:521: error: package list does not exist list.List_1 DCG_2_7) ^ Mercury/javas/jmercury/mode_inference_reorder.java:671: error: package list does not exist list.List_1 DCG_0_8) ^ Mercury/javas/jmercury/mode_inference_reorder.java:854: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/mode_inference_reorder.java:1250: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mode_inference_reorder.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_inference_reorder"; ^ Mercury/javas/jmercury/mode_inference_reorder.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_inference_reorder.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_inference_reorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_inference_reorder.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] mode_inference_reorder__field_types_expr_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc mode_inference_reorder__du_functor_desc_expr_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mode_inference_reorder__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] mode_inference_reorder__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] mode_inference_reorder__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mode_inference_reorder__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:75: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:83: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:87: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:89: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:94: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:102: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:106: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:108: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:113: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:121: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) mode_inference_reorder.mode_inference_reorder__type_ctor_info_expr_0; ^ Mercury/javas/jmercury/mode_inference_reorder.java:132: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:140: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/mode_inference_reorder.java:156: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/mode_inference_reorder.java:191: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/mode_inference_reorder.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/mode_inference_reorder.java:209: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:210: 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/mode_inference_reorder.java:214: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_inference_reorder.java:215: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:215: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/mode_inference_reorder.java:216: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:216: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/mode_inference_reorder.java:219: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:233: error: package list does not exist list.List_1 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:234: error: package list does not exist list.List_1 DCG_3_10 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:236: error: package list does not exist list.List_1 Rest_5 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:237: error: package list does not exist list.List_1 DCG_1_8 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:238: error: package list does not exist list.List_1 Const_6 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:239: error: package list does not exist list.List_1 DCG_2_9 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:243: error: package list.List_1 does not exist Digit_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) DCG_0_7).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:243: error: illegal start of type Digit_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) DCG_0_7).F1)).intValue(); ^ Mercury/javas/jmercury/mode_inference_reorder.java:244: error: package list.List_1 does not exist DCG_1_8 = ((list.List_1.F_cons_2) DCG_0_7).F2; ^ Mercury/javas/jmercury/mode_inference_reorder.java:246: error: cannot find symbol succeeded = mr_char.is_digit_1_p_0(Digit_4); ^ symbol: variable mr_char location: class mode_inference_reorder Mercury/javas/jmercury/mode_inference_reorder.java:253: error: package list does not exist Const_6 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:254: error: package list does not exist DCG_2_9 = (list.List_1) result[2]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:263: error: package list does not exist Rest_5 = (list.List_1) mode_inference_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/mode_inference_reorder.java:267: error: package list.List_1 does not exist HeadVar__1_1 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/mode_inference_reorder.java:291: error: package list does not exist list.List_1 DCG_6_14 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:292: error: package list does not exist list.List_1 DCG_1_9 = null; ^ Mercury/javas/jmercury/mode_inference_reorder.java:298: error: package list.List_1 does not exist Var_15 = ((java.lang.Integer) (((list.List_1.F_cons_2) DCG_0_8).F1)).intValue(); ^ 100 errors gmake[3]: *** [/tmp/mmake.sdKtva:1284: mode_inference_reorder] Error 1 gmake[3]: Target 'mode_inference_reorder.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mode_inference_reorder.log] Error 1 RUNNING TEST general/nondet_disj in grade java FAILED TEST general/nasty_nondet in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nasty_nondet.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nasty_nondet Making Mercury/int3s/nasty_nondet.int3 Making Mercury/ints/nasty_nondet.int Making Mercury/javas/jmercury/nasty_nondet.java Making Java class files Mercury/javas/jmercury/nasty_nondet.java:134: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nasty_nondet.java:158: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nasty_nondet.java:246: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nasty_nondet.java:274: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nasty_nondet.java:293: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nasty_nondet.java:317: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nasty_nondet.java:326: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nasty_nondet.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nasty_nondet"; ^ Mercury/javas/jmercury/nasty_nondet.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nasty_nondet.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nasty_nondet.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nasty_nondet.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nasty_nondet.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/nasty_nondet.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nasty_nondet.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nasty_nondet.java:94: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nasty_nondet.java:95: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nasty_nondet.java:99: error: cannot find symbol List_4 = solutions.solutions_2_p_0(TypeCtorInfo_10_10, Var_7); ^ symbol: variable solutions location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:114: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nasty_nondet.java:188: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nasty_nondet.P_2_p_0_env_0) env_ptr).Y_4), ((java.lang.Object) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nasty_nondet.java:205: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nasty_nondet.P_2_p_0_env_0) env_ptr).Y_4), ((java.lang.Object) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nasty_nondet.java:253: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nasty_nondet.java:253: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nasty_nondet.java:254: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nasty_nondet.java:254: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nasty_nondet.java:255: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nasty_nondet.java:258: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:261: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nasty_nondet Mercury/javas/jmercury/nasty_nondet.java:305: error: package jmercury.runtime does not exist nasty_nondet.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 38 errors gmake[3]: *** [/tmp/mmake.GQiSof:1284: nasty_nondet] Error 1 gmake[3]: Target 'nasty_nondet.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nasty_nondet.log] Error 1 RUNNING TEST general/nondet_ite_1 in grade java FAILED TEST general/nondet_disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_disj Making Mercury/int3s/nondet_disj.int3 Making Mercury/ints/nondet_disj.int Making Mercury/javas/jmercury/nondet_disj.java Making Java class files Mercury/javas/jmercury/nondet_disj.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/nondet_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/nondet_disj.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/nondet_disj.java:122: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_disj.java:216: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/nondet_disj.java:230: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_disj.java:253: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondet_disj.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_disj.java:329: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_disj.java:353: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_disj.java:355: error: package pair does not exist public pair.Pair_2 LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/nondet_disj.java:363: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_disj.java:366: error: package pair does not exist public pair.Pair_2 conv0_LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/nondet_disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_disj"; ^ Mercury/javas/jmercury/nondet_disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_disj.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/nondet_disj.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/nondet_disj.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/nondet_disj.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/nondet_disj.java:51: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/nondet_disj.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/nondet_disj.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/nondet_disj.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/nondet_disj.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/nondet_disj.java:63: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/nondet_disj.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/nondet_disj.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/nondet_disj.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/nondet_disj.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/nondet_disj.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/nondet_disj.java:177: error: package pair does not exist ((nondet_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11 = new pair.Pair_2( ^ Mercury/javas/jmercury/nondet_disj.java:183: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11)), ((java.lang.Object) (((nondet_disj.introducedFrom__pred__main__21__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_disj.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(nondet_disj.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/nondet_disj.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(nondet_disj.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/nondet_disj.java:191: error: package list does not exist list.List_1 List_7 = null; ^ Mercury/javas/jmercury/nondet_disj.java:195: error: cannot find symbol List_7 = solutions.solutions_2_p_0(TypeInfo_14_14, Var_10); ^ symbol: variable solutions location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:210: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_disj.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_disj.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_disj.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_disj.java:262: error: package list does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_disj.java:262: error: package list.List_1 does not exist list.List_1 XYs_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_disj.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/nondet_disj.java:263: error: package pair does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/nondet_disj.java:263: error: package list.List_1 does not exist pair.Pair_2 Var_13 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/nondet_disj.java:266: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/nondet_disj.java:270: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondet_disj.java:272: error: package pair does not exist X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_disj.java:272: error: illegal start of type X_7 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_disj.java:273: error: package pair does not exist Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/nondet_disj.java:273: error: illegal start of type Y_8 = ((java.lang.Integer) (((pair.Pair_2) Var_13).F2)).intValue(); ^ Mercury/javas/jmercury/nondet_disj.java:276: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:278: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) nondet_disj.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/nondet_disj.java:280: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, X_7); ^ symbol: variable string__format location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:283: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:287: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:290: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Y_8); ^ symbol: variable string__format location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:293: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:297: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class nondet_disj Mercury/javas/jmercury/nondet_disj.java:321: error: package pair does not exist nondet_disj.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/nondet_disj.java:341: error: package jmercury.runtime does not exist nondet_disj.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 73 errors gmake[3]: *** [/tmp/mmake.b6USY0:1284: nondet_disj] Error 1 gmake[3]: Target 'nondet_disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_disj.log] Error 1 RUNNING TEST general/nondet_ite_2 in grade java FAILED TEST general/nondet_ite_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_1 Making Mercury/int3s/nondet_ite_1.int3 Making Mercury/ints/nondet_ite_1.int Making Mercury/javas/jmercury/nondet_ite_1.java Making Java class files Mercury/javas/jmercury/nondet_ite_1.java:135: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_1.java:158: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_1.java:222: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondet_ite_1.java:250: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_ite_1.java:269: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_ite_1.java:293: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_1.java:302: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_ite_1"; ^ Mercury/javas/jmercury/nondet_ite_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_ite_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_ite_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_ite_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_ite_1.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondet_ite_1.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_1.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_1.java:96: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nondet_ite_1.java:100: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:115: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_1.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_ite_1.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_ite_1.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_1.java:216: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_1.R_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nondet_ite_1.R_1_p_0_env_0) env_ptr).Z_2), ((java.lang.Object) (((nondet_ite_1.R_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_1.java:229: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_1.java:229: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_1.java:230: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_1.java:230: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_1.java:231: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondet_ite_1.java:234: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:237: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nondet_ite_1 Mercury/javas/jmercury/nondet_ite_1.java:281: error: package jmercury.runtime does not exist nondet_ite_1.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 35 errors gmake[3]: *** [/tmp/mmake.9saVWR:1284: nondet_ite_1] Error 1 gmake[3]: Target 'nondet_ite_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_ite_1.log] Error 1 RUNNING TEST general/nondet_ite_3 in grade java FAILED TEST general/nondet_ite_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_2 Making Mercury/int3s/nondet_ite_2.int3 Making Mercury/ints/nondet_ite_2.int Making Mercury/javas/jmercury/nondet_ite_2.java Making Java class files Mercury/javas/jmercury/nondet_ite_2.java:135: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_2.java:158: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_2.java:242: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondet_ite_2.java:270: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_ite_2.java:289: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_ite_2.java:313: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_2.java:322: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_ite_2"; ^ Mercury/javas/jmercury/nondet_ite_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_ite_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_ite_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_ite_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_ite_2.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondet_ite_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_2.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_2.java:96: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nondet_ite_2.java:100: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:115: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_2.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_ite_2.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_ite_2.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_2.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_2.R_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nondet_ite_2.R_1_p_0_env_0) env_ptr).Z_2), ((java.lang.Object) (((nondet_ite_2.R_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_2.java:249: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_2.java:249: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_2.java:250: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_2.java:250: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_2.java:251: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondet_ite_2.java:254: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:257: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nondet_ite_2 Mercury/javas/jmercury/nondet_ite_2.java:301: error: package jmercury.runtime does not exist nondet_ite_2.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 35 errors gmake[3]: *** [/tmp/mmake.HpngqK:1284: nondet_ite_2] Error 1 gmake[3]: Target 'nondet_ite_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_ite_2.log] Error 1 RUNNING TEST general/nondet_ite_4 in grade java FAILED TEST general/nondet_ite_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_3 Making Mercury/int3s/nondet_ite_3.int3 Making Mercury/ints/nondet_ite_3.int Making Mercury/javas/jmercury/nondet_ite_3.java Making Java class files Mercury/javas/jmercury/nondet_ite_3.java:123: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_3.java:146: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_3.java:180: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondet_ite_3.java:208: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_ite_3.java:227: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_ite_3.java:251: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_ite_3"; ^ Mercury/javas/jmercury/nondet_ite_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_ite_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_ite_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_ite_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_ite_3.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondet_ite_3.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_3.java:83: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_3.java:84: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nondet_ite_3.java:88: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:103: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_3.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_ite_3.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_ite_3.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_3.java:153: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:159: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_3.java:170: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_3.java:187: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_3.java:187: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_3.java:188: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_3.java:188: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_3.java:189: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondet_ite_3.java:192: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:195: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nondet_ite_3 Mercury/javas/jmercury/nondet_ite_3.java:239: error: package jmercury.runtime does not exist nondet_ite_3.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 36 errors gmake[3]: *** [/tmp/mmake.EqKvWc:1284: nondet_ite_3] Error 1 gmake[3]: Target 'nondet_ite_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_ite_3.log] Error 1 RUNNING TEST general/nondetlive in grade java FAILED TEST general/nondet_ite_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ite_4 Making Mercury/int3s/nondet_ite_4.int3 Making Mercury/ints/nondet_ite_4.int Making Mercury/javas/jmercury/nondet_ite_4.java Making Java class files Mercury/javas/jmercury/nondet_ite_4.java:135: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_4.java:158: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_ite_4.java:242: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondet_ite_4.java:270: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_ite_4.java:289: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_ite_4.java:313: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_4.java:322: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_ite_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_ite_4"; ^ Mercury/javas/jmercury/nondet_ite_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_ite_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_ite_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_ite_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_ite_4.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondet_ite_4.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_4.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_ite_4.java:96: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nondet_ite_4.java:100: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:115: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_4.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_ite_4.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_ite_4.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_4.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_ite_4.R_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nondet_ite_4.R_1_p_0_env_0) env_ptr).Z_2), ((java.lang.Object) (((nondet_ite_4.R_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_ite_4.java:249: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_4.java:249: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondet_ite_4.java:250: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_4.java:250: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondet_ite_4.java:251: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondet_ite_4.java:254: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:257: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nondet_ite_4 Mercury/javas/jmercury/nondet_ite_4.java:301: error: package jmercury.runtime does not exist nondet_ite_4.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 35 errors gmake[3]: *** [/tmp/mmake.mnYb68:1284: nondet_ite_4] Error 1 gmake[3]: Target 'nondet_ite_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_ite_4.log] Error 1 RUNNING TEST general/parse_list in grade java FAILED TEST general/nondetlive in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondetlive.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondetlive Making Mercury/int3s/nondetlive.int3 Making Mercury/ints/nondetlive.int Making Mercury/javas/jmercury/nondetlive.java Making Java class files Mercury/javas/jmercury/nondetlive.java:138: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondetlive.java:161: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondetlive.java:245: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/nondetlive.java:275: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondetlive.java:294: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondetlive.java:318: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondetlive.java:327: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondetlive.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondetlive"; ^ Mercury/javas/jmercury/nondetlive.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondetlive.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondetlive.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondetlive Mercury/javas/jmercury/nondetlive.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondetlive Mercury/javas/jmercury/nondetlive.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondetlive.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondetlive.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondetlive Mercury/javas/jmercury/nondetlive.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondetlive.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondetlive.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondetlive Mercury/javas/jmercury/nondetlive.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondetlive.java:96: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/nondetlive.java:100: error: cannot find symbol List_4 = solutions.solutions_2_p_0(TypeCtorInfo_10_10, Var_7); ^ symbol: variable solutions location: class nondetlive Mercury/javas/jmercury/nondetlive.java:106: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:118: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondetlive.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondetlive.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondetlive.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondetlive.java:239: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondetlive.P_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nondetlive.P_1_p_0_env_0) env_ptr).X_2), ((java.lang.Object) (((nondetlive.P_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondetlive.java:252: error: package list.List_1 does not exist int I_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondetlive.java:252: error: illegal start of type int I_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/nondetlive.java:253: error: package list does not exist list.List_1 Is_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondetlive.java:253: error: package list.List_1 does not exist list.List_1 Is_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/nondetlive.java:255: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nondetlive.java:258: error: cannot find symbol io.write_int_3_p_0(I_7); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:262: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class nondetlive Mercury/javas/jmercury/nondetlive.java:306: error: package jmercury.runtime does not exist nondetlive.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 36 errors gmake[3]: *** [/tmp/mmake.gVBKfM:1284: nondetlive] Error 1 gmake[3]: Target 'nondetlive.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondetlive.log] Error 1 RUNNING TEST general/partition in grade java FAILED TEST general/parse_list in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_list.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_list Making Mercury/int3s/parse_list.int3 Making Mercury/ints/parse_list.int Making Mercury/javas/jmercury/parse_list.java Making Java class files Mercury/javas/jmercury/parse_list.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/parse_list.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/parse_list.java:50: 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/parse_list.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/parse_list.java:108: error: package list does not exist list.List_1 LambdaHeadVar__1_15) ^ Mercury/javas/jmercury/parse_list.java:276: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_12, ^ Mercury/javas/jmercury/parse_list.java:277: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_13, ^ Mercury/javas/jmercury/parse_list.java:323: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/parse_list.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "parse_list"; ^ Mercury/javas/jmercury/parse_list.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/parse_list.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/parse_list.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class parse_list Mercury/javas/jmercury/parse_list.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class parse_list Mercury/javas/jmercury/parse_list.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/parse_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/parse_list.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/parse_list.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class parse_list Mercury/javas/jmercury/parse_list.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/parse_list.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class parse_list Mercury/javas/jmercury/parse_list.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/parse_list.java:50: 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/parse_list.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/parse_list.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/parse_list.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class parse_list Mercury/javas/jmercury/parse_list.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/parse_list.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class parse_list Mercury/javas/jmercury/parse_list.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/parse_list.java:62: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/parse_list.java:70: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class parse_list Mercury/javas/jmercury/parse_list.java:70: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/parse_list.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:81: error: package list does not exist (list.List_1) parse_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_list.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:86: error: package list does not exist (list.List_1) parse_list.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/parse_list.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:91: error: package list does not exist (list.List_1) parse_list.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/parse_list.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:96: error: package list does not exist (list.List_1) parse_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_list.java:111: error: package list does not exist list.List_1 LambdaHeadVar__2_16 = null; ^ Mercury/javas/jmercury/parse_list.java:113: error: package list does not exist list.List_1 Var_24 = null; ^ Mercury/javas/jmercury/parse_list.java:118: error: package list.List_1 does not exist Var_25 = ((java.lang.Integer) (((list.List_1.F_cons_2) LambdaHeadVar__1_15).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:118: error: illegal start of type Var_25 = ((java.lang.Integer) (((list.List_1.F_cons_2) LambdaHeadVar__1_15).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:119: error: package list.List_1 does not exist Var_24 = ((list.List_1.F_cons_2) LambdaHeadVar__1_15).F2; ^ Mercury/javas/jmercury/parse_list.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(parse_list.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/parse_list.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(parse_list.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/parse_list.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/parse_list.java:154: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class parse_list Mercury/javas/jmercury/parse_list.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/parse_list.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_46_46 = null; ^ Mercury/javas/jmercury/parse_list.java:156: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/parse_list.java:157: error: package list does not exist list.List_1 Var_19 = (list.List_1) parse_list.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/parse_list.java:157: error: package list does not exist list.List_1 Var_19 = (list.List_1) parse_list.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/parse_list.java:158: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/parse_list.java:159: error: package list does not exist list.List_1 Var_21 = (list.List_1) parse_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/parse_list.java:159: error: package list does not exist list.List_1 Var_21 = (list.List_1) parse_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/parse_list.java:160: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/parse_list.java:165: error: package list does not exist Var_18 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/parse_list.java:171: error: package list.List_1 does not exist X_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_18).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:171: error: illegal start of type X_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_18).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:172: error: package list.List_1 does not exist Var_20 = ((list.List_1.F_cons_2) Var_18).F2; ^ Mercury/javas/jmercury/parse_list.java:176: error: package list.List_1 does not exist Y_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_20).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:176: error: illegal start of type Y_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_20).F1)).intValue(); ^ Mercury/javas/jmercury/parse_list.java:177: error: package list.List_1 does not exist Var_45 = ((list.List_1.F_cons_2) Var_20).F2; ^ Mercury/javas/jmercury/parse_list.java:178: error: package jmercury.runtime does not exist TypeInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(parse_list.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/parse_list.java:180: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_46_46, ((java.lang.Object) (Var_21)), ((java.lang.Object) (Var_45))); ^ symbol: variable builtin location: class parse_list Mercury/javas/jmercury/parse_list.java:188: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/parse_list.java:190: error: package list does not exist list.List_1 Var_31 = null; ^ Mercury/javas/jmercury/parse_list.java:191: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/parse_list.java:193: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/parse_list.java:194: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/parse_list.java:197: error: cannot find symbol SX_11 = string.int_to_string_2_p_0(X_8); ^ symbol: variable string location: class parse_list Mercury/javas/jmercury/parse_list.java:200: error: cannot find symbol SY_12 = string.int_to_string_2_p_0(Y_9); ^ symbol: variable string location: class parse_list Mercury/javas/jmercury/parse_list.java:204: error: package list does not exist Var_35 = (list.List_1) parse_list.MR_scalar_common_5[3]; ^ Mercury/javas/jmercury/parse_list.java:206: error: package list.List_1 does not exist Var_34 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:212: error: package list.List_1 does not exist Var_32 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:218: error: package list.List_1 does not exist Var_31 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:224: error: package list.List_1 does not exist Var_28 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:230: error: cannot find symbol io.write_strings_3_p_0(Var_28); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:238: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class parse_list Mercury/javas/jmercury/parse_list.java:252: error: package list does not exist list.List_1 conv1_LambdaHeadVar__2_16 = null; ^ Mercury/javas/jmercury/parse_list.java:256: error: package list does not exist java.lang.Object [] result = parse_list.IntroducedFrom__pred__main__27__1_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/parse_list.java:258: error: package list does not exist conv1_LambdaHeadVar__2_16 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/parse_list.java:282: error: package list does not exist list.List_1 L_6 = null; ^ Mercury/javas/jmercury/parse_list.java:286: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_5)[1]); ^ Mercury/javas/jmercury/parse_list.java:286: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_5)[1]); ^ Mercury/javas/jmercury/parse_list.java:289: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_5))), ((java.lang.Object) (In_7)))); ^ Mercury/javas/jmercury/parse_list.java:296: error: package list does not exist list.List_1 L1_11 = null; ^ Mercury/javas/jmercury/parse_list.java:300: error: package list does not exist L1_11 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/parse_list.java:304: error: package list.List_1 does not exist L_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_list.java:312: error: package list does not exist L_6 = (list.List_1) parse_list.MR_scalar_common_2[0]; ^ 94 errors gmake[3]: *** [/tmp/mmake.ggGOBg:1284: parse_list] Error 1 gmake[3]: Target 'parse_list.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: parse_list.log] Error 1 RUNNING TEST general/prune_switch in grade java FAILED TEST general/prune_switch in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - prune_switch.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - prune_switch Making Mercury/int3s/prune_switch.int3 Making Mercury/ints/prune_switch.int Making Mercury/javas/jmercury/prune_switch.java Making Java class files Mercury/javas/jmercury/prune_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prune_switch__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/prune_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prune_switch__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prune_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prune_switch__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/prune_switch.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prune_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prune_switch.java:442: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prune_switch.java:204: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prune_switch.java:400: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/prune_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "prune_switch"; ^ Mercury/javas/jmercury/prune_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/prune_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/prune_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class prune_switch Mercury/javas/jmercury/prune_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class prune_switch Mercury/javas/jmercury/prune_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/prune_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/prune_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prune_switch__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prune_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prune_switch__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prune_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prune_switch__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/prune_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prune_switch__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prune_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prune_switch__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/prune_switch.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prune_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prune_switch.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/prune_switch.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:52: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:60: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/prune_switch.java:64: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:69: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/prune_switch.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:86: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:94: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/prune_switch.java:106: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class prune_switch Mercury/javas/jmercury/prune_switch.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/prune_switch.java:133: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/prune_switch.java:136: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/prune_switch.java:192: error: cannot find symbol io.write_int_3_p_0(Int_5); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:199: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class prune_switch Mercury/javas/jmercury/prune_switch.java:210: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/prune_switch.java:216: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/prune_switch.java:228: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/prune_switch.java:233: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/prune_switch.java:235: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/prune_switch.java:241: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/prune_switch.java:244: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/prune_switch.java:250: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/prune_switch.java:259: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/prune_switch.java:264: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/prune_switch.java:266: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/prune_switch.java:271: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/prune_switch.java:274: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/prune_switch.java:281: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/prune_switch.java:290: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/prune_switch.java:295: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/prune_switch.java:297: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/prune_switch.java:302: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/prune_switch.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/prune_switch.java:317: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/prune_switch.java:380: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/prune_switch.java:429: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 75 errors gmake[3]: *** [/tmp/mmake.5w1wyN:1284: prune_switch] Error 1 gmake[3]: Target 'prune_switch.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: prune_switch.log] Error 1 RUNNING TEST general/read_dir_regression in grade java FAILED TEST general/partition in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - partition.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - partition Making Mercury/int3s/partition.int3 Making Mercury/ints/partition.int Making Mercury/javas/jmercury/partition.java Making Java class files Mercury/javas/jmercury/partition.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partition.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partition.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/partition.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/partition.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/partition.java:120: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/partition.java:161: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/partition.java:162: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/partition.java:212: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/partition.java:226: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/partition.java:250: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/partition.java:251: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/partition.java:313: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/partition.java:314: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/partition.java:345: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/partition.java:346: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/partition.java:360: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/partition.java:389: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/partition.java:424: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/partition.java:443: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/partition.java:508: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/partition.java:510: error: package pair does not exist public pair.Pair_2 HeadVar__1_1; ^ Mercury/javas/jmercury/partition.java:511: error: package list does not exist public list.List_1 Le_2; ^ Mercury/javas/jmercury/partition.java:512: error: package list does not exist public list.List_1 Gr_3; ^ Mercury/javas/jmercury/partition.java:518: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/partition.java:521: error: package pair does not exist public pair.Pair_2 conv0_HeadVar__1_1; ^ Mercury/javas/jmercury/partition.java:527: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/partition.java:529: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/partition.java:530: error: package list does not exist public list.List_1 HeadVar__4_4; ^ Mercury/javas/jmercury/partition.java:532: error: package list does not exist public list.List_1 Le_9; ^ Mercury/javas/jmercury/partition.java:533: error: package list does not exist public list.List_1 Gr_15; ^ Mercury/javas/jmercury/partition.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "partition"; ^ Mercury/javas/jmercury/partition.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/partition.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/partition.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class partition Mercury/javas/jmercury/partition.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class partition Mercury/javas/jmercury/partition.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/partition.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/partition.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partition.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partition.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class partition Mercury/javas/jmercury/partition.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class partition Mercury/javas/jmercury/partition.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/partition.java:44: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class partition Mercury/javas/jmercury/partition.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) partition.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/partition.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) partition.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/partition.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/partition.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/partition.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/partition.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/partition.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class partition Mercury/javas/jmercury/partition.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/partition.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class partition Mercury/javas/jmercury/partition.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/partition.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/partition.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class partition Mercury/javas/jmercury/partition.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/partition.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(partition.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/partition.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(partition.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/partition.java:89: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/partition.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:93: error: package list does not exist (list.List_1) partition.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/partition.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:98: error: package list does not exist (list.List_1) partition.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/partition.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:103: error: package list does not exist (list.List_1) partition.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/partition.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:108: error: package list does not exist (list.List_1) partition.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/partition.java:134: error: package list does not exist list.List_1 Var_5 = (list.List_1) partition.MR_scalar_common_5[3]; ^ Mercury/javas/jmercury/partition.java:134: error: package list does not exist list.List_1 Var_5 = (list.List_1) partition.MR_scalar_common_5[3]; ^ Mercury/javas/jmercury/partition.java:149: error: package pair does not exist ((partition.Bug_1_p_0_env_0) env_ptr).HeadVar__1_1 = new pair.Pair_2( ^ Mercury/javas/jmercury/partition.java:155: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((partition.Bug_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((partition.Bug_1_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((partition.Bug_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/partition.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(partition.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/partition.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(partition.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/partition.java:178: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/partition.java:182: error: cannot find symbol List_4 = solutions.solutions_2_p_1(TypeInfo_12_12, Var_9); ^ symbol: variable solutions location: class partition Mercury/javas/jmercury/partition.java:189: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:206: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((partition.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((partition.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((partition.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/partition.java:268: error: package list does not exist ((partition.Part_4_p_0_env_0) env_ptr).HeadVar__3_3 = (list.List_1) partition.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/partition.java:269: error: package list does not exist ((partition.Part_4_p_0_env_0) env_ptr).HeadVar__4_4 = (list.List_1) partition.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/partition.java:271: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((partition.Part_4_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__4_4)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/partition.java:276: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/partition.java:278: error: package list.List_1 does not exist ((partition.Part_4_p_0_env_0) env_ptr).Var_17 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/partition.java:278: error: illegal start of type ((partition.Part_4_p_0_env_0) env_ptr).Var_17 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/partition.java:279: error: package list.List_1 does not exist Var_16 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/partition.java:301: error: package list.List_1 does not exist ((partition.Part_4_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:307: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((partition.Part_4_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__4_4)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/partition.java:333: error: package list.List_1 does not exist ((partition.Part_4_p_0_env_0) env_ptr).HeadVar__4_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partition.java:339: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((partition.Part_4_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).HeadVar__4_4)), ((java.lang.Object) (((partition.Part_4_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/partition.java:367: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class partition Mercury/javas/jmercury/partition.java:371: error: package list.List_1 does not exist int X_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/partition.java:371: error: illegal start of type int X_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/partition.java:372: error: package list does not exist list.List_1 L_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/partition.java:372: error: package list.List_1 does not exist list.List_1 L_9 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/partition.java:373: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/partition.java:376: error: cannot find symbol io.write_int_3_p_0(X_8); ^ symbol: variable io location: class partition 100 errors gmake[3]: *** [/tmp/mmake.ftEsXm:1284: partition] Error 1 gmake[3]: Target 'partition.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: partition.log] Error 1 RUNNING TEST general/read_line_as_string in grade java FAILED TEST general/read_line_as_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_line_as_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_line_as_string Making Mercury/int3s/read_line_as_string.int3 Making Mercury/ints/read_line_as_string.int Making Mercury/javas/jmercury/read_line_as_string.java Making Java class files Mercury/javas/jmercury/read_line_as_string.java:35: error: package io does not exist io.Result_1 Result_4) ^ Mercury/javas/jmercury/read_line_as_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_line_as_string"; ^ Mercury/javas/jmercury/read_line_as_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_line_as_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_line_as_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_line_as_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_line_as_string.java:40: error: illegal start of type switch (Result_4.data_tag) { ^ Mercury/javas/jmercury/read_line_as_string.java:43: error: package io.Result_1 does not exist java.lang.String Line_6 = ((java.lang.String) ((io.Result_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/read_line_as_string.java:44: error: package io does not exist io.Result_1 NextResult_7 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:45: error: package io does not exist io.Result_1 next_value_of_Result_4 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:48: error: cannot find symbol io.write_string_3_p_0(Line_6); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:51: error: cannot find symbol NextResult_7 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:67: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:72: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_line_as_string.java:82: error: package io does not exist io.Res_1 Result_4 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:84: error: package io does not exist io.Text_input_stream_0 Stream_5 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:87: error: cannot find symbol Result_4 = io.open_input_4_p_0(Var_10); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:92: error: package io does not exist Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/read_line_as_string.java:92: error: package io.Res_1 does not exist Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/read_line_as_string.java:94: error: package io does not exist io.Result_1 Result2_7 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:95: error: package io does not exist io.Text_input_stream_0 Var_6 = null; ^ Mercury/javas/jmercury/read_line_as_string.java:98: error: cannot find symbol Var_6 = io.set_input_stream_4_p_0(Stream_5); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:101: error: cannot find symbol Result2_7 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class read_line_as_string Mercury/javas/jmercury/read_line_as_string.java:113: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class read_line_as_string 30 errors gmake[3]: *** [/tmp/mmake.VkkDVr:1284: read_line_as_string] Error 1 gmake[3]: Target 'read_line_as_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_line_as_string.log] Error 1 RUNNING TEST general/semi_fail_in_non_ite in grade java FAILED TEST general/read_dir_regression in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_dir_regression.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_dir_regression Making Mercury/int3s/read_dir_regression.int3 Making Mercury/ints/read_dir_regression.int Making Mercury/javas/jmercury/read_dir_regression.java Making Java class files Mercury/javas/jmercury/read_dir_regression.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_dir_regression"; ^ Mercury/javas/jmercury/read_dir_regression.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_dir_regression.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_dir_regression.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_dir_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_dir_regression.java:37: error: package io does not exist io.Res_1 FileResult_4 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:41: error: cannot find symbol FileResult_4 = io.open_input_4_p_0(Var_22); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:47: error: package list does not exist list.List_1 QuoteChunks0_10 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:48: error: package list does not exist list.List_1 RevQuoteChunks0_11 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:51: error: package io does not exist io.Error_0 Error_49 = ((io.Res_1.Error_1) FileResult_4).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:51: error: package io.Res_1 does not exist io.Error_0 Error_49 = ((io.Res_1.Error_1) FileResult_4).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:55: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:57: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:62: error: cannot find symbol ErrorMsg0_9 = io.error_message_1_f_0(Error_49); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:66: error: cannot find symbol QuoteChunks0_10 = string.split_at_char_2_f_0(Var_36, ErrorMsg0_9); ^ symbol: variable string location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:68: error: cannot find symbol TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:68: error: package jmercury.runtime does not exist TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/read_dir_regression.java:70: error: cannot find symbol RevQuoteChunks0_11 = list.reverse_2_p_0(TypeCtorInfo_50_50, QuoteChunks0_10); ^ symbol: variable list location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:75: error: package list.List_1 does not exist LastChunk1_12 = ((java.lang.String) ((list.List_1.F_cons_2) RevQuoteChunks0_11).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:76: error: package list.List_1 does not exist Var_37 = ((list.List_1.F_cons_2) RevQuoteChunks0_11).F2; ^ Mercury/javas/jmercury/read_dir_regression.java:80: error: package list.List_1 does not exist Var_38 = ((list.List_1.F_cons_2) Var_37).F2; ^ Mercury/javas/jmercury/read_dir_regression.java:84: error: package list.List_1 does not exist LastChunk3_14 = ((java.lang.String) ((list.List_1.F_cons_2) Var_38).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:87: error: cannot find symbol java.lang.Object [] result = string.remove_suffix_3_p_0(LastChunk3_14, Var_39); ^ symbol: variable string location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:98: error: package list does not exist list.List_1 RevQuoteChunks_17 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:99: error: package list does not exist list.List_1 QuoteChunks_18 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:100: error: package list does not exist list.List_1 Var_40 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:105: error: package list.List_1 does not exist Var_40 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_dir_regression.java:111: error: package list.List_1 does not exist RevQuoteChunks_17 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_dir_regression.java:117: error: cannot find symbol QuoteChunks_18 = list.reverse_2_p_0(TypeCtorInfo_50_50, RevQuoteChunks_17); ^ symbol: variable list location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:121: error: cannot find symbol ErrorMsg_19 = string.join_list_2_f_0(Var_43, QuoteChunks_18); ^ symbol: variable string location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:128: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:131: error: cannot find symbol io.write_string_3_p_0(ErrorMsg_19); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:135: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:140: error: package io does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileResult_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:140: error: package io does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileResult_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:140: error: package io.Res_1 does not exist io.Text_input_stream_0 File_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) FileResult_4).F1); ^ Mercury/javas/jmercury/read_dir_regression.java:141: error: package io does not exist io.Result_1 LineResult_6 = null; ^ Mercury/javas/jmercury/read_dir_regression.java:144: error: cannot find symbol LineResult_6 = io.read_line_4_p_0(File_5); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:146: error: illegal start of type switch (LineResult_6.data_tag) { ^ Mercury/javas/jmercury/read_dir_regression.java:152: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:161: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:167: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) LineResult_6).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:167: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) LineResult_6).F1; ^ Mercury/javas/jmercury/read_dir_regression.java:173: error: cannot find symbol Var_33 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:177: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:180: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:184: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class read_dir_regression Mercury/javas/jmercury/read_dir_regression.java:189: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_dir_regression.java:192: error: cannot find symbol io.close_input_3_p_0(File_5); ^ symbol: variable io location: class read_dir_regression 56 errors gmake[3]: *** [/tmp/mmake.EsiilB:1284: read_dir_regression] Error 1 gmake[3]: Target 'read_dir_regression.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_dir_regression.log] Error 1 RUNNING TEST general/semidet_lambda in grade java FAILED TEST general/semi_fail_in_non_ite in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_fail_in_non_ite.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_fail_in_non_ite Making Mercury/int3s/semi_fail_in_non_ite.int3 Making Mercury/ints/semi_fail_in_non_ite.int Making Mercury/javas/jmercury/semi_fail_in_non_ite.java Making Java class files Mercury/javas/jmercury/semi_fail_in_non_ite.java:156: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:179: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:284: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:318: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:392: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:427: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:478: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:502: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:511: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "semi_fail_in_non_ite"; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:96: error: package list does not exist list.List_1 Xs1_4 = null; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:100: error: cannot find symbol Xs1_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_9, Var_7); ^ symbol: variable solutions location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:107: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:116: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:123: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:136: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((semi_fail_in_non_ite.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((semi_fail_in_non_ite.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((semi_fail_in_non_ite.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:291: error: package list.List_1 does not exist int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:291: error: illegal start of type int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:292: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:292: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:295: error: cannot find symbol io.write_int_3_p_0(X_7); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:300: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:303: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class semi_fail_in_non_ite Mercury/javas/jmercury/semi_fail_in_non_ite.java:332: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:347: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:358: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:366: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:374: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:382: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:407: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(G_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:419: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(G_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:465: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/semi_fail_in_non_ite.java:490: error: package jmercury.runtime does not exist semi_fail_in_non_ite.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 48 errors gmake[3]: *** [/tmp/mmake.2Ub9pR:1284: semi_fail_in_non_ite] Error 1 gmake[3]: Target 'semi_fail_in_non_ite.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: semi_fail_in_non_ite.log] Error 1 RUNNING TEST general/semidet_map in grade java FAILED TEST general/semidet_lambda in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semidet_lambda.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semidet_lambda Making Mercury/int3s/semidet_lambda.int3 Making Mercury/ints/semidet_lambda.int Making Mercury/javas/jmercury/semidet_lambda.java Making Java class files Mercury/javas/jmercury/semidet_lambda.java:59: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semidet_lambda.java:136: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/semidet_lambda.java:159: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/semidet_lambda.java:178: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/semidet_lambda.java:202: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/semidet_lambda.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "semidet_lambda"; ^ Mercury/javas/jmercury/semidet_lambda.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/semidet_lambda.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/semidet_lambda.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/semidet_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/semidet_lambda.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/semidet_lambda.java:65: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(LambdaHeadVar__1_5), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/semidet_lambda.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_lambda.java:73: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_lambda.java:74: error: package list does not exist list.List_1 Y_4 = null; ^ Mercury/javas/jmercury/semidet_lambda.java:77: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/semidet_lambda.java:80: error: cannot find symbol Y_4 = solutions.solutions_2_p_1(TypeCtorInfo_7_13, Var_12); ^ symbol: variable solutions location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:85: error: package list.List_1 does not exist Z_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) Y_4).F1)).intValue(); ^ Mercury/javas/jmercury/semidet_lambda.java:85: error: illegal start of type Z_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) Y_4).F1)).intValue(); ^ Mercury/javas/jmercury/semidet_lambda.java:86: error: package list.List_1 does not exist Var_8 = ((list.List_1.F_cons_2) Y_4).F2; ^ Mercury/javas/jmercury/semidet_lambda.java:92: error: cannot find symbol io.write_int_3_p_0(Z_5); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:95: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:103: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class semidet_lambda Mercury/javas/jmercury/semidet_lambda.java:116: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((semidet_lambda.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((semidet_lambda.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((semidet_lambda.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/semidet_lambda.java:190: error: package jmercury.runtime does not exist semidet_lambda.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 33 errors gmake[3]: *** [/tmp/mmake.J3yCdp:1284: semidet_lambda] Error 1 gmake[3]: Target 'semidet_lambda.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: semidet_lambda.log] Error 1 RUNNING TEST general/set_test in grade java FAILED TEST general/semidet_map in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semidet_map.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semidet_map Making Mercury/int3s/semidet_map.int3 Making Mercury/ints/semidet_map.int Making Mercury/javas/jmercury/semidet_map.java Making Java class files Mercury/javas/jmercury/semidet_map.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/semidet_map.java:33: 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/semidet_map.java:34: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_3 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/semidet_map.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/semidet_map.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_15, ^ Mercury/javas/jmercury/semidet_map.java:275: error: package maybe does not exist maybe.Maybe_1 HeadVar__2_2) ^ Mercury/javas/jmercury/semidet_map.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_11, ^ Mercury/javas/jmercury/semidet_map.java:320: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_12, ^ Mercury/javas/jmercury/semidet_map.java:322: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/semidet_map.java:317: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/semidet_map.java:388: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/semidet_map.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "semidet_map"; ^ Mercury/javas/jmercury/semidet_map.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/semidet_map.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/semidet_map.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class semidet_map Mercury/javas/jmercury/semidet_map.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class semidet_map Mercury/javas/jmercury/semidet_map.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/semidet_map.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/semidet_map.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/semidet_map.java:33: 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/semidet_map.java:34: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_3 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/semidet_map.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/semidet_map.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/semidet_map.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class semidet_map Mercury/javas/jmercury/semidet_map.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/semidet_map.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/semidet_map.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/semidet_map.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class semidet_map Mercury/javas/jmercury/semidet_map.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/semidet_map.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(semidet_map.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/semidet_map.java:51: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/semidet_map.java:53: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/semidet_map.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:57: error: package list does not exist (list.List_1) semidet_map.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/semidet_map.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:62: error: package list does not exist (list.List_1) semidet_map.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/semidet_map.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:67: error: package list does not exist (list.List_1) semidet_map.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/semidet_map.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:72: error: package list does not exist (list.List_1) semidet_map.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/semidet_map.java:79: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:79: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/semidet_map.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/semidet_map.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/semidet_map.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/semidet_map.java:120: error: package maybe does not exist maybe.Maybe_1 X_4 = null; ^ Mercury/javas/jmercury/semidet_map.java:121: error: package maybe does not exist maybe.Maybe_1 Y_5 = null; ^ Mercury/javas/jmercury/semidet_map.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_map.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_map.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_41_41 = null; ^ Mercury/javas/jmercury/semidet_map.java:125: error: package list does not exist list.List_1 Var_11 = (list.List_1) semidet_map.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/semidet_map.java:125: error: package list does not exist list.List_1 Var_11 = (list.List_1) semidet_map.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/semidet_map.java:126: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/semidet_map.java:127: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/semidet_map.java:128: error: package list does not exist list.List_1 Var_18 = (list.List_1) semidet_map.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/semidet_map.java:128: error: package list does not exist list.List_1 Var_18 = (list.List_1) semidet_map.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/semidet_map.java:129: error: package list does not exist list.List_1 Var_40 = null; ^ Mercury/javas/jmercury/semidet_map.java:137: error: package maybe does not exist X_4 = ((maybe.Maybe_1) ((list.List_1.F_cons_2) Var_12).F1); ^ Mercury/javas/jmercury/semidet_map.java:137: error: package list.List_1 does not exist X_4 = ((maybe.Maybe_1) ((list.List_1.F_cons_2) Var_12).F1); ^ Mercury/javas/jmercury/semidet_map.java:138: error: package list.List_1 does not exist Var_17 = ((list.List_1.F_cons_2) Var_12).F2; ^ Mercury/javas/jmercury/semidet_map.java:142: error: package maybe does not exist Y_5 = ((maybe.Maybe_1) ((list.List_1.F_cons_2) Var_17).F1); ^ Mercury/javas/jmercury/semidet_map.java:142: error: package list.List_1 does not exist Y_5 = ((maybe.Maybe_1) ((list.List_1.F_cons_2) Var_17).F1); ^ Mercury/javas/jmercury/semidet_map.java:143: error: package list.List_1 does not exist Var_40 = ((list.List_1.F_cons_2) Var_17).F2; ^ Mercury/javas/jmercury/semidet_map.java:144: error: package jmercury.runtime does not exist TypeInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(semidet_map.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/semidet_map.java:146: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_41_41, ((java.lang.Object) (Var_18)), ((java.lang.Object) (Var_40))); ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_map.java:152: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class semidet_map Mercury/javas/jmercury/semidet_map.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/semidet_map.java:157: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/semidet_map.java:159: error: package list does not exist list.List_1 Var_24 = null; ^ Mercury/javas/jmercury/semidet_map.java:160: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/semidet_map.java:162: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/semidet_map.java:163: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/semidet_map.java:174: error: package list does not exist Var_28 = (list.List_1) semidet_map.MR_scalar_common_4[3]; ^ Mercury/javas/jmercury/semidet_map.java:176: error: package list.List_1 does not exist Var_27 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:182: error: package list.List_1 does not exist Var_25 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:188: error: package list.List_1 does not exist Var_24 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:194: error: package list.List_1 does not exist Var_21 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semidet_map.java:200: error: cannot find symbol io.write_strings_3_p_0(Var_21); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:208: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class semidet_map Mercury/javas/jmercury/semidet_map.java:249: error: cannot find symbol conv1_HeadVar__2_2 = string.int_to_string_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable string location: class semidet_map Mercury/javas/jmercury/semidet_map.java:265: error: cannot find symbol conv2_HeadVar__2_2 = string.int_to_string_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable string location: class semidet_map Mercury/javas/jmercury/semidet_map.java:283: error: package maybe.Maybe_1 does not exist java.lang.Object T_6 = ((maybe.Maybe_1.Yes_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/semidet_map.java:285: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/semidet_map.java:287: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/semidet_map.java:288: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/semidet_map.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/semidet_map.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/semidet_map.java:293: error: package jmercury.runtime does not exist conv1_S0_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_1))), ((java.lang.Object) (T_6)))); ^ Mercury/javas/jmercury/semidet_map.java:297: error: package list does not exist Var_12 = (list.List_1) semidet_map.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/semidet_map.java:299: error: package list.List_1 does not exist Var_11 = new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.Lj5OKs:1284: semidet_map] Error 1 gmake[3]: Target 'semidet_map.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: semidet_map.log] Error 1 RUNNING TEST general/state_vars_tests in grade java FAILED TEST general/set_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - set_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - set_test Making Mercury/int3s/set_test.int3 Making Mercury/ints/set_test.int Making Mercury/javas/jmercury/set_test.java Making Java class files Mercury/javas/jmercury/set_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/set_test.java:33: 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/set_test.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[33]; ^ Mercury/javas/jmercury/set_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "set_test"; ^ Mercury/javas/jmercury/set_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/set_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/set_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class set_test Mercury/javas/jmercury/set_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class set_test Mercury/javas/jmercury/set_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/set_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class set_test Mercury/javas/jmercury/set_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class set_test Mercury/javas/jmercury/set_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class set_test Mercury/javas/jmercury/set_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class set_test Mercury/javas/jmercury/set_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/set_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/set_test.java:33: 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/set_test.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[33]; ^ Mercury/javas/jmercury/set_test.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/set_test.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(set_bbbtree.set_bbbtree__type_ctor_info_set_bbbtree_1))), ^ symbol: variable set_bbbtree location: class set_test Mercury/javas/jmercury/set_test.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(set_bbbtree.set_bbbtree__type_ctor_info_set_bbbtree_1))), ^ Mercury/javas/jmercury/set_test.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class set_test Mercury/javas/jmercury/set_test.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/set_test.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/set_test.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:47: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:52: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/set_test.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:57: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/set_test.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:62: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/set_test.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:67: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/set_test.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:72: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/set_test.java:75: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:77: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/set_test.java:80: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:82: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/set_test.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:87: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:90: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:92: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/set_test.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:97: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/set_test.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:102: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/set_test.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:107: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/set_test.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:112: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/set_test.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:117: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/set_test.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:122: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/set_test.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:127: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:132: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/set_test.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:137: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/set_test.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:142: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/set_test.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:147: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/set_test.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:152: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[20] ^ Mercury/javas/jmercury/set_test.java:155: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:157: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:160: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:162: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[22] ^ Mercury/javas/jmercury/set_test.java:165: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:167: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[23] ^ Mercury/javas/jmercury/set_test.java:170: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:172: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[22] ^ Mercury/javas/jmercury/set_test.java:175: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:177: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[25] ^ Mercury/javas/jmercury/set_test.java:180: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:182: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:185: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:187: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[27] ^ Mercury/javas/jmercury/set_test.java:190: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:192: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[28] ^ Mercury/javas/jmercury/set_test.java:195: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:197: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[29] ^ Mercury/javas/jmercury/set_test.java:200: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:202: error: package list does not exist (list.List_1) set_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/set_test.java:205: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/set_test.java:207: error: package list does not exist (list.List_1) set_test.MR_scalar_common_3[31] ^ Mercury/javas/jmercury/set_test.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_177_177 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/set_test.java:221: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_177_177 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class set_test Mercury/javas/jmercury/set_test.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_177_177 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/set_test.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_178_178 = null; ^ Mercury/javas/jmercury/set_test.java:223: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set0_4 = null; ^ Mercury/javas/jmercury/set_test.java:224: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set10_5 = null; ^ Mercury/javas/jmercury/set_test.java:225: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set20_6 = null; ^ Mercury/javas/jmercury/set_test.java:226: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set30_7 = null; ^ Mercury/javas/jmercury/set_test.java:227: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set40_8 = null; ^ Mercury/javas/jmercury/set_test.java:228: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set50_9 = null; ^ Mercury/javas/jmercury/set_test.java:229: error: package set_bbbtree does not exist set_bbbtree.Set_bbbtree_1 Set80_13 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.Jko0Ig:1284: set_test] Error 1 gmake[3]: Target 'set_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: set_test.log] Error 1 RUNNING TEST general/state_vars_typeclasses in grade java FAILED TEST general/state_vars_typeclasses in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - state_vars_typeclasses.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - state_vars_typeclasses Making Mercury/int3s/state_vars_typeclasses.int3 Making Mercury/ints/state_vars_typeclasses.int Making Mercury/javas/jmercury/state_vars_typeclasses.java Making Java class files Mercury/javas/jmercury/state_vars_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] state_vars_typeclasses__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId state_vars_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct state_vars_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:91: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:255: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/state_vars_typeclasses.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "state_vars_typeclasses"; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] state_vars_typeclasses__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId state_vars_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct state_vars_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:60: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:66: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:91: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:97: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/state_vars_typeclasses.java:100: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/state_vars_typeclasses.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:103: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:104: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/state_vars_typeclasses.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/state_vars_typeclasses.java:151: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_17)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_17)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:157: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:161: error: package jmercury.runtime does not exist conv1_A_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_17))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_8))))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:166: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_18)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:168: error: package jmercury.runtime does not exist conv3_B_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_18))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_9))))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:173: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:175: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) state_vars_typeclasses.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/state_vars_typeclasses.java:177: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, A_4); ^ symbol: variable string__format location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:180: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:184: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:187: error: cannot find symbol Var_32 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, B_5); ^ symbol: variable string__format location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:190: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:194: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class state_vars_typeclasses Mercury/javas/jmercury/state_vars_typeclasses.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:204: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[6]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:207: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:245: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:245: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:248: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/state_vars_typeclasses.java:284: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 54 errors gmake[3]: *** [/tmp/mmake.3H5zOg:1284: state_vars_typeclasses] Error 1 gmake[3]: Target 'state_vars_typeclasses.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: state_vars_typeclasses.log] Error 1 RUNNING TEST general/string_foldl_substring in grade java FAILED TEST general/state_vars_tests in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - state_vars_tests.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - state_vars_tests Making Mercury/int3s/state_vars_tests.int3 Making Mercury/ints/state_vars_tests.int Making Mercury/javas/jmercury/state_vars_tests.java Making Java class files Mercury/javas/jmercury/state_vars_tests.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/state_vars_tests.java:236: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/state_vars_tests.java:259: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/state_vars_tests.java:794: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/state_vars_tests.java:899: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/state_vars_tests.java:923: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/state_vars_tests.java:932: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/state_vars_tests.java:936: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/state_vars_tests.java:938: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/state_vars_tests.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "state_vars_tests"; ^ Mercury/javas/jmercury/state_vars_tests.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/state_vars_tests.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/state_vars_tests.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/state_vars_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/state_vars_tests.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/state_vars_tests.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/state_vars_tests.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/state_vars_tests.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/state_vars_tests.java:48: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:48: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/state_vars_tests.java:61: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:61: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/state_vars_tests.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/state_vars_tests.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/state_vars_tests.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/state_vars_tests.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/state_vars_tests.java:192: error: package list does not exist list.List_1 Solns_4 = null; ^ Mercury/javas/jmercury/state_vars_tests.java:193: error: package list does not exist list.List_1 RevSolns_5 = null; ^ Mercury/javas/jmercury/state_vars_tests.java:197: error: cannot find symbol Solns_4 = solutions.unsorted_solutions_2_p_0(TypeCtorInfo_10_10, Var_8); ^ symbol: variable solutions location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:200: error: cannot find symbol RevSolns_5 = list.reverse_2_p_0(TypeCtorInfo_10_10, Solns_4); ^ symbol: variable list location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:202: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(state_vars_tests.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/state_vars_tests.java:204: error: cannot find symbol io.print_line_3_p_0(TypeInfo_11_11, ((java.lang.Object) (RevSolns_5))); ^ symbol: variable io location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:216: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((state_vars_tests.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((state_vars_tests.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:273: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:277: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:281: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:285: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:289: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:293: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:297: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:301: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:304: error: cannot find symbol ((state_vars_tests.Test_1_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:311: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:323: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:340: error: cannot find symbol ((state_vars_tests.Test_1_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:349: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/state_vars_tests.java:358: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:369: error: cannot find symbol ((state_vars_tests.Test_1_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class state_vars_tests Mercury/javas/jmercury/state_vars_tests.java:384: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/state_vars_tests.java:393: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:403: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:426: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:430: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:435: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_94)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:435: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_94)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:439: error: package jmercury.runtime does not exist conv2_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_94))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_96))))); ^ Mercury/javas/jmercury/state_vars_tests.java:443: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:449: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_107)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:449: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_107)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:453: error: package jmercury.runtime does not exist conv5_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_107))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_109))))); ^ Mercury/javas/jmercury/state_vars_tests.java:457: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:463: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_7 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_118)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:463: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_7 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_118)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:467: error: package jmercury.runtime does not exist conv8_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_7).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_118))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_119))))); ^ Mercury/javas/jmercury/state_vars_tests.java:471: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:477: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_10 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_130)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:477: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_10 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_130)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:481: error: package jmercury.runtime does not exist conv11_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_10).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_130))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_131))))); ^ Mercury/javas/jmercury/state_vars_tests.java:485: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:491: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_13 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_140)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:491: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_13 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_140)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:495: error: package jmercury.runtime does not exist conv14_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_13).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_140))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_142))))); ^ Mercury/javas/jmercury/state_vars_tests.java:499: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:505: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_16 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_154)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:505: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_16 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_154)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:509: error: package jmercury.runtime does not exist conv17_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_16).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_154))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_156))))); ^ Mercury/javas/jmercury/state_vars_tests.java:513: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_19 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_165)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_19 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_165)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:523: error: package jmercury.runtime does not exist conv20_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_19).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_165))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_166))))); ^ Mercury/javas/jmercury/state_vars_tests.java:527: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:533: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_22 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_178)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:533: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_22 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_178)[1]); ^ Mercury/javas/jmercury/state_vars_tests.java:537: error: package jmercury.runtime does not exist conv23_HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_22).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_178))), ((java.lang.Object) (java.lang.Integer.valueOf(STATE_VARIABLE_A_1_179))))); ^ Mercury/javas/jmercury/state_vars_tests.java:541: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:546: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:550: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:554: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:558: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((state_vars_tests.Test_1_p_0_env_0) env_ptr).HeadVar__1_1), ((java.lang.Object) (((state_vars_tests.Test_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/state_vars_tests.java:568: error: package jmercury.runtime does not exist ((state_vars_tests.Test_1_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 100 errors gmake[3]: *** [/tmp/mmake.eB0l5N:1284: state_vars_tests] Error 1 gmake[3]: Target 'state_vars_tests.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: state_vars_tests.log] Error 1 RUNNING TEST general/string_foldr_substring in grade java FAILED TEST general/string_foldr_substring in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_foldr_substring.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_foldr_substring Making Mercury/int3s/string_foldr_substring.int3 Making Mercury/ints/string_foldr_substring.int Making Mercury/javas/jmercury/string_foldr_substring.java Making Java class files Mercury/javas/jmercury/string_foldr_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldr_substring.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:309: error: package list does not exist list.List_1 LambdaHeadVar__2_13) ^ Mercury/javas/jmercury/string_foldr_substring.java:306: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_foldr_substring.java:364: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_foldr_substring.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_foldr_substring"; ^ Mercury/javas/jmercury/string_foldr_substring.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_foldr_substring.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_foldr_substring.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_foldr_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_foldr_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldr_substring.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_foldr_substring.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldr_substring.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_foldr_substring.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_foldr_substring.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_foldr_substring.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_foldr_substring.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_foldr_substring.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:81: error: package list does not exist (list.List_1) string_foldr_substring.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_foldr_substring.java:94: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:96: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:101: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:103: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:108: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:110: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:115: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:117: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:122: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:124: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:129: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:131: error: package list does not exist list.List_1 Var_44 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:136: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:138: error: package list does not exist list.List_1 Var_51 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:143: error: package list does not exist list.List_1 Var_56 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:145: error: package list does not exist list.List_1 Var_58 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:150: error: package list does not exist list.List_1 Var_63 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:204: error: package list does not exist Var_63 = (list.List_1) string_foldr_substring.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:206: error: package list.List_1 does not exist Var_58 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:212: error: package list.List_1 does not exist Var_56 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:218: error: package list.List_1 does not exist Var_51 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:224: error: package list.List_1 does not exist Var_49 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:230: error: package list.List_1 does not exist Var_44 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:236: error: package list.List_1 does not exist Var_42 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:242: error: package list.List_1 does not exist Var_37 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:248: error: package list.List_1 does not exist Var_35 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:254: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:260: error: package list.List_1 does not exist Var_28 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:266: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:272: error: package list.List_1 does not exist Var_21 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:278: error: package list.List_1 does not exist Var_16 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:284: error: package list.List_1 does not exist Var_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:290: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:296: error: package list.List_1 does not exist Var_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:302: error: cannot find symbol io.write_strings_3_p_0(Var_6); ^ symbol: variable io location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:311: error: package list does not exist list.List_1 LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:314: error: package list.List_1 does not exist LambdaHeadVar__3_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldr_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldr_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldr_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldr_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldr_substring.java:330: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldr_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldr_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldr_substring.java:336: error: cannot find symbol conv1_Var_10 = string.foldr_between_5_f_0(TypeInfo_18_18, Var_11, S_5, I_6, N_7, ((java.lang.Object) (Var_15))); ^ symbol: variable string location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:338: error: package list does not exist Var_10 = ((list.List_1) conv1_Var_10); ^ Mercury/javas/jmercury/string_foldr_substring.java:340: error: cannot find symbol HeadVar__4_4 = string.from_char_list_1_f_0(Var_10); ^ symbol: variable string location: class string_foldr_substring Mercury/javas/jmercury/string_foldr_substring.java:353: error: package list does not exist list.List_1 conv0_LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldr_substring.java:356: error: package list does not exist conv0_LambdaHeadVar__3_14 = string_foldr_substring.IntroducedFrom__func__sub__53__1_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_2)); ^ 82 errors gmake[3]: *** [/tmp/mmake.9JeDuV:1284: string_foldr_substring] Error 1 gmake[3]: Target 'string_foldr_substring.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_foldr_substring.log] Error 1 RUNNING TEST general/string_format_special_floats in grade java FAILED TEST general/string_foldl_substring in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_foldl_substring.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_foldl_substring Making Mercury/int3s/string_foldl_substring.int3 Making Mercury/ints/string_foldl_substring.int Making Mercury/javas/jmercury/string_foldl_substring.java Making Java class files Mercury/javas/jmercury/string_foldl_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldl_substring.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:309: error: package list does not exist list.List_1 LambdaHeadVar__2_13) ^ Mercury/javas/jmercury/string_foldl_substring.java:306: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_foldl_substring.java:364: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_foldl_substring.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_foldl_substring"; ^ Mercury/javas/jmercury/string_foldl_substring.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_foldl_substring.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_foldl_substring.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_foldl_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_foldl_substring.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_foldl_substring.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_foldl_substring.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/string_foldl_substring.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_foldl_substring.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_foldl_substring.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_foldl_substring.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_foldl_substring.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_foldl_substring.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:81: error: package list does not exist (list.List_1) string_foldl_substring.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_foldl_substring.java:94: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:96: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:101: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:103: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:108: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:110: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:115: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:117: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:122: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:124: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:129: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:131: error: package list does not exist list.List_1 Var_44 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:136: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:138: error: package list does not exist list.List_1 Var_51 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:143: error: package list does not exist list.List_1 Var_56 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:145: error: package list does not exist list.List_1 Var_58 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:150: error: package list does not exist list.List_1 Var_63 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:204: error: package list does not exist Var_63 = (list.List_1) string_foldl_substring.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/string_foldl_substring.java:206: error: package list.List_1 does not exist Var_58 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:212: error: package list.List_1 does not exist Var_56 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:218: error: package list.List_1 does not exist Var_51 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:224: error: package list.List_1 does not exist Var_49 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:230: error: package list.List_1 does not exist Var_44 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:236: error: package list.List_1 does not exist Var_42 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:242: error: package list.List_1 does not exist Var_37 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:248: error: package list.List_1 does not exist Var_35 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:254: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:260: error: package list.List_1 does not exist Var_28 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:266: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:272: error: package list.List_1 does not exist Var_21 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:278: error: package list.List_1 does not exist Var_16 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:284: error: package list.List_1 does not exist Var_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:290: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:296: error: package list.List_1 does not exist Var_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:302: error: cannot find symbol io.write_strings_3_p_0(Var_6); ^ symbol: variable io location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:311: error: package list does not exist list.List_1 LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:314: error: package list.List_1 does not exist LambdaHeadVar__3_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_foldl_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldl_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldl_substring.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_foldl_substring.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_foldl_substring.java:330: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldl_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldl_substring.java:332: error: package list does not exist list.List_1 Var_15 = (list.List_1) string_foldl_substring.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_foldl_substring.java:336: error: cannot find symbol conv1_Var_10 = string.foldl_between_5_f_0(TypeInfo_18_18, Var_11, S_5, I_6, N_7, ((java.lang.Object) (Var_15))); ^ symbol: variable string location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:338: error: package list does not exist Var_10 = ((list.List_1) conv1_Var_10); ^ Mercury/javas/jmercury/string_foldl_substring.java:340: error: cannot find symbol HeadVar__4_4 = string.from_char_list_1_f_0(Var_10); ^ symbol: variable string location: class string_foldl_substring Mercury/javas/jmercury/string_foldl_substring.java:353: error: package list does not exist list.List_1 conv0_LambdaHeadVar__3_14 = null; ^ Mercury/javas/jmercury/string_foldl_substring.java:356: error: package list does not exist conv0_LambdaHeadVar__3_14 = string_foldl_substring.IntroducedFrom__func__rev__53__1_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_2)); ^ 82 errors gmake[3]: *** [/tmp/mmake.RC2h7Y:1284: string_foldl_substring] Error 1 gmake[3]: Target 'string_foldl_substring.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_foldl_substring.log] Error 1 RUNNING TEST general/string_format_test_1 in grade java FAILED TEST general/string_format_special_floats in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_special_floats.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_special_floats Making Mercury/int3s/string_format_special_floats.int3 Making Mercury/ints/string_format_special_floats.int Making Mercury/javas/jmercury/string_format_special_floats.java Making Java class files Mercury/javas/jmercury/string_format_special_floats.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_format_special_floats.java:49: 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/string_format_special_floats.java:50: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/string_format_special_floats.java:52: 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/string_format_special_floats.java:330: error: package list does not exist list.List_1 Floats_5, ^ Mercury/javas/jmercury/string_format_special_floats.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_format_special_floats.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_format_special_floats"; ^ Mercury/javas/jmercury/string_format_special_floats.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_format_special_floats.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_format_special_floats.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_format_special_floats.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_format_special_floats.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_format_special_floats.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ Mercury/javas/jmercury/string_format_special_floats.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ symbol: variable builtin location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:49: 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/string_format_special_floats.java:50: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/string_format_special_floats.java:52: 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/string_format_special_floats.java:56: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_format_special_floats.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:60: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/string_format_special_floats.java:63: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:65: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_format_special_floats.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:70: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/string_format_special_floats.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:75: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/string_format_special_floats.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:80: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/string_format_special_floats.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:85: error: package list does not exist (list.List_1) string_format_special_floats.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/string_format_special_floats.java:93: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:93: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_format_special_floats.java:94: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:94: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_format_special_floats.java:95: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:95: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_format_special_floats.java:102: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:102: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_format_special_floats.java:103: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ symbol: variable builtin location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:103: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ Mercury/javas/jmercury/string_format_special_floats.java:104: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:104: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_format_special_floats.java:105: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:105: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_format_special_floats.java:108: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_special_floats.java:109: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_special_floats.java:110: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_special_floats.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_special_floats.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_special_floats.java:113: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_special_floats.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_46_46 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:129: error: package list does not exist list.List_1 TestSpecs_5 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:134: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:135: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:138: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:140: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:143: error: package list does not exist list.List_1 Var_39 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:146: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:152: error: cannot find symbol Var_8 = mr_float.max_0_f_0(); ^ symbol: variable mr_float location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:155: error: cannot find symbol Var_9 = mr_float.max_0_f_0(); ^ symbol: variable mr_float location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:158: error: package list does not exist TestSpecs_5 = (list.List_1) string_format_special_floats.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/string_format_special_floats.java:161: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:163: error: package list does not exist Var_27 = (list.List_1) string_format_special_floats.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_special_floats.java:165: error: package list.List_1 does not exist Var_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:178: error: cannot find symbol TypeCtorInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:178: error: package jmercury.runtime does not exist TypeCtorInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_format_special_floats.java:179: error: cannot find symbol TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:179: error: package jmercury.runtime does not exist TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_format_special_floats.java:181: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_25 = list.foldl_4_p_2(TypeCtorInfo_46_46, TypeCtorInfo_47_47, Var_24, TestSpecs_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:185: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:188: error: package list does not exist Var_34 = (list.List_1) string_format_special_floats.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_special_floats.java:190: error: package list.List_1 does not exist Var_32 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:204: error: cannot find symbol conv1_STATE_VARIABLE_IO_4_31 = list.foldl_4_p_2(TypeCtorInfo_46_46, TypeCtorInfo_47_47, Var_30, TestSpecs_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:208: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:212: error: package list does not exist Var_42 = (list.List_1) string_format_special_floats.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_special_floats.java:214: error: package list.List_1 does not exist Var_39 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:228: error: cannot find symbol conv2_STATE_VARIABLE_IO_7 = list.foldl_4_p_2(TypeCtorInfo_46_46, TypeCtorInfo_47_47, Var_37, TestSpecs_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:242: error: package list does not exist string_format_special_floats.test_floats_4_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((java.lang.String) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_format_special_floats.java:257: error: package list does not exist string_format_special_floats.test_floats_4_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((java.lang.String) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_format_special_floats.java:272: error: package list does not exist string_format_special_floats.test_floats_4_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((java.lang.String) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_format_special_floats.java:283: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:284: error: package string does not exist string.Poly_type_0 Var_12 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:285: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:287: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/string_format_special_floats.java:293: error: package string.Poly_type_0 does not exist Var_12 = new string.Poly_type_0.F_1( ^ Mercury/javas/jmercury/string_format_special_floats.java:297: error: package list does not exist Var_13 = (list.List_1) string_format_special_floats.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_special_floats.java:299: error: package list.List_1 does not exist Var_11 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_special_floats.java:305: error: cannot find symbol FloatString_8 = string.format_2_f_0(FormatString_5, Var_11); ^ symbol: variable string location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:307: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) string_format_special_floats.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_format_special_floats.java:310: error: cannot find symbol Var_22 = string__format.format_string_component_width_noprec_4_p_0(Var_28, Var_29, FormatString_5); ^ symbol: variable string__format location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:313: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_format_special_floats Mercury/javas/jmercury/string_format_special_floats.java:317: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_format_special_floats 100 errors gmake[3]: *** [/tmp/mmake.JnthI6:1284: string_format_special_floats] Error 1 gmake[3]: Target 'string_format_special_floats.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_format_special_floats.log] Error 1 RUNNING TEST general/string_format_test_2 in grade java FAILED TEST general/string_format_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_1 Making Mercury/int3s/string_format_test_1.int3 Making Mercury/ints/string_format_test_1.int Making Mercury/javas/jmercury/string_format_test_1.java Making Java class files Mercury/javas/jmercury/string_format_test_1.java:32: 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[14]; ^ Mercury/javas/jmercury/string_format_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_format_test_1"; ^ Mercury/javas/jmercury/string_format_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_format_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_format_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_format_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_1 Mercury/javas/jmercury/string_format_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_format_test_1.java:32: 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[14]; ^ Mercury/javas/jmercury/string_format_test_1.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:52: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:53: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:54: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:55: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:60: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:68: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:76: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:80: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:81: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:84: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:85: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:86: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:87: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:88: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:89: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:92: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:100: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:103: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:104: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:108: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:109: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:110: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:113: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:116: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:117: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:118: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:121: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:124: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:126: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:127: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:128: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:129: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:132: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:133: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:134: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:135: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:136: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:137: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_format_test_1.java:140: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_format_test_1.java:141: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_format_test_1.java:142: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:143: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:144: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_format_test_1.java:145: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/string_format_test_1.java:190: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_146 = (string__parse_util.String_format_flags_0) string_format_test_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_test_1.java:190: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_146 = (string__parse_util.String_format_flags_0) string_format_test_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_test_1.java:195: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_156 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.ILmuCV:1284: string_format_test_1] Error 1 gmake[3]: Target 'string_format_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_format_test_1.log] Error 1 RUNNING TEST general/string_format_test_3 in grade java FAILED TEST general/string_format_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-known-bad-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-known-bad-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_2 Making Mercury/int3s/string_format_test_2.int3 Making Mercury/ints/string_format_test_2.int Making Mercury/javas/jmercury/string_format_test_2.java Making Java class files Mercury/javas/jmercury/string_format_test_2.java:32: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.I_1[] MR_scalar_common_1 = new string.Poly_type_0.I_1[1]; ^ Mercury/javas/jmercury/string_format_test_2.java:33: 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/string_format_test_2.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[1]; ^ Mercury/javas/jmercury/string_format_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_format_test_2"; ^ Mercury/javas/jmercury/string_format_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_format_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_format_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_format_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_2 Mercury/javas/jmercury/string_format_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_format_test_2.java:32: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.I_1[] MR_scalar_common_1 = new string.Poly_type_0.I_1[1]; ^ Mercury/javas/jmercury/string_format_test_2.java:33: 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/string_format_test_2.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[1]; ^ Mercury/javas/jmercury/string_format_test_2.java:38: error: package string.Poly_type_0 does not exist new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/string_format_test_2.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_format_test_2.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_format_test_2.java:45: error: package string does not exist ((java.lang.Object) ((string.Poly_type_0) string_format_test_2.MR_scalar_common_1[0])), ^ Mercury/javas/jmercury/string_format_test_2.java:46: error: package list does not exist (list.List_1) string_format_test_2.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_format_test_2.java:60: error: package list does not exist list.List_1 Var_7 = (list.List_1) string_format_test_2.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/string_format_test_2.java:60: error: package list does not exist list.List_1 Var_7 = (list.List_1) string_format_test_2.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/string_format_test_2.java:63: error: cannot find symbol io.format_4_p_0(Var_6, Var_7); ^ symbol: variable io location: class string_format_test_2 25 errors gmake[3]: *** [/tmp/mmake.isaLmY:1284: string_format_test_2] Error 1 gmake[3]: Target 'string_format_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_format_test_2.log] Error 1 RUNNING TEST general/string_replace in grade java FAILED TEST general/string_format_test_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-known-bad-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-known-bad-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_format_test_3 Making Mercury/int3s/string_format_test_3.int3 Making Mercury/ints/string_format_test_3.int Making Mercury/javas/jmercury/string_format_test_3.java Making Java class files Mercury/javas/jmercury/string_format_test_3.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/string_format_test_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_format_test_3"; ^ Mercury/javas/jmercury/string_format_test_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_format_test_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_format_test_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_format_test_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_format_test_3 Mercury/javas/jmercury/string_format_test_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_format_test_3.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/string_format_test_3.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_format_test_3.java:49: error: package list does not exist list.List_1 Var_7 = (list.List_1) string_format_test_3.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_test_3.java:49: error: package list does not exist list.List_1 Var_7 = (list.List_1) string_format_test_3.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_format_test_3.java:52: error: cannot find symbol io.format_4_p_0(Var_6, Var_7); ^ symbol: variable io location: class string_format_test_3 17 errors gmake[3]: *** [/tmp/mmake.sdBN58:1284: string_format_test_3] Error 1 gmake[3]: Target 'string_format_test_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_format_test_3.log] Error 1 RUNNING TEST general/string_test_1 in grade java FAILED TEST general/string_replace in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_replace.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_replace Making Mercury/int3s/string_replace.int3 Making Mercury/ints/string_replace.int Making Mercury/javas/jmercury/string_replace.java Making Java class files Mercury/javas/jmercury/string_replace.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_replace.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_replace.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_replace.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/string_replace.java:56: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_replace.java:529: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_replace.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_replace"; ^ Mercury/javas/jmercury/string_replace.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_replace.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_replace.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_replace Mercury/javas/jmercury/string_replace.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_replace Mercury/javas/jmercury/string_replace.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_replace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_replace.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_replace.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_replace.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_replace.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_replace.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_replace.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_replace.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/string_replace.java:56: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_replace.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_replace.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/string_replace.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_replace.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_replace.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_replace Mercury/javas/jmercury/string_replace.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_replace.java:132: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:132: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_replace.java:133: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:133: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_replace.java:148: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_replace.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:152: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_replace.java:155: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:157: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_replace.java:160: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:162: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/string_replace.java:165: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:167: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/string_replace.java:170: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:172: error: package list does not exist (list.List_1) string_replace.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/string_replace.java:175: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_replace.java:176: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_replace.java:177: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_replace.java:178: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_replace.java:179: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_replace.java:180: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_replace.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/string_replace.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = null; ^ Mercury/javas/jmercury/string_replace.java:197: error: package list does not exist list.List_1 Tests_8 = null; ^ Mercury/javas/jmercury/string_replace.java:203: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/string_replace.java:206: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/string_replace.java:208: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/string_replace.java:210: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/string_replace.java:212: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/string_replace.java:214: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/string_replace.java:221: error: cannot find symbol Var_13 = string.length_1_f_0(Smiley_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:224: error: cannot find symbol Var_11 = string.between_3_f_0(Smiley_6, Var_12, Var_13); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:227: error: cannot find symbol Str3_7 = string.f_43_43_2_f_0(Var_11, Smiley_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:243: error: package list does not exist Var_38 = (list.List_1) string_replace.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/string_replace.java:245: error: package list.List_1 does not exist Var_34 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:251: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:257: error: package list.List_1 does not exist Var_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:263: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:269: error: package list.List_1 does not exist Var_18 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:275: error: package list.List_1 does not exist Tests_8 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_replace.java:281: error: package jmercury.runtime does not exist TypeInfo_65_65 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_replace.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_replace.java:282: error: cannot find symbol TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:282: error: package jmercury.runtime does not exist TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_replace.java:284: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_60 = list.foldl_4_p_2(TypeInfo_65_65, TypeCtorInfo_66_66, Var_59, Tests_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_replace Mercury/javas/jmercury/string_replace.java:288: error: cannot find symbol conv1_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeInfo_65_65, TypeCtorInfo_66_66, Var_61, Tests_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_replace Mercury/javas/jmercury/string_replace.java:338: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:346: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:349: error: cannot find symbol io.write_string_3_p_0(Pat_5); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:353: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:356: error: cannot find symbol io.write_string_3_p_0(Subst_6); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:360: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:363: error: cannot find symbol java.lang.Object [] result = string.replace_4_p_0(Str_4, Pat_5, Subst_6); ^ symbol: variable string location: class string_replace Mercury/javas/jmercury/string_replace.java:374: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:382: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:390: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:413: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:421: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:424: error: cannot find symbol io.write_string_3_p_0(Pat_5); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:428: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:431: error: cannot find symbol io.write_string_3_p_0(Subst_6); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:435: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_replace Mercury/javas/jmercury/string_replace.java:439: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_replace 100 errors gmake[3]: *** [/tmp/mmake.a8N5Cc:1284: string_replace] Error 1 gmake[3]: Target 'string_replace.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_replace.log] Error 1 RUNNING TEST general/string_test_2 in grade java FAILED TEST general/string_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_test_1 Making Mercury/int3s/string_test_1.int3 Making Mercury/ints/string_test_1.int Making Mercury/javas/jmercury/string_test_1.java Making Java class files Mercury/javas/jmercury/string_test_1.java:32: 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/string_test_1.java:33: 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/string_test_1.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[25]; ^ Mercury/javas/jmercury/string_test_1.java:35: error: package string.Justified_column_0 does not exist private static final string.Justified_column_0.Right_1[] MR_scalar_common_4 = new string.Justified_column_0.Right_1[3]; ^ Mercury/javas/jmercury/string_test_1.java:36: error: package string.Justified_column_0 does not exist private static final string.Justified_column_0.Left_1[] MR_scalar_common_5 = new string.Justified_column_0.Left_1[2]; ^ Mercury/javas/jmercury/string_test_1.java:37: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_6 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/string_test_1.java:38: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_7 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/string_test_1.java:39: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_8 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/string_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_test_1"; ^ Mercury/javas/jmercury/string_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_test_1 Mercury/javas/jmercury/string_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_test_1.java:32: 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/string_test_1.java:33: 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/string_test_1.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[25]; ^ Mercury/javas/jmercury/string_test_1.java:35: error: package string.Justified_column_0 does not exist private static final string.Justified_column_0.Right_1[] MR_scalar_common_4 = new string.Justified_column_0.Right_1[3]; ^ Mercury/javas/jmercury/string_test_1.java:36: error: package string.Justified_column_0 does not exist private static final string.Justified_column_0.Left_1[] MR_scalar_common_5 = new string.Justified_column_0.Left_1[2]; ^ Mercury/javas/jmercury/string_test_1.java:37: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_6 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/string_test_1.java:38: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_7 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/string_test_1.java:39: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_8 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/string_test_1.java:43: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_test_1.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_test_1.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_test_1.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_test_1.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_test_1.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_test_1.java:51: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_test_1.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:55: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:60: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_test_1.java:63: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:65: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_test_1.java:68: error: package string.Justified_column_0 does not exist new string.Justified_column_0.Right_1( ^ Mercury/javas/jmercury/string_test_1.java:69: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/string_test_1.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:73: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/string_test_1.java:74: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:79: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:84: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_test_1.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:89: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_test_1.java:92: error: package string.Justified_column_0 does not exist new string.Justified_column_0.Right_1( ^ Mercury/javas/jmercury/string_test_1.java:93: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/string_test_1.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:97: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/string_test_1.java:98: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_test_1.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:103: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:108: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_test_1.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:113: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_test_1.java:116: error: package string.Justified_column_0 does not exist new string.Justified_column_0.Right_1( ^ Mercury/javas/jmercury/string_test_1.java:117: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/string_test_1.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:121: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_4[2])), ^ Mercury/javas/jmercury/string_test_1.java:122: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_test_1.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:127: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:132: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_test_1.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:137: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/string_test_1.java:140: error: package string.Justified_column_0 does not exist new string.Justified_column_0.Left_1( ^ Mercury/javas/jmercury/string_test_1.java:141: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_test_1.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:145: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_5[0])), ^ Mercury/javas/jmercury/string_test_1.java:146: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/string_test_1.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:151: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:156: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/string_test_1.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:161: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/string_test_1.java:164: error: package string.Justified_column_0 does not exist new string.Justified_column_0.Left_1( ^ Mercury/javas/jmercury/string_test_1.java:165: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/string_test_1.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:169: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_5[1])), ^ Mercury/javas/jmercury/string_test_1.java:170: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/string_test_1.java:173: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/string_test_1.java:177: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/string_test_1.java:178: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/string_test_1.java:179: error: package maybe does not exist ((java.lang.Object) ((maybe.Maybe_1) string_test_1.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/string_test_1.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_test_1.java:183: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) string_test_1.MR_scalar_common_7[0])), ^ Mercury/javas/jmercury/string_test_1.java:184: error: package list does not exist (list.List_1) string_test_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_test_1.java:187: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/string_test_1.java:191: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/string_test_1.java:192: error: package string does not exist ((java.lang.Object) ((string.Justified_column_0) string_test_1.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/string_test_1.java:193: error: package maybe does not exist ((java.lang.Object) ((maybe.Maybe_1) string_test_1.MR_scalar_common_6[1])) ^ 100 errors gmake[3]: *** [/tmp/mmake.Umx7p2:1284: string_test_1] Error 1 gmake[3]: Target 'string_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_test_1.log] Error 1 RUNNING TEST general/string_to_float in grade java FAILED TEST general/string_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_test_2 Making Mercury/int3s/string_test_2.int3 Making Mercury/ints/string_test_2.int Making Mercury/javas/jmercury/string_test_2.java Making Java class files Mercury/javas/jmercury/string_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_test_2"; ^ Mercury/javas/jmercury/string_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_test_2.java:60: error: cannot find symbol S1_4 = string.append_3_p_2(Var_12, Var_13); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:63: error: cannot find symbol io.write_string_3_p_0(S1_4); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:67: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:72: error: cannot find symbol S2_5 = string.append_3_p_2(Var_17, Var_18); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:75: error: cannot find symbol io.write_string_3_p_0(S2_5); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:79: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:84: error: cannot find symbol S3_6 = string.append_3_p_2(Var_22, Var_23); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:87: error: cannot find symbol io.write_string_3_p_0(S3_6); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:91: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:96: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_27, Var_28); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:105: error: cannot find symbol io.write_string_3_p_0(S4_7); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:109: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:117: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:123: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_34, Var_35); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:132: error: cannot find symbol io.write_string_3_p_0(S5_8); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:136: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:144: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:150: error: cannot find symbol java.lang.Object [] result = string.remove_prefix_3_p_0(Var_41, Var_42); ^ symbol: variable string location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:157: error: cannot find symbol io.write_string_3_p_0(S6_9); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:160: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_test_2 Mercury/javas/jmercury/string_test_2.java:168: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class string_test_2 32 errors gmake[3]: *** [/tmp/mmake.nDTyVY:1284: string_test_2] Error 1 gmake[3]: Target 'string_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_test_2.log] Error 1 RUNNING TEST general/test_parsing_utils in grade java FAILED TEST general/string_to_float in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_to_float.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_to_float Making Mercury/int3s/string_to_float.int3 Making Mercury/ints/string_to_float.int Making Mercury/javas/jmercury/string_to_float.java Making Java class files Mercury/javas/jmercury/string_to_float.java:32: 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/string_to_float.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_to_float"; ^ Mercury/javas/jmercury/string_to_float.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_to_float.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_to_float.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_to_float Mercury/javas/jmercury/string_to_float.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_to_float Mercury/javas/jmercury/string_to_float.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_to_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_to_float.java:32: 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/string_to_float.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_to_float.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_to_float.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_to_float.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_to_float.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_to_float.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_to_float.java:153: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(Str_4); ^ symbol: variable string location: class string_to_float Mercury/javas/jmercury/string_to_float.java:160: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_27 = (string__parse_util.String_format_flags_0) string_to_float.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_to_float.java:160: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_27 = (string__parse_util.String_format_flags_0) string_to_float.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_to_float.java:161: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_28 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/string_to_float.java:161: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_28 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/string_to_float.java:165: error: cannot find symbol Var_21 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_27, Var_28, Float_6); ^ symbol: variable string__format location: class string_to_float Mercury/javas/jmercury/string_to_float.java:169: error: cannot find symbol Result_7 = string.f_43_43_2_f_0(Var_29, Var_21); ^ symbol: variable string location: class string_to_float Mercury/javas/jmercury/string_to_float.java:176: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:179: error: cannot find symbol io.write_string_3_p_0(Str_4); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:183: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:186: error: cannot find symbol io.write_string_3_p_0(Result_7); ^ symbol: variable io location: class string_to_float Mercury/javas/jmercury/string_to_float.java:190: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class string_to_float 31 errors gmake[3]: *** [/tmp/mmake.IeXZtY:1284: string_to_float] Error 1 gmake[3]: Target 'string_to_float.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_to_float.log] Error 1 RUNNING TEST general/test_string_to_int_overflow in grade java FAILED TEST general/test_string_to_int_overflow in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_string_to_int_overflow.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_string_to_int_overflow Making Mercury/int3s/test_string_to_int_overflow.int3 Making Mercury/ints/test_string_to_int_overflow.int Making Mercury/javas/jmercury/test_string_to_int_overflow.java Making Java class files Mercury/javas/jmercury/test_string_to_int_overflow.java:1160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1193: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_string_to_int_overflow"; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:50: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:50: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:52: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:52: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:289: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:297: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:468: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:493: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:518: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:543: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:568: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:593: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:618: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:643: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:668: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:693: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:718: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:743: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:768: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:793: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:818: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:843: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:868: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:893: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:918: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:943: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:968: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:993: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1018: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1043: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1068: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1093: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1118: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1143: error: cannot find symbol java.lang.Object [] result = string.base_string_to_int_3_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.String) ((java.lang.Object[]) closure)[4])); ^ symbol: variable string location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1165: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1165: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1168: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))))); ^ Mercury/javas/jmercury/test_string_to_int_overflow.java:1175: error: cannot find symbol io.write_3_p_0(TypeInfo_for_T_12, X_6); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1178: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1186: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test_string_to_int_overflow Mercury/javas/jmercury/test_string_to_int_overflow.java:1455: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 62 errors gmake[3]: *** [/tmp/mmake.b72nqR:1284: test_string_to_int_overflow] Error 1 gmake[3]: Target 'test_string_to_int_overflow.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_string_to_int_overflow.log] Error 1 RUNNING TEST general/test_univ in grade java FAILED TEST general/test_univ in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_univ.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_univ Making Mercury/int3s/test_univ.int3 Making Mercury/ints/test_univ.int Making Mercury/javas/jmercury/test_univ.java Making Java class files Mercury/javas/jmercury/test_univ.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_univ"; ^ Mercury/javas/jmercury/test_univ.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_univ.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_univ.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_univ Mercury/javas/jmercury/test_univ.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_univ Mercury/javas/jmercury/test_univ.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_univ.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_univ.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_univ.java:37: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_univ Mercury/javas/jmercury/test_univ.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_univ.java:39: error: package univ does not exist univ.Univ_0 UnivX_25 = null; ^ Mercury/javas/jmercury/test_univ.java:41: error: package univ does not exist univ.Univ_0 UnivY_27 = null; ^ Mercury/javas/jmercury/test_univ.java:42: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_34 = null; ^ Mercury/javas/jmercury/test_univ.java:44: error: package univ does not exist univ.Univ_0 UnivX_31 = null; ^ Mercury/javas/jmercury/test_univ.java:46: error: package univ does not exist univ.Univ_0 UnivY_33 = null; ^ Mercury/javas/jmercury/test_univ.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_39 = null; ^ Mercury/javas/jmercury/test_univ.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_40 = null; ^ Mercury/javas/jmercury/test_univ.java:50: error: package univ does not exist univ.Univ_0 UnivX_37 = null; ^ Mercury/javas/jmercury/test_univ.java:53: error: package bool does not exist bool.Bool_0 Compare_4 = null; ^ Mercury/javas/jmercury/test_univ.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_44 = null; ^ Mercury/javas/jmercury/test_univ.java:56: error: package univ does not exist univ.Univ_0 UnivX_42 = null; ^ Mercury/javas/jmercury/test_univ.java:61: error: cannot find symbol UnivX_25 = univ.type_to_univ_2_p_0(TypeCtorInfo_5_28, java.lang.Integer.valueOf(X_24)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:65: error: cannot find symbol UnivY_27 = univ.type_to_univ_2_p_0(TypeCtorInfo_5_28, java.lang.Integer.valueOf(Y_26)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:68: error: cannot find symbol succeeded = univ.__Unify____univ_0_0(UnivX_25, UnivY_27); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:75: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:83: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:87: error: cannot find symbol TypeCtorInfo_5_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_univ Mercury/javas/jmercury/test_univ.java:87: error: package jmercury.runtime does not exist TypeCtorInfo_5_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_univ.java:89: error: cannot find symbol UnivX_31 = univ.type_to_univ_2_p_0(TypeCtorInfo_5_34, java.lang.Integer.valueOf(X_30)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:93: error: cannot find symbol UnivY_33 = univ.type_to_univ_2_p_0(TypeCtorInfo_5_34, java.lang.Integer.valueOf(Y_32)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:96: error: cannot find symbol succeeded = univ.__Unify____univ_0_0(UnivX_31, UnivY_33); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:103: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:111: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:115: error: cannot find symbol TypeCtorInfo_4_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_univ Mercury/javas/jmercury/test_univ.java:115: error: package jmercury.runtime does not exist TypeCtorInfo_4_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_univ.java:117: error: cannot find symbol UnivX_37 = univ.type_to_univ_2_p_0(TypeCtorInfo_4_39, java.lang.Integer.valueOf(X_36)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:119: error: cannot find symbol TypeCtorInfo_5_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_univ Mercury/javas/jmercury/test_univ.java:119: error: package jmercury.runtime does not exist TypeCtorInfo_5_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_univ.java:121: error: cannot find symbol java.lang.Object [] result = univ.type_to_univ_2_p_2(TypeCtorInfo_5_40, UnivX_37); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:137: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:145: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:149: error: cannot find symbol TypeCtorInfo_6_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_univ Mercury/javas/jmercury/test_univ.java:149: error: package jmercury.runtime does not exist TypeCtorInfo_6_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_univ.java:151: error: cannot find symbol UnivX_42 = univ.type_to_univ_2_p_0(TypeCtorInfo_6_44, java.lang.Integer.valueOf(X_41)); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:154: error: cannot find symbol java.lang.Object [] result = univ.type_to_univ_2_p_2(TypeCtorInfo_6_44, UnivX_42); ^ symbol: variable univ location: class test_univ Mercury/javas/jmercury/test_univ.java:167: error: package bool does not exist Compare_4 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/test_univ.java:169: error: package bool does not exist Compare_4 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/test_univ.java:174: error: package bool.Bool_0 does not exist succeeded = (Compare_4.MR_value == bool.Bool_0.K0.MR_value); ^ Mercury/javas/jmercury/test_univ.java:180: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:188: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class test_univ Mercury/javas/jmercury/test_univ.java:197: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class test_univ 55 errors gmake[3]: *** [/tmp/mmake.9Z8SAd:1284: test_univ] Error 1 gmake[3]: Target 'test_univ.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_univ.log] Error 1 RUNNING TEST general/unreachable in grade java FAILED TEST general/test_parsing_utils in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_parsing_utils.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_parsing_utils Making Mercury/int3s/test_parsing_utils.int3 Making Mercury/ints/test_parsing_utils.int Making Mercury/javas/jmercury/test_parsing_utils.java Making Java class files Mercury/javas/jmercury/test_parsing_utils.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_builtin__type_ctor_info_character_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_unit__type_ctor_info_unit_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__ti_maybe_1unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_maybe__ti_maybe_1unit__type_ctor_info_unit_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1unit__type_ctor_info_unit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_parsing_utils__type_ctor_info_src_0__plain_list__ti_list_1unit__type_ctor_info_unit_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_6__plain_parsing_utils__type_ctor_info_src_0__plain_builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__ti_maybe_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_6__plain_parsing_utils__type_ctor_info_src_0__plain_maybe__ti_maybe_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_6__plain_parsing_utils__type_ctor_info_src_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_parsing_utils__field_types_expr_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/test_parsing_utils.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_parsing_utils__du_functor_desc_expr_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1test_parsing_utils__type_ctor_info_expr_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_parsing_utils__field_types_expr_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_parsing_utils.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_parsing_utils__du_functor_desc_expr_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_parsing_utils__field_types_expr_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_parsing_utils__du_functor_desc_expr_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_parsing_utils__field_types_expr_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_parsing_utils__du_functor_desc_expr_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_parsing_utils__du_stag_ordered_expr_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/test_parsing_utils.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_parsing_utils__du_ptag_ordered_expr_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_parsing_utils__du_name_ordered_expr_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/test_parsing_utils.java:63: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_parsing_utils__type_ctor_info_expr_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_parsing_utils__enum_functor_desc_op_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_parsing_utils__enum_functor_desc_op_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_parsing_utils__enum_functor_desc_op_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_parsing_utils.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_parsing_utils__enum_ordinal_ordered_op_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/test_parsing_utils.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_parsing_utils__enum_name_ordered_op_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/test_parsing_utils.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_parsing_utils__type_ctor_info_op_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_parsing_utils.java:408: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/test_parsing_utils.java:409: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:416: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_9 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:417: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_10 = new maybe.Maybe_1.Yes_1[36]; ^ Mercury/javas/jmercury/test_parsing_utils.java:420: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_14 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_parsing_utils.java:3392: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_300, ^ Mercury/javas/jmercury/test_parsing_utils.java:3433: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_309, ^ Mercury/javas/jmercury/test_parsing_utils.java:3474: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_318, ^ Mercury/javas/jmercury/test_parsing_utils.java:3515: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_327, ^ Mercury/javas/jmercury/test_parsing_utils.java:3556: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_336, ^ Mercury/javas/jmercury/test_parsing_utils.java:3597: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_345, ^ Mercury/javas/jmercury/test_parsing_utils.java:3636: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_354, ^ Mercury/javas/jmercury/test_parsing_utils.java:3675: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_363, ^ Mercury/javas/jmercury/test_parsing_utils.java:3714: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_372, ^ Mercury/javas/jmercury/test_parsing_utils.java:3753: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_381, ^ Mercury/javas/jmercury/test_parsing_utils.java:3792: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_390, ^ Mercury/javas/jmercury/test_parsing_utils.java:3831: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_399, ^ Mercury/javas/jmercury/test_parsing_utils.java:3870: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_408, ^ Mercury/javas/jmercury/test_parsing_utils.java:3909: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_417, ^ Mercury/javas/jmercury/test_parsing_utils.java:3948: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_426, ^ Mercury/javas/jmercury/test_parsing_utils.java:3987: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_435, ^ Mercury/javas/jmercury/test_parsing_utils.java:4026: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_444, ^ Mercury/javas/jmercury/test_parsing_utils.java:4065: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_453, ^ Mercury/javas/jmercury/test_parsing_utils.java:4104: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_462, ^ Mercury/javas/jmercury/test_parsing_utils.java:4143: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_471, ^ Mercury/javas/jmercury/test_parsing_utils.java:4184: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_480, ^ Mercury/javas/jmercury/test_parsing_utils.java:4225: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_489, ^ Mercury/javas/jmercury/test_parsing_utils.java:4266: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_498, ^ Mercury/javas/jmercury/test_parsing_utils.java:4307: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_507, ^ Mercury/javas/jmercury/test_parsing_utils.java:4348: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_516, ^ Mercury/javas/jmercury/test_parsing_utils.java:4389: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_525, ^ Mercury/javas/jmercury/test_parsing_utils.java:4430: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_534, ^ Mercury/javas/jmercury/test_parsing_utils.java:4471: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_543, ^ Mercury/javas/jmercury/test_parsing_utils.java:4512: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_552, ^ Mercury/javas/jmercury/test_parsing_utils.java:4553: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_561, ^ Mercury/javas/jmercury/test_parsing_utils.java:4594: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_570, ^ Mercury/javas/jmercury/test_parsing_utils.java:4635: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_579, ^ Mercury/javas/jmercury/test_parsing_utils.java:4674: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_588, ^ Mercury/javas/jmercury/test_parsing_utils.java:4713: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_597, ^ Mercury/javas/jmercury/test_parsing_utils.java:4752: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_606, ^ Mercury/javas/jmercury/test_parsing_utils.java:4791: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_615, ^ Mercury/javas/jmercury/test_parsing_utils.java:4830: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_624, ^ Mercury/javas/jmercury/test_parsing_utils.java:4869: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_633, ^ Mercury/javas/jmercury/test_parsing_utils.java:4908: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_642, ^ Mercury/javas/jmercury/test_parsing_utils.java:4947: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_651, ^ Mercury/javas/jmercury/test_parsing_utils.java:4986: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_660, ^ Mercury/javas/jmercury/test_parsing_utils.java:5027: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_669, ^ Mercury/javas/jmercury/test_parsing_utils.java:5068: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_678, ^ Mercury/javas/jmercury/test_parsing_utils.java:5109: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_687, ^ Mercury/javas/jmercury/test_parsing_utils.java:5150: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_696, ^ Mercury/javas/jmercury/test_parsing_utils.java:5191: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_705, ^ Mercury/javas/jmercury/test_parsing_utils.java:5232: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_714, ^ Mercury/javas/jmercury/test_parsing_utils.java:5273: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_723, ^ Mercury/javas/jmercury/test_parsing_utils.java:5314: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_732, ^ Mercury/javas/jmercury/test_parsing_utils.java:5355: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_741, ^ Mercury/javas/jmercury/test_parsing_utils.java:5396: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_750, ^ Mercury/javas/jmercury/test_parsing_utils.java:5437: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_759, ^ Mercury/javas/jmercury/test_parsing_utils.java:5478: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_768, ^ Mercury/javas/jmercury/test_parsing_utils.java:5519: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_777, ^ Mercury/javas/jmercury/test_parsing_utils.java:5560: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_786, ^ Mercury/javas/jmercury/test_parsing_utils.java:5601: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_795, ^ Mercury/javas/jmercury/test_parsing_utils.java:5642: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_804, ^ Mercury/javas/jmercury/test_parsing_utils.java:5683: error: package parsing_utils does not exist parsing_utils.Src_0 HeadVar__2_813, ^ 100 errors gmake[3]: *** [/tmp/mmake.aqLavL:1284: test_parsing_utils] Error 1 gmake[3]: Target 'test_parsing_utils.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_parsing_utils.log] Error 1 RUNNING TEST general/unsafe_uniqueness in grade java FAILED TEST general/unreachable in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax --no-warn-unification-cannot-succeed '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unreachable.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax --no-warn-unification-cannot-succeed '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unreachable Making Mercury/int3s/unreachable.int3 Making Mercury/ints/unreachable.int Making Mercury/javas/jmercury/unreachable.java unreachable.m:019: In predicate `main'/2: unreachable.m:019: warning: the first argument and the second argument, unreachable.m:019: represented by the state variable `!IO', could be deleted, unreachable.m:019: because they are not used, and because the final value is unreachable.m:019: always the same as the initial value. Making Java class files Mercury/javas/jmercury/unreachable.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "unreachable"; ^ Mercury/javas/jmercury/unreachable.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/unreachable.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/unreachable.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class unreachable Mercury/javas/jmercury/unreachable.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class unreachable Mercury/javas/jmercury/unreachable.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/unreachable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unreachable Mercury/javas/jmercury/unreachable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unreachable Mercury/javas/jmercury/unreachable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unreachable Mercury/javas/jmercury/unreachable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unreachable Mercury/javas/jmercury/unreachable.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ 11 errors gmake[3]: *** [/tmp/mmake.5X98fG:1284: unreachable] Error 1 gmake[3]: Target 'unreachable.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: unreachable.log] Error 1 RUNNING TEST general/unused_arg_determinism in grade java FAILED TEST general/unsafe_uniqueness in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unsafe_uniqueness.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unsafe_uniqueness Making Mercury/int3s/unsafe_uniqueness.int3 Making Mercury/ints/unsafe_uniqueness.int Making Mercury/javas/jmercury/unsafe_uniqueness.java Making Java class files Mercury/javas/jmercury/unsafe_uniqueness.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] unsafe_uniqueness__field_types_wrapper_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc unsafe_uniqueness__du_functor_desc_wrapper_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] unsafe_uniqueness__du_stag_ordered_wrapper_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] unsafe_uniqueness__du_ptag_ordered_wrapper_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] unsafe_uniqueness__du_name_ordered_wrapper_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct unsafe_uniqueness__type_ctor_info_wrapper_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/unsafe_uniqueness.java:251: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/unsafe_uniqueness.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/unsafe_uniqueness.java:125: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/unsafe_uniqueness.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/unsafe_uniqueness.java:208: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/unsafe_uniqueness.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "unsafe_uniqueness"; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] unsafe_uniqueness__field_types_wrapper_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc unsafe_uniqueness__du_functor_desc_wrapper_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] unsafe_uniqueness__du_stag_ordered_wrapper_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] unsafe_uniqueness__du_ptag_ordered_wrapper_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] unsafe_uniqueness__du_name_ordered_wrapper_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct unsafe_uniqueness__type_ctor_info_wrapper_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:43: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/unsafe_uniqueness.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/unsafe_uniqueness.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/unsafe_uniqueness.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/unsafe_uniqueness.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:105: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:109: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:132: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:138: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:145: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_T_8, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:158: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/unsafe_uniqueness.java:161: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = unsafe_uniqueness.__Compare____wrapper_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((unsafe_uniqueness.Wrapper_1) wrapper_arg_3), ((unsafe_uniqueness.Wrapper_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:186: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_7, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class unsafe_uniqueness Mercury/javas/jmercury/unsafe_uniqueness.java:201: error: package jmercury.runtime does not exist succeeded = unsafe_uniqueness.__Unify____wrapper_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((unsafe_uniqueness.Wrapper_1) wrapper_arg_2), ((unsafe_uniqueness.Wrapper_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/unsafe_uniqueness.java:238: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 49 errors gmake[3]: *** [/tmp/mmake.JENo4w:1284: unsafe_uniqueness] Error 1 gmake[3]: Target 'unsafe_uniqueness.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: unsafe_uniqueness.log] Error 1 FAILED TEST general/unused_arg_determinism in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unused_arg_determinism.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - unused_arg_determinism Making Mercury/int3s/unused_arg_determinism.int3 Making Mercury/ints/unused_arg_determinism.int Making Mercury/javas/jmercury/unused_arg_determinism.java Making Java class files Mercury/javas/jmercury/unused_arg_determinism.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc unused_arg_determinism__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc unused_arg_determinism__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] unused_arg_determinism__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/unused_arg_determinism.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] unused_arg_determinism__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/unused_arg_determinism.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct unused_arg_determinism__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:310: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/unused_arg_determinism.java:311: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/unused_arg_determinism.java:193: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/unused_arg_determinism.java:257: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/unused_arg_determinism.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "unused_arg_determinism"; ^ Mercury/javas/jmercury/unused_arg_determinism.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/unused_arg_determinism.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/unused_arg_determinism.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/unused_arg_determinism.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/unused_arg_determinism.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc unused_arg_determinism__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc unused_arg_determinism__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] unused_arg_determinism__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/unused_arg_determinism.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] unused_arg_determinism__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/unused_arg_determinism.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct unused_arg_determinism__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/unused_arg_determinism.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/unused_arg_determinism.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/unused_arg_determinism.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/unused_arg_determinism.java:97: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:97: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/unused_arg_determinism.java:98: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:98: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/unused_arg_determinism.java:99: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:99: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/unused_arg_determinism.java:118: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/unused_arg_determinism.java:118: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:118: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/unused_arg_determinism.java:119: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/unused_arg_determinism.java:123: error: cannot find symbol Result_4 = exception.try_io_4_p_0(TypeCtorInfo_17_17, Var_9); ^ symbol: variable exception location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:130: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:138: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:170: error: cannot find symbol private_builtin.sorry_1_p_0(Var_12); ^ symbol: variable private_builtin location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:184: error: cannot find symbol private_builtin.sorry_1_p_0(Var_5); ^ symbol: variable private_builtin location: class unused_arg_determinism Mercury/javas/jmercury/unused_arg_determinism.java:199: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/unused_arg_determinism.java:200: 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 T_0 Mercury/javas/jmercury/unused_arg_determinism.java:201: 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 T_0 Mercury/javas/jmercury/unused_arg_determinism.java:205: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/unused_arg_determinism.java:210: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/unused_arg_determinism.java:212: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/unused_arg_determinism.java:223: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/unused_arg_determinism.java:237: 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 T_0 Mercury/javas/jmercury/unused_arg_determinism.java:237: 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 T_0 Mercury/javas/jmercury/unused_arg_determinism.java:295: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 53 errors gmake[3]: *** [/tmp/mmake.bekHXY:1284: unused_arg_determinism] Error 1 gmake[3]: Target 'unused_arg_determinism.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: unused_arg_determinism.log] Error 1 gmake[2]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' FAILED tests in general in grade java gmake[1]: *** [../Mmake.common:415: runtests_local] Error 1 gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/general' SOME TESTS FAILED: see FAILED_TESTS and runtests.errs gmake: *** [../Mmake.common:314: runtests_dir] Error 1 gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/grade_subdirs' gmake[1]: Nothing to be done for 'runtests_local'. gmake[1]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/grade_subdirs' gmake[1]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[2]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' STARTING tests in hard_coded in grade java at Tue Mar 3 09:33:04 AM AEDT 2026 cleaning up the directory before the tests RUNNING TEST hard_coded/abstract_eqv in grade java RUNNING TEST hard_coded/address_of_builtins in grade java FAILED TEST hard_coded/address_of_builtins in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - address_of_builtins.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - address_of_builtins Making Mercury/int3s/address_of_builtins.int3 Making Mercury/ints/address_of_builtins.int Making Mercury/javas/jmercury/address_of_builtins.java Making Java class files Mercury/javas/jmercury/address_of_builtins.java:163: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/address_of_builtins.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "address_of_builtins"; ^ Mercury/javas/jmercury/address_of_builtins.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/address_of_builtins.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/address_of_builtins.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/address_of_builtins.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/address_of_builtins.java:104: error: cannot find symbol require.require_2_p_0(Var_7, Var_8); ^ symbol: variable require location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:109: error: cannot find symbol require.require_2_p_0(Var_10, Var_11); ^ symbol: variable require location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:114: error: cannot find symbol require.require_2_p_0(Var_14, Var_15); ^ symbol: variable require location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:118: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class address_of_builtins Mercury/javas/jmercury/address_of_builtins.java:200: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 17 errors gmake[3]: *** [/tmp/mmake.L0KVAd:2411: address_of_builtins] Error 1 gmake[3]: Target 'address_of_builtins.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: address_of_builtins.log] Error 1 RUNNING TEST hard_coded/agg in grade java FAILED TEST hard_coded/abstract_eqv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - abstract_eqv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - abstract_eqv Making Mercury/int3s/abstract_eqv.int3 Making Mercury/int3s/abstract_eqv_helper_1.int3 Making Mercury/ints/abstract_eqv_helper_1.int Making Mercury/ints/abstract_eqv.int Making Mercury/javas/jmercury/abstract_eqv.java Making Mercury/javas/jmercury/abstract_eqv_helper_1.java Making Java class files Mercury/javas/jmercury/abstract_eqv_helper_1.java:321: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:322: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct abstract_eqv_helper_1__type_ctor_info_t_abs_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] abstract_eqv_helper_1__enum_ordinal_ordered_t_concrete_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] abstract_eqv_helper_1__enum_name_ordered_t_concrete_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct abstract_eqv_helper_1__type_ctor_info_t_concrete_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:128: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:169: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:259: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/abstract_eqv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "abstract_eqv"; ^ Mercury/javas/jmercury/abstract_eqv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/abstract_eqv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/abstract_eqv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/abstract_eqv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/abstract_eqv.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(abstract_eqv_helper_1.abstract_eqv_helper_1__type_ctor_info_t_abs_0); ^ Mercury/javas/jmercury/abstract_eqv.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(abstract_eqv_helper_1.abstract_eqv_helper_1__type_ctor_info_t_abs_0); ^ Mercury/javas/jmercury/abstract_eqv.java:83: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (A_5))); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:87: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:90: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (B_6))); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:94: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:104: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv.java:112: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class abstract_eqv Mercury/javas/jmercury/abstract_eqv_helper_1.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct abstract_eqv_helper_1__type_ctor_info_t_abs_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc abstract_eqv_helper_1__enum_functor_desc_t_concrete_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] abstract_eqv_helper_1__enum_ordinal_ordered_t_concrete_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] abstract_eqv_helper_1__enum_name_ordered_t_concrete_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct abstract_eqv_helper_1__type_ctor_info_t_concrete_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:30: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:35: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) abstract_eqv_helper_1.abstract_eqv_helper_1__type_ctor_info_t_concrete_0 ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:134: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:137: error: cannot find symbol int Var_7 = (int) Cast_HeadVar1_4.MR_value; ^ symbol: variable MR_value location: variable Cast_HeadVar1_4 of type T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:138: error: cannot find symbol int Var_8 = (int) Cast_HeadVar2_5.MR_value; ^ symbol: variable MR_value location: variable Cast_HeadVar2_5 of type T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:142: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:147: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:149: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:160: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:175: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:176: 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 T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:177: 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 T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:181: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:186: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:188: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:199: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/abstract_eqv_helper_1.java:217: error: cannot find symbol succeeded = (Cast_HeadVar1_3.MR_value == Cast_HeadVar2_4.MR_value); ^ symbol: variable MR_value location: variable Cast_HeadVar1_3 of type T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:217: error: cannot find symbol succeeded = (Cast_HeadVar1_3.MR_value == Cast_HeadVar2_4.MR_value); ^ symbol: variable MR_value location: variable Cast_HeadVar2_4 of type T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:239: 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 T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:239: 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 T_concrete_0 Mercury/javas/jmercury/abstract_eqv_helper_1.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 64 errors gmake[3]: *** [/tmp/mmake.bxE6BB:2411: abstract_eqv] Error 1 gmake[3]: Target 'abstract_eqv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: abstract_eqv.log] Error 1 RUNNING TEST hard_coded/allow_stubs in grade java FAILED TEST hard_coded/allow_stubs in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-stubs --no-warn-stubs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - allow_stubs.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-stubs --no-warn-stubs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - allow_stubs Making Mercury/int3s/allow_stubs.int3 Making Mercury/ints/allow_stubs.int Making Mercury/javas/jmercury/allow_stubs.java Making Java class files Mercury/javas/jmercury/allow_stubs.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/allow_stubs.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/allow_stubs.java:273: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/allow_stubs.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "allow_stubs"; ^ Mercury/javas/jmercury/allow_stubs.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/allow_stubs.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/allow_stubs.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/allow_stubs.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/allow_stubs.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/allow_stubs.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/allow_stubs.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/allow_stubs.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/allow_stubs.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:68: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:68: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/allow_stubs.java:69: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:69: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/allow_stubs.java:76: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:76: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/allow_stubs.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/allow_stubs.java:106: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) IOGoal_4)[1]); ^ Mercury/javas/jmercury/allow_stubs.java:106: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) IOGoal_4)[1]); ^ Mercury/javas/jmercury/allow_stubs.java:110: error: package jmercury.runtime does not exist conv1_LambdaHeadVar__3_16 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) IOGoal_4))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/allow_stubs.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:119: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:124: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_8_8, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:128: error: cannot find symbol private_builtin.no_clauses_1_p_0(PredName_9); ^ symbol: variable private_builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:138: error: cannot find symbol private_builtin.no_clauses_1_p_0(PredName_3); ^ symbol: variable private_builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:145: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_16 = null; ^ Mercury/javas/jmercury/allow_stubs.java:153: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_8_13, ((java.lang.Object) (Var_11))); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:156: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:167: error: cannot find symbol TypeCtorInfo_7_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:167: error: package jmercury.runtime does not exist TypeCtorInfo_7_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:169: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_16, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/allow_stubs.java:209: error: package exception does not exist exception.Exception_result_1 Res_6 = null; ^ Mercury/javas/jmercury/allow_stubs.java:220: error: cannot find symbol TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:220: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/allow_stubs.java:222: error: cannot find symbol Res_6 = exception.try_io_4_p_0(TypeCtorInfo_26_26, Var_10); ^ symbol: variable exception location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:226: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/allow_stubs.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/allow_stubs.java:228: error: package univ does not exist univ.Univ_0 Exception_7 = ((exception.Exception_result_1.Exception_1) Res_6).F1; ^ Mercury/javas/jmercury/allow_stubs.java:228: error: package exception.Exception_result_1 does not exist univ.Univ_0 Exception_7 = ((exception.Exception_result_1.Exception_1) Res_6).F1; ^ Mercury/javas/jmercury/allow_stubs.java:234: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:237: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Exception_7); ^ symbol: variable univ location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:238: error: package jmercury.runtime does not exist TypeInfo_28_28 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/allow_stubs.java:242: error: cannot find symbol io.print_3_p_0(TypeInfo_28_28, Var_20); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:246: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class allow_stubs Mercury/javas/jmercury/allow_stubs.java:311: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 66 errors gmake[3]: *** [/tmp/mmake.pLd3Yh:2411: allow_stubs] Error 1 gmake[3]: Target 'allow_stubs.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: allow_stubs.log] Error 1 RUNNING TEST hard_coded/arith_int16 in grade java FAILED TEST hard_coded/agg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - agg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - agg Making Mercury/int3s/agg.int3 Making Mercury/ints/agg.int Making Mercury/javas/jmercury/agg.java Making Java class files Mercury/javas/jmercury/agg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_3__pseudo_1__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] agg__field_types_agg_func_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/agg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc agg__du_functor_desc_agg_func_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/agg.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] agg__du_stag_ordered_agg_func_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/agg.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] agg__du_ptag_ordered_agg_func_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/agg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] agg__du_name_ordered_agg_func_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/agg.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct agg__type_ctor_info_agg_func_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:175: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/agg.java:183: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_9 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/agg.java:184: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_10 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/agg.java:445: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/agg.java:446: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_20, ^ Mercury/javas/jmercury/agg.java:462: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/agg.java:463: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_20, ^ Mercury/javas/jmercury/agg.java:479: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/agg.java:480: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_20, ^ Mercury/javas/jmercury/agg.java:2715: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/agg.java:526: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/agg.java:527: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_20, ^ Mercury/javas/jmercury/agg.java:575: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/agg.java:674: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/agg.java:797: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_21, ^ Mercury/javas/jmercury/agg.java:798: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S1_22, ^ Mercury/javas/jmercury/agg.java:799: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S2_23, ^ Mercury/javas/jmercury/agg.java:802: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_13, ^ Mercury/javas/jmercury/agg.java:795: error: package pair does not exist private static pair.Pair_2 ^ Mercury/javas/jmercury/agg.java:831: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/agg.java:853: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:855: error: package maybe does not exist maybe.Maybe_1 LambdaHeadVar__1_8, ^ Mercury/javas/jmercury/agg.java:851: error: package maybe does not exist private static maybe.Maybe_1 ^ Mercury/javas/jmercury/agg.java:895: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:897: error: package maybe does not exist maybe.Maybe_1 LambdaHeadVar__1_8, ^ Mercury/javas/jmercury/agg.java:893: error: package maybe does not exist private static maybe.Maybe_1 ^ Mercury/javas/jmercury/agg.java:937: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:957: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:977: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/agg.java:1003: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_21, ^ Mercury/javas/jmercury/agg.java:1004: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S1_22, ^ Mercury/javas/jmercury/agg.java:1005: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S2_23, ^ Mercury/javas/jmercury/agg.java:1063: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/agg.java:1061: error: package maybe does not exist public static maybe.Maybe_1 ^ Mercury/javas/jmercury/agg.java:1227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/agg.java:1225: error: package maybe does not exist public static maybe.Maybe_1 ^ Mercury/javas/jmercury/agg.java:1391: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12) ^ Mercury/javas/jmercury/agg.java:1433: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/agg.java:1507: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/agg.java:1581: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:1625: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:1669: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:1713: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/agg.java:1757: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/agg.java:1861: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/agg.java:1937: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/agg.java:2013: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/agg.java:2117: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/agg.java:2161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/agg.java:2162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_12, ^ Mercury/javas/jmercury/agg.java:2159: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/agg.java:2215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/agg.java:2216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_10, ^ Mercury/javas/jmercury/agg.java:2262: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/agg.java:2304: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/agg.java:2671: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/agg.java:2739: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/agg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "agg"; ^ Mercury/javas/jmercury/agg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/agg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/agg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class agg Mercury/javas/jmercury/agg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class agg Mercury/javas/jmercury/agg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/agg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class agg Mercury/javas/jmercury/agg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class agg Mercury/javas/jmercury/agg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class agg Mercury/javas/jmercury/agg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class agg Mercury/javas/jmercury/agg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/agg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_3__pseudo_1__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] agg__field_types_agg_func_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/agg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc agg__du_functor_desc_agg_func_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/agg.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] agg__du_stag_ordered_agg_func_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/agg.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] agg__du_ptag_ordered_agg_func_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/agg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] agg__du_name_ordered_agg_func_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/agg.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct agg__type_ctor_info_agg_func_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/agg.java:52: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class agg Mercury/javas/jmercury/agg.java:54: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Note: Mercury/javas/jmercury/agg.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.eIBlVR:2411: agg] Error 1 gmake[3]: Target 'agg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: agg.log] Error 1 RUNNING TEST hard_coded/arith_int32 in grade java FAILED TEST hard_coded/arith_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int16 Making Mercury/int3s/arith_int16.int3 Making Mercury/ints/arith_int16.int Making Mercury/javas/jmercury/arith_int16.java Making Java class files Mercury/javas/jmercury/arith_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int16.java:74: 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/arith_int16.java:75: 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[11]; ^ Mercury/javas/jmercury/arith_int16.java:626: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_int16.java:921: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_int16.java:962: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/arith_int16.java:1022: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_int16"; ^ Mercury/javas/jmercury/arith_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int16.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/arith_int16.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/arith_int16.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/arith_int16.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/arith_int16.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/arith_int16.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:55: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/arith_int16.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/arith_int16.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int16.java:74: 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/arith_int16.java:75: 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[11]; ^ Mercury/javas/jmercury/arith_int16.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_int16.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_int16.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0))) ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0))) ^ Mercury/javas/jmercury/arith_int16.java:90: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_int16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:94: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_int16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:99: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_int16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:104: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_int16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:109: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_int16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:114: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_int16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:119: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_int16.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:124: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_int16.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:129: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_int16.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:134: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_int16.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:139: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_int16.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int16.java:144: error: package list does not exist (list.List_1) arith_int16.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/arith_int16.java:152: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:152: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int16.java:153: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:153: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/arith_int16.java:154: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:154: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int16.java:155: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:155: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int16.java:163: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:163: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int16.java:165: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:165: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/arith_int16.java:166: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:166: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int16.java:167: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:167: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int16.java:175: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:175: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int16.java:176: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:176: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/arith_int16.java:177: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:177: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/arith_int16.java:178: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int16 Mercury/javas/jmercury/arith_int16.java:178: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int16.java:179: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int16 100 errors gmake[3]: *** [/tmp/mmake.uJ7cMk:2411: arith_int16] Error 1 gmake[3]: Target 'arith_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_int16.log] Error 1 RUNNING TEST hard_coded/arith_int64 in grade java FAILED TEST hard_coded/arith_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int32 Making Mercury/int3s/arith_int32.int3 Making Mercury/ints/arith_int32.int Making Mercury/javas/jmercury/arith_int32.java Making Java class files Mercury/javas/jmercury/arith_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int32.java:74: 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/arith_int32.java:75: 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[12]; ^ Mercury/javas/jmercury/arith_int32.java:631: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_int32.java:926: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_int32.java:967: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/arith_int32.java:1027: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_int32"; ^ Mercury/javas/jmercury/arith_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int32.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/arith_int32.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/arith_int32.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/arith_int32.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/arith_int32.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/arith_int32.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:55: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/arith_int32.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/arith_int32.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int32.java:74: 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/arith_int32.java:75: 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[12]; ^ Mercury/javas/jmercury/arith_int32.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_int32.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_int32.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0))) ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0))) ^ Mercury/javas/jmercury/arith_int32.java:90: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_int32.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:94: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_int32.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:99: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_int32.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:104: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_int32.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:109: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_int32.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:114: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_int32.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:119: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_int32.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:124: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_int32.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:129: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_int32.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:134: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_int32.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:139: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_int32.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:144: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/arith_int32.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int32.java:149: error: package list does not exist (list.List_1) arith_int32.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/arith_int32.java:157: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:157: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int32.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/arith_int32.java:159: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:159: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int32.java:160: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:160: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int32.java:168: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:168: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int32.java:170: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:170: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/arith_int32.java:171: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:171: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int32.java:172: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:172: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int32.java:180: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:180: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int32.java:181: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:181: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/arith_int32.java:182: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class arith_int32 Mercury/javas/jmercury/arith_int32.java:182: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/arith_int32.java:183: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int32 100 errors gmake[3]: *** [/tmp/mmake.TGc9jX:2411: arith_int32] Error 1 gmake[3]: Target 'arith_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_int32.log] Error 1 RUNNING TEST hard_coded/arith_int8 in grade java FAILED TEST hard_coded/arith_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int64 Making Mercury/int3s/arith_int64.int3 Making Mercury/ints/arith_int64.int Making Mercury/javas/jmercury/arith_int64.java Making Java class files Mercury/javas/jmercury/arith_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int64.java:74: 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/arith_int64.java:75: 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[14]; ^ Mercury/javas/jmercury/arith_int64.java:641: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_int64.java:936: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_int64.java:977: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/arith_int64.java:1037: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_int64"; ^ Mercury/javas/jmercury/arith_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int64.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/arith_int64.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/arith_int64.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/arith_int64.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/arith_int64.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/arith_int64.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:55: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/arith_int64.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/arith_int64.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int64.java:74: 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/arith_int64.java:75: 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[14]; ^ Mercury/javas/jmercury/arith_int64.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_int64.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_int64.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0))) ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0))) ^ Mercury/javas/jmercury/arith_int64.java:90: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_int64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:94: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_int64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:99: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_int64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:104: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_int64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:109: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_int64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:114: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_int64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:119: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_int64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:124: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_int64.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:129: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_int64.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:134: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_int64.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:139: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_int64.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:144: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/arith_int64.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:149: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/arith_int64.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:154: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/arith_int64.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int64.java:159: error: package list does not exist (list.List_1) arith_int64.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/arith_int64.java:167: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:167: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int64.java:168: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:168: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/arith_int64.java:169: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:169: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int64.java:170: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:170: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int64.java:178: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:178: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int64.java:180: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:180: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/arith_int64.java:181: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:181: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int64.java:182: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:182: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int64.java:190: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int64 Mercury/javas/jmercury/arith_int64.java:190: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int64.java:191: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class arith_int64 100 errors gmake[3]: *** [/tmp/mmake.rnguWW:2411: arith_int64] Error 1 gmake[3]: Target 'arith_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_int64.log] Error 1 RUNNING TEST hard_coded/arith_uint16 in grade java FAILED TEST hard_coded/arith_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_int8 Making Mercury/int3s/arith_int8.int3 Making Mercury/ints/arith_int8.int Making Mercury/javas/jmercury/arith_int8.java Making Java class files Mercury/javas/jmercury/arith_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int8.java:74: 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/arith_int8.java:75: 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[13]; ^ Mercury/javas/jmercury/arith_int8.java:636: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_int8.java:931: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_int8.java:972: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/arith_int8.java:1032: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_int8"; ^ Mercury/javas/jmercury/arith_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_int8.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/arith_int8.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/arith_int8.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/arith_int8.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/arith_int8.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/arith_int8.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:55: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/arith_int8.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/arith_int8.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_int8.java:74: 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/arith_int8.java:75: 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[13]; ^ Mercury/javas/jmercury/arith_int8.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_int8.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_int8.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ Mercury/javas/jmercury/arith_int8.java:90: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_int8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:94: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_int8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:99: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_int8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:104: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_int8.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:109: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_int8.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:114: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_int8.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:119: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_int8.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:124: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_int8.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:129: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_int8.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:134: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_int8.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:139: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_int8.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:144: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/arith_int8.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:149: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/arith_int8.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_int8.java:154: error: package list does not exist (list.List_1) arith_int8.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/arith_int8.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int8.java:163: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:163: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/arith_int8.java:164: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:164: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int8.java:165: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:165: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int8.java:173: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:173: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int8.java:175: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:175: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/arith_int8.java:176: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:176: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_int8.java:177: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:177: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_int8.java:185: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:185: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_int8.java:186: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class arith_int8 Mercury/javas/jmercury/arith_int8.java:186: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/arith_int8.java:187: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class arith_int8 100 errors gmake[3]: *** [/tmp/mmake.XhGJ5o:2411: arith_int8] Error 1 gmake[3]: Target 'arith_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_int8.log] Error 1 RUNNING TEST hard_coded/arith_uint32 in grade java FAILED TEST hard_coded/arith_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint16 Making Mercury/int3s/arith_uint16.int3 Making Mercury/ints/arith_uint16.int Making Mercury/javas/jmercury/arith_uint16.java Making Java class files Mercury/javas/jmercury/arith_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint16.java:66: 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/arith_uint16.java:67: 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[8]; ^ Mercury/javas/jmercury/arith_uint16.java:423: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_uint16.java:571: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_uint16.java:589: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_uint16"; ^ Mercury/javas/jmercury/arith_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/arith_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/arith_uint16.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint16.java:66: 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/arith_uint16.java:67: 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[8]; ^ Mercury/javas/jmercury/arith_uint16.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_uint16.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_uint16.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ Mercury/javas/jmercury/arith_uint16.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:84: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:89: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:94: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:99: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:104: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_uint16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:109: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_uint16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:114: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_uint16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:119: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_uint16.java:127: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:127: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint16.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:130: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:130: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint16.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint16.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint16.java:140: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:140: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:141: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:141: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:142: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:142: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint16.java:143: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:143: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint16.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:152: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:152: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/arith_uint16.java:190: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:190: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:191: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:191: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint16.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint16.java:214: error: package jmercury.runtime does not exist conv1_Result0_36 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BinOpFunc_7))), ((java.lang.Object) (java.lang.Short.valueOf(A_9))), ((java.lang.Object) (java.lang.Short.valueOf(B_10))))); ^ Mercury/javas/jmercury/arith_uint16.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:259: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:267: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:287: error: cannot find symbol conv0_HeadVar__3_3 = uint16.f_plus_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:304: error: cannot find symbol conv1_HeadVar__3_3 = uint16.f_minus_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:321: error: cannot find symbol conv2_HeadVar__3_3 = uint16.f_times_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:338: error: cannot find symbol conv3_HeadVar__3_3 = uint16.f_slash_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 100 errors gmake[3]: *** [/tmp/mmake.CdQp1y:2411: arith_uint16] Error 1 gmake[3]: Target 'arith_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_uint16.log] Error 1 RUNNING TEST hard_coded/arith_uint64 in grade java FAILED TEST hard_coded/arith_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint32 Making Mercury/int3s/arith_uint32.int3 Making Mercury/ints/arith_uint32.int Making Mercury/javas/jmercury/arith_uint32.java Making Java class files Mercury/javas/jmercury/arith_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint32.java:66: 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/arith_uint32.java:67: 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[10]; ^ Mercury/javas/jmercury/arith_uint32.java:433: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_uint32.java:581: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_uint32.java:599: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_uint32"; ^ Mercury/javas/jmercury/arith_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint32.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/arith_uint32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/arith_uint32.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/arith_uint32.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/arith_uint32.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/arith_uint32.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint32.java:66: 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/arith_uint32.java:67: 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[10]; ^ Mercury/javas/jmercury/arith_uint32.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_uint32.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_uint32.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ Mercury/javas/jmercury/arith_uint32.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_uint32.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:84: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_uint32.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:89: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_uint32.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:94: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_uint32.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:99: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_uint32.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:104: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_uint32.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:109: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_uint32.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:114: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_uint32.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:119: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_uint32.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:124: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_uint32.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint32.java:129: error: package list does not exist (list.List_1) arith_uint32.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_uint32.java:137: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:137: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint32.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint32.java:141: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:141: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint32.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint32.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:152: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:152: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint32.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint32.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:161: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:161: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ Mercury/javas/jmercury/arith_uint32.java:200: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:200: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:201: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:201: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/arith_uint32.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint32.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint32.java:224: error: package jmercury.runtime does not exist conv1_Result0_36 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BinOpFunc_7))), ((java.lang.Object) (java.lang.Integer.valueOf(A_9))), ((java.lang.Object) (java.lang.Integer.valueOf(B_10))))); ^ Mercury/javas/jmercury/arith_uint32.java:253: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:261: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:269: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint32 Mercury/javas/jmercury/arith_uint32.java:277: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint32 100 errors gmake[3]: *** [/tmp/mmake.McPUTm:2411: arith_uint32] Error 1 gmake[3]: Target 'arith_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_uint32.log] Error 1 RUNNING TEST hard_coded/arith_uint8 in grade java FAILED TEST hard_coded/arith_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint64 Making Mercury/int3s/arith_uint64.int3 Making Mercury/ints/arith_uint64.int Making Mercury/javas/jmercury/arith_uint64.java Making Java class files Mercury/javas/jmercury/arith_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint64.java:66: 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/arith_uint64.java:67: 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[11]; ^ Mercury/javas/jmercury/arith_uint64.java:438: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_uint64.java:586: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_uint64.java:604: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_uint64"; ^ Mercury/javas/jmercury/arith_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint64.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/arith_uint64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/arith_uint64.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/arith_uint64.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/arith_uint64.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/arith_uint64.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint64.java:66: 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/arith_uint64.java:67: 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[11]; ^ Mercury/javas/jmercury/arith_uint64.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_uint64.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_uint64.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ Mercury/javas/jmercury/arith_uint64.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_uint64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:84: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_uint64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:89: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_uint64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:94: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_uint64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:99: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_uint64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:104: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_uint64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:109: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_uint64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:114: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_uint64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:119: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_uint64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:124: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/arith_uint64.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:129: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/arith_uint64.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint64.java:134: error: package list does not exist (list.List_1) arith_uint64.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/arith_uint64.java:142: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:142: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint64.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:145: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:145: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint64.java:146: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:146: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint64.java:154: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:154: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint64.java:155: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:155: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:156: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:156: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:157: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:157: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint64.java:158: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:158: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint64.java:165: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:165: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:166: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:166: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:167: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:167: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ Mercury/javas/jmercury/arith_uint64.java:205: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:205: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:206: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:206: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/arith_uint64.java:225: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint64.java:225: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint64.java:229: error: package jmercury.runtime does not exist conv1_Result0_36 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BinOpFunc_7))), ((java.lang.Object) (java.lang.Long.valueOf(A_9))), ((java.lang.Object) (java.lang.Long.valueOf(B_10))))); ^ Mercury/javas/jmercury/arith_uint64.java:258: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint64 Mercury/javas/jmercury/arith_uint64.java:266: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint64 100 errors gmake[3]: *** [/tmp/mmake.SYk0EP:2411: arith_uint64] Error 1 gmake[3]: Target 'arith_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_uint64.log] Error 1 RUNNING TEST hard_coded/array2d_from_array in grade java FAILED TEST hard_coded/arith_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - arith_uint8 Making Mercury/int3s/arith_uint8.int3 Making Mercury/ints/arith_uint8.int Making Mercury/javas/jmercury/arith_uint8.java Making Java class files Mercury/javas/jmercury/arith_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint8.java:66: 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/arith_uint8.java:67: 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[7]; ^ Mercury/javas/jmercury/arith_uint8.java:418: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_uint8.java:566: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_uint8.java:584: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_uint8"; ^ Mercury/javas/jmercury/arith_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint8.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/arith_uint8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/arith_uint8.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/arith_uint8.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/arith_uint8.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/arith_uint8.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/arith_uint8.java:66: 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/arith_uint8.java:67: 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[7]; ^ Mercury/javas/jmercury/arith_uint8.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_uint8.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_uint8.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/arith_uint8.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_uint8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:84: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_uint8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:89: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_uint8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:94: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_uint8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:99: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_uint8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:104: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_uint8.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:109: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_uint8.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint8.java:114: error: package list does not exist (list.List_1) arith_uint8.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_uint8.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint8.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:125: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:125: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint8.java:126: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:126: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint8.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint8.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint8.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint8.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:146: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:146: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ Mercury/javas/jmercury/arith_uint8.java:185: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:185: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:186: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:186: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/arith_uint8.java:205: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint8.java:205: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint8.java:209: error: package jmercury.runtime does not exist conv1_Result0_36 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BinOpFunc_7))), ((java.lang.Object) (java.lang.Byte.valueOf(A_9))), ((java.lang.Object) (java.lang.Byte.valueOf(B_10))))); ^ Mercury/javas/jmercury/arith_uint8.java:238: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:246: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:254: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:262: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:282: error: cannot find symbol conv0_HeadVar__3_3 = uint8.f_plus_2_f_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:299: error: cannot find symbol conv1_HeadVar__3_3 = uint8.f_minus_2_f_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:316: error: cannot find symbol conv2_HeadVar__3_3 = uint8.f_times_2_f_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:333: error: cannot find symbol conv3_HeadVar__3_3 = uint8.f_slash_2_f_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:350: error: cannot find symbol conv4_HeadVar__3_3 = uint8.rem_2_f_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class arith_uint8 Mercury/javas/jmercury/arith_uint8.java:361: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.zWv78y:2411: arith_uint8] Error 1 gmake[3]: Target 'arith_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: arith_uint8.log] Error 1 RUNNING TEST hard_coded/array_all_tf in grade java FAILED TEST hard_coded/array2d_from_array in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array2d_from_array.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array2d_from_array Making Mercury/int3s/array2d_from_array.int3 Making Mercury/ints/array2d_from_array.int Making Mercury/javas/jmercury/array2d_from_array.java Making Java class files Mercury/javas/jmercury/array2d_from_array.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array2d__ti_array2d_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_array2d__ti_array2d_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/array2d_from_array.java:65: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array2d_from_array.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/array2d_from_array.java:291: error: package list does not exist list.List_1 Elems_6, ^ Mercury/javas/jmercury/array2d_from_array.java:434: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array2d_from_array.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array2d_from_array"; ^ Mercury/javas/jmercury/array2d_from_array.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array2d_from_array.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array2d_from_array.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array2d_from_array.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array2d_from_array.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array2d__ti_array2d_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_array2d__ti_array2d_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array2d_from_array.java:39: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/array2d_from_array.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:45: error: cannot find symbol array2d.array2d__type_ctor_info_array2d_1, ^ symbol: variable array2d location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/array2d_from_array.java:51: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array2d_from_array.array2d__ti_array2d_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/array2d_from_array.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/array2d_from_array.java:65: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array2d_from_array.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/array2d_from_array.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array2d_from_array.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/array2d_from_array.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array2d_from_array.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array2d_from_array.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array2d.array2d__type_ctor_info_array2d_1))), ^ symbol: variable array2d location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array2d.array2d__type_ctor_info_array2d_1))), ^ Mercury/javas/jmercury/array2d_from_array.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array2d_from_array.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array2d_from_array.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/array2d_from_array.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array2d_from_array.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/array2d_from_array.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array2d_from_array.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array2d_from_array.java:95: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array2d_from_array.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:99: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array2d_from_array.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:104: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array2d_from_array.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:109: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/array2d_from_array.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:114: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/array2d_from_array.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:119: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/array2d_from_array.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:124: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array2d_from_array.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:129: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array2d_from_array.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:134: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/array2d_from_array.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:139: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/array2d_from_array.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:144: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/array2d_from_array.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:149: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array2d_from_array.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:154: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/array2d_from_array.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:159: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/array2d_from_array.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:164: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/array2d_from_array.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:169: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/array2d_from_array.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array2d_from_array.java:174: error: package list does not exist (list.List_1) array2d_from_array.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/array2d_from_array.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array2d_from_array.java:191: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array2d_from_array.java:192: error: package array2d does not exist array2d.Array2d_1 Array2d_44 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:195: error: cannot find symbol Array2d_44 = array2d.from_array_3_f_0(TypeCtorInfo_37_37, M_7, N_8, (/* Array */ java.lang.Object) Array_10); ^ symbol: variable array2d location: class array2d_from_array Mercury/javas/jmercury/array2d_from_array.java:208: error: package list does not exist list.List_1 Var_6 = (list.List_1) array2d_from_array.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/array2d_from_array.java:208: error: package list does not exist list.List_1 Var_6 = (list.List_1) array2d_from_array.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/array2d_from_array.java:211: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:214: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:217: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:220: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:223: error: package list does not exist list.List_1 Var_36 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:226: error: package list does not exist list.List_1 Var_40 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:229: error: package list does not exist list.List_1 Var_46 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:232: error: package list does not exist list.List_1 Var_58 = null; ^ Mercury/javas/jmercury/array2d_from_array.java:239: error: package list does not exist Var_10 = (list.List_1) array2d_from_array.MR_scalar_common_3[0]; ^ 100 errors gmake[3]: *** [/tmp/mmake.P2bwul:2411: array2d_from_array] Error 1 gmake[3]: Target 'array2d_from_array.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array2d_from_array.log] Error 1 RUNNING TEST hard_coded/array_append in grade java FAILED TEST hard_coded/array_all_tf in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_all_tf.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_all_tf Making Mercury/int3s/array_all_tf.int3 Making Mercury/ints/array_all_tf.int Making Mercury/javas/jmercury/array_all_tf.java Making Java class files Mercury/javas/jmercury/array_all_tf.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_all_tf.java:33: 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/array_all_tf.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[5]; ^ Mercury/javas/jmercury/array_all_tf.java:437: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_all_tf.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_all_tf"; ^ Mercury/javas/jmercury/array_all_tf.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_all_tf.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_all_tf.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_all_tf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_all_tf.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_all_tf.java:33: 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/array_all_tf.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[5]; ^ Mercury/javas/jmercury/array_all_tf.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_all_tf.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/array_all_tf.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_all_tf.java:45: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_all_tf.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_all_tf.java:49: error: package list does not exist (list.List_1) array_all_tf.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_all_tf.java:52: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_all_tf.java:54: error: package list does not exist (list.List_1) array_all_tf.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array_all_tf.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_all_tf.java:59: error: package list does not exist (list.List_1) array_all_tf.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/array_all_tf.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_all_tf.java:64: error: package list does not exist (list.List_1) array_all_tf.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/array_all_tf.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_all_tf.java:69: error: package list does not exist (list.List_1) array_all_tf.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/array_all_tf.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/array_all_tf.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_79_79 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_all_tf.java:126: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_79_79 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_79_79 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_all_tf.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_80_80 = null; ^ Mercury/javas/jmercury/array_all_tf.java:130: error: package list does not exist list.List_1 Var_8 = (list.List_1) array_all_tf.MR_scalar_common_3[4]; ^ Mercury/javas/jmercury/array_all_tf.java:130: error: package list does not exist list.List_1 Var_8 = (list.List_1) array_all_tf.MR_scalar_common_3[4]; ^ Mercury/javas/jmercury/array_all_tf.java:153: error: cannot find symbol conv0_EvensArray_4 = array.array_1_f_0(TypeCtorInfo_79_79, Var_8); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:158: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:160: error: package jmercury.runtime does not exist TypeInfo_80_80 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_all_tf.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_all_tf.java:162: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EvensArray_4))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:166: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:170: error: cannot find symbol succeeded = array.all_true_2_p_0(TypeCtorInfo_79_79, Var_24, (/* Array */ java.lang.Object) EvensArray_4); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:177: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:185: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:190: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:193: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EvensArray_4))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:197: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:201: error: cannot find symbol succeeded = array.all_false_2_p_0(TypeCtorInfo_79_79, Var_34, (/* Array */ java.lang.Object) EvensArray_4); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:208: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:216: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:220: error: cannot find symbol conv1_EmptyArray_5 = array.make_empty_array_1_p_0(TypeCtorInfo_79_79); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:225: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:228: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EmptyArray_5))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:232: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:236: error: cannot find symbol succeeded = array.all_true_2_p_0(TypeCtorInfo_79_79, Var_45, (/* Array */ java.lang.Object) EmptyArray_5); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:243: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:251: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:256: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:259: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EmptyArray_5))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:263: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:267: error: cannot find symbol succeeded = array.all_false_2_p_0(TypeCtorInfo_79_79, Var_55, (/* Array */ java.lang.Object) EmptyArray_5); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:274: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:282: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:287: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:290: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EvensArray_4))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:294: error: cannot find symbol io.write_string_3_p_0(Var_63); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:298: error: cannot find symbol succeeded = array.all_true_2_p_0(TypeCtorInfo_79_79, Var_65, (/* Array */ java.lang.Object) EvensArray_4); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:306: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:314: error: cannot find symbol io.write_string_3_p_0(Var_68); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:319: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:322: error: cannot find symbol io.write_3_p_0(TypeInfo_80_80, ((java.lang.Object) (EvensArray_4))); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:326: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:330: error: cannot find symbol succeeded = array.all_false_2_p_0(TypeCtorInfo_79_79, Var_75, (/* Array */ java.lang.Object) EvensArray_4); ^ symbol: variable array location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:338: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:346: error: cannot find symbol io.write_string_3_p_0(Var_78); ^ symbol: variable io location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:360: error: cannot find symbol succeeded = mr_int.even_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:374: error: cannot find symbol succeeded = mr_int.odd_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:388: error: cannot find symbol succeeded = mr_int.even_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:402: error: cannot find symbol succeeded = mr_int.even_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:416: error: cannot find symbol succeeded = mr_int.odd_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:430: error: cannot find symbol succeeded = mr_int.even_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_int location: class array_all_tf Mercury/javas/jmercury/array_all_tf.java:502: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 88 errors gmake[3]: *** [/tmp/mmake.iBzmKw:2411: array_all_tf] Error 1 gmake[3]: Target 'array_all_tf.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_all_tf.log] Error 1 RUNNING TEST hard_coded/array_copy in grade java FAILED TEST hard_coded/array_append in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_append.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_append Making Mercury/int3s/array_append.int3 Making Mercury/ints/array_append.int Making Mercury/javas/jmercury/array_append.java Making Java class files Mercury/javas/jmercury/array_append.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/array_append.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/array_append.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/array_append.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_append"; ^ Mercury/javas/jmercury/array_append.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_append.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_append.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_append Mercury/javas/jmercury/array_append.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_append Mercury/javas/jmercury/array_append.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_append.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_append.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/array_append.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/array_append.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_append.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:41: error: package list does not exist (list.List_1) array_append.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_append.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:46: error: package list does not exist (list.List_1) array_append.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_append.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:51: error: package list does not exist (list.List_1) array_append.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/array_append.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:56: error: package list does not exist (list.List_1) array_append.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_append.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:61: error: package list does not exist (list.List_1) array_append.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/array_append.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_append.java:66: error: package list does not exist (list.List_1) array_append.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/array_append.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/array_append.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = null; ^ Mercury/javas/jmercury/array_append.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/array_append.java:90: error: cannot find symbol C_8 = array.append_2_f_0(TypeInfo_for_T_17, A_5, B_6); ^ symbol: variable array location: class array_append Mercury/javas/jmercury/array_append.java:92: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ symbol: variable array location: class array_append Mercury/javas/jmercury/array_append.java:92: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ Mercury/javas/jmercury/array_append.java:94: error: package jmercury.runtime does not exist TypeInfo_19_19 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_append.java:100: error: cannot find symbol io.print_3_p_0(TypeInfo_19_19, ((java.lang.Object) (A_5))); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:103: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class array_append Mercury/javas/jmercury/array_append.java:103: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/array_append.java:105: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:108: error: cannot find symbol io.print_3_p_0(TypeInfo_19_19, ((java.lang.Object) (B_6))); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:112: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:115: error: cannot find symbol io.print_line_3_p_0(TypeInfo_19_19, ((java.lang.Object) (C_8))); ^ symbol: variable io location: class array_append Mercury/javas/jmercury/array_append.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_append.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_append Mercury/javas/jmercury/array_append.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_append.java:127: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/array_append.java:128: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/array_append.java:135: error: cannot find symbol conv0_EmptyA_4 = array.make_empty_array_1_p_0(TypeCtorInfo_27_27); ^ symbol: variable array location: class array_append Mercury/javas/jmercury/array_append.java:139: error: cannot find symbol conv1_EmptyB_5 = array.make_empty_array_1_p_0(TypeCtorInfo_27_27); ^ symbol: variable array location: class array_append Mercury/javas/jmercury/array_append.java:142: error: package list does not exist Var_10 = (list.List_1) array_append.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/array_append.java:144: error: cannot find symbol conv2_ArrayA_6 = array.array_1_f_0(TypeCtorInfo_27_27, Var_10); ^ symbol: variable array location: class array_append Mercury/javas/jmercury/array_append.java:147: error: package list does not exist Var_17 = (list.List_1) array_append.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/array_append.java:149: error: cannot find symbol conv3_ArrayB_7 = array.array_1_f_0(TypeCtorInfo_27_27, Var_17); ^ symbol: variable array location: class array_append 54 errors gmake[3]: *** [/tmp/mmake.TWiUqe:2411: array_append] Error 1 gmake[3]: Target 'array_append.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_append.log] Error 1 RUNNING TEST hard_coded/array_fetch_items in grade java FAILED TEST hard_coded/array_copy in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_copy.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_copy Making Mercury/int3s/array_copy.int3 Making Mercury/ints/array_copy.int Making Mercury/javas/jmercury/array_copy.java Making Java class files Mercury/javas/jmercury/array_copy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_copy__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_copy.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_copy__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_copy.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_copy__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_copy.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_copy.java:100: 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/array_copy.java:101: 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[47]; ^ Mercury/javas/jmercury/array_copy.java:458: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_18, ^ Mercury/javas/jmercury/array_copy.java:459: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/array_copy.java:612: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_copy.java:613: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_copy.java:504: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_copy.java:568: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_copy.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_copy"; ^ Mercury/javas/jmercury/array_copy.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_copy.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_copy.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_copy Mercury/javas/jmercury/array_copy.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_copy Mercury/javas/jmercury/array_copy.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_copy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_copy Mercury/javas/jmercury/array_copy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_copy Mercury/javas/jmercury/array_copy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_copy Mercury/javas/jmercury/array_copy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_copy Mercury/javas/jmercury/array_copy.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_copy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_copy__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_copy.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_copy__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_copy.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_copy__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_copy.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_copy__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_copy.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/array_copy.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_copy.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_copy.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_copy.java:100: 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/array_copy.java:101: 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[47]; ^ Mercury/javas/jmercury/array_copy.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_copy.java:106: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_copy Mercury/javas/jmercury/array_copy.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_copy.java:107: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_copy Mercury/javas/jmercury/array_copy.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_copy.java:110: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_copy.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:114: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:119: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array_copy.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:124: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/array_copy.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:129: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:134: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/array_copy.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:139: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/array_copy.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:144: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:149: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/array_copy.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:154: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/array_copy.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:159: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:164: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/array_copy.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:169: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/array_copy.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:174: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:179: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/array_copy.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:184: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/array_copy.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:189: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:194: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/array_copy.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:199: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/array_copy.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:204: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:209: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/array_copy.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:214: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/array_copy.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:219: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:224: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[21] ^ Mercury/javas/jmercury/array_copy.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:229: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[22] ^ Mercury/javas/jmercury/array_copy.java:232: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:234: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_copy.java:237: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:239: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[24] ^ Mercury/javas/jmercury/array_copy.java:242: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:244: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_3[25] ^ Mercury/javas/jmercury/array_copy.java:247: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_copy.java:249: error: package list does not exist (list.List_1) array_copy.MR_scalar_common_2[0] ^ 100 errors gmake[3]: *** [/tmp/mmake.DOuWSR:2411: array_copy] Error 1 gmake[3]: Target 'array_copy.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_copy.log] Error 1 RUNNING TEST hard_coded/array_fill in grade java FAILED TEST hard_coded/array_fetch_items in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_fetch_items.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_fetch_items Making Mercury/int3s/array_fetch_items.int3 Making Mercury/ints/array_fetch_items.int Making Mercury/javas/jmercury/array_fetch_items.java Making Java class files Mercury/javas/jmercury/array_fetch_items.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:65: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_fetch_items.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/array_fetch_items.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_35, ^ Mercury/javas/jmercury/array_fetch_items.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_35, ^ Mercury/javas/jmercury/array_fetch_items.java:220: error: package list does not exist list.List_1 Elems_6, ^ Mercury/javas/jmercury/array_fetch_items.java:384: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array_fetch_items.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_fetch_items"; ^ Mercury/javas/jmercury/array_fetch_items.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_fetch_items.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_fetch_items.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_fetch_items.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_fetch_items.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fetch_items.java:39: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:41: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_fetch_items.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_fetch_items.java:51: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array_fetch_items.list__pti_list_1__pseudo_1 ^ Mercury/javas/jmercury/array_fetch_items.java:65: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_fetch_items.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/array_fetch_items.java:79: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:79: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_fetch_items.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_fetch_items.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_fetch_items.java:86: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_fetch_items.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_fetch_items.java:90: error: package list does not exist (list.List_1) array_fetch_items.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array_fetch_items.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_fetch_items.java:95: error: package list does not exist (list.List_1) array_fetch_items.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_fetch_items.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_fetch_items.java:100: error: package list does not exist (list.List_1) array_fetch_items.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/array_fetch_items.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_fetch_items.java:105: error: package list does not exist (list.List_1) array_fetch_items.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/array_fetch_items.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_fetch_items.java:110: error: package list does not exist (list.List_1) array_fetch_items.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/array_fetch_items.java:128: error: package list does not exist list.List_1 List_46 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:131: error: cannot find symbol List_46 = array.fetch_items_4_p_0(TypeInfo_for_T_35, Array_10, Lo_7, Hi_8); ^ symbol: variable array location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_fetch_items.java:144: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_fetch_items.java:145: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:145: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:148: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:151: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:154: error: package list does not exist list.List_1 Var_48 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:157: error: package list does not exist list.List_1 Var_62 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:160: error: package list does not exist list.List_1 Var_76 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:163: error: package list does not exist list.List_1 Var_90 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:166: error: package list does not exist list.List_1 Var_104 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:173: error: package list does not exist Var_20 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:179: error: package list does not exist Var_34 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:185: error: package list does not exist Var_48 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:191: error: package list does not exist Var_62 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:197: error: package list does not exist Var_76 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:203: error: package list does not exist Var_90 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:209: error: package list does not exist Var_104 = (list.List_1) array_fetch_items.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/array_fetch_items.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_48_48 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_49_49 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_50_50 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:237: error: package exception does not exist exception.Exception_result_1 TryResult_26 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:239: error: package exception does not exist exception.Exception_result_1 conv1_TryResult_26 = null; ^ Mercury/javas/jmercury/array_fetch_items.java:242: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:245: error: cannot find symbol Array_10 = array.from_list_2_p_0(TypeInfo_for_T_35, Elems_6); ^ symbol: variable array location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:249: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:251: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ symbol: variable array location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ Mercury/javas/jmercury/array_fetch_items.java:253: error: package jmercury.runtime does not exist TypeInfo_37_37 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_fetch_items.java:259: error: cannot find symbol io.write_line_3_p_0(TypeInfo_37_37, ((java.lang.Object) (Array_10))); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:263: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:265: error: cannot find symbol TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:265: error: package jmercury.runtime does not exist TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_fetch_items.java:267: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_38_38, java.lang.Integer.valueOf(Lo_7)); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:271: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:274: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_38_38, java.lang.Integer.valueOf(Hi_8)); ^ symbol: variable io location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:287: error: cannot find symbol TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:287: error: package jmercury.runtime does not exist TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/array_fetch_items.java:288: error: cannot find symbol TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:288: error: package jmercury.runtime does not exist TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/array_fetch_items.java:290: error: package jmercury.runtime does not exist TypeInfo_48_48 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_fetch_items.java:296: error: package jmercury.runtime does not exist TypeInfo_50_50 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_fetch_items.java:302: error: cannot find symbol conv1_TryResult_26 = exception.try_2_p_0(TypeInfo_50_50, (/* closure */ java.lang.Object[]) TryLambda_45); ^ symbol: variable exception location: class array_fetch_items Mercury/javas/jmercury/array_fetch_items.java:304: error: package exception does not exist TryResult_26 = (exception.Exception_result_1) conv1_TryResult_26; ^ Mercury/javas/jmercury/array_fetch_items.java:307: error: package univ does not exist univ.Univ_0 Var_27 = ((exception.Exception_result_1.Exception_1) TryResult_26).F1; ^ 100 errors gmake[3]: *** [/tmp/mmake.7mH3IW:2411: array_fetch_items] Error 1 gmake[3]: Target 'array_fetch_items.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_fetch_items.log] Error 1 RUNNING TEST hard_coded/array_gen in grade java FAILED TEST hard_coded/array_fill in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_fill.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_fill Making Mercury/int3s/array_fill.int3 Making Mercury/ints/array_fill.int Making Mercury/javas/jmercury/array_fill.java Making Java class files Mercury/javas/jmercury/array_fill.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_fill__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_fill.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_fill__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_fill__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_fill__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_fill.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_fill__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_ordinal_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_name_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_fill.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_fill.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:218: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_fill.java:221: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_fill.java:222: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/array_fill.java:1182: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_fill.java:317: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46, ^ Mercury/javas/jmercury/array_fill.java:586: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_25, ^ Mercury/javas/jmercury/array_fill.java:644: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46, ^ Mercury/javas/jmercury/array_fill.java:645: error: package list does not exist list.List_1 InitElems_7, ^ Mercury/javas/jmercury/array_fill.java:844: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_fill.java:933: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_fill.java:1218: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_fill.java:1219: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_fill.java:956: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_fill.java:1086: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array_fill.java:1104: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_fill.java:1207: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_fill.java:1208: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_fill.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_fill"; ^ Mercury/javas/jmercury/array_fill.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_fill.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_fill.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_fill Mercury/javas/jmercury/array_fill.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_fill Mercury/javas/jmercury/array_fill.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_fill.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_fill Mercury/javas/jmercury/array_fill.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_fill Mercury/javas/jmercury/array_fill.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_fill Mercury/javas/jmercury/array_fill.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_fill Mercury/javas/jmercury/array_fill.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_fill.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_fill__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_fill.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_fill__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_fill__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_fill__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_fill.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_fill__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_ordinal_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_name_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/array_fill.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_fill__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_fill.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_fill.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_fill__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/array_fill.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_fill__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_fill.java:58: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array_fill Mercury/javas/jmercury/array_fill.java:60: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_fill.java:64: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array_fill.array__pti_array_1__pseudo_1 ^ Mercury/javas/jmercury/array_fill.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_fill.java:70: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_fill.java:72: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_fill.java:74: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:85: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:93: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/array_fill.java:101: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/array_fill.java:120: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_fill.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_fill.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/array_fill.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_fill.java:153: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_fill.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/array_fill.java:200: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_fill.java:203: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_fill.java:218: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_fill.java:221: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_fill.java:222: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/array_fill.java:227: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_fill.java:228: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_fill Mercury/javas/jmercury/array_fill.java:228: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_fill.java:229: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:229: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_fill.java:241: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:241: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_fill.java:243: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_fill Mercury/javas/jmercury/array_fill.java:243: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_fill.java:244: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_fill 100 errors gmake[3]: *** [/tmp/mmake.CXty0K:2411: array_fill] Error 1 gmake[3]: Target 'array_fill.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_fill.log] Error 1 RUNNING TEST hard_coded/array_primitives in grade java FAILED TEST hard_coded/array_gen in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_gen.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_gen Making Mercury/int3s/array_gen.int3 Making Mercury/ints/array_gen.int Making Mercury/javas/jmercury/array_gen.java Making Java class files Mercury/javas/jmercury/array_gen.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/array_gen.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_gen.java:402: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_gen.java:444: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/array_gen.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_gen"; ^ Mercury/javas/jmercury/array_gen.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_gen.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_gen.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_gen Mercury/javas/jmercury/array_gen.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_gen Mercury/javas/jmercury/array_gen.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_gen.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_gen.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/array_gen.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_gen.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_gen.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/array_gen.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_gen.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_gen.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/array_gen.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/array_gen.java:54: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:54: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_gen.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/array_gen.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/array_gen.java:63: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:63: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ Mercury/javas/jmercury/array_gen.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_gen.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_gen.java:78: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:78: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/array_gen.java:79: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:79: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/array_gen.java:98: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:98: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/array_gen.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/array_gen.java:100: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:100: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/array_gen.java:101: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:101: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/array_gen.java:110: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/array_gen.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/array_gen.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/array_gen.java:113: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/array_gen.java:114: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/array_gen.java:115: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/array_gen.java:133: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_27 = null; ^ Mercury/javas/jmercury/array_gen.java:141: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:143: error: package string__parse_util does not exist Var_27 = (string__parse_util.String_format_flags_0) array_gen.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/array_gen.java:145: error: cannot find symbol Var_21 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_27, Index_5); ^ symbol: variable string__format location: class array_gen Mercury/javas/jmercury/array_gen.java:148: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:152: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:155: error: cannot find symbol Var_31 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_27, Result_6); ^ symbol: variable string__format location: class array_gen Mercury/javas/jmercury/array_gen.java:158: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:162: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_gen.java:170: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_gen.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_42_42 = null; ^ Mercury/javas/jmercury/array_gen.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = null; ^ Mercury/javas/jmercury/array_gen.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = null; ^ Mercury/javas/jmercury/array_gen.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = null; ^ Mercury/javas/jmercury/array_gen.java:199: error: cannot find symbol conv1_ArrayI0_4 = array.generate_2_f_0(TypeCtorInfo_41_41, Var_11, Var_12); ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:204: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:206: error: package jmercury.runtime does not exist TypeInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_gen.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_gen.java:208: error: cannot find symbol io.write_line_3_p_0(TypeInfo_42_42, ((java.lang.Object) (ArrayI0_4))); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:212: error: cannot find symbol TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:212: error: package jmercury.runtime does not exist TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/array_gen.java:214: error: cannot find symbol java.lang.Object [] result = array.generate_foldl_5_p_2(TypeCtorInfo_41_41, TypeCtorInfo_47_47, Var_19, Var_20, ((java.lang.Object) (0))); ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:221: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:224: error: cannot find symbol io.write_line_3_p_0(TypeInfo_42_42, ((java.lang.Object) (ArrayI_6))); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:226: error: cannot find symbol TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class array_gen Mercury/javas/jmercury/array_gen.java:226: error: package jmercury.runtime does not exist TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/array_gen.java:230: error: cannot find symbol conv6_ArrayU0_7 = array.ugenerate_2_f_0(TypeCtorInfo_48_48, Var_25, Var_26); ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:235: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:237: error: package jmercury.runtime does not exist TypeInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_gen.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/array_gen.java:239: error: cannot find symbol io.write_line_3_p_0(TypeInfo_49_49, ((java.lang.Object) (ArrayU0_7))); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:244: error: cannot find symbol java.lang.Object [] result = array.ugenerate_foldl_5_p_2(TypeCtorInfo_48_48, TypeCtorInfo_47_47, Var_33, Var_34, ((java.lang.Object) (0))); ^ symbol: variable array location: class array_gen Mercury/javas/jmercury/array_gen.java:251: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:254: error: cannot find symbol io.write_line_3_p_0(TypeInfo_49_49, ((java.lang.Object) (ArrayU_8))); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:339: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_21 = null; ^ Mercury/javas/jmercury/array_gen.java:341: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/array_gen.java:343: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_32 = null; ^ Mercury/javas/jmercury/array_gen.java:350: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:352: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) array_gen.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/array_gen.java:353: error: package string__parse_util does not exist Var_21 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/array_gen.java:355: error: cannot find symbol Var_22 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_28, Var_21, Index_5); ^ symbol: variable string__format location: class array_gen Mercury/javas/jmercury/array_gen.java:358: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class array_gen Mercury/javas/jmercury/array_gen.java:362: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class array_gen 100 errors gmake[3]: *** [/tmp/mmake.mZc7az:2411: array_gen] Error 1 gmake[3]: Target 'array_gen.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_gen.log] Error 1 RUNNING TEST hard_coded/array_resize in grade java FAILED TEST hard_coded/array_primitives in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_primitives.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_primitives Making Mercury/int3s/array_primitives.int3 Making Mercury/ints/array_primitives.int Making Mercury/javas/jmercury/array_primitives.java Making Java class files Mercury/javas/jmercury/array_primitives.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_primitives.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_primitives.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/array_primitives.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_43, ^ Mercury/javas/jmercury/array_primitives.java:333: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_43, ^ Mercury/javas/jmercury/array_primitives.java:344: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_primitives.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_primitives"; ^ Mercury/javas/jmercury/array_primitives.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_primitives.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_primitives.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_primitives Mercury/javas/jmercury/array_primitives.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_primitives Mercury/javas/jmercury/array_primitives.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_primitives.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_primitives.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_primitives.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_primitives.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/array_primitives.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_primitives.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_primitives Mercury/javas/jmercury/array_primitives.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_primitives.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_primitives.java:54: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:54: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_primitives.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_primitives.java:60: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_primitives.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:64: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_primitives.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:69: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_primitives.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:74: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/array_primitives.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_primitives.java:79: error: package list does not exist (list.List_1) array_primitives.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_primitives.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = null; ^ Mercury/javas/jmercury/array_primitives.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_45_45 = null; ^ Mercury/javas/jmercury/array_primitives.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_16 = null; ^ Mercury/javas/jmercury/array_primitives.java:116: error: cannot find symbol Var_16 = type_desc.type_of_1_f_0(TypeInfo_for_T_43); ^ symbol: variable type_desc location: class array_primitives Mercury/javas/jmercury/array_primitives.java:119: error: cannot find symbol TypeName_8 = type_desc.type_name_1_f_0(Var_16); ^ symbol: variable type_desc location: class array_primitives Mercury/javas/jmercury/array_primitives.java:123: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:126: error: cannot find symbol io.write_string_3_p_0(TypeName_8); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:130: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:134: error: cannot find symbol InitArray_9 = array.init_3_p_0(TypeInfo_for_T_43, Var_22, E_5); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:138: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:140: error: cannot find symbol TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1); ^ Mercury/javas/jmercury/array_primitives.java:142: error: package jmercury.runtime does not exist TypeInfo_45_45 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_primitives.java:148: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (InitArray_9))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:161: error: cannot find symbol GenArray_10 = array.generate_2_f_0(TypeInfo_for_T_43, Var_26, Var_27); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:165: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:168: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (GenArray_10))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:172: error: cannot find symbol ResizedArray_12 = array.resize_4_p_0(TypeInfo_for_T_43, Var_33, F_6, InitArray_9); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:176: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:179: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (ResizedArray_12))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:183: error: cannot find symbol ShrunkArray_13 = array.shrink_3_p_0(TypeInfo_for_T_43, Var_37, GenArray_10); ^ symbol: variable array location: class array_primitives Mercury/javas/jmercury/array_primitives.java:187: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:190: error: cannot find symbol io.write_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (ShrunkArray_13))); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:193: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class array_primitives Mercury/javas/jmercury/array_primitives.java:206: error: package jmercury.runtime does not exist wrapper_arg_2 = array_primitives.IntroducedFrom__func__do_test__61__1_3_f_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((java.lang.Object[]) closure)[4], ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/array_primitives.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/array_primitives.java:214: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/array_primitives.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = null; ^ Mercury/javas/jmercury/array_primitives.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_55_55 = null; ^ Mercury/javas/jmercury/array_primitives.java:217: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_56_56 = null; ^ Mercury/javas/jmercury/array_primitives.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_57_57 = null; ^ Mercury/javas/jmercury/array_primitives.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_58_58 = null; ^ Mercury/javas/jmercury/array_primitives.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = null; ^ Mercury/javas/jmercury/array_primitives.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = null; ^ Mercury/javas/jmercury/array_primitives.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/array_primitives.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = null; ^ Mercury/javas/jmercury/array_primitives.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = null; ^ Mercury/javas/jmercury/array_primitives.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = null; ^ Mercury/javas/jmercury/array_primitives.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/array_primitives.java:251: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/array_primitives.java:252: error: package list does not exist list.List_1 Var_43 = null; ^ Mercury/javas/jmercury/array_primitives.java:259: error: cannot find symbol TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:259: error: package jmercury.runtime does not exist TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/array_primitives.java:265: error: cannot find symbol TypeCtorInfo_55_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:265: error: package jmercury.runtime does not exist TypeCtorInfo_55_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/array_primitives.java:271: error: cannot find symbol TypeCtorInfo_56_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:271: error: package jmercury.runtime does not exist TypeCtorInfo_56_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/array_primitives.java:277: error: cannot find symbol TypeCtorInfo_57_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:277: error: package jmercury.runtime does not exist TypeCtorInfo_57_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ Mercury/javas/jmercury/array_primitives.java:283: error: cannot find symbol TypeCtorInfo_58_58 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:283: error: package jmercury.runtime does not exist TypeCtorInfo_58_58 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/array_primitives.java:289: error: cannot find symbol TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:289: error: package jmercury.runtime does not exist TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ Mercury/javas/jmercury/array_primitives.java:295: error: cannot find symbol TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:295: error: package jmercury.runtime does not exist TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/array_primitives.java:301: error: cannot find symbol TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:301: error: package jmercury.runtime does not exist TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_primitives.java:307: error: cannot find symbol TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:307: error: package jmercury.runtime does not exist TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/array_primitives.java:313: error: cannot find symbol TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class array_primitives Mercury/javas/jmercury/array_primitives.java:313: error: package jmercury.runtime does not exist TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.HlS0v5:2411: array_primitives] Error 1 gmake[3]: Target 'array_primitives.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_primitives.log] Error 1 RUNNING TEST hard_coded/array_shrink in grade java FAILED TEST hard_coded/array_resize in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_resize.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_resize Making Mercury/int3s/array_resize.int3 Making Mercury/ints/array_resize.int Making Mercury/javas/jmercury/array_resize.java Making Java class files Mercury/javas/jmercury/array_resize.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_resize__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_resize.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_resize__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_resize__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_resize.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_resize__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_resize.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_resize__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_resize.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_resize__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_resize__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/array_resize.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_resize__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/array_resize.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_resize__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:198: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_resize.java:201: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_resize.java:202: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[70]; ^ Mercury/javas/jmercury/array_resize.java:1551: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_resize.java:619: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_51, ^ Mercury/javas/jmercury/array_resize.java:640: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_51, ^ Mercury/javas/jmercury/array_resize.java:990: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_51, ^ Mercury/javas/jmercury/array_resize.java:991: error: package list does not exist list.List_1 Elems_6, ^ Mercury/javas/jmercury/array_resize.java:1252: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_resize.java:1576: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_resize.java:1577: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_resize.java:1341: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_resize.java:1450: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array_resize.java:1491: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_resize.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_resize"; ^ Mercury/javas/jmercury/array_resize.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_resize.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_resize.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_resize Mercury/javas/jmercury/array_resize.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_resize Mercury/javas/jmercury/array_resize.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_resize.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_resize Mercury/javas/jmercury/array_resize.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_resize Mercury/javas/jmercury/array_resize.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_resize Mercury/javas/jmercury/array_resize.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_resize Mercury/javas/jmercury/array_resize.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_resize.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_resize__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_resize.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_resize__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_resize__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_resize.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_resize__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_resize.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_resize__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_resize.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_resize__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_resize__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_resize.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_resize__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/array_resize.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_resize__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/array_resize.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_resize__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_resize.java:54: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array_resize Mercury/javas/jmercury/array_resize.java:56: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_resize.java:60: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array_resize.array__pti_array_1__pseudo_1 ^ Mercury/javas/jmercury/array_resize.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_resize.java:66: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_resize.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_resize.java:70: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:75: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:83: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/array_resize.java:91: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/array_resize.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_resize.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_resize.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/array_resize.java:180: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_resize.java:183: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_resize.java:198: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_resize.java:201: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_resize.java:202: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[70]; ^ Mercury/javas/jmercury/array_resize.java:207: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_resize.java:208: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_resize Mercury/javas/jmercury/array_resize.java:208: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_resize.java:209: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:209: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_resize.java:221: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:221: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_resize.java:222: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_resize Mercury/javas/jmercury/array_resize.java:222: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_resize.java:228: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_resize.java:230: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_resize.java:232: error: package list does not exist (list.List_1) array_resize.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_resize.java:235: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_resize.java:237: error: package list does not exist (list.List_1) array_resize.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_resize.java:240: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_resize.java:242: error: package list does not exist (list.List_1) array_resize.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/array_resize.java:245: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_resize.java:247: error: package list does not exist (list.List_1) array_resize.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/array_resize.java:250: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_resize.java:252: error: package list does not exist (list.List_1) array_resize.MR_scalar_common_4[0] ^ 100 errors gmake[3]: *** [/tmp/mmake.2Cwxsx:2411: array_resize] Error 1 gmake[3]: Target 'array_resize.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_resize.log] Error 1 RUNNING TEST hard_coded/array_sort in grade java FAILED TEST hard_coded/array_shrink in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_shrink.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_shrink Making Mercury/int3s/array_shrink.int3 Making Mercury/ints/array_shrink.int Making Mercury/javas/jmercury/array_shrink.java Making Java class files Mercury/javas/jmercury/array_shrink.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_shrink__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_shrink.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_shrink__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_shrink__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_shrink.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_shrink__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_shrink.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_shrink__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_shrink.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_shrink__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_shrink__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_shrink.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_shrink__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_shrink.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_shrink__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:187: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_shrink.java:190: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_shrink.java:191: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[69]; ^ Mercury/javas/jmercury/array_shrink.java:1363: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_shrink.java:596: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46, ^ Mercury/javas/jmercury/array_shrink.java:616: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46, ^ Mercury/javas/jmercury/array_shrink.java:813: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46, ^ Mercury/javas/jmercury/array_shrink.java:814: error: package list does not exist list.List_1 Elems_5, ^ Mercury/javas/jmercury/array_shrink.java:1064: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_shrink.java:1388: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_shrink.java:1389: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_shrink.java:1153: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_shrink.java:1262: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array_shrink.java:1303: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_shrink.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_shrink"; ^ Mercury/javas/jmercury/array_shrink.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_shrink.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_shrink.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_shrink Mercury/javas/jmercury/array_shrink.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_shrink Mercury/javas/jmercury/array_shrink.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_shrink.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_shrink Mercury/javas/jmercury/array_shrink.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_shrink Mercury/javas/jmercury/array_shrink.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_shrink Mercury/javas/jmercury/array_shrink.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_shrink Mercury/javas/jmercury/array_shrink.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_shrink.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_shrink__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_shrink.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_shrink__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_shrink__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_shrink.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_shrink__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_shrink.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_shrink__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_shrink.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_shrink__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_shrink__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_shrink.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_shrink__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_shrink.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_shrink__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_shrink.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_shrink__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_shrink.java:53: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array_shrink Mercury/javas/jmercury/array_shrink.java:55: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_shrink.java:59: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array_shrink.array__pti_array_1__pseudo_1 ^ Mercury/javas/jmercury/array_shrink.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_shrink.java:65: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_shrink.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_shrink.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:74: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/array_shrink.java:90: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/array_shrink.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_shrink.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_shrink.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/array_shrink.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_shrink.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_shrink.java:187: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_shrink.java:190: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_shrink.java:191: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[69]; ^ Mercury/javas/jmercury/array_shrink.java:196: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_shrink.java:197: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_shrink Mercury/javas/jmercury/array_shrink.java:197: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_shrink.java:198: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:198: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_shrink.java:210: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:210: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_shrink.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_shrink Mercury/javas/jmercury/array_shrink.java:211: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_shrink.java:216: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_shrink.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:220: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_shrink.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:225: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_shrink.java:228: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:230: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/array_shrink.java:233: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:235: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/array_shrink.java:238: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:240: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/array_shrink.java:243: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_shrink.java:245: error: package list does not exist (list.List_1) array_shrink.MR_scalar_common_5[4] ^ 100 errors gmake[3]: *** [/tmp/mmake.TFP9Km:2411: array_shrink] Error 1 gmake[3]: Target 'array_shrink.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_shrink.log] Error 1 RUNNING TEST hard_coded/array_swap in grade java FAILED TEST hard_coded/array_sort in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_sort.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_sort Making Mercury/int3s/array_sort.int3 Making Mercury/ints/array_sort.int Making Mercury/javas/jmercury/array_sort.java Making Java class files Mercury/javas/jmercury/array_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_sort.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_sort.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_sort.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/array_sort.java:142: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:177: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:190: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:234: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:248: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:286: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/array_sort.java:287: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/array_sort.java:288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/array_sort.java:341: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/array_sort.java:354: error: package list does not exist list.List_1 L_4) ^ Mercury/javas/jmercury/array_sort.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_sort.java:472: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/array_sort.java:519: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:521: error: package list does not exist public list.List_1 L_2; ^ Mercury/javas/jmercury/array_sort.java:522: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21; ^ Mercury/javas/jmercury/array_sort.java:523: error: package list does not exist public list.List_1 L1_4; ^ Mercury/javas/jmercury/array_sort.java:529: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:532: error: package list does not exist public list.List_1 conv0_L_2; ^ Mercury/javas/jmercury/array_sort.java:538: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/array_sort.java:540: error: package list does not exist public list.List_1 HeadVar__2_2; ^ Mercury/javas/jmercury/array_sort.java:542: error: package list does not exist public list.List_1 L_8; ^ Mercury/javas/jmercury/array_sort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_sort"; ^ Mercury/javas/jmercury/array_sort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_sort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_sort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_sort Mercury/javas/jmercury/array_sort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_sort Mercury/javas/jmercury/array_sort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_sort.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/array_sort.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_sort.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_sort.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/array_sort.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_sort.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_sort.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_sort.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/array_sort.java:82: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:82: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/array_sort.java:91: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_sort.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:95: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_sort.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:100: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/array_sort.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:105: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/array_sort.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:110: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/array_sort.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:115: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/array_sort.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:120: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/array_sort.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:125: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/array_sort.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:130: error: package list does not exist (list.List_1) array_sort.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/array_sort.java:155: error: package list does not exist list.List_1 L0_3 = (list.List_1) array_sort.MR_scalar_common_6[7]; ^ Mercury/javas/jmercury/array_sort.java:155: error: package list does not exist list.List_1 L0_3 = (list.List_1) array_sort.MR_scalar_common_6[7]; ^ Mercury/javas/jmercury/array_sort.java:157: error: cannot find symbol ((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:157: error: package jmercury.runtime does not exist ((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:171: error: cannot find symbol list.perm_2_p_0(((array_sort.Generate_1_p_0_env_0) env_ptr).TypeCtorInfo_21_21, ((array_sort.Generate_1_p_0_env_0) env_ptr).L1_4, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:197: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Generate_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Generate_1_p_0_env_0) env_ptr).L_2)), ((java.lang.Object) (((array_sort.Generate_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_sort.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_sort.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_sort.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_sort.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/array_sort.java:205: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/array_sort.java:212: error: cannot find symbol conv1_STATE_VARIABLE_IO_1_8 = solutions.unsorted_aggregate_4_p_2(TypeInfo_14_14, TypeCtorInfo_15_15, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class array_sort Mercury/javas/jmercury/array_sort.java:216: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class array_sort Mercury/javas/jmercury/array_sort.java:228: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((array_sort.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:279: error: package list does not exist array_sort.test_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/array_sort.java:302: error: package list does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2 = (list.List_1) array_sort.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/array_sort.java:304: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:309: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/array_sort.java:311: error: package list.List_1 does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/array_sort.java:312: error: package list.List_1 does not exist Var_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/array_sort.java:329: error: package list.List_1 does not exist ((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_sort.java:335: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((array_sort.Sub_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/array_sort.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:357: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_sort Mercury/javas/jmercury/array_sort.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_sort.java:358: error: package list does not exist list.List_1 LS_6 = null; ^ Mercury/javas/jmercury/array_sort.java:359: error: package list does not exist list.List_1 AS_7 = null; ^ Mercury/javas/jmercury/array_sort.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/array_sort.java:367: error: cannot find symbol LS_6 = list.sort_2_p_0(TypeCtorInfo_18_18, L_4); ^ symbol: variable list location: class array_sort Mercury/javas/jmercury/array_sort.java:370: error: cannot find symbol conv0_Var_11 = array.from_list_1_f_0(TypeCtorInfo_18_18, L_4); ^ symbol: variable array location: class array_sort Mercury/javas/jmercury/array_sort.java:374: error: cannot find symbol conv1_Var_10 = array.sort_1_f_0(TypeCtorInfo_18_18, (/* Array */ java.lang.Object) Var_11); ^ symbol: variable array location: class array_sort 100 errors gmake[3]: *** [/tmp/mmake.WbWUmG:2411: array_sort] Error 1 gmake[3]: Target 'array_sort.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_sort.log] Error 1 RUNNING TEST hard_coded/array_test_1 in grade java FAILED TEST hard_coded/array_swap in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_swap.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_swap Making Mercury/int3s/array_swap.int3 Making Mercury/ints/array_swap.int Making Mercury/javas/jmercury/array_swap.java Making Java class files Mercury/javas/jmercury/array_swap.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_swap__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_swap.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_swap__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_swap__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_swap.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_swap__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_swap.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_swap__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_swap.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_swap__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_swap__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_swap.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_swap__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_swap.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_swap__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:187: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_swap.java:188: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_swap.java:191: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_swap.java:192: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[69]; ^ Mercury/javas/jmercury/array_swap.java:1264: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_swap.java:606: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_36, ^ Mercury/javas/jmercury/array_swap.java:821: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_36, ^ Mercury/javas/jmercury/array_swap.java:822: error: package list does not exist list.List_1 Elems_6, ^ Mercury/javas/jmercury/array_swap.java:988: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_swap.java:1289: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/array_swap.java:1290: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/array_swap.java:1077: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/array_swap.java:1186: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/array_swap.java:1204: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/array_swap.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_swap"; ^ Mercury/javas/jmercury/array_swap.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_swap.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_swap.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_swap Mercury/javas/jmercury/array_swap.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_swap Mercury/javas/jmercury/array_swap.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_swap Mercury/javas/jmercury/array_swap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_swap Mercury/javas/jmercury/array_swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_swap Mercury/javas/jmercury/array_swap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_swap Mercury/javas/jmercury/array_swap.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_swap.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__pseudo_array__pti_array_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] array_swap__field_types_color_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/array_swap.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc array_swap__du_functor_desc_color_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_swap__du_stag_ordered_color_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_swap.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] array_swap__du_ptag_ordered_color_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/array_swap.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] array_swap__du_name_ordered_color_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/array_swap.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_swap__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc array_swap__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/array_swap.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_swap__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_swap.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] array_swap__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/array_swap.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct array_swap__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/array_swap.java:53: error: cannot find symbol array.array__type_ctor_info_array_1, ^ symbol: variable array location: class array_swap Mercury/javas/jmercury/array_swap.java:55: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/array_swap.java:59: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) array_swap.array__pti_array_1__pseudo_1 ^ Mercury/javas/jmercury/array_swap.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_swap.java:65: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_swap.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ Mercury/javas/jmercury/array_swap.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0; ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:74: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/array_swap.java:90: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/array_swap.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_swap.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_swap.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/array_swap.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/array_swap.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/array_swap.java:187: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_swap.java:188: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/array_swap.java:191: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/array_swap.java:192: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[69]; ^ Mercury/javas/jmercury/array_swap.java:197: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_swap.java:198: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class array_swap Mercury/javas/jmercury/array_swap.java:198: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/array_swap.java:199: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:199: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_swap.java:202: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/array_swap.java:203: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/array_swap.java:204: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/array_swap.java:205: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/array_swap.java:206: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/array_swap.java:207: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/array_swap.java:219: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:219: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/array_swap.java:220: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:220: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_swap.java:221: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class array_swap Mercury/javas/jmercury/array_swap.java:221: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/array_swap.java:226: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_swap.java:228: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_swap.java:230: error: package list does not exist (list.List_1) array_swap.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/array_swap.java:233: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.wCoMc8:2411: array_swap] Error 1 gmake[3]: Target 'array_swap.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_swap.log] Error 1 RUNNING TEST hard_coded/array_test_2 in grade java FAILED TEST hard_coded/array_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test_1 Making Mercury/int3s/array_test_1.int3 Making Mercury/ints/array_test_1.int Making Mercury/javas/jmercury/array_test_1.java Making Java class files Mercury/javas/jmercury/array_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_test_1"; ^ Mercury/javas/jmercury/array_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_test_1.java:39: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ Mercury/javas/jmercury/array_test_1.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ symbol: variable bool location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ Mercury/javas/jmercury/array_test_1.java:52: error: cannot find symbol succeeded = array.__Unify____array_1_0(TypeCtorInfo_4_4, (/* Array */ java.lang.Object) X_2, (/* Array */ java.lang.Object) X_3); ^ symbol: variable array location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ Mercury/javas/jmercury/array_test_1.java:63: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ symbol: variable bool location: class array_test_1 Mercury/javas/jmercury/array_test_1.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ Mercury/javas/jmercury/array_test_1.java:66: error: cannot find symbol succeeded = array.__Unify____array_1_0(TypeCtorInfo_4_4, (/* Array */ java.lang.Object) X_2, (/* Array */ java.lang.Object) X_3); ^ symbol: variable array location: class array_test_1 20 errors gmake[3]: *** [/tmp/mmake.gcGfId:2411: array_test_1] Error 1 gmake[3]: Target 'array_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_test_1.log] Error 1 RUNNING TEST hard_coded/array_unify_compare in grade java FAILED TEST hard_coded/array_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_test_2 Making Mercury/int3s/array_test_2.int3 Making Mercury/ints/array_test_2.int Making Mercury/javas/jmercury/array_test_2.java Making Java class files Mercury/javas/jmercury/array_test_2.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/array_test_2.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[25]; ^ Mercury/javas/jmercury/array_test_2.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_101, ^ Mercury/javas/jmercury/array_test_2.java:213: error: package list does not exist list.List_1 List_4) ^ Mercury/javas/jmercury/array_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_test_2"; ^ Mercury/javas/jmercury/array_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_test_2.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/array_test_2.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[25]; ^ Mercury/javas/jmercury/array_test_2.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_test_2.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:41: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_test_2.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:46: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_test_2.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:51: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/array_test_2.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:56: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/array_test_2.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:61: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/array_test_2.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:66: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_test_2.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:71: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/array_test_2.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:76: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/array_test_2.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:81: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/array_test_2.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:86: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/array_test_2.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:91: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_test_2.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:96: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/array_test_2.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:101: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/array_test_2.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:106: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/array_test_2.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:111: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[13] ^ Mercury/javas/jmercury/array_test_2.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:115: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/array_test_2.java:115: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/array_test_2.java:116: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_test_2.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:120: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:120: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:121: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[15] ^ Mercury/javas/jmercury/array_test_2.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:125: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:125: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:126: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[16] ^ Mercury/javas/jmercury/array_test_2.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:130: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/array_test_2.java:130: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/array_test_2.java:131: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[17] ^ Mercury/javas/jmercury/array_test_2.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:135: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:135: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/array_test_2.java:136: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[18] ^ Mercury/javas/jmercury/array_test_2.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:141: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/array_test_2.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:146: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[20] ^ Mercury/javas/jmercury/array_test_2.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:151: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[21] ^ Mercury/javas/jmercury/array_test_2.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:156: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[22] ^ Mercury/javas/jmercury/array_test_2.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_test_2.java:161: error: package list does not exist (list.List_1) array_test_2.MR_scalar_common_2[23] ^ Mercury/javas/jmercury/array_test_2.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_test_2.java:174: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_test_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_67_67 = null; ^ Mercury/javas/jmercury/array_test_2.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_68_68 = null; ^ Mercury/javas/jmercury/array_test_2.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_69_69 = null; ^ Mercury/javas/jmercury/array_test_2.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_70_70 = null; ^ Mercury/javas/jmercury/array_test_2.java:179: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_test_2.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/array_test_2.java:179: error: package list does not exist list.List_1 Var_6 = (list.List_1) array_test_2.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/array_test_2.java:180: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/array_test_2.java:181: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/array_test_2.java:182: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/array_test_2.java:183: error: package list does not exist list.List_1 Var_54 = null; ^ Mercury/javas/jmercury/array_test_2.java:188: error: package list does not exist Var_18 = (list.List_1) array_test_2.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/array_test_2.java:189: error: cannot find symbol TypeCtorInfo_67_67 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:189: error: package jmercury.runtime does not exist TypeCtorInfo_67_67 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/array_test_2.java:193: error: package list does not exist Var_30 = (list.List_1) array_test_2.MR_scalar_common_2[14]; ^ Mercury/javas/jmercury/array_test_2.java:194: error: cannot find symbol TypeCtorInfo_68_68 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:194: error: package jmercury.runtime does not exist TypeCtorInfo_68_68 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/array_test_2.java:198: error: package list does not exist Var_42 = (list.List_1) array_test_2.MR_scalar_common_2[19]; ^ Mercury/javas/jmercury/array_test_2.java:199: error: cannot find symbol TypeCtorInfo_69_69 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ symbol: variable bool location: class array_test_2 Mercury/javas/jmercury/array_test_2.java:199: error: package jmercury.runtime does not exist TypeCtorInfo_69_69 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.ySQYiA:2411: array_test_2] Error 1 gmake[3]: Target 'array_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_test_2.log] Error 1 RUNNING TEST hard_coded/bad_indirect_reuse_3 in grade java FAILED TEST hard_coded/array_unify_compare in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_unify_compare.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - array_unify_compare Making Mercury/int3s/array_unify_compare.int3 Making Mercury/ints/array_unify_compare.int Making Mercury/javas/jmercury/array_unify_compare.java Making Java class files Mercury/javas/jmercury/array_unify_compare.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_unify_compare.java:33: 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/array_unify_compare.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[9]; ^ Mercury/javas/jmercury/array_unify_compare.java:100: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/array_unify_compare.java:179: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/array_unify_compare.java:280: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/array_unify_compare.java:281: error: package list does not exist list.List_1 Bs_2) ^ Mercury/javas/jmercury/array_unify_compare.java:313: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/array_unify_compare.java:314: error: package list does not exist list.List_1 Bs_2) ^ Mercury/javas/jmercury/array_unify_compare.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "array_unify_compare"; ^ Mercury/javas/jmercury/array_unify_compare.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/array_unify_compare.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/array_unify_compare.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/array_unify_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/array_unify_compare.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/array_unify_compare.java:33: 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/array_unify_compare.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[9]; ^ Mercury/javas/jmercury/array_unify_compare.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/array_unify_compare.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/array_unify_compare.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/array_unify_compare.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/array_unify_compare.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:47: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_unify_compare.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:51: error: package list does not exist ((java.lang.Object) ((list.List_1) array_unify_compare.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/array_unify_compare.java:52: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_unify_compare.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:57: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/array_unify_compare.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:62: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/array_unify_compare.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:66: error: package list does not exist ((java.lang.Object) ((list.List_1) array_unify_compare.MR_scalar_common_3[3])), ^ Mercury/javas/jmercury/array_unify_compare.java:67: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/array_unify_compare.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:72: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/array_unify_compare.java:75: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:76: error: package list does not exist ((java.lang.Object) ((list.List_1) array_unify_compare.MR_scalar_common_3[5])), ^ Mercury/javas/jmercury/array_unify_compare.java:77: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/array_unify_compare.java:80: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:81: error: package list does not exist ((java.lang.Object) ((list.List_1) array_unify_compare.MR_scalar_common_3[2])), ^ Mercury/javas/jmercury/array_unify_compare.java:82: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/array_unify_compare.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/array_unify_compare.java:86: error: package list does not exist ((java.lang.Object) ((list.List_1) array_unify_compare.MR_scalar_common_2[0])), ^ Mercury/javas/jmercury/array_unify_compare.java:87: error: package list does not exist (list.List_1) array_unify_compare.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/array_unify_compare.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_unify_compare.java:107: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_unify_compare.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_30_30 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:110: error: package list does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:110: error: package list does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:110: error: package list.List_1 does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:111: error: package list does not exist list.List_1 Bs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/array_unify_compare.java:111: error: package list.List_1 does not exist list.List_1 Bs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/array_unify_compare.java:113: error: package builtin does not exist builtin.Comparison_result_0 Result_14 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:122: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:125: error: cannot find symbol conv0_ArrayB_13 = array.array_1_f_0(TypeCtorInfo_29_29, B_10); ^ symbol: variable array location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:128: error: package jmercury.runtime does not exist TypeInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_unify_compare.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_unify_compare.java:130: error: cannot find symbol Result_14 = builtin.compare_3_p_0(TypeInfo_30_30, ((java.lang.Object) (ArrayA_1)), ((java.lang.Object) (ArrayB_13))); ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:133: error: cannot find symbol Var_21 = string.string_1_f_0(TypeInfo_30_30, ((java.lang.Object) (ArrayA_1))); ^ symbol: variable string location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:136: error: cannot find symbol Var_24 = string.string_1_f_0(TypeInfo_30_30, ((java.lang.Object) (ArrayB_13))); ^ symbol: variable string location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:138: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_comparison_result_0); ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:138: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_comparison_result_0); ^ Mercury/javas/jmercury/array_unify_compare.java:140: error: cannot find symbol Var_27 = string.string_1_f_0(TypeCtorInfo_31_31, ((java.lang.Object) (Result_14))); ^ symbol: variable string location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:144: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:147: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:151: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:154: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:158: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:161: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:165: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_unify_compare.java:188: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_unify_compare.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:190: error: package list does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:190: error: package list does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:190: error: package list.List_1 does not exist list.List_1 B_10 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__2_2).F1); ^ Mercury/javas/jmercury/array_unify_compare.java:191: error: package list does not exist list.List_1 Bs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/array_unify_compare.java:191: error: package list.List_1 does not exist list.List_1 Bs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/array_unify_compare.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:202: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/array_unify_compare.java:205: error: cannot find symbol conv0_ArrayB_13 = array.array_1_f_0(TypeCtorInfo_28_28, B_10); ^ symbol: variable array location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:208: error: cannot find symbol TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:208: error: package jmercury.runtime does not exist TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/array_unify_compare.java:210: error: cannot find symbol succeeded = array.__Unify____array_1_0(TypeCtorInfo_40_40, (/* Array */ java.lang.Object) ArrayA_1, (/* Array */ java.lang.Object) ArrayB_13); ^ symbol: variable array location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:216: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(array_unify_compare.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/array_unify_compare.java:218: error: cannot find symbol Var_21 = string.string_1_f_0(TypeInfo_29_29, ((java.lang.Object) (ArrayA_1))); ^ symbol: variable string location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:221: error: cannot find symbol Var_24 = string.string_1_f_0(TypeInfo_29_29, ((java.lang.Object) (ArrayB_13))); ^ symbol: variable string location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:225: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:228: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class array_unify_compare Mercury/javas/jmercury/array_unify_compare.java:232: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class array_unify_compare 100 errors gmake[3]: *** [/tmp/mmake.pmYSx9:2411: array_unify_compare] Error 1 gmake[3]: Target 'array_unify_compare.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: array_unify_compare.log] Error 1 RUNNING TEST hard_coded/bad_indirect_reuse_4 in grade java FAILED TEST hard_coded/bad_indirect_reuse_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_3 Making Mercury/int3s/bad_indirect_reuse_3.int3 Making Mercury/ints/bad_indirect_reuse_3.int Making Mercury/javas/jmercury/bad_indirect_reuse_3.java Making Java class files Mercury/javas/jmercury/bad_indirect_reuse_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_3__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_3__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_3__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_3__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_3__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_3__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_3__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_3__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:166: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:587: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:564: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:267: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:348: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:504: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bad_indirect_reuse_3"; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_3__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_3__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_3__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_3__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_3__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_3__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_3__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_3__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_3__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bad_indirect_reuse_3.bad_indirect_reuse_3__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:59: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:75: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:106: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:106: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:108: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:108: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:113: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:121: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:129: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:148: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:166: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:172: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:172: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:173: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_3.bad_indirect_reuse_3__type_ctor_info_foo_0))), ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:174: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_3.bad_indirect_reuse_3__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_3.bad_indirect_reuse_3__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_3.bad_indirect_reuse_3__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:205: error: cannot find symbol conv0_A_4 = builtin.copy_2_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Var_10))); ^ symbol: variable builtin location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:228: error: package jmercury.runtime does not exist TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_3.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:230: error: cannot find symbol io.write_line_3_p_0(TypeInfo_17_17, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class bad_indirect_reuse_3 Mercury/javas/jmercury/bad_indirect_reuse_3.java:273: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:279: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:288: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:292: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:297: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:299: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:301: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:306: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:311: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:318: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:323: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:325: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:339: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:354: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:360: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:367: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:371: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:376: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:378: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:380: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:387: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:392: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:394: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_3.java:407: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.NiQ77v:2411: bad_indirect_reuse_3] Error 1 gmake[3]: Target 'bad_indirect_reuse_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bad_indirect_reuse_3.log] Error 1 RUNNING TEST hard_coded/bag_various in grade java FAILED TEST hard_coded/bad_indirect_reuse_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --no-common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bad_indirect_reuse_4 Making Mercury/int3s/bad_indirect_reuse_4.int3 Making Mercury/ints/bad_indirect_reuse_4.int Making Mercury/javas/jmercury/bad_indirect_reuse_4.java Making Java class files Mercury/javas/jmercury/bad_indirect_reuse_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_hide_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_hide_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_hide_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_hide_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_hide_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_hide_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:473: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:227: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:493: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:295: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:413: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bad_indirect_reuse_4"; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bad_indirect_reuse_4__field_types_hide_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bad_indirect_reuse_4__du_functor_desc_hide_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_stag_ordered_hide_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bad_indirect_reuse_4__du_ptag_ordered_hide_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bad_indirect_reuse_4__du_name_ordered_hide_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bad_indirect_reuse_4__type_ctor_info_hide_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:57: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:73: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:104: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:109: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:117: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:125: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:144: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:147: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:190: error: cannot find symbol conv0_U_4 = builtin.copy_2_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_9))); ^ symbol: variable builtin location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:201: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(bad_indirect_reuse_4.bad_indirect_reuse_4__type_ctor_info_hide_0); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:203: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (H_5))); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:206: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (X_6))); ^ symbol: variable io location: class bad_indirect_reuse_4 Mercury/javas/jmercury/bad_indirect_reuse_4.java:233: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:239: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:246: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:250: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:255: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:257: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:259: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:266: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:271: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:273: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:286: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:301: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:307: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:326: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bad_indirect_reuse_4.java:460: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 81 errors gmake[3]: *** [/tmp/mmake.XBx7QO:2411: bad_indirect_reuse_4] Error 1 gmake[3]: Target 'bad_indirect_reuse_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bad_indirect_reuse_4.log] Error 1 RUNNING TEST hard_coded/bidirectional in grade java FAILED TEST hard_coded/bag_various in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bag_various.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bag_various Making Mercury/int3s/bag_various.int3 Making Mercury/ints/bag_various.int Making Mercury/javas/jmercury/bag_various.java Making Java class files Mercury/javas/jmercury/bag_various.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/bag_various.java:65: 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/bag_various.java:66: 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[8]; ^ Mercury/javas/jmercury/bag_various.java:162: error: package bag does not exist bag.Bag_1 Bag_3, ^ Mercury/javas/jmercury/bag_various.java:163: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bag_various.java:216: error: package bag does not exist bag.Bag_1 arg2, ^ Mercury/javas/jmercury/bag_various.java:470: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bag_various.java:494: error: package bag does not exist bag.Bag_1 Bag0_6) ^ Mercury/javas/jmercury/bag_various.java:556: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bag_various.java:575: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bag_various.java:622: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bag_various.java:625: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8; ^ Mercury/javas/jmercury/bag_various.java:627: error: package bag does not exist public bag.Bag_1 BagMinusM_6; ^ Mercury/javas/jmercury/bag_various.java:628: error: package list does not exist public list.List_1 Var_7; ^ Mercury/javas/jmercury/bag_various.java:635: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bag_various.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bag_various"; ^ Mercury/javas/jmercury/bag_various.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bag_various.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bag_various.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bag_various Mercury/javas/jmercury/bag_various.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bag_various Mercury/javas/jmercury/bag_various.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bag_various.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bag_various Mercury/javas/jmercury/bag_various.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bag_various Mercury/javas/jmercury/bag_various.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bag_various Mercury/javas/jmercury/bag_various.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bag_various Mercury/javas/jmercury/bag_various.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bag_various.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bag_various.java:39: error: cannot find symbol bag.bag__type_ctor_info_bag_1, ^ symbol: variable bag location: class bag_various Mercury/javas/jmercury/bag_various.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bag_various.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bag_various Mercury/javas/jmercury/bag_various.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/bag_various.java:51: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bag_various.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bag_various.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bag_various.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/bag_various.java:65: 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/bag_various.java:66: 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[8]; ^ Mercury/javas/jmercury/bag_various.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bag_various Mercury/javas/jmercury/bag_various.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bag_various.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bag_various.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class bag_various Mercury/javas/jmercury/bag_various.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/bag_various.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/bag_various.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bag_various.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:83: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bag_various Mercury/javas/jmercury/bag_various.java:83: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bag_various.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bag_various.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/bag_various.java:87: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:88: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:88: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bag_various.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/bag_various.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bag_various.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/bag_various.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bag_various Mercury/javas/jmercury/bag_various.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bag_various.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bag_various.MR_scalar_common_1[3]))) ^ Mercury/javas/jmercury/bag_various.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bag_various.java:99: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bag_various Mercury/javas/jmercury/bag_various.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bag_various.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/bag_various.java:103: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bag_various.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:107: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bag_various.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:112: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bag_various.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:117: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bag_various.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:122: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bag_various.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:127: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bag_various.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:132: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bag_various.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:137: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bag_various.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bag_various.java:142: error: package list does not exist (list.List_1) bag_various.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bag_various.java:175: error: cannot find symbol ((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bag_various Mercury/javas/jmercury/bag_various.java:175: error: package jmercury.runtime does not exist ((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bag_various.java:177: error: cannot find symbol bag.member_3_p_0(((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).TypeCtorInfo_8_8, Bag_3, new AddrOf3_0(0), env_ptr); ^ symbol: variable bag location: class bag_various Mercury/javas/jmercury/bag_various.java:188: error: cannot find symbol ((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).Var_7 = bag.to_list_1_f_0(((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).TypeCtorInfo_8_8, ((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).BagMinusM_6); ^ symbol: variable bag location: class bag_various Mercury/javas/jmercury/bag_various.java:197: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).O_4)), ((java.lang.Object) (((bag_various.Bag_member_test_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bag_various.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_75_75 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bag_various.java:232: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_75_75 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bag_various 100 errors gmake[3]: *** [/tmp/mmake.nrFkoS:2411: bag_various] Error 1 gmake[3]: Target 'bag_various.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bag_various.log] Error 1 RUNNING TEST hard_coded/big_array_from_list in grade java FAILED TEST hard_coded/bidirectional in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bidirectional.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bidirectional Making Mercury/int3s/bidirectional.int3 Making Mercury/ints/bidirectional.int Making Mercury/javas/jmercury/bidirectional.java Making Java class files Mercury/javas/jmercury/bidirectional.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_ordinal_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_name_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bidirectional__type_ctor_info_rw_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bidirectional.java:88: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:89: 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/bidirectional.java:385: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bidirectional.java:386: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bidirectional.java:107: error: package list does not exist list.List_1 List_6) ^ Mercury/javas/jmercury/bidirectional.java:160: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bidirectional.java:277: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bidirectional.java:341: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bidirectional.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bidirectional"; ^ Mercury/javas/jmercury/bidirectional.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bidirectional.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bidirectional.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bidirectional Mercury/javas/jmercury/bidirectional.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bidirectional Mercury/javas/jmercury/bidirectional.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bidirectional.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bidirectional.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bidirectional__enum_functor_desc_rw_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bidirectional.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_ordinal_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bidirectional__enum_name_ordered_rw_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bidirectional.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bidirectional__type_ctor_info_rw_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bidirectional.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bidirectional.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bidirectional.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bidirectional.java:88: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bidirectional.java:89: 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/bidirectional.java:93: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/bidirectional.java:95: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bidirectional.java:111: error: package maybe does not exist maybe.Maybe_1 Val_8 = null; ^ Mercury/javas/jmercury/bidirectional.java:115: error: package maybe does not exist Val_8 = (maybe.Maybe_1) bidirectional.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bidirectional.java:118: error: package list.List_1 does not exist int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_6).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:118: error: illegal start of type int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_6).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:121: error: package maybe.Maybe_1 does not exist Val_8 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/bidirectional.java:131: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:137: error: package maybe.Maybe_1 does not exist int X_25 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:137: error: illegal start of type int X_25 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:140: error: cannot find symbol io.write_int_3_p_0(X_25); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:144: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:149: error: package list does not exist list.List_1 Xs_13 = ((list.List_1.F_cons_2) List_6).F2; ^ Mercury/javas/jmercury/bidirectional.java:149: error: package list.List_1 does not exist list.List_1 Xs_13 = ((list.List_1.F_cons_2) List_6).F2; ^ Mercury/javas/jmercury/bidirectional.java:150: error: package list does not exist list.List_1 next_value_of_List_6 = Xs_13; ^ Mercury/javas/jmercury/bidirectional.java:165: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/bidirectional.java:166: error: package maybe does not exist maybe.Maybe_1 Val_8 = null; ^ Mercury/javas/jmercury/bidirectional.java:167: error: package io does not exist io.Result_1 MaybeLine_18 = null; ^ Mercury/javas/jmercury/bidirectional.java:168: error: package io does not exist io.Result_1 Result0_26 = null; ^ Mercury/javas/jmercury/bidirectional.java:169: error: package list does not exist list.List_1 LineRev_28 = null; ^ Mercury/javas/jmercury/bidirectional.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_32 = null; ^ Mercury/javas/jmercury/bidirectional.java:171: error: package list does not exist list.List_1 Line0_27 = null; ^ Mercury/javas/jmercury/bidirectional.java:172: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/bidirectional.java:176: error: package list does not exist list.List_1 Chars_19 = null; ^ Mercury/javas/jmercury/bidirectional.java:180: error: cannot find symbol Result0_26 = io.read_line_3_p_0(); ^ symbol: variable io location: class bidirectional Mercury/javas/jmercury/bidirectional.java:185: error: package list does not exist Line0_27 = ((list.List_1) ((io.Result_1.Ok_1) Result0_26).F1); ^ Mercury/javas/jmercury/bidirectional.java:185: error: package io.Result_1 does not exist Line0_27 = ((list.List_1) ((io.Result_1.Ok_1) Result0_26).F1); ^ Mercury/javas/jmercury/bidirectional.java:187: error: cannot find symbol TypeCtorInfo_15_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class bidirectional Mercury/javas/jmercury/bidirectional.java:187: error: package jmercury.runtime does not exist TypeCtorInfo_15_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:189: error: cannot find symbol Var_30 = list.reverse_2_p_0(TypeCtorInfo_15_32, Line0_27); ^ symbol: variable list location: class bidirectional Mercury/javas/jmercury/bidirectional.java:194: error: package list.List_1 does not exist Var_34 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_30).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:194: error: illegal start of type Var_34 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_30).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:195: error: package list.List_1 does not exist LineRev_28 = ((list.List_1.F_cons_2) Var_30).F2; ^ Mercury/javas/jmercury/bidirectional.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:201: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class bidirectional Mercury/javas/jmercury/bidirectional.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/bidirectional.java:202: error: package list does not exist list.List_1 Line_29 = null; ^ Mercury/javas/jmercury/bidirectional.java:205: error: cannot find symbol Line_29 = list.reverse_2_p_0(TypeCtorInfo_16_33, LineRev_28); ^ symbol: variable list location: class bidirectional Mercury/javas/jmercury/bidirectional.java:208: error: package io.Result_1 does not exist MaybeLine_18 = new io.Result_1.Ok_1( ^ Mercury/javas/jmercury/bidirectional.java:218: error: package list does not exist Chars_19 = ((list.List_1) ((io.Result_1.Ok_1) MaybeLine_18).F1); ^ Mercury/javas/jmercury/bidirectional.java:218: error: package io.Result_1 does not exist Chars_19 = ((list.List_1) ((io.Result_1.Ok_1) MaybeLine_18).F1); ^ Mercury/javas/jmercury/bidirectional.java:220: error: cannot find symbol Line_20 = string.from_char_list_2_p_0(Chars_19); ^ symbol: variable string location: class bidirectional Mercury/javas/jmercury/bidirectional.java:223: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(Line_20); ^ symbol: variable string location: class bidirectional Mercury/javas/jmercury/bidirectional.java:230: error: package maybe.Maybe_1 does not exist Val_8 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/bidirectional.java:235: error: package maybe does not exist Val_8 = (maybe.Maybe_1) bidirectional.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bidirectional.java:237: error: package list does not exist List_6 = (list.List_1) bidirectional.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/bidirectional.java:240: error: package maybe.Maybe_1 does not exist int X_9 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:240: error: illegal start of type int X_9 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) Val_8).F1)).intValue(); ^ Mercury/javas/jmercury/bidirectional.java:243: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bidirectional.java:251: error: package list does not exist list.List_1 Xs_13 = null; ^ Mercury/javas/jmercury/bidirectional.java:256: error: package list.List_1 does not exist ((list.List_1.F_cons_2) List_6).F2 = Xs_13; ^ Mercury/javas/jmercury/bidirectional.java:264: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/bidirectional.java:283: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bidirectional.java:284: 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 Rw_0 Mercury/javas/jmercury/bidirectional.java:285: 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 Rw_0 Mercury/javas/jmercury/bidirectional.java:289: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bidirectional.java:294: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bidirectional.java:296: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bidirectional.java:307: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bidirectional.java:321: 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 Rw_0 Mercury/javas/jmercury/bidirectional.java:321: 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 Rw_0 Mercury/javas/jmercury/bidirectional.java:370: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 96 errors gmake[3]: *** [/tmp/mmake.87QHG7:2411: bidirectional] Error 1 gmake[3]: Target 'bidirectional.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bidirectional.log] Error 1 RUNNING TEST hard_coded/bigtest in grade java FAILED TEST hard_coded/big_array_from_list in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-tailcalls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - big_array_from_list.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-tailcalls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - big_array_from_list Making Mercury/int3s/big_array_from_list.int3 Making Mercury/ints/big_array_from_list.int Making Mercury/javas/jmercury/big_array_from_list.java Making Java class files Mercury/javas/jmercury/big_array_from_list.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/big_array_from_list.java:70: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/big_array_from_list.java:71: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/big_array_from_list.java:218: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/big_array_from_list.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "big_array_from_list"; ^ Mercury/javas/jmercury/big_array_from_list.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/big_array_from_list.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/big_array_from_list.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/big_array_from_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/big_array_from_list.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/big_array_from_list.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/big_array_from_list.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/big_array_from_list.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/big_array_from_list.java:53: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/big_array_from_list.java:54: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/big_array_from_list.java:55: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/big_array_from_list.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/big_array_from_list.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/big_array_from_list.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/big_array_from_list.java:84: error: package list.List_1 does not exist java.lang.Object Head_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/big_array_from_list.java:85: error: package list does not exist list.List_1 Tail_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/big_array_from_list.java:85: error: package list.List_1 does not exist list.List_1 Tail_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/big_array_from_list.java:89: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/big_array_from_list.java:94: error: cannot find symbol Array1_12 = array.set_4_p_0(TypeInfo_for_T_15, HeadVar__2_2, Head_7, HeadVar__3_3); ^ symbol: variable array location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/big_array_from_list.java:115: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/big_array_from_list.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_31 = null; ^ Mercury/javas/jmercury/big_array_from_list.java:129: error: cannot find symbol List_4 = list.f_46_46_2_f_0(Var_9, Var_10); ^ symbol: variable list location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:131: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:131: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/big_array_from_list.java:137: error: cannot find symbol conv0_Array_5 = array.make_empty_array_1_p_0(TypeCtorInfo_18_18); ^ symbol: variable array location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:143: error: package list.List_1 does not exist int Head_36 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_4).F1)).intValue(); ^ Mercury/javas/jmercury/big_array_from_list.java:143: error: illegal start of type int Head_36 = ((java.lang.Integer) (((list.List_1.F_cons_2) List_4).F1)).intValue(); ^ Mercury/javas/jmercury/big_array_from_list.java:144: error: package list does not exist list.List_1 Tail_37 = ((list.List_1.F_cons_2) List_4).F2; ^ Mercury/javas/jmercury/big_array_from_list.java:144: error: package list.List_1 does not exist list.List_1 Tail_37 = ((list.List_1.F_cons_2) List_4).F2; ^ Mercury/javas/jmercury/big_array_from_list.java:152: error: cannot find symbol Len_38 = list.length_2_p_0(TypeCtorInfo_18_18, List_4); ^ symbol: variable list location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:155: error: cannot find symbol conv1_Array0_39 = array.init_3_p_0(TypeCtorInfo_18_18, Len_38, java.lang.Integer.valueOf(Head_36)); ^ symbol: variable array location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:167: error: cannot find symbol conv4_NumElems_6 = array.foldl_3_f_0(TypeCtorInfo_18_18, TypeCtorInfo_18_18, Var_11, (/* Array */ java.lang.Object) Array_5, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable array location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:172: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:174: error: package string__parse_util does not exist Var_31 = (string__parse_util.String_format_flags_0) big_array_from_list.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/big_array_from_list.java:176: error: cannot find symbol Var_25 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_31, NumElems_6); ^ symbol: variable string__format location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:179: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class big_array_from_list Mercury/javas/jmercury/big_array_from_list.java:183: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class big_array_from_list 52 errors gmake[3]: *** [/tmp/mmake.pdkk1V:2411: big_array_from_list] Error 1 gmake[3]: Target 'big_array_from_list.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: big_array_from_list.log] Error 1 RUNNING TEST hard_coded/bimap_set_bug in grade java FAILED TEST hard_coded/bimap_set_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bimap_set_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bimap_set_bug Making Mercury/int3s/bimap_set_bug.int3 Making Mercury/ints/bimap_set_bug.int Making Mercury/javas/jmercury/bimap_set_bug.java Making Java class files Mercury/javas/jmercury/bimap_set_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_ordinal_ordered_element_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_name_ordered_element_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bimap_set_bug__type_ctor_info_element_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bimap_set_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_ordinal_ordered_symbol_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_name_ordered_symbol_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bimap_set_bug__type_ctor_info_symbol_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bimap_set_bug.java:332: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/bimap_set_bug.java:683: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bimap_set_bug.java:684: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bimap_set_bug.java:495: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bimap_set_bug.java:704: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bimap_set_bug.java:705: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bimap_set_bug.java:534: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bimap_set_bug.java:621: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bimap_set_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bimap_set_bug"; ^ Mercury/javas/jmercury/bimap_set_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bimap_set_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bimap_set_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bimap_set_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bimap_set_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_element_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_ordinal_ordered_element_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_name_ordered_element_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bimap_set_bug__type_ctor_info_element_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bimap_set_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bimap_set_bug__enum_functor_desc_symbol_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bimap_set_bug.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_ordinal_ordered_symbol_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bimap_set_bug__enum_name_ordered_symbol_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/bimap_set_bug.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bimap_set_bug__type_ctor_info_symbol_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bimap_set_bug.java:179: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bimap_set_bug.java:184: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bimap_set_bug.java:187: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bimap_set_bug.java:309: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bimap_set_bug.java:314: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bimap_set_bug.java:317: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bimap_set_bug.java:332: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/bimap_set_bug.java:337: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bimap_set_bug.java:338: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:338: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/bimap_set_bug.java:339: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_element_0))), ^ Mercury/javas/jmercury/bimap_set_bug.java:340: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_symbol_0))) ^ Mercury/javas/jmercury/bimap_set_bug.java:343: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bimap_set_bug.java:344: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:344: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/bimap_set_bug.java:345: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_symbol_0))), ^ Mercury/javas/jmercury/bimap_set_bug.java:346: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_element_0))) ^ Mercury/javas/jmercury/bimap_set_bug.java:350: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:351: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class bimap_set_bug Mercury/javas/jmercury/bimap_set_bug.java:351: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/bimap_set_bug.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_element_0); ^ Mercury/javas/jmercury/bimap_set_bug.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_element_0); ^ Mercury/javas/jmercury/bimap_set_bug.java:365: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_symbol_0); ^ Mercury/javas/jmercury/bimap_set_bug.java:365: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(bimap_set_bug.bimap_set_bug__type_ctor_info_symbol_0); ^ Mercury/javas/jmercury/bimap_set_bug.java:366: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_50_50 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.2w14G0:2411: bimap_set_bug] Error 1 gmake[3]: Target 'bimap_set_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bimap_set_bug.log] Error 1 RUNNING TEST hard_coded/binary_stdin in grade java FAILED TEST hard_coded/binary_stdin in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - binary_stdin.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - binary_stdin Making Mercury/int3s/binary_stdin.int3 Making Mercury/ints/binary_stdin.int Making Mercury/javas/jmercury/binary_stdin.java Making Java class files Mercury/javas/jmercury/binary_stdin.java:286: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/binary_stdin.java:383: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/binary_stdin.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "binary_stdin"; ^ Mercury/javas/jmercury/binary_stdin.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/binary_stdin.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/binary_stdin.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/binary_stdin.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/binary_stdin.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdin.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdin.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdin.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_input_stream_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_input_stream_0)), ^ Mercury/javas/jmercury/binary_stdin.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdin.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdin.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdin.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdin.java:73: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdin.java:74: error: package io does not exist io.Binary_input_stream_0 Stream_4 = null; ^ Mercury/javas/jmercury/binary_stdin.java:82: error: package io does not exist io.Result_1 Res_22 = null; ^ Mercury/javas/jmercury/binary_stdin.java:87: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_10 = mr_int.fold_up_5_p_2(TypeCtorInfo_21_21, Var_7, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:90: error: cannot find symbol Stream_4 = io.stdin_binary_stream_3_p_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:103: error: cannot find symbol conv1_STATE_VARIABLE_IO_3_15 = mr_int.fold_up_5_p_2(TypeCtorInfo_21_21, Var_12, Var_13, Var_14, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:106: error: cannot find symbol Res_22 = io.read_byte_4_p_0(Stream_4); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:108: error: illegal start of type switch (Res_22.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:115: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:119: error: cannot find symbol io.set_exit_status_3_p_0(Var_28); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:129: error: package io does not exist io.Error_0 Error_24 = ((io.Result_1.Error_1) Res_22).F1; ^ Mercury/javas/jmercury/binary_stdin.java:129: error: package io.Result_1 does not exist io.Error_0 Error_24 = ((io.Result_1.Error_1) Res_22).F1; ^ Mercury/javas/jmercury/binary_stdin.java:130: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/binary_stdin.java:135: error: cannot find symbol Var_29 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:138: error: cannot find symbol Var_30 = io.error_message_1_f_0(Error_24); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:141: error: cannot find symbol io.write_string_4_p_0(Var_29, Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:145: error: cannot find symbol io.set_exit_status_3_p_0(Var_32); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:150: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:154: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:183: error: package io does not exist binary_stdin.read_byte_test_4_p_0(((io.Binary_input_stream_0) ((java.lang.Object[]) closure)[3]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/binary_stdin.java:193: error: package io does not exist io.Result_1 Res_6 = null; ^ Mercury/javas/jmercury/binary_stdin.java:196: error: cannot find symbol Res_6 = io.read_byte_3_p_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:198: error: illegal start of type switch (Res_6.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:201: error: package io.Result_1 does not exist int ReadByte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_6).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:201: error: illegal start of type int ReadByte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_6).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:206: error: package io does not exist io.Text_output_stream_0 Stderr_8 = null; ^ Mercury/javas/jmercury/binary_stdin.java:212: error: cannot find symbol Stderr_8 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:216: error: cannot find symbol io.write_string_4_p_0(Stderr_8, Var_13); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:219: error: cannot find symbol io.write_int_4_p_0(Stderr_8, ExpectedByte_4); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:223: error: cannot find symbol io.write_string_4_p_0(Stderr_8, Var_16); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:226: error: cannot find symbol io.write_int_4_p_0(Stderr_8, ReadByte_7); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:229: error: cannot find symbol io.nl_3_p_0(Stderr_8); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:233: error: cannot find symbol io.set_exit_status_3_p_0(Var_20); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:240: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/binary_stdin.java:245: error: cannot find symbol Var_22 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:249: error: cannot find symbol io.write_string_4_p_0(Var_22, Var_23); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:253: error: cannot find symbol io.set_exit_status_3_p_0(Var_25); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:259: error: package io does not exist io.Error_0 Error_9 = ((io.Result_1.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/binary_stdin.java:259: error: package io.Result_1 does not exist io.Error_0 Error_9 = ((io.Result_1.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/binary_stdin.java:260: error: package io does not exist io.Text_output_stream_0 Var_27 = null; ^ Mercury/javas/jmercury/binary_stdin.java:265: error: cannot find symbol Var_27 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:268: error: cannot find symbol Var_28 = io.error_message_1_f_0(Error_9); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:271: error: cannot find symbol io.write_string_4_p_0(Var_27, Var_28); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:275: error: cannot find symbol io.set_exit_status_3_p_0(Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:280: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:290: error: package io does not exist io.Result_1 Res_8 = null; ^ Mercury/javas/jmercury/binary_stdin.java:293: error: cannot find symbol Res_8 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:295: error: illegal start of type switch (Res_8.data_tag) { ^ Mercury/javas/jmercury/binary_stdin.java:298: error: package io.Result_1 does not exist int ReadByte_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_8).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:298: error: illegal start of type int ReadByte_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Res_8).F1)).intValue(); ^ Mercury/javas/jmercury/binary_stdin.java:303: error: package io does not exist io.Text_output_stream_0 Stderr_10 = null; ^ Mercury/javas/jmercury/binary_stdin.java:309: error: cannot find symbol Stderr_10 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:313: error: cannot find symbol io.write_string_4_p_0(Stderr_10, Var_15); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:316: error: cannot find symbol io.write_int_4_p_0(Stderr_10, ExpectedByte_6); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:320: error: cannot find symbol io.write_string_4_p_0(Stderr_10, Var_18); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:323: error: cannot find symbol io.write_int_4_p_0(Stderr_10, ReadByte_9); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:326: error: cannot find symbol io.nl_3_p_0(Stderr_10); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:330: error: cannot find symbol io.set_exit_status_3_p_0(Var_22); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:337: error: package io does not exist io.Text_output_stream_0 Var_24 = null; ^ Mercury/javas/jmercury/binary_stdin.java:342: error: cannot find symbol Var_24 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:346: error: cannot find symbol io.write_string_4_p_0(Var_24, Var_25); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:350: error: cannot find symbol io.set_exit_status_3_p_0(Var_27); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:356: error: package io does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Res_8).F1; ^ Mercury/javas/jmercury/binary_stdin.java:356: error: package io.Result_1 does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Res_8).F1; ^ Mercury/javas/jmercury/binary_stdin.java:357: error: package io does not exist io.Text_output_stream_0 Var_29 = null; ^ Mercury/javas/jmercury/binary_stdin.java:362: error: cannot find symbol Var_29 = io.stderr_stream_0_f_0(); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:365: error: cannot find symbol Var_30 = io.error_message_1_f_0(Error_11); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:368: error: cannot find symbol io.write_string_4_p_0(Var_29, Var_30); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:372: error: cannot find symbol io.set_exit_status_3_p_0(Var_32); ^ symbol: variable io location: class binary_stdin Mercury/javas/jmercury/binary_stdin.java:377: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/binary_stdin.java:413: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.9GFJBk:2411: binary_stdin] Error 1 gmake[3]: Target 'binary_stdin.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: binary_stdin.log] Error 1 RUNNING TEST hard_coded/binary_stdout in grade java FAILED TEST hard_coded/bigtest in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bigtest.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bigtest Making Mercury/int3s/bigtest.int3 Making Mercury/int3s/lp.int3 Making Mercury/ints/lp.int Making Mercury/ints/bigtest.int Making Mercury/opts/lp.opt Making Mercury/opts/bigtest.opt Making Mercury/javas/jmercury/bigtest.java Making Mercury/javas/jmercury/lp.java Making Java class files Mercury/javas/jmercury/bigtest.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/bigtest.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bigtest.java:35: error: package term does not exist private static final term.Var_supply_1[] MR_scalar_common_4 = new term.Var_supply_1[1]; ^ Mercury/javas/jmercury/bigtest.java:36: error: package tree234.Tree234_2 does not exist private static final tree234.Tree234_2.Empty_0[] MR_scalar_common_5 = new tree234.Tree234_2.Empty_0[1]; ^ Mercury/javas/jmercury/bigtest.java:37: error: package varset does not exist private static final varset.Varset_1[] MR_scalar_common_6 = new varset.Varset_1[1]; ^ Mercury/javas/jmercury/bigtest.java:191: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bigtest.java:189: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bigtest.java:226: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bigtest.java:224: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/lp.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_lp__type_ctor_info_equation_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__ti_var_1term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2term__ti_var_1term__type_ctor_info_generic_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_pair__ti_pair_2term__ti_var_1term__type_ctor_info_generic_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__pti_var_1__plain_term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__pti_array_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lp__field_types_cell_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/lp.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lp__du_functor_desc_cell_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_stag_ordered_cell_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lp.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lp__du_ptag_ordered_cell_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lp.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_name_ordered_cell_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lp.java:30: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_cell_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:31: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_coeff_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lp__enum_functor_desc_direction_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lp__enum_functor_desc_direction_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lp__enum_ordinal_ordered_direction_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lp.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lp__enum_name_ordered_direction_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lp.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_direction_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1pair__ti_pair_2term__ti_var_1term__type_ctor_info_generic_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lp__field_types_equation_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/lp.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lp__du_functor_desc_equation_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_stag_ordered_equation_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lp.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lp__du_ptag_ordered_equation_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lp.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_name_ordered_equation_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lp.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_equation_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1lp__type_ctor_info_equation_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_equations_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lp__du_functor_desc_lp_result_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2term__ti_var_1term__type_ctor_info_generic_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lp__field_types_lp_result_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/lp.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lp__du_functor_desc_lp_result_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_stag_ordered_lp_result_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lp.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lp__du_ptag_ordered_lp_result_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lp.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lp__du_name_ordered_lp_result_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lp.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_lp_result_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_objective_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lp__enum_functor_desc_operator_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lp__enum_functor_desc_operator_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lp__enum_functor_desc_operator_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lp.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lp__enum_ordinal_ordered_operator_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lp.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lp__enum_name_ordered_operator_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lp.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_operator_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array__ti_array_1builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lp__type_ctor_info_tableau_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lp.java:513: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[12]; ^ Mercury/javas/jmercury/lp.java:515: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/lp.java:516: error: package tree234.Tree234_2 does not exist private static final tree234.Tree234_2.Empty_0[] MR_scalar_common_4 = new tree234.Tree234_2.Empty_0[1]; ^ Mercury/javas/jmercury/lp.java:521: error: package exception does not exist private static final exception.Domain_error_0[] MR_scalar_common_9 = new exception.Domain_error_0[1]; ^ Mercury/javas/jmercury/lp.java:524: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_12 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/lp.java:4762: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lp.java:782: error: package list does not exist list.List_1 Eqns_4, ^ Mercury/javas/jmercury/lp.java:783: error: package list does not exist list.List_1 Obj_5, ^ Mercury/javas/jmercury/lp.java:784: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:939: error: package list does not exist list.List_1 Objective_10, ^ Mercury/javas/jmercury/lp.java:940: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1008: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1073: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:4719: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lp.java:1224: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1279: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1338: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1358: error: package maybe does not exist maybe.Maybe_1 LambdaHeadVar__2_48) ^ Mercury/javas/jmercury/lp.java:1352: error: package maybe does not exist private static maybe.Maybe_1 ^ Mercury/javas/jmercury/lp.java:1431: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1449: error: package maybe does not exist maybe.Maybe_1 LambdaHeadVar__2_61) ^ Mercury/javas/jmercury/lp.java:1442: error: package maybe does not exist private static maybe.Maybe_1 ^ Mercury/javas/jmercury/lp.java:1578: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_18, ^ Mercury/javas/jmercury/lp.java:1579: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_19) ^ Mercury/javas/jmercury/lp.java:1576: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/lp.java:1621: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1654: error: package list does not exist list.List_1 Equations_9, ^ Mercury/javas/jmercury/lp.java:4803: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lp.java:4804: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lp.java:1656: error: package list does not exist list.List_1 Objective_11, ^ Mercury/javas/jmercury/lp.java:1657: error: package varset does not exist varset.Varset_1 Varset0_12) ^ Mercury/javas/jmercury/lp.java:1863: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/lp.java:1877: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:1944: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lp.java:1946: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3, ^ Mercury/javas/jmercury/lp.java:1992: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lp.java:1995: error: package tree234 does not exist tree234.Tree234_2 VarNumbers_4, ^ Mercury/javas/jmercury/lp.java:2044: error: package list does not exist list.List_1 Equations_8, ^ Mercury/javas/jmercury/lp.java:2046: error: package list does not exist list.List_1 Objective_10, ^ Mercury/javas/jmercury/lp.java:2047: error: package varset does not exist varset.Varset_1 Varset0_11) ^ Mercury/javas/jmercury/lp.java:2162: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/lp.java:2176: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lp.java:2236: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lp.java:2237: error: package list does not exist list.List_1 HeadVar__2_2, ^ 100 errors gmake[3]: *** [/tmp/mmake.9GJpmn:2411: bigtest] Error 1 gmake[3]: Target 'bigtest.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bigtest.log] Error 1 RUNNING TEST hard_coded/bit_access_uint16 in grade java FAILED TEST hard_coded/binary_stdout in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - binary_stdout.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - binary_stdout Making Mercury/int3s/binary_stdout.int3 Making Mercury/ints/binary_stdout.int Making Mercury/javas/jmercury/binary_stdout.java Making Java class files Mercury/javas/jmercury/binary_stdout.java:137: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/binary_stdout.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "binary_stdout"; ^ Mercury/javas/jmercury/binary_stdout.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/binary_stdout.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/binary_stdout.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/binary_stdout.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/binary_stdout.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdout.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdout.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdout.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ Mercury/javas/jmercury/binary_stdout.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/binary_stdout.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/binary_stdout.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/binary_stdout.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdout.java:73: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/binary_stdout.java:74: error: package io does not exist io.Binary_output_stream_0 Stream_4 = null; ^ Mercury/javas/jmercury/binary_stdout.java:85: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_10 = mr_int.fold_up_5_p_2(TypeCtorInfo_18_18, Var_7, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:88: error: cannot find symbol Stream_4 = io.stdout_binary_stream_3_p_0(); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:101: error: cannot find symbol conv1_STATE_VARIABLE_IO_6 = mr_int.fold_up_5_p_2(TypeCtorInfo_18_18, Var_12, Var_13, Var_14, ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:115: error: cannot find symbol io.write_byte_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:130: error: package io does not exist io.write_byte_4_p_0(((io.Binary_output_stream_0) ((java.lang.Object[]) closure)[3]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/binary_stdout.java:130: error: cannot find symbol io.write_byte_4_p_0(((io.Binary_output_stream_0) ((java.lang.Object[]) closure)[3]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class binary_stdout Mercury/javas/jmercury/binary_stdout.java:167: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 37 errors gmake[3]: *** [/tmp/mmake.O8oGel:2411: binary_stdout] Error 1 gmake[3]: Target 'binary_stdout.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: binary_stdout.log] Error 1 RUNNING TEST hard_coded/bit_access_uint32 in grade java FAILED TEST hard_coded/bit_access_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint16 Making Mercury/int3s/bit_access_uint16.int3 Making Mercury/ints/bit_access_uint16.int Making Mercury/javas/jmercury/bit_access_uint16.java Making Java class files Mercury/javas/jmercury/bit_access_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/bit_access_uint16.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:956: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bit_access_uint16.java:997: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_access_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_access_uint16"; ^ Mercury/javas/jmercury/bit_access_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_access_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_access_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_access_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_access_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint16.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bit_access_uint16.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bit_access_uint16.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bit_access_uint16.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bit_access_uint16.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bit_access_uint16.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bit_access_uint16.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/bit_access_uint16.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint16.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bit_access_uint16.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bit_access_uint16.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ Mercury/javas/jmercury/bit_access_uint16.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:97: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:97: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:98: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:98: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint16.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:108: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:108: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:109: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:109: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint16.java:112: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_access_uint16.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:116: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint16.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:121: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint16.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:126: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint16.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:131: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bit_access_uint16.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:136: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bit_access_uint16.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:141: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bit_access_uint16.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:146: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bit_access_uint16.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:151: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint16.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:156: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/bit_access_uint16.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:161: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/bit_access_uint16.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:166: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/bit_access_uint16.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:171: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/bit_access_uint16.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint16.java:176: error: package list does not exist (list.List_1) bit_access_uint16.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/bit_access_uint16.java:183: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:183: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:184: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:184: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/bit_access_uint16.java:185: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class bit_access_uint16 Mercury/javas/jmercury/bit_access_uint16.java:185: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/bit_access_uint16.java:210: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_access_uint16 100 errors gmake[3]: *** [/tmp/mmake.ExUji9:2411: bit_access_uint16] Error 1 gmake[3]: Target 'bit_access_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_access_uint16.log] Error 1 RUNNING TEST hard_coded/bit_access_uint64 in grade java FAILED TEST hard_coded/bit_access_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint32 Making Mercury/int3s/bit_access_uint32.int3 Making Mercury/ints/bit_access_uint32.int Making Mercury/javas/jmercury/bit_access_uint32.java Making Java class files Mercury/javas/jmercury/bit_access_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[17]; ^ Mercury/javas/jmercury/bit_access_uint32.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:976: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bit_access_uint32.java:1017: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_access_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_access_uint32"; ^ Mercury/javas/jmercury/bit_access_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_access_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_access_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_access_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_access_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint32.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bit_access_uint32.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bit_access_uint32.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bit_access_uint32.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bit_access_uint32.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bit_access_uint32.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bit_access_uint32.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[17]; ^ Mercury/javas/jmercury/bit_access_uint32.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint32.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bit_access_uint32.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bit_access_uint32.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ Mercury/javas/jmercury/bit_access_uint32.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:97: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:97: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:98: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:98: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint32.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:108: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:108: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint32.java:109: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint32 Mercury/javas/jmercury/bit_access_uint32.java:109: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint32.java:112: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_access_uint32.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:116: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint32.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:121: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint32.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:126: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint32.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:131: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bit_access_uint32.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:136: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bit_access_uint32.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:141: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bit_access_uint32.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:146: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bit_access_uint32.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:151: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/bit_access_uint32.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:156: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/bit_access_uint32.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:161: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/bit_access_uint32.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:166: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint32.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:171: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/bit_access_uint32.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:176: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/bit_access_uint32.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:181: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/bit_access_uint32.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:186: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/bit_access_uint32.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint32.java:191: error: package list does not exist (list.List_1) bit_access_uint32.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/bit_access_uint32.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.nxsIVK:2411: bit_access_uint32] Error 1 gmake[3]: Target 'bit_access_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_access_uint32.log] Error 1 RUNNING TEST hard_coded/bit_access_uint8 in grade java FAILED TEST hard_coded/bit_access_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint64 Making Mercury/int3s/bit_access_uint64.int3 Making Mercury/ints/bit_access_uint64.int Making Mercury/javas/jmercury/bit_access_uint64.java Making Java class files Mercury/javas/jmercury/bit_access_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/bit_access_uint64.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:961: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bit_access_uint64.java:1002: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_access_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_access_uint64"; ^ Mercury/javas/jmercury/bit_access_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_access_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_access_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_access_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_access_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint64.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bit_access_uint64.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bit_access_uint64.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bit_access_uint64.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bit_access_uint64.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bit_access_uint64.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bit_access_uint64.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/bit_access_uint64.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint64.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bit_access_uint64.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bit_access_uint64.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ Mercury/javas/jmercury/bit_access_uint64.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:97: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:97: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:98: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:98: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint64.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:108: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:108: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:109: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:109: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint64.java:112: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_access_uint64.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:116: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint64.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:121: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint64.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:126: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint64.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:131: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bit_access_uint64.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:136: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bit_access_uint64.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:141: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bit_access_uint64.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:146: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bit_access_uint64.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:151: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/bit_access_uint64.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:156: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint64.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:161: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/bit_access_uint64.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:166: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/bit_access_uint64.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:171: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/bit_access_uint64.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:176: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/bit_access_uint64.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint64.java:181: error: package list does not exist (list.List_1) bit_access_uint64.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/bit_access_uint64.java:188: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:188: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:189: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class bit_access_uint64 Mercury/javas/jmercury/bit_access_uint64.java:189: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/bit_access_uint64.java:190: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ symbol: variable builtin location: class bit_access_uint64 100 errors gmake[3]: *** [/tmp/mmake.ocQVng:2411: bit_access_uint64] Error 1 gmake[3]: Target 'bit_access_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_access_uint64.log] Error 1 RUNNING TEST hard_coded/bit_buffer_test in grade java FAILED TEST hard_coded/bit_access_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_access_uint8 Making Mercury/int3s/bit_access_uint8.int3 Making Mercury/ints/bit_access_uint8.int Making Mercury/javas/jmercury/bit_access_uint8.java Making Java class files Mercury/javas/jmercury/bit_access_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/bit_access_uint8.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:967: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bit_access_uint8.java:1008: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_access_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_access_uint8"; ^ Mercury/javas/jmercury/bit_access_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_access_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_access_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_access_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_access_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_access_uint8.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bit_access_uint8.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bit_access_uint8.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bit_access_uint8.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bit_access_uint8.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bit_access_uint8.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bit_access_uint8.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:61: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/bit_access_uint8.java:80: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_access_uint8.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bit_access_uint8.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bit_access_uint8.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/bit_access_uint8.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:97: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:97: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:98: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:98: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint8.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:108: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:108: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_access_uint8.java:109: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_access_uint8 Mercury/javas/jmercury/bit_access_uint8.java:109: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_access_uint8.java:112: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_access_uint8.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:116: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint8.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:121: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint8.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:126: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bit_access_uint8.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:131: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bit_access_uint8.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:136: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bit_access_uint8.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:141: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bit_access_uint8.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:146: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bit_access_uint8.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:151: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bit_access_uint8.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:156: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/bit_access_uint8.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:161: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/bit_access_uint8.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:166: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/bit_access_uint8.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:171: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/bit_access_uint8.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:176: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/bit_access_uint8.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:181: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/bit_access_uint8.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:186: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/bit_access_uint8.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_access_uint8.java:191: error: package list does not exist (list.List_1) bit_access_uint8.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/bit_access_uint8.java:198: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_access_uint8 100 errors gmake[3]: *** [/tmp/mmake.f3DLK8:2411: bit_access_uint8] Error 1 gmake[3]: Target 'bit_access_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_access_uint8.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_int16 in grade java FAILED TEST hard_coded/bit_twiddle_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int16 Making Mercury/int3s/bit_twiddle_int16.int3 Making Mercury/ints/bit_twiddle_int16.int Making Mercury/javas/jmercury/bit_twiddle_int16.java Making Java class files Mercury/javas/jmercury/bit_twiddle_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:58: 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/bit_twiddle_int16.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:612: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_int16.java:690: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_int16"; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bit_twiddle_int16.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_int16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bit_twiddle_int16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bit_twiddle_int16.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:58: 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/bit_twiddle_int16.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:70: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:75: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:80: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:85: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:90: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:95: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:100: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:105: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:110: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int16.java:115: error: package list does not exist (list.List_1) bit_twiddle_int16.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/bit_twiddle_int16.java:123: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:123: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:125: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:125: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:126: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:126: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int16.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int16.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_int16.java:152: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:152: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/bit_twiddle_int16.java:153: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)) ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:153: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)) ^ Mercury/javas/jmercury/bit_twiddle_int16.java:219: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:227: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:235: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:270: error: cannot find symbol conv0_HeadVar__2_2 = int16.num_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:286: error: cannot find symbol conv1_HeadVar__2_2 = int16.num_ones_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:302: error: cannot find symbol conv2_HeadVar__2_2 = int16.num_leading_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:318: error: cannot find symbol conv3_HeadVar__2_2 = int16.num_trailing_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:334: error: cannot find symbol conv4_HeadVar__2_2 = int16.reverse_bits_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:350: error: cannot find symbol conv5_HeadVar__2_2 = int16.reverse_bytes_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable int16 location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:361: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:362: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:363: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:370: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:373: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:377: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:379: error: package list does not exist As_8 = (list.List_1) bit_twiddle_int16.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/bit_twiddle_int16.java:389: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:389: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:390: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:390: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_int16.java:392: error: cannot find symbol conv0_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_16, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_int16 Mercury/javas/jmercury/bit_twiddle_int16.java:423: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.WsGB3t:2411: bit_twiddle_int16] Error 1 gmake[3]: Target 'bit_twiddle_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_int16.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_int32 in grade java FAILED TEST hard_coded/bit_buffer_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_buffer_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_buffer_test Making Mercury/int3s/bit_buffer_test.int3 Making Mercury/ints/bit_buffer_test.int Making Mercury/javas/jmercury/bit_buffer_test.java Making Java class files Mercury/javas/jmercury/bit_buffer_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bit_buffer__write__pti_write_buffer_2__plain_bit_buffer__type_ctor_info_error_stream_0__plain_bit_buffer__type_ctor_info_error_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bit_buffer__write__pti_write_buffer_2__plain_io__type_ctor_info_binary_output_stream_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_bit_buffer_test__type_ctor_info_request_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_error_test_type_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_error_test_type_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_error_test_type_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_error_test_type_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_stag_ordered_error_test_type_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bit_buffer_test__du_ptag_ordered_error_test_type_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_name_ordered_error_test_type_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_error_test_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_read_error_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_read_error_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_read_error_0_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bit_buffer_test.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_read_error_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct stream__ti_result_1univ__type_ctor_info_univ_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_read_error_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bit_buffer_test.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_read_error_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_stag_ordered_read_error_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bit_buffer_test__du_ptag_ordered_read_error_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_name_ordered_read_error_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_read_error_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_string_0bit_buffer_test__type_ctor_info_read_error_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_read_result_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_request_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bit_buffer_test.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_request_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_request_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_request_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_request_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_request_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_request_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_request_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_stag_ordered_request_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bit_buffer_test.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bit_buffer_test__du_ptag_ordered_request_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_name_ordered_request_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bit_buffer_test.java:75: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_request_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bit_buffer_test__enum_functor_desc_timebomb_byte_stream_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bit_buffer_test__enum_ordinal_ordered_timebomb_byte_stream_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bit_buffer_test__enum_name_ordered_timebomb_byte_stream_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_timebomb_byte_stream_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_timebomb_error_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_timebomb_error_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_timebomb_error_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_timebomb_error_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_stag_ordered_timebomb_error_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bit_buffer_test__du_ptag_ordered_timebomb_error_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_name_ordered_timebomb_error_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:89: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_timebomb_error_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bit_buffer_test__field_types_timebomb_state_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint bit_buffer_test__exist_tc_constr_timebomb_state_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/bit_buffer_test.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint bit_buffer_test__exist_tc_constr_timebomb_state_0_0_2 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/bit_buffer_test.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] bit_buffer_test__exist_tc_constrs_timebomb_state_0_0 = new jmercury.runtime.TypeClassConstraint[2]; ^ Mercury/javas/jmercury/bit_buffer_test.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bit_buffer_test__exist_locns_timebomb_state_0_0 = new jmercury.runtime.DuExistLocn[3]; ^ Mercury/javas/jmercury/bit_buffer_test.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bit_buffer_test__exist_info_timebomb_state_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bit_buffer_test.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bit_buffer_test__du_functor_desc_timebomb_state_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bit_buffer_test.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_stag_ordered_timebomb_state_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bit_buffer_test__du_ptag_ordered_timebomb_state_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bit_buffer_test__du_name_ordered_timebomb_state_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:102: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_timebomb_state_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:103: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bit_buffer_test__type_ctor_info_timer_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bit_buffer_test.java:860: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/bit_buffer_test.java:865: error: package stream.Result_1 does not exist private static final stream.Result_1.Eof_0[] MR_scalar_common_6 = new stream.Result_1.Eof_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:866: error: package stream.Result_1 does not exist private static final stream.Result_1.Ok_0[] MR_scalar_common_7 = new stream.Result_1.Ok_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:867: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:6327: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bit_buffer_test.java:869: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_10 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:870: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_11 = new list.List_1.F_cons_2[35]; ^ Mercury/javas/jmercury/bit_buffer_test.java:6201: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bit_buffer_test.java:6419: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bit_buffer_test.java:880: error: package stream.Res_1 does not exist private static final stream.Res_1.Error_1[] MR_scalar_common_21 = new stream.Res_1.Error_1[2]; ^ Mercury/javas/jmercury/bit_buffer_test.java:882: error: package stream.Res_1 does not exist private static final stream.Res_1.Ok_0[] MR_scalar_common_23 = new stream.Res_1.Ok_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:883: error: package stream.Result_2 does not exist private static final stream.Result_2.Error_1[] MR_scalar_common_24 = new stream.Result_2.Error_1[2]; ^ Mercury/javas/jmercury/bit_buffer_test.java:884: error: package stream.Result_2 does not exist private static final stream.Result_2.Eof_0[] MR_scalar_common_25 = new stream.Result_2.Eof_0[1]; ^ Mercury/javas/jmercury/bit_buffer_test.java:1508: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_0_26, ^ Mercury/javas/jmercury/bit_buffer_test.java:6466: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bit_buffer_test.java:1876: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 HeadVar__2_70) ^ Mercury/javas/jmercury/bit_buffer_test.java:1873: error: package bit_buffer__write does not exist private static bit_buffer__write.Write_buffer_2 ^ Mercury/javas/jmercury/bit_buffer_test.java:1890: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 HeadVar__2_76) ^ Mercury/javas/jmercury/bit_buffer_test.java:1887: error: package bit_buffer__write does not exist private static bit_buffer__write.Write_buffer_2 ^ Mercury/javas/jmercury/bit_buffer_test.java:1980: error: package bit_buffer__read does not exist bit_buffer__read.Read_buffer_3 STATE_VARIABLE_Buffer_0_4) ^ Mercury/javas/jmercury/bit_buffer_test.java:1974: error: package bit_buffer__read does not exist private static bit_buffer__read.Read_buffer_3 ^ Mercury/javas/jmercury/bit_buffer_test.java:2362: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/bit_buffer_test.java:2363: error: package bit_buffer__read does not exist bit_buffer__read.Read_buffer_3 STATE_VARIABLE_Buffer_0_4) ^ Mercury/javas/jmercury/bit_buffer_test.java:2357: error: package bit_buffer__read does not exist private static bit_buffer__read.Read_buffer_3 ^ Mercury/javas/jmercury/bit_buffer_test.java:2405: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buffer_0_2) ^ Mercury/javas/jmercury/bit_buffer_test.java:2401: error: package bit_buffer__write does not exist private static bit_buffer__write.Write_buffer_2 ^ Mercury/javas/jmercury/bit_buffer_test.java:3422: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_0_4) ^ Mercury/javas/jmercury/bit_buffer_test.java:3507: error: package list does not exist list.List_1 Requests_5, ^ Mercury/javas/jmercury/bit_buffer_test.java:3508: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap ExpectedBM_6) ^ Mercury/javas/jmercury/bit_buffer_test.java:3583: error: package list does not exist list.List_1 SetupRequests0_9, ^ Mercury/javas/jmercury/bit_buffer_test.java:3584: error: package list does not exist list.List_1 Requests0_10) ^ Mercury/javas/jmercury/bit_buffer_test.java:3795: error: package list does not exist list.List_1 Requests_8) ^ Mercury/javas/jmercury/bit_buffer_test.java:3886: error: package list does not exist list.List_1 Requests_10) ^ Mercury/javas/jmercury/bit_buffer_test.java:4012: error: package list does not exist list.List_1 Requests0_6) ^ Mercury/javas/jmercury/bit_buffer_test.java:4124: error: package list does not exist list.List_1 Writes_9, ^ Mercury/javas/jmercury/bit_buffer_test.java:4125: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap ExpectedBM_10) ^ Mercury/javas/jmercury/bit_buffer_test.java:6248: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bit_buffer_test.java:4476: error: package list does not exist list.List_1 HeadVar__1_1, ^ 100 errors gmake[3]: *** [/tmp/mmake.cujZOy:2411: bit_buffer_test] Error 1 gmake[3]: Target 'bit_buffer_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_buffer_test.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_int64 in grade java FAILED TEST hard_coded/bit_twiddle_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int32 Making Mercury/int3s/bit_twiddle_int32.int3 Making Mercury/ints/bit_twiddle_int32.int Making Mercury/javas/jmercury/bit_twiddle_int32.java Making Java class files Mercury/javas/jmercury/bit_twiddle_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:58: 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/bit_twiddle_int32.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:622: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_int32.java:700: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_int32"; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bit_twiddle_int32.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_int32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bit_twiddle_int32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bit_twiddle_int32.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:58: 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/bit_twiddle_int32.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_int32.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:70: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:75: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:80: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:85: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:90: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:95: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:100: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:105: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:110: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:115: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:120: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int32.java:125: error: package list does not exist (list.List_1) bit_twiddle_int32.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/bit_twiddle_int32.java:133: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:133: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:135: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:135: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int32.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:146: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:146: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:147: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:147: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int32.java:154: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:154: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:155: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:155: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_int32.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/bit_twiddle_int32.java:163: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)) ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:163: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)) ^ Mercury/javas/jmercury/bit_twiddle_int32.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:237: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:245: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:253: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:261: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:280: error: cannot find symbol conv0_HeadVar__2_2 = int32.num_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:296: error: cannot find symbol conv1_HeadVar__2_2 = int32.num_ones_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:312: error: cannot find symbol conv2_HeadVar__2_2 = int32.num_leading_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:328: error: cannot find symbol conv3_HeadVar__2_2 = int32.num_trailing_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:344: error: cannot find symbol conv4_HeadVar__2_2 = int32.reverse_bits_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:360: error: cannot find symbol conv5_HeadVar__2_2 = int32.reverse_bytes_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable int32 location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:371: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:372: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:373: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:380: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:383: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:387: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:389: error: package list does not exist As_8 = (list.List_1) bit_twiddle_int32.MR_scalar_common_2[11]; ^ Mercury/javas/jmercury/bit_twiddle_int32.java:399: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class bit_twiddle_int32 Mercury/javas/jmercury/bit_twiddle_int32.java:399: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.iReMYJ:2411: bit_twiddle_int32] Error 1 gmake[3]: Target 'bit_twiddle_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_int32.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_int8 in grade java FAILED TEST hard_coded/bit_twiddle_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int64 Making Mercury/int3s/bit_twiddle_int64.int3 Making Mercury/ints/bit_twiddle_int64.int Making Mercury/javas/jmercury/bit_twiddle_int64.java Making Java class files Mercury/javas/jmercury/bit_twiddle_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:58: 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/bit_twiddle_int64.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:632: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_int64.java:710: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_int64"; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bit_twiddle_int64.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_int64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bit_twiddle_int64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bit_twiddle_int64.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:58: 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/bit_twiddle_int64.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_int64.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:70: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:75: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:80: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:85: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:90: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:95: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:100: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:105: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:110: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:115: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:120: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:125: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:130: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int64.java:135: error: package list does not exist (list.List_1) bit_twiddle_int64.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/bit_twiddle_int64.java:143: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:143: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:145: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:145: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:146: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:146: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int64.java:154: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:154: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:155: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:155: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:156: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:156: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:157: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:157: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int64.java:164: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:164: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:165: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:165: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_int64.java:172: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:172: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/bit_twiddle_int64.java:173: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)) ^ symbol: variable builtin location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:173: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)) ^ Mercury/javas/jmercury/bit_twiddle_int64.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:247: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:255: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:263: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:271: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:290: error: cannot find symbol conv0_HeadVar__2_2 = int64.num_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:306: error: cannot find symbol conv1_HeadVar__2_2 = int64.num_ones_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:322: error: cannot find symbol conv2_HeadVar__2_2 = int64.num_leading_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:338: error: cannot find symbol conv3_HeadVar__2_2 = int64.num_trailing_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:354: error: cannot find symbol conv4_HeadVar__2_2 = int64.reverse_bits_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:370: error: cannot find symbol conv5_HeadVar__2_2 = int64.reverse_bytes_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable int64 location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:381: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:382: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:383: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_int64.java:390: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_int64 Mercury/javas/jmercury/bit_twiddle_int64.java:393: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_int64 100 errors gmake[3]: *** [/tmp/mmake.xu6RCv:2411: bit_twiddle_int64] Error 1 gmake[3]: Target 'bit_twiddle_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_int64.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_uint16 in grade java FAILED TEST hard_coded/bit_twiddle_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_int8 Making Mercury/int3s/bit_twiddle_int8.int3 Making Mercury/ints/bit_twiddle_int8.int Making Mercury/javas/jmercury/bit_twiddle_int8.java Making Java class files Mercury/javas/jmercury/bit_twiddle_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:58: 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/bit_twiddle_int8.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:583: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_int8.java:652: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_int8"; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bit_twiddle_int8.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_int8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bit_twiddle_int8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bit_twiddle_int8.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:58: 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/bit_twiddle_int8.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:70: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:75: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:80: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:85: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:90: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:95: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:100: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:105: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:110: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:115: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:120: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:125: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_int8.java:130: error: package list does not exist (list.List_1) bit_twiddle_int8.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/bit_twiddle_int8.java:138: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:138: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:141: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:141: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int8.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:151: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:151: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:152: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:152: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_int8.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_int8.java:167: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:167: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/bit_twiddle_int8.java:168: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)) ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:168: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)) ^ Mercury/javas/jmercury/bit_twiddle_int8.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_27 = null; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_28 = null; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:230: error: package list does not exist list.List_1 As_24 = null; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:248: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:256: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:264: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:269: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:272: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:276: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:278: error: package list does not exist As_24 = (list.List_1) bit_twiddle_int8.MR_scalar_common_2[12]; ^ Mercury/javas/jmercury/bit_twiddle_int8.java:280: error: cannot find symbol TypeCtorInfo_20_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:280: error: package jmercury.runtime does not exist TypeCtorInfo_20_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:281: error: cannot find symbol TypeCtorInfo_21_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:281: error: package jmercury.runtime does not exist TypeCtorInfo_21_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_int8.java:283: error: cannot find symbol conv5_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_20_27, TypeCtorInfo_21_28, Var_26, As_24, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:297: error: cannot find symbol conv0_HeadVar__2_2 = int8.num_zeros_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable int8 location: class bit_twiddle_int8 Mercury/javas/jmercury/bit_twiddle_int8.java:313: error: cannot find symbol conv1_HeadVar__2_2 = int8.num_ones_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable int8 location: class bit_twiddle_int8 100 errors gmake[3]: *** [/tmp/mmake.BlLvQ5:2411: bit_twiddle_int8] Error 1 gmake[3]: Target 'bit_twiddle_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_int8.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_uint32 in grade java FAILED TEST hard_coded/bit_twiddle_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint16 Making Mercury/int3s/bit_twiddle_uint16.int3 Making Mercury/ints/bit_twiddle_uint16.int Making Mercury/javas/jmercury/bit_twiddle_uint16.java Making Java class files Mercury/javas/jmercury/bit_twiddle_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:58: 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/bit_twiddle_uint16.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:597: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:675: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_uint16"; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:58: 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/bit_twiddle_uint16.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:70: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:75: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:80: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:85: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:90: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:95: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:100: error: package list does not exist (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:108: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:108: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:109: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:109: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:110: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:110: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:120: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:120: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:122: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:122: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:137: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:137: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:138: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:138: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:204: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:212: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:220: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:228: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:236: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:255: error: cannot find symbol conv0_HeadVar__2_2 = uint16.num_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:271: error: cannot find symbol conv1_HeadVar__2_2 = uint16.num_ones_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:287: error: cannot find symbol conv2_HeadVar__2_2 = uint16.num_leading_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:303: error: cannot find symbol conv3_HeadVar__2_2 = uint16.num_trailing_zeros_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:319: error: cannot find symbol conv4_HeadVar__2_2 = uint16.reverse_bits_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:335: error: cannot find symbol conv5_HeadVar__2_2 = uint16.reverse_bytes_1_f_0(((java.lang.Short) wrapper_arg_1).shortValue()); ^ symbol: variable uint16 location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:348: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:355: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:358: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:362: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:364: error: package list does not exist As_8 = (list.List_1) bit_twiddle_uint16.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:374: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:374: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:375: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:375: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:377: error: cannot find symbol conv0_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_16, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:408: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:408: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:412: error: package jmercury.runtime does not exist conv1_Result_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Func_6))), ((java.lang.Object) (java.lang.Short.valueOf(A_8))))); ^ Mercury/javas/jmercury/bit_twiddle_uint16.java:416: error: cannot find symbol ResultStr_11 = string.int_to_string_2_p_0(Result_10); ^ symbol: variable string location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:431: error: cannot find symbol io.write_string_3_p_0(Desc_7); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:435: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class bit_twiddle_uint16 Mercury/javas/jmercury/bit_twiddle_uint16.java:438: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class bit_twiddle_uint16 100 errors gmake[3]: *** [/tmp/mmake.jC0TCK:2411: bit_twiddle_uint16] Error 1 gmake[3]: Target 'bit_twiddle_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_uint16.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_uint64 in grade java FAILED TEST hard_coded/bit_twiddle_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint32 Making Mercury/int3s/bit_twiddle_uint32.int3 Making Mercury/ints/bit_twiddle_uint32.int Making Mercury/javas/jmercury/bit_twiddle_uint32.java Making Java class files Mercury/javas/jmercury/bit_twiddle_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:58: 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/bit_twiddle_uint32.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:607: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:685: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_uint32"; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:58: 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/bit_twiddle_uint32.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:70: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:75: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:80: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:85: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:90: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:95: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:100: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:105: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:110: error: package list does not exist (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:118: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:118: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:120: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:120: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:132: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:132: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:140: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:140: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:214: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:222: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:230: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:238: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:246: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:265: error: cannot find symbol conv0_HeadVar__2_2 = uint32.num_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:281: error: cannot find symbol conv1_HeadVar__2_2 = uint32.num_ones_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:297: error: cannot find symbol conv2_HeadVar__2_2 = uint32.num_leading_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:313: error: cannot find symbol conv3_HeadVar__2_2 = uint32.num_trailing_zeros_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:329: error: cannot find symbol conv4_HeadVar__2_2 = uint32.reverse_bits_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:345: error: cannot find symbol conv5_HeadVar__2_2 = uint32.reverse_bytes_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable uint32 location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:356: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:358: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:365: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:368: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:372: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:374: error: package list does not exist As_8 = (list.List_1) bit_twiddle_uint32.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:384: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:384: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:385: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:385: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:387: error: cannot find symbol conv0_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_16, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_uint32 Mercury/javas/jmercury/bit_twiddle_uint32.java:418: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:418: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ Mercury/javas/jmercury/bit_twiddle_uint32.java:422: error: package jmercury.runtime does not exist conv1_Result0_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Func_6))), ((java.lang.Object) (java.lang.Integer.valueOf(A_8))))); ^ 100 errors gmake[3]: *** [/tmp/mmake.3MaLVk:2411: bit_twiddle_uint32] Error 1 gmake[3]: Target 'bit_twiddle_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_uint32.log] Error 1 RUNNING TEST hard_coded/bit_twiddle_uint8 in grade java FAILED TEST hard_coded/bit_twiddle_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint64 Making Mercury/int3s/bit_twiddle_uint64.int3 Making Mercury/ints/bit_twiddle_uint64.int Making Mercury/javas/jmercury/bit_twiddle_uint64.java Making Java class files Mercury/javas/jmercury/bit_twiddle_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:58: 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/bit_twiddle_uint64.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:612: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:690: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_uint64"; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:58: 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/bit_twiddle_uint64.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:70: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:75: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:80: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:85: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:90: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:95: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:100: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:105: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:110: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:115: error: package list does not exist (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:123: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:123: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:125: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:125: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:126: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:126: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:152: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:152: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:153: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:153: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:219: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:227: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:235: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:270: error: cannot find symbol conv0_HeadVar__2_2 = uint64.num_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:286: error: cannot find symbol conv1_HeadVar__2_2 = uint64.num_ones_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:302: error: cannot find symbol conv2_HeadVar__2_2 = uint64.num_leading_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:318: error: cannot find symbol conv3_HeadVar__2_2 = uint64.num_trailing_zeros_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:334: error: cannot find symbol conv4_HeadVar__2_2 = uint64.reverse_bits_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:350: error: cannot find symbol conv5_HeadVar__2_2 = uint64.reverse_bytes_1_f_0(((java.lang.Long) wrapper_arg_1).longValue()); ^ symbol: variable uint64 location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:361: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:362: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:363: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:370: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:373: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:377: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:379: error: package list does not exist As_8 = (list.List_1) bit_twiddle_uint64.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:389: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:389: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:390: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:390: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_uint64.java:392: error: cannot find symbol conv0_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_16, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_uint64 Mercury/javas/jmercury/bit_twiddle_uint64.java:423: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_6)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.esGUQq:2411: bit_twiddle_uint64] Error 1 gmake[3]: Target 'bit_twiddle_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_uint64.log] Error 1 RUNNING TEST hard_coded/bitmap_bytes in grade java FAILED TEST hard_coded/bitmap_bytes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_bytes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_bytes Making Mercury/int3s/bitmap_bytes.int3 Making Mercury/ints/bitmap_bytes.int Making Mercury/javas/jmercury/bitmap_bytes.java Making Java class files Mercury/javas/jmercury/bitmap_bytes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_bytes.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_bytes.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/bitmap_bytes.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bitmap_bytes.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/bitmap_bytes.java:60: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitmap_bytes.java:212: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_5, ^ Mercury/javas/jmercury/bitmap_bytes.java:231: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_5, ^ Mercury/javas/jmercury/bitmap_bytes.java:250: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_5, ^ Mercury/javas/jmercury/bitmap_bytes.java:251: error: package list does not exist list.List_1 Indexes_6) ^ Mercury/javas/jmercury/bitmap_bytes.java:379: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_5, ^ Mercury/javas/jmercury/bitmap_bytes.java:583: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitmap_bytes.java:624: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitmap_bytes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitmap_bytes"; ^ Mercury/javas/jmercury/bitmap_bytes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitmap_bytes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitmap_bytes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitmap_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitmap_bytes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_bytes.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_bytes.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitmap_bytes.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitmap_bytes.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/bitmap_bytes.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bitmap_bytes.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/bitmap_bytes.java:60: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitmap_bytes.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitmap_bytes.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitmap_bytes.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bitmap_bytes.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitmap_bytes.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitmap_bytes.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/bitmap_bytes.java:79: error: cannot find symbol ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ symbol: variable bitmap location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:79: error: illegal start of type ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ Mercury/javas/jmercury/bitmap_bytes.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bitmap_bytes.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bitmap_bytes.java:82: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:82: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bitmap_bytes.java:85: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitmap_bytes.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:89: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitmap_bytes.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:94: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bitmap_bytes.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:99: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/bitmap_bytes.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:104: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitmap_bytes.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:109: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bitmap_bytes.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:114: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bitmap_bytes.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:119: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bitmap_bytes.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:124: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/bitmap_bytes.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:129: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/bitmap_bytes.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:134: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitmap_bytes.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:139: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/bitmap_bytes.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:144: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/bitmap_bytes.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:149: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/bitmap_bytes.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:154: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/bitmap_bytes.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:159: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitmap_bytes.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:164: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/bitmap_bytes.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:169: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/bitmap_bytes.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitmap_bytes.java:174: error: package list does not exist (list.List_1) bitmap_bytes.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/bitmap_bytes.java:177: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/bitmap_bytes.java:178: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/bitmap_bytes.java:179: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/bitmap_bytes.java:180: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/bitmap_bytes.java:181: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/bitmap_bytes.java:182: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/bitmap_bytes.java:189: error: cannot find symbol ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ symbol: variable bitmap location: class bitmap_bytes Mercury/javas/jmercury/bitmap_bytes.java:189: error: illegal start of type ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ Mercury/javas/jmercury/bitmap_bytes.java:190: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bitmap_bytes 100 errors gmake[3]: *** [/tmp/mmake.CRttGy:2411: bitmap_bytes] Error 1 gmake[3]: Target 'bitmap_bytes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitmap_bytes.log] Error 1 RUNNING TEST hard_coded/bitmap_empty in grade java FAILED TEST hard_coded/bit_twiddle_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bit_twiddle_uint8 Making Mercury/int3s/bit_twiddle_uint8.int3 Making Mercury/ints/bit_twiddle_uint8.int Making Mercury/javas/jmercury/bit_twiddle_uint8.java Making Java class files Mercury/javas/jmercury/bit_twiddle_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:58: 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/bit_twiddle_uint8.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:553: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:622: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bit_twiddle_uint8"; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:58: 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/bit_twiddle_uint8.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:70: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:75: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:80: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:85: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:90: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:95: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:100: error: package list does not exist (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:108: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:108: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:109: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:109: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:110: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:110: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:120: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:120: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:122: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:122: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:137: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:137: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:138: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:138: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_27 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_28 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:200: error: package list does not exist list.List_1 As_24 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:210: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:218: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:226: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:234: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:239: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:242: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:246: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:248: error: package list does not exist As_24 = (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:250: error: cannot find symbol TypeCtorInfo_20_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:250: error: package jmercury.runtime does not exist TypeCtorInfo_20_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:251: error: cannot find symbol TypeCtorInfo_21_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_21_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:253: error: cannot find symbol conv5_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_20_27, TypeCtorInfo_21_28, Var_26, As_24, ((java.lang.Object) (0))); ^ symbol: variable list location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:267: error: cannot find symbol conv0_HeadVar__2_2 = uint8.num_zeros_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable uint8 location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:283: error: cannot find symbol conv1_HeadVar__2_2 = uint8.num_ones_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable uint8 location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:299: error: cannot find symbol conv2_HeadVar__2_2 = uint8.num_leading_zeros_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable uint8 location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:315: error: cannot find symbol conv3_HeadVar__2_2 = uint8.num_trailing_zeros_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable uint8 location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:331: error: cannot find symbol conv4_HeadVar__2_2 = uint8.reverse_bits_1_f_0(((java.lang.Byte) wrapper_arg_1).byteValue()); ^ symbol: variable uint8 location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:357: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:358: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:359: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:366: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:369: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:373: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:375: error: package list does not exist As_8 = (list.List_1) bit_twiddle_uint8.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/bit_twiddle_uint8.java:385: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class bit_twiddle_uint8 Mercury/javas/jmercury/bit_twiddle_uint8.java:385: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.q7y8yM:2411: bit_twiddle_uint8] Error 1 gmake[3]: Target 'bit_twiddle_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bit_twiddle_uint8.log] Error 1 RUNNING TEST hard_coded/bitmap_test in grade java FAILED TEST hard_coded/bitmap_empty in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_empty.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_empty Making Mercury/int3s/bitmap_empty.int3 Making Mercury/ints/bitmap_empty.int Making Mercury/javas/jmercury/bitmap_empty.java Making Java class files Mercury/javas/jmercury/bitmap_empty.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_bitmap__type_ctor_info_bitmap_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/bitmap_empty.java:67: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bitmap_empty.java:132: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap A0_4) ^ Mercury/javas/jmercury/bitmap_empty.java:151: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap A0_4) ^ Mercury/javas/jmercury/bitmap_empty.java:1217: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitmap_empty.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitmap_empty"; ^ Mercury/javas/jmercury/bitmap_empty.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitmap_empty.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitmap_empty.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitmap_empty.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitmap_empty.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_bitmap__type_ctor_info_bitmap_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_empty.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0 ^ Mercury/javas/jmercury/bitmap_empty.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0 ^ symbol: variable bool location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitmap_empty.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:51: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bitmap.bitmap__type_ctor_info_bitmap_0 ^ Mercury/javas/jmercury/bitmap_empty.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bitmap.bitmap__type_ctor_info_bitmap_0 ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/bitmap_empty.java:67: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bitmap_empty.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitmap_empty.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitmap_empty.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))) ^ symbol: variable bool location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))) ^ Mercury/javas/jmercury/bitmap_empty.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitmap_empty.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitmap_empty.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bitmap_empty.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitmap_empty.java:82: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitmap_empty.java:83: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_bitmap_0))) ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:83: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_bitmap_0))) ^ Mercury/javas/jmercury/bitmap_empty.java:90: error: cannot find symbol ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:90: error: illegal start of type ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ Mercury/javas/jmercury/bitmap_empty.java:98: error: cannot find symbol ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:98: error: illegal start of type ((java.lang.Object) (bitmap.bitmap__type_ctor_info_bitmap_0)), ^ Mercury/javas/jmercury/bitmap_empty.java:121: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitmap_empty.java:136: error: package bool does not exist bool.Bool_0 Bit_336 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:139: error: cannot find symbol Bit_336 = bitmap.bit_2_f_0(Var_108, A0_4); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:158: error: cannot find symbol Byte_342 = bitmap.byte_2_f_0(Var_131, A0_4); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:173: error: package bool does not exist bool.Bool_0 Var_142 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/bitmap_empty.java:173: error: package bool does not exist bool.Bool_0 Var_142 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/bitmap_empty.java:176: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap B0_281 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:177: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap B1_348 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:180: error: cannot find symbol B0_281 = bitmap.init_2_f_0(Var_141, Var_142); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:185: error: cannot find symbol B1_348 = bitmap.f_98_121_116_101_32_58_61_3_f_0(Var_144, B0_281, Var_143); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:200: error: package bool does not exist bool.Bool_0 Var_165 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/bitmap_empty.java:200: error: package bool does not exist bool.Bool_0 Var_165 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/bitmap_empty.java:202: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap B0_293 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:203: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap B1_354 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:206: error: cannot find symbol B0_293 = bitmap.init_2_f_0(Var_164, Var_165); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:210: error: cannot find symbol B1_354 = bitmap.flip_2_f_0(B0_293, Var_166); ^ symbol: variable bitmap location: class bitmap_empty Mercury/javas/jmercury/bitmap_empty.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_321_321 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_324_324 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_329_329 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_330_330 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_333_333 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_337_337 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_343_343 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_349_349 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_355_355 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:233: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap A0_4 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap A1_20 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:238: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap A2_21 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:239: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bcompl_22 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:240: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bunion_23 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:241: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bintersect_24 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:242: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bdiff_25 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:243: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bxor_26 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:247: error: package builtin does not exist builtin.Comparison_result_0 Compare_31 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:250: error: package bool does not exist bool.Bool_0 Var_37 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:254: error: package bool does not exist bool.Bool_0 Var_45 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:256: error: package bool does not exist bool.Bool_0 Var_47 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:258: error: package bool does not exist bool.Bool_0 Var_50 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:260: error: package bool does not exist bool.Bool_0 Var_53 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:263: error: package bool does not exist bool.Bool_0 Var_58 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:270: error: package exception does not exist exception.Exception_result_1 TryResult_105 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:276: error: package bool does not exist bool.Bool_0 Var_121 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:281: error: package exception does not exist exception.Exception_result_1 TryResult_128 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:283: error: package exception does not exist exception.Exception_result_1 TryResult_138 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:291: error: package exception does not exist exception.Exception_result_1 TryResult_161 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:293: error: package bool does not exist bool.Bool_0 Var_172 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:295: error: package bool does not exist bool.Bool_0 Var_174 = null; ^ Mercury/javas/jmercury/bitmap_empty.java:303: error: package bool does not exist bool.Bool_0 Var_193 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.Gundrn:2411: bitmap_empty] Error 1 gmake[3]: Target 'bitmap_empty.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitmap_empty.log] Error 1 RUNNING TEST hard_coded/bitwise_int in grade java FAILED TEST hard_coded/bitmap_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitmap_test Making Mercury/int3s/bitmap_test.int3 Making Mercury/int3s/bitmap_test_helper_1.int3 Making Mercury/int3s/bitmap_test_helper_2.int3 Making Mercury/ints/bitmap_test_helper_2.int Making Mercury/ints/bitmap_test_helper_1.int Making Mercury/ints/bitmap_test.int Making Mercury/javas/jmercury/bitmap_test.java Making Mercury/javas/jmercury/bitmap_test_helper_1.java Making Mercury/javas/jmercury/bitmap_test_helper_2.java Making Java class files Mercury/javas/jmercury/bitmap_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct version_array__ti_version_array_1bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bitmap_test_helper_1__pti_mypair_2__plain_bitmap__type_ctor_info_bitmap_0__plain_version_array__ti_version_array_1bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/bitmap_test.java:71: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitmap_test.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:252: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:267: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:282: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:306: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:330: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:354: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:376: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:398: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:420: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:442: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test.java:464: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap STATE_VARIABLE_BM_18_279) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:3410: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bitmap_test.java:2047: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/bitmap_test.java:2090: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_48, ^ Mercury/javas/jmercury/bitmap_test.java:2185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_48, ^ Mercury/javas/jmercury/bitmap_test.java:2280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_32, ^ Mercury/javas/jmercury/bitmap_test.java:2337: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_32, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:3201: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct version_array__pti_version_array_1__plain_bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct version_array__ti_version_array_1bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bitmap_test_helper_1__ti_mypair_2bitmap__type_ctor_info_bitmap_0version_array__ti_version_array_1bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_result_error_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bitmap_test_helper_1__exist_locns_bitmap_result_error_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bitmap_test_helper_1__exist_info_bitmap_result_error_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_result_error_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_result_error_0_1 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bitmap_test_helper_1__exist_locns_bitmap_result_error_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bitmap_test_helper_1__exist_info_bitmap_result_error_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_result_error_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bitmap_test_helper_1__pti_mypair_2__pseudo_514__pseudo_514 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_result_error_0_2 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bitmap_test_helper_1__exist_locns_bitmap_result_error_0_2 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bitmap_test_helper_1__exist_info_bitmap_result_error_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_result_error_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_result_error_0_3 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] bitmap_test_helper_1__exist_locns_bitmap_result_error_0_3 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo bitmap_test_helper_1__exist_info_bitmap_result_error_0_3 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_result_error_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_stag_ordered_bitmap_result_error_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bitmap_test_helper_1__du_ptag_ordered_bitmap_result_error_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_name_ordered_bitmap_result_error_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bitmap_test_helper_1__type_ctor_info_bitmap_result_error_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_verify_error_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_verify_error_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_stag_ordered_bitmap_verify_error_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bitmap_test_helper_1__du_ptag_ordered_bitmap_verify_error_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_name_ordered_bitmap_verify_error_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bitmap_test_helper_1__type_ctor_info_bitmap_verify_error_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_verify_error_type_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_verify_error_type_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_bitmap_verify_error_type_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_bitmap_verify_error_type_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_stag_ordered_bitmap_verify_error_type_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bitmap_test_helper_1__du_ptag_ordered_bitmap_verify_error_type_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_name_ordered_bitmap_verify_error_type_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bitmap_test_helper_1__type_ctor_info_bitmap_verify_error_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bitmap_test_helper_1__field_types_mypair_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bitmap_test_helper_1__du_functor_desc_mypair_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_stag_ordered_mypair_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bitmap_test_helper_1__du_ptag_ordered_mypair_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bitmap_test_helper_1__du_name_ordered_mypair_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:63: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bitmap_test_helper_1__type_ctor_info_mypair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bitmap_test_helper_1__type_ctor_info_tbitmap_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:536: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:3360: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:605: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap HeadVar__1_11, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:606: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap HeadVar__2_12) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:618: error: package jmercury.version_array does not exist jmercury.version_array.ML_va HeadVar__1_15, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:619: error: package jmercury.version_array does not exist jmercury.version_array.ML_va HeadVar__2_16) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:632: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_2) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:790: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:830: error: package bool does not exist bool.Bool_0 B_7) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1062: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_OtherArgs_16, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_OtherArgs_21, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_OtherArgs_16, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_OtherArgs_20, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_21, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1618: error: package bool does not exist bool.Bool_0 B_5) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1639: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1686: error: package bool does not exist bool.Bool_0 InitializerBit_7) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1724: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1826: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_3) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1824: error: package jmercury.version_array does not exist private static jmercury.version_array.ML_va ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1855: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BM_8, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1856: error: package jmercury.version_array does not exist jmercury.version_array.ML_va SBM_9) ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1851: error: package jmercury.version_array does not exist private static jmercury.version_array.ML_va ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:1967: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:3340: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:2327: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:2377: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:2473: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/bitmap_test_helper_1.java:2474: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_12, ^ Note: Mercury/javas/jmercury/bitmap_test_helper_1.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.LvqFSz:2411: bitmap_test] Error 1 gmake[3]: Target 'bitmap_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitmap_test.log] Error 1 RUNNING TEST hard_coded/bitwise_int16 in grade java FAILED TEST hard_coded/bitwise_int in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int Making Mercury/int3s/bitwise_int.int3 Making Mercury/ints/bitwise_int.int Making Mercury/javas/jmercury/bitwise_int.java Making Java class files Mercury/javas/jmercury/bitwise_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int.java:83: 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/bitwise_int.java:85: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[11]; ^ Mercury/javas/jmercury/bitwise_int.java:92: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int.java:730: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_int.java:981: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_int.java:1406: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bitwise_int.java:1514: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_int.java:1573: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_int.java:1592: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_int"; ^ Mercury/javas/jmercury/bitwise_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int.java:41: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:49: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_int.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:63: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int.java:65: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int.java:66: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:70: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int.java:72: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int.java:83: 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/bitwise_int.java:85: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[11]; ^ Mercury/javas/jmercury/bitwise_int.java:92: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_int.java:97: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_int.java:98: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:98: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/bitwise_int.java:101: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_int.java:108: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:108: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bitwise_int.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bitwise_int.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bitwise_int.java:112: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:112: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bitwise_int.java:120: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:120: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bitwise_int.java:121: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:121: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bitwise_int.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bitwise_int.java:123: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:123: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bitwise_int.java:124: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bitwise_int Mercury/javas/jmercury/bitwise_int.java:124: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bitwise_int.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:129: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:134: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bitwise_int.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:139: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/bitwise_int.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:144: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bitwise_int.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:149: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bitwise_int.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:154: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/bitwise_int.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:159: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bitwise_int.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int.java:164: error: package list does not exist (list.List_1) bitwise_int.MR_scalar_common_4[6] ^ 100 errors gmake[3]: *** [/tmp/mmake.xs1Wtc:2411: bitwise_int] Error 1 gmake[3]: Target 'bitwise_int.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_int.log] Error 1 RUNNING TEST hard_coded/bitwise_int32 in grade java FAILED TEST hard_coded/bitwise_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int16 Making Mercury/int3s/bitwise_int16.int3 Making Mercury/ints/bitwise_int16.int Making Mercury/javas/jmercury/bitwise_int16.java Making Java class files Mercury/javas/jmercury/bitwise_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int16.java:99: 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/bitwise_int16.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_int16.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int16.java:804: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_int16.java:1053: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_int16.java:1491: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_int16.java:1550: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_int16.java:1569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_int16"; ^ Mercury/javas/jmercury/bitwise_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int16.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bitwise_int16.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bitwise_int16.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bitwise_int16.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int16.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bitwise_int16.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_int16.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int16.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/bitwise_int16.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/bitwise_int16.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int16.java:99: 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/bitwise_int16.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_int16.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int16.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_int16.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_int16.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0))) ^ symbol: variable builtin location: class bitwise_int16 Mercury/javas/jmercury/bitwise_int16.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0))) ^ Mercury/javas/jmercury/bitwise_int16.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_int16.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:121: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int16.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:126: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_int16.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:131: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_int16.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:136: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_int16.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:141: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_int16.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:146: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_int16.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:151: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_int16.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:156: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_int16.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:161: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_int16.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int16.java:166: error: package list does not exist (list.List_1) bitwise_int16.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_int16.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.NAPm5k:2411: bitwise_int16] Error 1 gmake[3]: Target 'bitwise_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_int16.log] Error 1 RUNNING TEST hard_coded/bitwise_int64 in grade java FAILED TEST hard_coded/bitwise_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int32 Making Mercury/int3s/bitwise_int32.int3 Making Mercury/ints/bitwise_int32.int Making Mercury/javas/jmercury/bitwise_int32.java Making Java class files Mercury/javas/jmercury/bitwise_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int32.java:99: 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/bitwise_int32.java:100: 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[25]; ^ Mercury/javas/jmercury/bitwise_int32.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int32.java:829: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_int32.java:1078: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_int32.java:1516: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_int32.java:1575: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_int32.java:1594: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_int32"; ^ Mercury/javas/jmercury/bitwise_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int32.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bitwise_int32.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bitwise_int32.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bitwise_int32.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int32.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bitwise_int32.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_int32.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int32.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/bitwise_int32.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/bitwise_int32.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int32.java:99: 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/bitwise_int32.java:100: 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[25]; ^ Mercury/javas/jmercury/bitwise_int32.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int32.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_int32.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_int32.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0))) ^ symbol: variable builtin location: class bitwise_int32 Mercury/javas/jmercury/bitwise_int32.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0))) ^ Mercury/javas/jmercury/bitwise_int32.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_int32.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:121: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int32.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:126: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_int32.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:131: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_int32.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:136: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_int32.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:141: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_int32.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:146: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_int32.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:151: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_int32.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:156: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_int32.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:161: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_int32.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int32.java:166: error: package list does not exist (list.List_1) bitwise_int32.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_int32.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.VD6iMc:2411: bitwise_int32] Error 1 gmake[3]: Target 'bitwise_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_int32.log] Error 1 RUNNING TEST hard_coded/bitwise_int8 in grade java FAILED TEST hard_coded/bitwise_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int64 Making Mercury/int3s/bitwise_int64.int3 Making Mercury/ints/bitwise_int64.int Making Mercury/javas/jmercury/bitwise_int64.java Making Java class files Mercury/javas/jmercury/bitwise_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int64.java:99: 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/bitwise_int64.java:100: 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[28]; ^ Mercury/javas/jmercury/bitwise_int64.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int64.java:844: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_int64.java:1093: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_int64.java:1531: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_int64.java:1590: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_int64.java:1609: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_int64"; ^ Mercury/javas/jmercury/bitwise_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int64.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bitwise_int64.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bitwise_int64.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bitwise_int64.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int64.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bitwise_int64.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_int64.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int64.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/bitwise_int64.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/bitwise_int64.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int64.java:99: 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/bitwise_int64.java:100: 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[28]; ^ Mercury/javas/jmercury/bitwise_int64.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int64.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_int64.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_int64.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0))) ^ symbol: variable builtin location: class bitwise_int64 Mercury/javas/jmercury/bitwise_int64.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0))) ^ Mercury/javas/jmercury/bitwise_int64.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_int64.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:121: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int64.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:126: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_int64.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:131: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_int64.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:136: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_int64.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:141: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_int64.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:146: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_int64.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:151: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_int64.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:156: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_int64.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:161: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_int64.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int64.java:166: error: package list does not exist (list.List_1) bitwise_int64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_int64.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.mCVbWe:2411: bitwise_int64] Error 1 gmake[3]: Target 'bitwise_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_int64.log] Error 1 RUNNING TEST hard_coded/bitwise_uint in grade java FAILED TEST hard_coded/bitwise_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_int8 Making Mercury/int3s/bitwise_int8.int3 Making Mercury/ints/bitwise_int8.int Making Mercury/javas/jmercury/bitwise_int8.java Making Java class files Mercury/javas/jmercury/bitwise_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int8.java:99: 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/bitwise_int8.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_int8.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int8.java:804: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_int8.java:1053: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_int8.java:1491: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_int8.java:1550: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_int8.java:1569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_int8"; ^ Mercury/javas/jmercury/bitwise_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_int8.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bitwise_int8.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bitwise_int8.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bitwise_int8.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_int8.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bitwise_int8.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_int8.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_int8.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/bitwise_int8.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/bitwise_int8.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_int8.java:99: 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/bitwise_int8.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_int8.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_int8.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_int8.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_int8.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ symbol: variable builtin location: class bitwise_int8 Mercury/javas/jmercury/bitwise_int8.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ Mercury/javas/jmercury/bitwise_int8.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_int8.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:121: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int8.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:126: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_int8.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:131: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_int8.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:136: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_int8.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:141: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_int8.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:146: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_int8.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:151: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_int8.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:156: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_int8.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:161: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_int8.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_int8.java:166: error: package list does not exist (list.List_1) bitwise_int8.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_int8.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.GxSIOg:2411: bitwise_int8] Error 1 gmake[3]: Target 'bitwise_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_int8.log] Error 1 RUNNING TEST hard_coded/bitwise_uint16 in grade java FAILED TEST hard_coded/bitwise_uint in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint Making Mercury/int3s/bitwise_uint.int3 Making Mercury/ints/bitwise_uint.int Making Mercury/javas/jmercury/bitwise_uint.java Making Java class files Mercury/javas/jmercury/bitwise_uint.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint.java:90: 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/bitwise_uint.java:92: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[11]; ^ Mercury/javas/jmercury/bitwise_uint.java:99: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint.java:737: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_uint.java:988: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_uint.java:1403: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bitwise_uint.java:1504: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_uint.java:1563: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_uint.java:1582: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_uint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_uint"; ^ Mercury/javas/jmercury/bitwise_uint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_uint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_uint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_uint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_uint.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint.java:42: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bitwise_uint.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:50: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bitwise_uint.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:56: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_uint.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bitwise_uint.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:64: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_uint.java:66: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:70: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint.java:72: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:73: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bitwise_uint.java:73: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:77: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:79: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/bitwise_uint.java:79: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint.java:90: 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/bitwise_uint.java:92: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[11]; ^ Mercury/javas/jmercury/bitwise_uint.java:99: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_uint.java:104: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:104: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_uint.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/bitwise_uint.java:108: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_uint.java:115: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:115: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:117: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:117: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:118: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:118: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:119: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:119: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bitwise_uint.java:127: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:127: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:128: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:128: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:130: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:130: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bitwise_uint.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bitwise_uint Mercury/javas/jmercury/bitwise_uint.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bitwise_uint.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint.java:136: error: package list does not exist (list.List_1) bitwise_uint.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint.java:141: error: package list does not exist (list.List_1) bitwise_uint.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bitwise_uint.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint.java:146: error: package list does not exist (list.List_1) bitwise_uint.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/bitwise_uint.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint.java:151: error: package list does not exist (list.List_1) bitwise_uint.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bitwise_uint.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint.java:156: error: package list does not exist (list.List_1) bitwise_uint.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bitwise_uint.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.ITrZ1B:2411: bitwise_uint] Error 1 gmake[3]: Target 'bitwise_uint.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_uint.log] Error 1 RUNNING TEST hard_coded/bitwise_uint32 in grade java FAILED TEST hard_coded/bitwise_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint16 Making Mercury/int3s/bitwise_uint16.int3 Making Mercury/ints/bitwise_uint16.int Making Mercury/javas/jmercury/bitwise_uint16.java Making Java class files Mercury/javas/jmercury/bitwise_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint16.java:99: 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/bitwise_uint16.java:100: 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[19]; ^ Mercury/javas/jmercury/bitwise_uint16.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint16.java:799: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_uint16.java:1048: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_uint16.java:1486: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_uint16.java:1545: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_uint16.java:1564: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_uint16"; ^ Mercury/javas/jmercury/bitwise_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint16.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/bitwise_uint16.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/bitwise_uint16.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint16.java:99: 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/bitwise_uint16.java:100: 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[19]; ^ Mercury/javas/jmercury/bitwise_uint16.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint16.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_uint16.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_uint16.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ symbol: variable builtin location: class bitwise_uint16 Mercury/javas/jmercury/bitwise_uint16.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ Mercury/javas/jmercury/bitwise_uint16.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_uint16.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:121: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint16.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:126: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_uint16.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:131: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_uint16.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:136: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_uint16.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:141: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_uint16.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:146: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_uint16.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:151: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_uint16.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:156: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_uint16.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:161: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint16.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint16.java:166: error: package list does not exist (list.List_1) bitwise_uint16.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_uint16.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.xC9gn5:2411: bitwise_uint16] Error 1 gmake[3]: Target 'bitwise_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_uint16.log] Error 1 RUNNING TEST hard_coded/bitwise_uint64 in grade java FAILED TEST hard_coded/bitwise_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint32 Making Mercury/int3s/bitwise_uint32.int3 Making Mercury/ints/bitwise_uint32.int Making Mercury/javas/jmercury/bitwise_uint32.java Making Java class files Mercury/javas/jmercury/bitwise_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint32.java:99: 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/bitwise_uint32.java:100: 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[21]; ^ Mercury/javas/jmercury/bitwise_uint32.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint32.java:809: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_uint32.java:1058: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_uint32.java:1496: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_uint32.java:1555: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_uint32.java:1574: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_uint32"; ^ Mercury/javas/jmercury/bitwise_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint32.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/bitwise_uint32.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/bitwise_uint32.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint32.java:99: 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/bitwise_uint32.java:100: 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[21]; ^ Mercury/javas/jmercury/bitwise_uint32.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint32.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_uint32.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_uint32.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ symbol: variable builtin location: class bitwise_uint32 Mercury/javas/jmercury/bitwise_uint32.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ Mercury/javas/jmercury/bitwise_uint32.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_uint32.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:121: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint32.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:126: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_uint32.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:131: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_uint32.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:136: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_uint32.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:141: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_uint32.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:146: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_uint32.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:151: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_uint32.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:156: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_uint32.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:161: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_uint32.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint32.java:166: error: package list does not exist (list.List_1) bitwise_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint32.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.KgMq9i:2411: bitwise_uint32] Error 1 gmake[3]: Target 'bitwise_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_uint32.log] Error 1 RUNNING TEST hard_coded/bitwise_uint8 in grade java FAILED TEST hard_coded/bitwise_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint64 Making Mercury/int3s/bitwise_uint64.int3 Making Mercury/ints/bitwise_uint64.int Making Mercury/javas/jmercury/bitwise_uint64.java Making Java class files Mercury/javas/jmercury/bitwise_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint64.java:99: 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/bitwise_uint64.java:100: 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[23]; ^ Mercury/javas/jmercury/bitwise_uint64.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint64.java:819: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_uint64.java:1068: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_uint64.java:1506: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_uint64.java:1565: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_uint64.java:1584: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_uint64"; ^ Mercury/javas/jmercury/bitwise_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint64.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/bitwise_uint64.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/bitwise_uint64.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint64.java:99: 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/bitwise_uint64.java:100: 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[23]; ^ Mercury/javas/jmercury/bitwise_uint64.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint64.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_uint64.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_uint64.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ symbol: variable builtin location: class bitwise_uint64 Mercury/javas/jmercury/bitwise_uint64.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ Mercury/javas/jmercury/bitwise_uint64.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_uint64.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:121: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint64.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:126: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_uint64.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:131: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_uint64.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:136: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_uint64.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:141: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_uint64.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:146: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_uint64.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:151: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_uint64.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:156: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_uint64.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:161: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_uint64.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint64.java:166: error: package list does not exist (list.List_1) bitwise_uint64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/bitwise_uint64.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.Bep4PU:2411: bitwise_uint64] Error 1 gmake[3]: Target 'bitwise_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_uint64.log] Error 1 RUNNING TEST hard_coded/boyer in grade java FAILED TEST hard_coded/bitwise_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bitwise_uint8 Making Mercury/int3s/bitwise_uint8.int3 Making Mercury/ints/bitwise_uint8.int Making Mercury/javas/jmercury/bitwise_uint8.java Making Java class files Mercury/javas/jmercury/bitwise_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint8.java:99: 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/bitwise_uint8.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_uint8.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint8.java:804: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/bitwise_uint8.java:1053: error: package list does not exist list.List_1 Bs_13, ^ Mercury/javas/jmercury/bitwise_uint8.java:1491: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bitwise_uint8.java:1550: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bitwise_uint8.java:1569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bitwise_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bitwise_uint8"; ^ Mercury/javas/jmercury/bitwise_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bitwise_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bitwise_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bitwise_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bitwise_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bitwise_uint8.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:57: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:65: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:69: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:73: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:79: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:81: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/bitwise_uint8.java:81: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:86: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/bitwise_uint8.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bitwise_uint8.java:99: 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/bitwise_uint8.java:100: 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[20]; ^ Mercury/javas/jmercury/bitwise_uint8.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bitwise_uint8.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bitwise_uint8.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/bitwise_uint8.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class bitwise_uint8 Mercury/javas/jmercury/bitwise_uint8.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/bitwise_uint8.java:117: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bitwise_uint8.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:121: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint8.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:126: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bitwise_uint8.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:131: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bitwise_uint8.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:136: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bitwise_uint8.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:141: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/bitwise_uint8.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:146: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/bitwise_uint8.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:151: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/bitwise_uint8.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:156: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/bitwise_uint8.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:161: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/bitwise_uint8.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bitwise_uint8.java:166: error: package list does not exist (list.List_1) bitwise_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bitwise_uint8.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.GpuQmH:2411: bitwise_uint8] Error 1 gmake[3]: Target 'bitwise_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bitwise_uint8.log] Error 1 RUNNING TEST hard_coded/brace in grade java FAILED TEST hard_coded/brace in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - brace.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - brace Making Mercury/int3s/brace.int3 Making Mercury/ints/brace.int Making Mercury/javas/jmercury/brace.java Making Java class files Mercury/javas/jmercury/brace.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/brace.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/brace.java:159: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/brace.java:191: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/brace.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "brace"; ^ Mercury/javas/jmercury/brace.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/brace.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/brace.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class brace Mercury/javas/jmercury/brace.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class brace Mercury/javas/jmercury/brace.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/brace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/brace.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/brace.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/brace.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class brace Mercury/javas/jmercury/brace.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/brace.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/brace.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/brace.java:54: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/brace.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:58: error: package list does not exist (list.List_1) brace.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/brace.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:63: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/brace.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:68: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/brace.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:73: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/brace.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:78: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/brace.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:83: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/brace.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:88: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/brace.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:93: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/brace.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/brace.java:98: error: package list does not exist (list.List_1) brace.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/brace.java:112: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/brace.java:115: error: cannot find symbol io.write_string_3_p_0(Arg_4); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:118: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:121: error: cannot find symbol Var_10 = dir.expand_braces_1_f_0(Arg_4); ^ symbol: variable dir location: class brace Mercury/javas/jmercury/brace.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/brace.java:131: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class brace Mercury/javas/jmercury/brace.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/brace.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/brace.java:132: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/brace.java:134: error: package list does not exist list.List_1 Var_7 = (list.List_1) brace.MR_scalar_common_4[8]; ^ Mercury/javas/jmercury/brace.java:134: error: package list does not exist list.List_1 Var_7 = (list.List_1) brace.MR_scalar_common_4[8]; ^ Mercury/javas/jmercury/brace.java:138: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class brace Mercury/javas/jmercury/brace.java:166: error: package list.List_1 does not exist java.lang.String Str_7 = ((java.lang.String) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/brace.java:167: error: package list does not exist list.List_1 Strs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/brace.java:167: error: package list.List_1 does not exist list.List_1 Strs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/brace.java:169: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/brace.java:172: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:175: error: cannot find symbol io.write_string_3_p_0(Str_7); ^ symbol: variable io location: class brace Mercury/javas/jmercury/brace.java:178: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class brace 62 errors gmake[3]: *** [/tmp/mmake.6nlbXO:2411: brace] Error 1 gmake[3]: Target 'brace.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: brace.log] Error 1 RUNNING TEST hard_coded/bug103 in grade java FAILED TEST hard_coded/boyer in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - boyer.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - boyer Making Mercury/int3s/boyer.int3 Making Mercury/ints/boyer.int Making Mercury/javas/jmercury/boyer.java Making Java class files Mercury/javas/jmercury/boyer.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_10 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_11 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_12 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_13 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/boyer.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_13 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_14 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_15 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_16 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_17 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_18 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_19 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_20 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_21 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_22 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_23 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] boyer__du_stag_ordered_type_wff_0_0 = new jmercury.runtime.DuFunctorDesc[24]; ^ Mercury/javas/jmercury/boyer.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] boyer__du_ptag_ordered_type_wff_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/boyer.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] boyer__du_name_ordered_type_wff_0 = new jmercury.runtime.DuFunctorDesc[24]; ^ Mercury/javas/jmercury/boyer.java:74: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct boyer__type_ctor_info_type_wff_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/boyer.java:3130: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/boyer.java:693: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_24 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/boyer.java:1374: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/boyer.java:1376: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/boyer.java:1978: error: package list does not exist list.List_1 Tlist_5, ^ Mercury/javas/jmercury/boyer.java:1979: error: package list does not exist list.List_1 Flist_6) ^ Mercury/javas/jmercury/boyer.java:2105: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/boyer.java:3088: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/boyer.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "boyer"; ^ Mercury/javas/jmercury/boyer.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/boyer.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/boyer.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class boyer Mercury/javas/jmercury/boyer.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class boyer Mercury/javas/jmercury/boyer.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/boyer.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class boyer Mercury/javas/jmercury/boyer.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class boyer Mercury/javas/jmercury/boyer.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class boyer Mercury/javas/jmercury/boyer.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class boyer Mercury/javas/jmercury/boyer.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/boyer.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_10 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_11 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/boyer.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_12 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/boyer.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] boyer__field_types_type_wff_0_13 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/boyer.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_13 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_14 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_15 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_16 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_17 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_18 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_19 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_20 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_21 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_22 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc boyer__du_functor_desc_type_wff_0_23 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/boyer.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] boyer__du_stag_ordered_type_wff_0_0 = new jmercury.runtime.DuFunctorDesc[24]; ^ 100 errors gmake[3]: *** [/tmp/mmake.fPpsH5:2411: boyer] Error 1 gmake[3]: Target 'boyer.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: boyer.log] Error 1 RUNNING TEST hard_coded/bug160 in grade java FAILED TEST hard_coded/bug103 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug103.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug103 Making Mercury/int3s/bug103.int3 Making Mercury/ints/bug103.int Making Mercury/javas/jmercury/bug103.java Making Java class files Mercury/javas/jmercury/bug103.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug103__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug103.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug103__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug103.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug103__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug103.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug103.java:126: 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/bug103.java:127: 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/bug103.java:181: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/bug103.java:230: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug103.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug103.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug103"; ^ Mercury/javas/jmercury/bug103.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug103.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug103.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug103 Mercury/javas/jmercury/bug103.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug103 Mercury/javas/jmercury/bug103.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug103.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug103.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug103__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug103.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug103__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug103.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug103__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug103.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug103__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug103.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug103__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug103.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug103.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug103 Mercury/javas/jmercury/bug103.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug103.bug103__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/bug103.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug103.java:84: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug103 Mercury/javas/jmercury/bug103.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug103.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug103.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug103.java:126: 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/bug103.java:127: 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/bug103.java:133: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug103.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:136: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/bug103.java:136: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/bug103.java:137: error: package list does not exist (list.List_1) bug103.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/bug103.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:141: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:141: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:142: error: package list does not exist (list.List_1) bug103.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug103.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug103.java:146: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:146: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/bug103.java:147: error: package list does not exist (list.List_1) bug103.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bug103.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/bug103.java:162: error: package list does not exist list.List_1 Var_8 = (list.List_1) bug103.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/bug103.java:162: error: package list does not exist list.List_1 Var_8 = (list.List_1) bug103.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/bug103.java:170: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug103.bug103__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/bug103.java:172: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Foo_5))); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:175: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug103 Mercury/javas/jmercury/bug103.java:193: error: package bool does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:193: error: package bool does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:193: error: package list.List_1 does not exist bool.Bool_0 H_4 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug103.java:194: error: package list does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/bug103.java:194: error: package list.List_1 does not exist list.List_1 T_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/bug103.java:196: error: illegal start of type switch (H_4.MR_value) { ^ Mercury/javas/jmercury/bug103.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug103.java:238: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug103.java:245: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:254: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bug103.java:258: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug103.java:263: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug103.java:265: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:267: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bug103.java:282: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug103.java:285: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug103.java:287: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug103.java:298: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug103.java:399: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors gmake[3]: *** [/tmp/mmake.gaFYcl:2411: bug103] Error 1 gmake[3]: Target 'bug103.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug103.log] Error 1 RUNNING TEST hard_coded/bug240 in grade java FAILED TEST hard_coded/bug160 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -w --optimize-peep-mkword '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug160.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -w --optimize-peep-mkword '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug160 Making Mercury/int3s/bug160.int3 Making Mercury/ints/bug160.int Making Mercury/javas/jmercury/bug160.java Making Java class files Mercury/javas/jmercury/bug160.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_ordinal_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_name_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug160.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug160.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:720: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:742: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug160.java:743: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:281: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:673: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug160.java:320: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:404: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug160.java:595: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug160.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug160"; ^ Mercury/javas/jmercury/bug160.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug160.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug160.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug160 Mercury/javas/jmercury/bug160.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug160 Mercury/javas/jmercury/bug160.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug160.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug160.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug160__enum_functor_desc_t1_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_ordinal_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug160__enum_name_ordered_t1_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug160.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug160.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t2_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug160.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug160__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug160.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug160__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug160.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug160__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug160.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug160__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug160.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug160__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug160.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug160.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:98: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t3_0; ^ Mercury/javas/jmercury/bug160.java:103: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:111: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:118: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:126: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:133: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:141: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug160.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug160.java:180: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:183: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:192: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t1_0; ^ Mercury/javas/jmercury/bug160.java:194: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug160.bug160__type_ctor_info_t1_0; ^ Mercury/javas/jmercury/bug160.java:199: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:207: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:213: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug160.java:215: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug160 Mercury/javas/jmercury/bug160.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug160.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug160.java:237: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug160.java:274: error: cannot find symbol io.write_string_3_p_0(R_4); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:277: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug160 Mercury/javas/jmercury/bug160.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:288: 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 T1_0 Mercury/javas/jmercury/bug160.java:289: 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 T1_0 Mercury/javas/jmercury/bug160.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:311: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:326: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug160.java:332: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:349: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:352: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug160.java:358: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug160.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug160.java:367: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug160.java:374: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug160.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ 100 errors gmake[3]: *** [/tmp/mmake.OV9z5u:2411: bug160] Error 1 gmake[3]: Target 'bug160.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug160.log] Error 1 RUNNING TEST hard_coded/bug300 in grade java FAILED TEST hard_coded/bug240 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug240.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug240 Making Mercury/int3s/bug240.int3 Making Mercury/ints/bug240.int Making Mercury/javas/jmercury/bug240.java Making Java class files Mercury/javas/jmercury/bug240.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug240.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug240__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug240.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug240__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug240.java:661: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug240.java:290: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug240.java:619: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug240.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug240"; ^ Mercury/javas/jmercury/bug240.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug240.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug240.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug240 Mercury/javas/jmercury/bug240.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug240 Mercury/javas/jmercury/bug240.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug240.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug240.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug240.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug240__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug240.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug240__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug240.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug240__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug240.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug240__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/bug240.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug240__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug240.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:85: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:85: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:90: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:98: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:102: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:102: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:107: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:115: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:119: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/bug240.java:119: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:121: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/bug240.java:121: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug240.java:123: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:128: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:136: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug240.java:152: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug240 Mercury/javas/jmercury/bug240.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug240.java:187: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug240.java:190: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug240.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/bug240.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/bug240.java:259: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:259: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/bug240.java:261: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, java.lang.Double.valueOf(Y1_6)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:264: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, java.lang.Double.valueOf(Y2_7)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:266: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bug240.java:268: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, java.lang.Integer.valueOf(Y3_8)); ^ symbol: variable io location: class bug240 Mercury/javas/jmercury/bug240.java:296: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug240.java:304: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug240.java:311: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/bug240.java:317: error: cannot find symbol TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:317: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bug240.java:319: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeCtorInfo_28_28, java.lang.Integer.valueOf(ArgX1_4), java.lang.Integer.valueOf(ArgY1_5)); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:327: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:330: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug240.java:336: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:340: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/bug240.java:346: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:346: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bug240.java:348: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeCtorInfo_27_27, java.lang.Integer.valueOf(ArgX1_6), java.lang.Integer.valueOf(ArgY1_7)); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:355: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug240.java:358: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug240.java:365: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug240.java:369: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/bug240.java:375: error: cannot find symbol TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class bug240 Mercury/javas/jmercury/bug240.java:375: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/bug240.java:377: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeCtorInfo_26_26, java.lang.Integer.valueOf(ArgX1_8), java.lang.Integer.valueOf(ArgY1_9)); ^ symbol: variable builtin location: class bug240 100 errors gmake[3]: *** [/tmp/mmake.BD2pMq:2411: bug240] Error 1 gmake[3]: Target 'bug240.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug240.log] Error 1 RUNNING TEST hard_coded/bug383 in grade java FAILED TEST hard_coded/bug300 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-const-struct --no-const-struct --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug300.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-const-struct --no-const-struct --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug300 Making Mercury/int3s/bug300.int3 Making Mercury/ints/bug300.int Making Mercury/javas/jmercury/bug300.java Making Java class files Mercury/javas/jmercury/bug300.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bug300__ti_mer_term_1bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_bug300__ti_mer_term_1bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_data_term_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_literal_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug300.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_literal_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_literal_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug300.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_literal_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_stag_ordered_literal_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug300.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug300__du_ptag_ordered_literal_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug300.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_name_ordered_literal_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug300.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bug300__pti_mer_term_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_bug300__pti_mer_term_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_mer_term_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug300.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_mer_term_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_stag_ordered_mer_term_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug300.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug300__du_ptag_ordered_mer_term_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug300.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_name_ordered_mer_term_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug300.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_mer_term_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_qualified_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_unqualified_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:286: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/bug300.java:289: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug300.java:290: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/bug300.java:1211: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug300.java:436: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/bug300.java:437: error: package list does not exist list.List_1 AddrOfHeadVar__2_21) ^ Mercury/javas/jmercury/bug300.java:523: error: package list does not exist list.List_1 ListTerm_4) ^ Mercury/javas/jmercury/bug300.java:562: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/bug300.java:604: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug300.java:1168: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug300.java:635: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug300.java:701: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/bug300.java:699: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug300.java:765: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/bug300.java:766: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/bug300.java:763: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug300.java:794: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug300.java:908: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/bug300.java:965: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/bug300.java:966: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bug300.java:1213: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/bug300.java:1214: error: package list does not exist public list.List_1> F2; ^ Mercury/javas/jmercury/bug300.java:1222: error: package list does not exist list.List_1 F1, ^ Mercury/javas/jmercury/bug300.java:1223: error: package list does not exist list.List_1> F2) ^ Mercury/javas/jmercury/bug300.java:1020: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug300.java:1116: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug300.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug300"; ^ Mercury/javas/jmercury/bug300.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug300.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug300.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug300 Mercury/javas/jmercury/bug300.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug300 Mercury/javas/jmercury/bug300.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug300.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug300 Mercury/javas/jmercury/bug300.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug300 Mercury/javas/jmercury/bug300.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug300 Mercury/javas/jmercury/bug300.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug300 Mercury/javas/jmercury/bug300.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug300.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bug300__ti_mer_term_1bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_bug300__ti_mer_term_1bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_data_term_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_literal_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug300.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_literal_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_literal_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug300.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_literal_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_stag_ordered_literal_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug300.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug300__du_ptag_ordered_literal_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug300.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_name_ordered_literal_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug300.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_literal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bug300__pti_mer_term_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_bug300__pti_mer_term_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug300__field_types_mer_term_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug300.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug300__du_functor_desc_mer_term_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug300.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_stag_ordered_mer_term_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug300.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug300__du_ptag_ordered_mer_term_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug300.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug300__du_name_ordered_mer_term_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug300.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_mer_term_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_qualified_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug300__type_ctor_info_unqualified_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug300.java:60: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bug300 Mercury/javas/jmercury/bug300.java:62: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class bug300 Mercury/javas/jmercury/bug300.java:62: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/bug300.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug300.list__ti_list_1builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/bug300.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug300.list__pti_list_1__pseudo_bug300__pti_mer_term_1__pseudo_1; ^ Mercury/javas/jmercury/bug300.java:76: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug300 Mercury/javas/jmercury/bug300.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug300 Mercury/javas/jmercury/bug300.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug300.java:94: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug300 Mercury/javas/jmercury/bug300.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug300.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug300.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug300.java:123: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/bug300.java:127: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bug300 Mercury/javas/jmercury/bug300.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug300.bug300__pti_mer_term_1__pseudo_1 ^ Mercury/javas/jmercury/bug300.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(bug300.bug300__type_ctor_info_literal_0) ^ Mercury/javas/jmercury/bug300.java:139: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class bug300 Mercury/javas/jmercury/bug300.java:141: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug300.bug300__ti_mer_term_1bug300__type_ctor_info_literal_0 ^ Mercury/javas/jmercury/bug300.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ 100 errors gmake[3]: *** [/tmp/mmake.MGVJGw:2411: bug300] Error 1 gmake[3]: Target 'bug300.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug300.log] Error 1 RUNNING TEST hard_coded/bug392 in grade java FAILED TEST hard_coded/bug383 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug383.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug383 Making Mercury/int3s/bug383.int3 Making Mercury/ints/bug383.int Making Mercury/javas/jmercury/bug383.java Making Java class files Mercury/javas/jmercury/bug383.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug383__enum_functor_desc_cadmium_op_table_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug383.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_ordinal_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug383.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_name_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug383.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug383__type_ctor_info_cadmium_op_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug383.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug383.java:114: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[18]; ^ Mercury/javas/jmercury/bug383.java:115: error: package ops.Maybe_op_info_infix_0 does not exist private static final ops.Maybe_op_info_infix_0.In_3[] MR_scalar_common_4 = new ops.Maybe_op_info_infix_0.In_3[13]; ^ Mercury/javas/jmercury/bug383.java:116: error: package ops.Maybe_op_info_binary_prefix_0 does not exist private static final ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[] MR_scalar_common_5 = new ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[1]; ^ Mercury/javas/jmercury/bug383.java:117: error: package ops.Maybe_op_info_prefix_0 does not exist private static final ops.Maybe_op_info_prefix_0.No_pre_0[] MR_scalar_common_6 = new ops.Maybe_op_info_prefix_0.No_pre_0[1]; ^ Mercury/javas/jmercury/bug383.java:118: error: package ops.Maybe_op_info_postfix_0 does not exist private static final ops.Maybe_op_info_postfix_0.No_post_0[] MR_scalar_common_7 = new ops.Maybe_op_info_postfix_0.No_post_0[1]; ^ Mercury/javas/jmercury/bug383.java:119: error: package ops does not exist private static final ops.Op_infos_0[] MR_scalar_common_8 = new ops.Op_infos_0[14]; ^ Mercury/javas/jmercury/bug383.java:120: error: package ops.Maybe_op_info_prefix_0 does not exist private static final ops.Maybe_op_info_prefix_0.Pre_2[] MR_scalar_common_9 = new ops.Maybe_op_info_prefix_0.Pre_2[2]; ^ Mercury/javas/jmercury/bug383.java:121: error: package ops.Maybe_op_info_infix_0 does not exist private static final ops.Maybe_op_info_infix_0.No_in_0[] MR_scalar_common_10 = new ops.Maybe_op_info_infix_0.No_in_0[1]; ^ Mercury/javas/jmercury/bug383.java:985: error: package ops does not exist private static ops.Priority_0 ^ Mercury/javas/jmercury/bug383.java:1009: error: package ops does not exist private static ops.Priority_0 ^ Mercury/javas/jmercury/bug383.java:1033: error: package ops does not exist private static ops.Priority_0 ^ Mercury/javas/jmercury/bug383.java:1057: error: package ops does not exist private static ops.Priority_0 ^ Mercury/javas/jmercury/bug383.java:1081: error: package ops does not exist private static ops.Priority_0 ^ Mercury/javas/jmercury/bug383.java:1105: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug383.java:1151: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug383.java:1247: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug383.java:1328: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug383.java:1329: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug383.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug383"; ^ Mercury/javas/jmercury/bug383.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug383.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug383.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug383 Mercury/javas/jmercury/bug383.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug383 Mercury/javas/jmercury/bug383.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug383.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug383 Mercury/javas/jmercury/bug383.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug383 Mercury/javas/jmercury/bug383.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug383 Mercury/javas/jmercury/bug383.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug383 Mercury/javas/jmercury/bug383.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug383.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug383__enum_functor_desc_cadmium_op_table_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug383.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_ordinal_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug383.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_name_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/bug383.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug383__type_ctor_info_cadmium_op_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug383.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/bug383.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug383.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug383.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug383.java:114: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[18]; ^ Mercury/javas/jmercury/bug383.java:115: error: package ops.Maybe_op_info_infix_0 does not exist private static final ops.Maybe_op_info_infix_0.In_3[] MR_scalar_common_4 = new ops.Maybe_op_info_infix_0.In_3[13]; ^ Mercury/javas/jmercury/bug383.java:116: error: package ops.Maybe_op_info_binary_prefix_0 does not exist private static final ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[] MR_scalar_common_5 = new ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[1]; ^ Mercury/javas/jmercury/bug383.java:117: error: package ops.Maybe_op_info_prefix_0 does not exist private static final ops.Maybe_op_info_prefix_0.No_pre_0[] MR_scalar_common_6 = new ops.Maybe_op_info_prefix_0.No_pre_0[1]; ^ Mercury/javas/jmercury/bug383.java:118: error: package ops.Maybe_op_info_postfix_0 does not exist private static final ops.Maybe_op_info_postfix_0.No_post_0[] MR_scalar_common_7 = new ops.Maybe_op_info_postfix_0.No_post_0[1]; ^ Mercury/javas/jmercury/bug383.java:119: error: package ops does not exist private static final ops.Op_infos_0[] MR_scalar_common_8 = new ops.Op_infos_0[14]; ^ Mercury/javas/jmercury/bug383.java:120: error: package ops.Maybe_op_info_prefix_0 does not exist private static final ops.Maybe_op_info_prefix_0.Pre_2[] MR_scalar_common_9 = new ops.Maybe_op_info_prefix_0.Pre_2[2]; ^ Mercury/javas/jmercury/bug383.java:121: error: package ops.Maybe_op_info_infix_0 does not exist private static final ops.Maybe_op_info_infix_0.No_in_0[] MR_scalar_common_10 = new ops.Maybe_op_info_infix_0.No_in_0[1]; ^ Mercury/javas/jmercury/bug383.java:127: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bug383.bug383__type_ctor_info_cadmium_op_table_0))) ^ Mercury/javas/jmercury/bug383.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug383.java:131: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_parser.mercury_term_parser__type_ctor_info_read_term_1))), ^ symbol: variable mercury_term_parser location: class bug383 Mercury/javas/jmercury/bug383.java:131: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_parser.mercury_term_parser__type_ctor_info_read_term_1))), ^ Mercury/javas/jmercury/bug383.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class bug383 Mercury/javas/jmercury/bug383.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/bug383.java:135: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:139: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:143: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:147: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:151: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:155: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:159: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:163: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:167: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:171: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:175: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:179: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:183: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:187: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:191: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:195: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:199: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:203: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/bug383.java:207: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:208: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[0], ^ Mercury/javas/jmercury/bug383.java:209: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0, ^ Mercury/javas/jmercury/bug383.java:210: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0 ^ Mercury/javas/jmercury/bug383.java:213: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:214: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[1], ^ Mercury/javas/jmercury/bug383.java:215: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K1, ^ Mercury/javas/jmercury/bug383.java:216: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0 ^ Mercury/javas/jmercury/bug383.java:219: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:220: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[3], ^ Mercury/javas/jmercury/bug383.java:221: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0, ^ Mercury/javas/jmercury/bug383.java:222: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K1 ^ Mercury/javas/jmercury/bug383.java:225: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:226: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[4], ^ Mercury/javas/jmercury/bug383.java:227: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0, ^ Mercury/javas/jmercury/bug383.java:228: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K1 ^ Mercury/javas/jmercury/bug383.java:231: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:232: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[5], ^ Mercury/javas/jmercury/bug383.java:233: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K1, ^ Mercury/javas/jmercury/bug383.java:234: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0 ^ Mercury/javas/jmercury/bug383.java:237: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:238: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[6], ^ Mercury/javas/jmercury/bug383.java:239: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K1, ^ Mercury/javas/jmercury/bug383.java:240: error: package ops does not exist ops.Arg_prio_gt_or_ge_0.K0 ^ Mercury/javas/jmercury/bug383.java:243: error: package ops.Maybe_op_info_infix_0 does not exist new ops.Maybe_op_info_infix_0.In_3( ^ Mercury/javas/jmercury/bug383.java:244: error: package ops does not exist (ops.Priority_0) bug383.MR_scalar_common_3[7], ^ 100 errors gmake[3]: *** [/tmp/mmake.LSZB7a:2411: bug383] Error 1 gmake[3]: Target 'bug383.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug383.log] Error 1 RUNNING TEST hard_coded/bug452 in grade java FAILED TEST hard_coded/bug392 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug392.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug392 Making Mercury/int3s/bug392.int3 Making Mercury/ints/bug392.int Making Mercury/javas/jmercury/bug392.java Making Java class files Mercury/javas/jmercury/bug392.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bug392.java:56: error: package bool does not exist bool.Bool_0 B_3) ^ Mercury/javas/jmercury/bug392.java:112: error: package bool does not exist bool.Bool_0 B_4, ^ Mercury/javas/jmercury/bug392.java:113: error: package maybe does not exist maybe.Maybe_1 R_5) ^ Mercury/javas/jmercury/bug392.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug392"; ^ Mercury/javas/jmercury/bug392.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug392.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug392.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug392 Mercury/javas/jmercury/bug392.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug392 Mercury/javas/jmercury/bug392.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug392.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug392.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/bug392.java:36: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/bug392.java:62: error: package maybe does not exist maybe.Maybe_1 Var_7 = null; ^ Mercury/javas/jmercury/bug392.java:67: error: package maybe does not exist Var_7 = (maybe.Maybe_1) bug392.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/bug392.java:85: error: package bool does not exist bool.Bool_0 Var_8 = null; ^ Mercury/javas/jmercury/bug392.java:86: error: package bool does not exist bool.Bool_0 Var_11 = null; ^ Mercury/javas/jmercury/bug392.java:88: error: package bool does not exist Var_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/bug392.java:93: error: cannot find symbol io.write_int_3_p_0(Xyes_4); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:96: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:98: error: package bool does not exist Var_11 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/bug392.java:103: error: cannot find symbol io.write_int_3_p_0(Xno_5); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:106: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug392 Mercury/javas/jmercury/bug392.java:118: error: package bool.Bool_0 does not exist succeeded = (B_4.MR_value == bool.Bool_0.K1.MR_value); ^ Mercury/javas/jmercury/bug392.java:126: error: package maybe.Maybe_1 does not exist Q_6 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) R_5).F1)).intValue(); ^ Mercury/javas/jmercury/bug392.java:126: error: illegal start of type Q_6 = ((java.lang.Integer) (((maybe.Maybe_1.Yes_1) R_5).F1)).intValue(); ^ 30 errors gmake[3]: *** [/tmp/mmake.LlCrkZ:2411: bug392] Error 1 gmake[3]: Target 'bug392.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug392.log] Error 1 RUNNING TEST hard_coded/bug455 in grade java FAILED TEST hard_coded/bug452 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug452.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug452 Making Mercury/int3s/bug452.int3 Making Mercury/ints/bug452.int Making Mercury/javas/jmercury/bug452.java Making Java class files Mercury/javas/jmercury/bug452.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_category_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:180: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug452.java:181: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/bug452.java:637: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug452.java:638: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug452.java:624: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug452.java:625: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug452.java:393: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug452.java:432: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug452.java:519: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug452.java:579: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug452.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug452"; ^ Mercury/javas/jmercury/bug452.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug452.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug452.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug452 Mercury/javas/jmercury/bug452.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug452 Mercury/javas/jmercury/bug452.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug452.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug452.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_category_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_category_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug452.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_category_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug452__enum_functor_desc_thing_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug452.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_ordinal_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug452__enum_name_ordered_thing_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/bug452.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug452__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug452.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug452.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug452.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug452.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug452.java:160: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug452.java:163: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug452.java:180: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug452.java:181: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/bug452.java:191: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:191: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug452.java:192: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:192: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug452.java:201: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug452.java:203: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:205: error: package list does not exist (list.List_1) bug452.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug452.java:208: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:210: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/bug452.java:213: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:215: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/bug452.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:220: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/bug452.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:225: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/bug452.java:228: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:230: error: package list does not exist (list.List_1) bug452.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug452.java:233: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:235: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/bug452.java:238: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug452.java:240: error: package list does not exist (list.List_1) bug452.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/bug452.java:249: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:249: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug452.java:250: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:250: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug452.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:264: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bug452.java:264: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:264: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/bug452.java:266: error: package list does not exist list.List_1 Var_7 = (list.List_1) bug452.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/bug452.java:266: error: package list does not exist list.List_1 Var_7 = (list.List_1) bug452.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/bug452.java:270: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_22_22, TypeCtorInfo_23_23, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class bug452 Mercury/javas/jmercury/bug452.java:294: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/bug452.java:295: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/bug452.java:303: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/bug452.java:305: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Thing_5))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:309: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:311: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug452.bug452__type_ctor_info_category_0); ^ Mercury/javas/jmercury/bug452.java:313: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Cat0_6))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:317: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:320: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Cat_8))); ^ symbol: variable io location: class bug452 Mercury/javas/jmercury/bug452.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.3EzPMf:2411: bug452] Error 1 gmake[3]: Target 'bug452.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug452.log] Error 1 RUNNING TEST hard_coded/bug513 in grade java FAILED TEST hard_coded/bug513 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug513.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug513 Making Mercury/int3s/bug513.int3 Making Mercury/ints/bug513.int Making Mercury/javas/jmercury/bug513.java Making Java class files Mercury/javas/jmercury/bug513.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug513__field_types_apply_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug513.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_stag_ordered_apply_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug513__du_ptag_ordered_apply_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug513.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_name_ordered_apply_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug513__type_ctor_info_apply_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug513.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug513.java:547: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug513.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bug513.java:253: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bug513.java:330: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug513.java:476: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug513.java:527: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug513.java:598: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bug513.java:607: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bug513.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug513"; ^ Mercury/javas/jmercury/bug513.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug513.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug513.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug513 Mercury/javas/jmercury/bug513.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug513 Mercury/javas/jmercury/bug513.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug513.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug513.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug513__field_types_apply_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug513.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_stag_ordered_apply_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug513__du_ptag_ordered_apply_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug513.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_name_ordered_apply_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug513__type_ctor_info_apply_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug513.java:48: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug513.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug513 Mercury/javas/jmercury/bug513.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug513.java:100: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug513.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug513.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug513.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug513.java:153: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug513.java:154: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class bug513 Mercury/javas/jmercury/bug513.java:154: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/bug513.java:155: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0))) ^ Mercury/javas/jmercury/bug513.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bug513 Mercury/javas/jmercury/bug513.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bug513.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0); ^ Mercury/javas/jmercury/bug513.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0); ^ Mercury/javas/jmercury/bug513.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/bug513.java:189: error: package list does not exist list.List_1 N_4 = null; ^ Mercury/javas/jmercury/bug513.java:193: error: cannot find symbol N_4 = solutions.solutions_2_p_0(TypeCtorInfo_10_10, Var_7); ^ symbol: variable solutions location: class bug513 Mercury/javas/jmercury/bug513.java:195: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug513.java:197: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_11, ((java.lang.Object) (N_4))); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:209: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((bug513.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:309: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Revert_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).Target_4)), ((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:325: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Revert_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).Target_4)), ((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:336: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug513.java:342: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:348: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:352: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:355: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:367: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:370: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:386: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:391: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:393: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:398: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:402: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:413: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug513.java:456: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:514: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:539: error: package jmercury.runtime does not exist bug513.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 85 errors gmake[3]: *** [/tmp/mmake.5RYoSp:2411: bug513] Error 1 gmake[3]: Target 'bug513.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug513.log] Error 1 RUNNING TEST hard_coded/bug548 in grade java FAILED TEST hard_coded/bug455 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug455.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug455 Making Mercury/int3s/bug455.int3 Making Mercury/int3s/bug455_helper_1.int3 Making Mercury/ints/bug455_helper_1.int Making Mercury/ints/bug455.int Making Mercury/opts/bug455_helper_1.opt Making Mercury/opts/bug455.opt Making Mercury/javas/jmercury/bug455.java Making Mercury/javas/jmercury/bug455_helper_1.java Making Java class files Mercury/javas/jmercury/bug455.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug455"; ^ Mercury/javas/jmercury/bug455.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug455.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug455.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug455 Mercury/javas/jmercury/bug455.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug455 Mercury/javas/jmercury/bug455.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug455.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug455.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug455.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class bug455 Mercury/javas/jmercury/bug455.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/bug455.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug455.java:77: error: package io does not exist io.Text_output_stream_0 Var_37 = null; ^ Mercury/javas/jmercury/bug455.java:78: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_39 = null; ^ Mercury/javas/jmercury/bug455.java:80: error: package io does not exist io.Text_output_stream_0 Var_41 = null; ^ Mercury/javas/jmercury/bug455.java:81: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_43 = null; ^ Mercury/javas/jmercury/bug455.java:82: error: package io does not exist io.Text_output_stream_0 Var_46 = null; ^ Mercury/javas/jmercury/bug455.java:83: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_48 = null; ^ Mercury/javas/jmercury/bug455.java:85: error: package io does not exist io.Text_output_stream_0 Var_50 = null; ^ Mercury/javas/jmercury/bug455.java:86: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_52 = null; ^ Mercury/javas/jmercury/bug455.java:87: error: package io does not exist io.Text_output_stream_0 Var_55 = null; ^ Mercury/javas/jmercury/bug455.java:88: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_57 = null; ^ Mercury/javas/jmercury/bug455.java:90: error: package io does not exist io.Text_output_stream_0 Var_59 = null; ^ Mercury/javas/jmercury/bug455.java:91: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_61 = null; ^ Mercury/javas/jmercury/bug455.java:92: error: package io does not exist io.Text_output_stream_0 Var_64 = null; ^ Mercury/javas/jmercury/bug455.java:93: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_66 = null; ^ Mercury/javas/jmercury/bug455.java:95: error: package io does not exist io.Text_output_stream_0 Var_68 = null; ^ Mercury/javas/jmercury/bug455.java:96: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_70 = null; ^ Mercury/javas/jmercury/bug455.java:97: error: package io does not exist io.Text_output_stream_0 Var_73 = null; ^ Mercury/javas/jmercury/bug455.java:98: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_75 = null; ^ Mercury/javas/jmercury/bug455.java:100: error: package io does not exist io.Text_output_stream_0 Var_77 = null; ^ Mercury/javas/jmercury/bug455.java:101: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_79 = null; ^ Mercury/javas/jmercury/bug455.java:102: error: package io does not exist io.Text_output_stream_0 Var_82 = null; ^ Mercury/javas/jmercury/bug455.java:103: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_84 = null; ^ Mercury/javas/jmercury/bug455.java:105: error: package io does not exist io.Text_output_stream_0 Var_86 = null; ^ Mercury/javas/jmercury/bug455.java:106: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_88 = null; ^ Mercury/javas/jmercury/bug455.java:107: error: package io does not exist io.Text_output_stream_0 Var_91 = null; ^ Mercury/javas/jmercury/bug455.java:108: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_93 = null; ^ Mercury/javas/jmercury/bug455.java:110: error: package io does not exist io.Text_output_stream_0 Var_95 = null; ^ Mercury/javas/jmercury/bug455.java:111: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_97 = null; ^ Mercury/javas/jmercury/bug455.java:114: error: cannot find symbol Var_39 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:117: error: package io does not exist Var_37 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:122: error: cannot find symbol io.write_int_4_p_0(Var_37, Var_6); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:126: error: cannot find symbol Var_43 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:129: error: package io does not exist Var_41 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:134: error: cannot find symbol io.write_char_4_p_0(Var_41, Var_40); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:138: error: cannot find symbol Var_48 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:141: error: package io does not exist Var_46 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:146: error: cannot find symbol io.write_int8_4_p_0(Var_46, Var_9); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:150: error: cannot find symbol Var_52 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:153: error: package io does not exist Var_50 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:158: error: cannot find symbol io.write_char_4_p_0(Var_50, Var_49); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:162: error: cannot find symbol Var_57 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:165: error: package io does not exist Var_55 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:170: error: cannot find symbol io.write_int16_4_p_0(Var_55, Var_12); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:174: error: cannot find symbol Var_61 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:177: error: package io does not exist Var_59 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:182: error: cannot find symbol io.write_char_4_p_0(Var_59, Var_58); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:186: error: cannot find symbol Var_66 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:189: error: package io does not exist Var_64 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:194: error: cannot find symbol io.write_int32_4_p_0(Var_64, Var_15); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:198: error: cannot find symbol Var_70 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:201: error: package io does not exist Var_68 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:206: error: cannot find symbol io.write_char_4_p_0(Var_68, Var_67); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:210: error: cannot find symbol Var_75 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:213: error: package io does not exist Var_73 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:218: error: cannot find symbol io.write_int64_4_p_0(Var_73, Var_18); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:222: error: cannot find symbol Var_79 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:225: error: package io does not exist Var_77 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:230: error: cannot find symbol io.write_char_4_p_0(Var_77, Var_76); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:234: error: cannot find symbol Var_84 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:237: error: package io does not exist Var_82 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:242: error: cannot find symbol io.write_uint_4_p_0(Var_82, Var_21); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:246: error: cannot find symbol Var_88 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:249: error: package io does not exist Var_86 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:254: error: cannot find symbol io.write_char_4_p_0(Var_86, Var_85); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:258: error: cannot find symbol Var_93 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:261: error: package io does not exist Var_91 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:266: error: cannot find symbol io.write_uint8_4_p_0(Var_91, Var_24); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:270: error: cannot find symbol Var_97 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class bug455 Mercury/javas/jmercury/bug455.java:273: error: package io does not exist Var_95 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/bug455.java:278: error: cannot find symbol io.write_char_4_p_0(Var_95, Var_94); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:282: error: cannot find symbol io.write_uint16_3_p_0(Var_27); ^ symbol: variable io location: class bug455 Mercury/javas/jmercury/bug455.java:285: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class bug455 100 errors gmake[3]: *** [/tmp/mmake.hTC8S1:2411: bug455] Error 1 gmake[3]: Target 'bug455.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug455.log] Error 1 RUNNING TEST hard_coded/bug557 in grade java FAILED TEST hard_coded/bug557 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug557.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug557 Making Mercury/int3s/bug557.int3 Making Mercury/int3s/bug557_helper.int3 Making Mercury/ints/bug557_helper.int Making Mercury/ints/bug557.int Making Mercury/javas/jmercury/bug557.java Making Mercury/javas/jmercury/bug557_helper.java Making Java class files Mercury/javas/jmercury/bug557.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug557__field_types_record_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug557.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug557__du_functor_desc_record_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_stag_ordered_record_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug557__du_ptag_ordered_record_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug557.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_name_ordered_record_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_record_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:389: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug557.java:390: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557.java:161: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557.java:200: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557.java:310: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug557_helper.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557_helper__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557_helper.java:191: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug557_helper.java:192: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug557_helper.java:83: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug557_helper.java:147: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug557.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug557"; ^ Mercury/javas/jmercury/bug557.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug557.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug557.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug557 Mercury/javas/jmercury/bug557.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug557 Mercury/javas/jmercury/bug557.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug557.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug557.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug557.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug557__field_types_record_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug557.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug557__du_functor_desc_record_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug557.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_stag_ordered_record_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug557__du_ptag_ordered_record_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug557.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug557__du_name_ordered_record_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug557.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557__type_ctor_info_record_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug557.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557.java:90: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug557.bug557__type_ctor_info_ambiguous_type_0; ^ Mercury/javas/jmercury/bug557.java:97: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug557.java:113: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug557 Mercury/javas/jmercury/bug557.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug557.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557.java:157: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class bug557 Mercury/javas/jmercury/bug557.java:167: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:168: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:169: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:173: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557.java:178: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557.java:180: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:191: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:206: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:212: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:217: error: cannot find symbol int Var_9 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:218: error: cannot find symbol int Var_10 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:222: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557.java:227: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557.java:229: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557.java:241: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557.java:255: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:255: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:290: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgX1_3 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:290: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgY1_4 of type Ambiguous_type_0 Mercury/javas/jmercury/bug557.java:357: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug557_helper.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug557_helper__enum_functor_desc_ambiguous_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug557_helper.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_ordinal_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug557_helper__enum_name_ordered_ambiguous_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug557_helper.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug557_helper__type_ctor_info_ambiguous_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug557_helper.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug557_helper.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug557_helper.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug557_helper.java:89: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557_helper.java:90: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:91: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:95: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug557_helper.java:100: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug557_helper.java:102: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug557_helper.java:113: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug557_helper.java:127: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:127: 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 Ambiguous_type_0 Mercury/javas/jmercury/bug557_helper.java:176: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.zg24aT:2411: bug557] Error 1 gmake[3]: Target 'bug557.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug557.log] Error 1 RUNNING TEST hard_coded/bug567 in grade java FAILED TEST hard_coded/bug548 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug548.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug548 Making Mercury/int3s/bug548.int3 Making Mercury/ints/bug548.int Making Mercury/javas/jmercury/bug548.java Making Java class files Mercury/javas/jmercury/bug548.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug548__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/bug548.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug548__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug548.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug548__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/bug548.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug548__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug548.java:1378: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug548.java:347: 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/bug548.java:348: 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[2]; ^ Mercury/javas/jmercury/bug548.java:349: 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/bug548.java:415: error: package list does not exist list.List_1 List_6, ^ Mercury/javas/jmercury/bug548.java:510: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug548.java:1327: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug548.java:1601: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/bug548.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug548"; ^ Mercury/javas/jmercury/bug548.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug548.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug548.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug548 Mercury/javas/jmercury/bug548.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug548 Mercury/javas/jmercury/bug548.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug548.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug548 Mercury/javas/jmercury/bug548.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug548 Mercury/javas/jmercury/bug548.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug548 Mercury/javas/jmercury/bug548.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug548 Mercury/javas/jmercury/bug548.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug548.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug548__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug548.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug548__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug548.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug548__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/bug548.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug548__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug548.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug548__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/bug548.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug548__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug548.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:68: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:76: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:80: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:80: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:82: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:87: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:95: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:99: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:99: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:101: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:101: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:106: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:114: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:118: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:118: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:120: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:125: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:133: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:137: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:137: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:139: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:139: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:144: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:152: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug548 Mercury/javas/jmercury/bug548.java:156: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug548.java:156: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug548 Mercury/javas/jmercury/bug548.java:158: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ 100 errors gmake[3]: *** [/tmp/mmake.vZ7Ve8:2411: bug548] Error 1 gmake[3]: Target 'bug548.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug548.log] Error 1 RUNNING TEST hard_coded/bug570 in grade java FAILED TEST hard_coded/bug567 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --merge-code-after-switch '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug567.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --merge-code-after-switch '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug567 Making Mercury/int3s/bug567.int3 Making Mercury/ints/bug567.int Making Mercury/javas/jmercury/bug567.java Making Java class files Mercury/javas/jmercury/bug567.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug567.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug567__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug567.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug567__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug567.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:1036: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug567.java:1053: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug567.java:339: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug567.java:999: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug567.java:1016: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug567.java:483: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug567.java:523: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug567.java:573: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug567.java:613: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug567.java:1072: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug567.java:1073: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug567.java:653: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug567.java:865: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug567.java:979: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug567.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug567"; ^ Mercury/javas/jmercury/bug567.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug567.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug567.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug567 Mercury/javas/jmercury/bug567.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug567 Mercury/javas/jmercury/bug567.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug567.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug567 Mercury/javas/jmercury/bug567.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug567 Mercury/javas/jmercury/bug567.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug567 Mercury/javas/jmercury/bug567.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug567 Mercury/javas/jmercury/bug567.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug567.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug567.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug567__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug567.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug567__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug567__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug567.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug567__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug567.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug567__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug567.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug567__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug567.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug567__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug567.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug567__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug567.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/bug567.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class bug567 Mercury/javas/jmercury/bug567.java:76: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug567 Mercury/javas/jmercury/bug567.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug567 Mercury/javas/jmercury/bug567.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug567.java:92: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug567 Mercury/javas/jmercury/bug567.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug567.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug567.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug567.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug567.bug567__type_ctor_info_field_name_0; ^ Mercury/javas/jmercury/bug567.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug567.bug567__type_ctor_info_header_value_0; ^ Mercury/javas/jmercury/bug567.java:130: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug567 Mercury/javas/jmercury/bug567.java:138: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug567 Mercury/javas/jmercury/bug567.java:144: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug567.java:146: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug567 100 errors gmake[3]: *** [/tmp/mmake.KwWKhb:2411: bug567] Error 1 gmake[3]: Target 'bug567.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug567.log] Error 1 RUNNING TEST hard_coded/bug570_can_fail in grade java FAILED TEST hard_coded/bug570 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug570.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug570 Making Mercury/int3s/bug570.int3 Making Mercury/ints/bug570.int Making Mercury/javas/jmercury/bug570.java Making Java class files Mercury/javas/jmercury/bug570.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug570.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:1053: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570.java:338: 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/bug570.java:1016: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570.java:1033: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570.java:476: error: package bool does not exist bool.Bool_0 HeadVar__1_5, ^ Mercury/javas/jmercury/bug570.java:478: error: package list does not exist list.List_1 Xs_7) ^ Mercury/javas/jmercury/bug570.java:474: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug570.java:493: error: package list does not exist list.List_1 STATE_VARIABLE_Acc_0_4) ^ Mercury/javas/jmercury/bug570.java:491: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug570.java:500: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570.java:540: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570.java:590: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570.java:1070: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570.java:630: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570.java:1089: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug570.java:1090: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570.java:670: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570.java:882: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug570.java:996: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug570.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug570"; ^ Mercury/javas/jmercury/bug570.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug570.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug570.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug570 Mercury/javas/jmercury/bug570.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug570 Mercury/javas/jmercury/bug570.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug570.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug570 Mercury/javas/jmercury/bug570.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug570 Mercury/javas/jmercury/bug570.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug570 Mercury/javas/jmercury/bug570.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug570 Mercury/javas/jmercury/bug570.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug570.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug570.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/bug570.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class bug570 Mercury/javas/jmercury/bug570.java:76: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570 Mercury/javas/jmercury/bug570.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug570 Mercury/javas/jmercury/bug570.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug570.java:92: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570 Mercury/javas/jmercury/bug570.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug570.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug570.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug570.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug570.bug570__type_ctor_info_field_name_0; ^ 100 errors gmake[3]: *** [/tmp/mmake.EK50mY:2411: bug570] Error 1 gmake[3]: Target 'bug570.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug570.log] Error 1 RUNNING TEST hard_coded/bug_pack_bits in grade java FAILED TEST hard_coded/bug570_can_fail in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug570_can_fail.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug570_can_fail Making Mercury/int3s/bug570_can_fail.int3 Making Mercury/ints/bug570_can_fail.int Making Mercury/javas/jmercury/bug570_can_fail.java bug570_can_fail.m:080: In clause for `make_headers(in, in, out)': bug570_can_fail.m:080: warning: unification of `Prepare' and bug570_can_fail.m:080: bug570_can_fail.prepare_edit cannot succeed. bug570_can_fail.m:080: `Prepare' has instantiatedness bug570_can_fail.m:080: `bound(prepare_postpone ; prepare_send)'. Making Java class files Mercury/javas/jmercury/bug570_can_fail.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug570_can_fail.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570_can_fail__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570_can_fail.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570_can_fail__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570_can_fail.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:337: 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/bug570_can_fail.java:1083: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570_can_fail.java:1120: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570_can_fail.java:1100: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570_can_fail.java:1156: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug570_can_fail.java:1157: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570_can_fail.java:567: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570_can_fail.java:607: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570_can_fail.java:657: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570_can_fail.java:1137: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug570_can_fail.java:697: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570_can_fail.java:737: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug570_can_fail.java:949: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug570_can_fail.java:1063: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug570_can_fail.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug570_can_fail"; ^ Mercury/javas/jmercury/bug570_can_fail.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug570_can_fail.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug570_can_fail.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug570_can_fail.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug570_can_fail.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_field_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_field_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_field_name_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_field_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_field_name_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_field_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_header_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug570_can_fail.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_header_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_header_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_header_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_header_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_header_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_header_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_header_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_header_value_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_header_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_header_value_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_header_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug570_can_fail__field_types_message_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug570_can_fail__du_functor_desc_message_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_stag_ordered_message_id_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug570_can_fail__du_ptag_ordered_message_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug570_can_fail__du_name_ordered_message_id_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug570_can_fail.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_message_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug570_can_fail__enum_functor_desc_prepare_temp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug570_can_fail.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570_can_fail__enum_ordinal_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570_can_fail.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug570_can_fail__enum_name_ordered_prepare_temp_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/bug570_can_fail.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug570_can_fail__type_ctor_info_prepare_temp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug570_can_fail.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/bug570_can_fail.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:76: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug570_can_fail.java:92: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug570_can_fail.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug570_can_fail.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug570_can_fail.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug570_can_fail.bug570_can_fail__type_ctor_info_field_name_0; ^ Mercury/javas/jmercury/bug570_can_fail.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug570_can_fail.bug570_can_fail__type_ctor_info_header_value_0; ^ Mercury/javas/jmercury/bug570_can_fail.java:130: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:138: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail Mercury/javas/jmercury/bug570_can_fail.java:144: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug570_can_fail.java:146: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug570_can_fail 100 errors gmake[3]: *** [/tmp/mmake.yLMZ0d:2411: bug570_can_fail] Error 1 gmake[3]: Target 'bug570_can_fail.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug570_can_fail.log] Error 1 RUNNING TEST hard_coded/bulk_compare_packed in grade java FAILED TEST hard_coded/bug_pack_bits in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug_pack_bits.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bug_pack_bits Making Mercury/int3s/bug_pack_bits.int3 Making Mercury/ints/bug_pack_bits.int Making Mercury/javas/jmercury/bug_pack_bits.java Making Java class files Mercury/javas/jmercury/bug_pack_bits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug_pack_bits__field_types_addrinfo_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug_pack_bits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug_pack_bits__du_functor_desc_addrinfo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug_pack_bits__du_stag_ordered_addrinfo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug_pack_bits__du_ptag_ordered_addrinfo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug_pack_bits__du_name_ordered_addrinfo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_addrinfo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_family_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_family_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_ordinal_ordered_family_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_name_ordered_family_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_family_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_protocol_num_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_socktype_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_socktype_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_ordinal_ordered_socktype_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_name_ordered_socktype_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_socktype_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:225: 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/bug_pack_bits.java:873: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug_pack_bits.java:227: 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[4]; ^ Mercury/javas/jmercury/bug_pack_bits.java:230: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:428: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug_pack_bits.java:898: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug_pack_bits.java:899: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug_pack_bits.java:521: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug_pack_bits.java:560: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug_pack_bits.java:910: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug_pack_bits.java:911: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug_pack_bits.java:599: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug_pack_bits.java:757: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug_pack_bits.java:853: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug_pack_bits.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug_pack_bits"; ^ Mercury/javas/jmercury/bug_pack_bits.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug_pack_bits.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug_pack_bits.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug_pack_bits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug_pack_bits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug_pack_bits__field_types_addrinfo_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bug_pack_bits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug_pack_bits__du_functor_desc_addrinfo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug_pack_bits__du_stag_ordered_addrinfo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug_pack_bits__du_ptag_ordered_addrinfo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug_pack_bits__du_name_ordered_addrinfo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_addrinfo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_family_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_family_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_ordinal_ordered_family_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_name_ordered_family_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_family_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_protocol_num_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_socktype_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug_pack_bits__enum_functor_desc_socktype_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug_pack_bits.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_ordinal_ordered_socktype_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug_pack_bits__enum_name_ordered_socktype_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/bug_pack_bits.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug_pack_bits__type_ctor_info_socktype_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug_pack_bits.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug_pack_bits.bug_pack_bits__type_ctor_info_family_0; ^ Mercury/javas/jmercury/bug_pack_bits.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug_pack_bits.bug_pack_bits__type_ctor_info_socktype_0; ^ Mercury/javas/jmercury/bug_pack_bits.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug_pack_bits.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:72: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:80: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug_pack_bits.java:88: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug_pack_bits.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug_pack_bits.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug_pack_bits.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug_pack_bits.java:147: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug_pack_bits.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug_pack_bits.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/bug_pack_bits.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug_pack_bits.java:170: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug_pack_bits.java:171: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/bug_pack_bits.java:171: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bug_pack_bits.java:207: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug_pack_bits.java:210: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug_pack_bits.java:225: 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/bug_pack_bits.java:227: 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[4]; ^ Mercury/javas/jmercury/bug_pack_bits.java:230: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/bug_pack_bits.java:234: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug_pack_bits.java:260: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug_pack_bits.java:262: error: package list does not exist (list.List_1) bug_pack_bits.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/bug_pack_bits.java:265: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug_pack_bits.java:267: error: package list does not exist (list.List_1) bug_pack_bits.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/bug_pack_bits.java:270: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug_pack_bits.java:272: error: package list does not exist (list.List_1) bug_pack_bits.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/bug_pack_bits.java:275: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug_pack_bits.java:277: error: package list does not exist (list.List_1) bug_pack_bits.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/bug_pack_bits.java:285: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:285: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug_pack_bits.java:286: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug_pack_bits Mercury/javas/jmercury/bug_pack_bits.java:286: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug_pack_bits.java:295: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/bug_pack_bits.java:296: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/bug_pack_bits.java:297: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ 100 errors gmake[3]: *** [/tmp/mmake.67DmLS:2411: bug_pack_bits] Error 1 gmake[3]: Target 'bug_pack_bits.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bug_pack_bits.log] Error 1 RUNNING TEST hard_coded/c89_neg_int in grade java FAILED TEST hard_coded/c89_neg_int in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - c89_neg_int.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - c89_neg_int Making Mercury/int3s/c89_neg_int.int3 Making Mercury/ints/c89_neg_int.int Making Mercury/javas/jmercury/c89_neg_int.java Making Java class files Mercury/javas/jmercury/c89_neg_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "c89_neg_int"; ^ Mercury/javas/jmercury/c89_neg_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/c89_neg_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/c89_neg_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/c89_neg_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/c89_neg_int.java:40: error: cannot find symbol io.write_int_3_p_0(Var_6); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:43: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:47: error: cannot find symbol io.write_int_3_p_0(Var_8); ^ symbol: variable io location: class c89_neg_int Mercury/javas/jmercury/c89_neg_int.java:50: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class c89_neg_int 15 errors gmake[3]: *** [/tmp/mmake.ELE4Pg:2411: c89_neg_int] Error 1 gmake[3]: Target 'c89_neg_int.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: c89_neg_int.log] Error 1 RUNNING TEST hard_coded/c_write_string in grade java FAILED TEST hard_coded/bulk_compare_packed in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bulk_compare_packed.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - bulk_compare_packed Making Mercury/int3s/bulk_compare_packed.int3 Making Mercury/ints/bulk_compare_packed.int Making Mercury/javas/jmercury/bulk_compare_packed.java Making Java class files Mercury/javas/jmercury/bulk_compare_packed.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bulk_compare_packed__enum_ordinal_ordered_enum2_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bulk_compare_packed__enum_name_ordered_enum2_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_enum2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_tx_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_tx_0_2 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_stag_ordered_tx_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bulk_compare_packed__du_ptag_ordered_tx_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_name_ordered_tx_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_tx_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_ty_0_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_ty_0_2 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_stag_ordered_ty_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bulk_compare_packed__du_ptag_ordered_ty_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_name_ordered_ty_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:63: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_ty_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:384: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:1667: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bulk_compare_packed.java:386: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:1736: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bulk_compare_packed.java:580: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/bulk_compare_packed.java:581: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/bulk_compare_packed.java:582: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bulk_compare_packed.java:610: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/bulk_compare_packed.java:612: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bulk_compare_packed.java:1813: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bulk_compare_packed.java:1814: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bulk_compare_packed.java:785: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bulk_compare_packed.java:824: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bulk_compare_packed.java:1048: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bulk_compare_packed.java:1539: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bulk_compare_packed.java:1589: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bulk_compare_packed.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bulk_compare_packed"; ^ Mercury/javas/jmercury/bulk_compare_packed.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bulk_compare_packed.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bulk_compare_packed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bulk_compare_packed.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bulk_compare_packed__enum_functor_desc_enum2_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bulk_compare_packed__enum_ordinal_ordered_enum2_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bulk_compare_packed__enum_name_ordered_enum2_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_enum2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_tx_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_tx_0_2 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_tx_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_stag_ordered_tx_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bulk_compare_packed__du_ptag_ordered_tx_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_name_ordered_tx_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_tx_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_ty_0_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bulk_compare_packed__field_types_ty_0_2 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bulk_compare_packed__du_functor_desc_ty_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_stag_ordered_ty_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bulk_compare_packed__du_ptag_ordered_ty_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bulk_compare_packed__du_name_ordered_ty_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bulk_compare_packed.java:63: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bulk_compare_packed__type_ctor_info_ty_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bulk_compare_packed.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/bulk_compare_packed.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bulk_compare_packed.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bulk_compare_packed.java:131: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:139: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:143: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:145: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:147: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:158: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:166: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:170: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:172: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:174: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:174: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0; ^ symbol: variable builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:176: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bulk_compare_packed.bulk_compare_packed__type_ctor_info_enum2_0; ^ Mercury/javas/jmercury/bulk_compare_packed.java:189: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:197: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:207: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bulk_compare_packed.java:209: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bulk_compare_packed Mercury/javas/jmercury/bulk_compare_packed.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bulk_compare_packed.java:236: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bulk_compare_packed.java:239: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bulk_compare_packed.java:251: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bulk_compare_packed 100 errors gmake[3]: *** [/tmp/mmake.0m4OB2:2411: bulk_compare_packed] Error 1 gmake[3]: Target 'bulk_compare_packed.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: bulk_compare_packed.log] Error 1 RUNNING TEST hard_coded/calendar_test in grade java FAILED TEST hard_coded/c_write_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - c_write_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - c_write_string Making Mercury/int3s/c_write_string.int3 Making Mercury/ints/c_write_string.int Making Mercury/javas/jmercury/c_write_string.java Making Java class files Mercury/javas/jmercury/c_write_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "c_write_string"; ^ Mercury/javas/jmercury/c_write_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/c_write_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/c_write_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class c_write_string Mercury/javas/jmercury/c_write_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class c_write_string Mercury/javas/jmercury/c_write_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/c_write_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/c_write_string.java:41: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:45: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class c_write_string Mercury/javas/jmercury/c_write_string.java:49: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class c_write_string 14 errors gmake[3]: *** [/tmp/mmake.xFxFQC:2411: c_write_string] Error 1 gmake[3]: Target 'c_write_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: c_write_string.log] Error 1 RUNNING TEST hard_coded/cc_and_non_cc_test in grade java FAILED TEST hard_coded/calendar_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - calendar_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - calendar_test Making Mercury/int3s/calendar_test.int3 Making Mercury/ints/calendar_test.int Making Mercury/javas/jmercury/calendar_test.java Making Java class files Mercury/javas/jmercury/calendar_test.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/calendar_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/calendar_test.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/calendar_test.java:1182: error: package calendar does not exist calendar.Month_0 Month_4) ^ Mercury/javas/jmercury/calendar_test.java:1221: error: package calendar does not exist calendar.Month_0 Month_4) ^ Mercury/javas/jmercury/calendar_test.java:1260: error: package calendar does not exist calendar.Date_0 A_5, ^ Mercury/javas/jmercury/calendar_test.java:1261: error: package calendar does not exist calendar.Date_0 B_6) ^ Mercury/javas/jmercury/calendar_test.java:1307: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/calendar_test.java:1317: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/calendar_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "calendar_test"; ^ Mercury/javas/jmercury/calendar_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/calendar_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/calendar_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class calendar_test Mercury/javas/jmercury/calendar_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class calendar_test Mercury/javas/jmercury/calendar_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/calendar_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/calendar_test.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/calendar_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/calendar_test.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/calendar_test.java:40: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/calendar_test.java:42: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:43: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K11)), ^ Mercury/javas/jmercury/calendar_test.java:43: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K11)), ^ Mercury/javas/jmercury/calendar_test.java:44: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/calendar_test.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:48: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K10)), ^ Mercury/javas/jmercury/calendar_test.java:48: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K10)), ^ Mercury/javas/jmercury/calendar_test.java:49: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/calendar_test.java:52: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:53: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K9)), ^ Mercury/javas/jmercury/calendar_test.java:53: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K9)), ^ Mercury/javas/jmercury/calendar_test.java:54: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/calendar_test.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:58: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K8)), ^ Mercury/javas/jmercury/calendar_test.java:58: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K8)), ^ Mercury/javas/jmercury/calendar_test.java:59: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/calendar_test.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:63: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K7)), ^ Mercury/javas/jmercury/calendar_test.java:63: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K7)), ^ Mercury/javas/jmercury/calendar_test.java:64: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/calendar_test.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:68: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K6)), ^ Mercury/javas/jmercury/calendar_test.java:68: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K6)), ^ Mercury/javas/jmercury/calendar_test.java:69: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/calendar_test.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:73: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K5)), ^ Mercury/javas/jmercury/calendar_test.java:73: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K5)), ^ Mercury/javas/jmercury/calendar_test.java:74: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/calendar_test.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:78: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K4)), ^ Mercury/javas/jmercury/calendar_test.java:78: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K4)), ^ Mercury/javas/jmercury/calendar_test.java:79: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/calendar_test.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:83: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K3)), ^ Mercury/javas/jmercury/calendar_test.java:83: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K3)), ^ Mercury/javas/jmercury/calendar_test.java:84: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/calendar_test.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:88: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K2)), ^ Mercury/javas/jmercury/calendar_test.java:88: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K2)), ^ Mercury/javas/jmercury/calendar_test.java:89: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/calendar_test.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:93: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K1)), ^ Mercury/javas/jmercury/calendar_test.java:93: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K1)), ^ Mercury/javas/jmercury/calendar_test.java:94: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/calendar_test.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/calendar_test.java:98: error: package calendar does not exist ((java.lang.Object) (calendar.Month_0.K0)), ^ Mercury/javas/jmercury/calendar_test.java:98: error: illegal start of type ((java.lang.Object) (calendar.Month_0.K0)), ^ Mercury/javas/jmercury/calendar_test.java:99: error: package list does not exist (list.List_1) calendar_test.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/calendar_test.java:106: error: cannot find symbol ((java.lang.Object) (calendar.calendar__type_ctor_info_month_0)), ^ symbol: variable calendar location: class calendar_test Mercury/javas/jmercury/calendar_test.java:106: error: illegal start of type ((java.lang.Object) (calendar.calendar__type_ctor_info_month_0)), ^ Mercury/javas/jmercury/calendar_test.java:107: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:107: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/calendar_test.java:108: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:108: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/calendar_test.java:115: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class calendar_test Mercury/javas/jmercury/calendar_test.java:115: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/calendar_test.java:116: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:116: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/calendar_test.java:117: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class calendar_test Mercury/javas/jmercury/calendar_test.java:117: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/calendar_test.java:144: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/calendar_test.java:145: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/calendar_test.java:146: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/calendar_test.java:147: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/calendar_test.java:148: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/calendar_test.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/calendar_test.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_210_210 = null; ^ Mercury/javas/jmercury/calendar_test.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_211_211 = null; ^ Mercury/javas/jmercury/calendar_test.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_218_218 = null; ^ Mercury/javas/jmercury/calendar_test.java:165: error: package calendar does not exist calendar.Date_0 Date1_4 = null; ^ Mercury/javas/jmercury/calendar_test.java:166: error: package calendar does not exist calendar.Date_0 Date2_5 = null; ^ Mercury/javas/jmercury/calendar_test.java:167: error: package calendar does not exist calendar.Date_0 Date3_6 = null; ^ Mercury/javas/jmercury/calendar_test.java:264: error: package calendar does not exist calendar.Duration_0 Var_165 = null; ^ Mercury/javas/jmercury/calendar_test.java:268: error: package list does not exist list.List_1 Var_172 = null; ^ Mercury/javas/jmercury/calendar_test.java:271: error: package list does not exist list.List_1 Var_178 = null; ^ Mercury/javas/jmercury/calendar_test.java:274: error: package list does not exist list.List_1 Var_184 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.zdQbqi:2411: calendar_test] Error 1 gmake[3]: Target 'calendar_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: calendar_test.log] Error 1 RUNNING TEST hard_coded/cc_multi_bug in grade java FAILED TEST hard_coded/cc_and_non_cc_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_and_non_cc_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_and_non_cc_test Making Mercury/int3s/cc_and_non_cc_test.int3 Making Mercury/ints/cc_and_non_cc_test.int Making Mercury/javas/jmercury/cc_and_non_cc_test.java Making Java class files Mercury/javas/jmercury/cc_and_non_cc_test.java:286: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:287: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_2; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:288: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_3; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cc_and_non_cc_test"; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:70: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:70: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:72: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).X_4)); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:75: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:97: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:103: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:107: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:112: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:116: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_24_24, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:124: error: cannot find symbol ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:132: error: cannot find symbol ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:141: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:148: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).X_4)); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:151: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:156: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:160: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_16))); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:169: error: cannot find symbol ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:177: error: cannot find symbol ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:186: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:192: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:196: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (Var_19))); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:201: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:205: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Var_21))); ^ symbol: variable io location: class cc_and_non_cc_test Mercury/javas/jmercury/cc_and_non_cc_test.java:217: error: package jmercury.runtime does not exist ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:240: error: package jmercury.runtime does not exist ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).commit_2 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cc_and_non_cc_test.java:263: error: package jmercury.runtime does not exist ((cc_and_non_cc_test.Main_2_p_0_env_0) env_ptr).commit_3 = new jmercury.runtime.Commit(); ^ 51 errors gmake[3]: *** [/tmp/mmake.BNjPp0:2411: cc_and_non_cc_test] Error 1 gmake[3]: Target 'cc_and_non_cc_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cc_and_non_cc_test.log] Error 1 RUNNING TEST hard_coded/cc_nondet_disj in grade java FAILED TEST hard_coded/cc_multi_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_multi_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_multi_bug Making Mercury/int3s/cc_multi_bug.int3 Making Mercury/ints/cc_multi_bug.int Making Mercury/javas/jmercury/cc_multi_bug.java Making Java class files Mercury/javas/jmercury/cc_multi_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc cc_multi_bug__du_functor_desc_nat_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/cc_multi_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] cc_multi_bug__field_types_nat_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/cc_multi_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc cc_multi_bug__du_functor_desc_nat_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/cc_multi_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] cc_multi_bug__du_stag_ordered_nat_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/cc_multi_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] cc_multi_bug__du_ptag_ordered_nat_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/cc_multi_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] cc_multi_bug__du_name_ordered_nat_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/cc_multi_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cc_multi_bug__type_ctor_info_nat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cc_multi_bug.java:419: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/cc_multi_bug.java:168: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cc_multi_bug.java:245: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/cc_multi_bug.java:357: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/cc_multi_bug.java:399: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cc_multi_bug.java:459: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cc_multi_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cc_multi_bug"; ^ Mercury/javas/jmercury/cc_multi_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cc_multi_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cc_multi_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cc_multi_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cc_multi_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc cc_multi_bug__du_functor_desc_nat_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/cc_multi_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] cc_multi_bug__field_types_nat_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/cc_multi_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc cc_multi_bug__du_functor_desc_nat_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/cc_multi_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] cc_multi_bug__du_stag_ordered_nat_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/cc_multi_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] cc_multi_bug__du_ptag_ordered_nat_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/cc_multi_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] cc_multi_bug__du_name_ordered_nat_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/cc_multi_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cc_multi_bug__type_ctor_info_nat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cc_multi_bug.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) cc_multi_bug.cc_multi_bug__type_ctor_info_nat_0; ^ Mercury/javas/jmercury/cc_multi_bug.java:64: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:72: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/cc_multi_bug.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:100: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/cc_multi_bug.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/cc_multi_bug.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/cc_multi_bug.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/cc_multi_bug.java:150: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(cc_multi_bug.cc_multi_bug__type_ctor_info_nat_0); ^ Mercury/javas/jmercury/cc_multi_bug.java:152: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (N1_4))); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:155: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:158: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (N2_5))); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:161: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cc_multi_bug Mercury/javas/jmercury/cc_multi_bug.java:187: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cc_multi_bug.java:192: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cc_multi_bug.java:203: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cc_multi_bug.java:225: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((cc_multi_bug.Plus_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/cc_multi_bug.java:253: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/cc_multi_bug.java:260: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/cc_multi_bug.java:276: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/cc_multi_bug.java:279: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/cc_multi_bug.java:281: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/cc_multi_bug.java:292: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/cc_multi_bug.java:386: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 58 errors gmake[3]: *** [/tmp/mmake.C1kyjq:2411: cc_multi_bug] Error 1 gmake[3]: Target 'cc_multi_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cc_multi_bug.log] Error 1 RUNNING TEST hard_coded/change_hunk_test in grade java FAILED TEST hard_coded/cc_nondet_disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_nondet_disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cc_nondet_disj Making Mercury/int3s/cc_nondet_disj.int3 Making Mercury/ints/cc_nondet_disj.int Making Mercury/javas/jmercury/cc_nondet_disj.java Making Java class files Mercury/javas/jmercury/cc_nondet_disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cc_nondet_disj"; ^ Mercury/javas/jmercury/cc_nondet_disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cc_nondet_disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cc_nondet_disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cc_nondet_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cc_nondet_disj.java:37: error: package io does not exist io.Result_1 Res_4 = null; ^ Mercury/javas/jmercury/cc_nondet_disj.java:41: error: cannot find symbol Res_4 = io.read_line_3_p_0(); ^ symbol: variable io location: class cc_nondet_disj Mercury/javas/jmercury/cc_nondet_disj.java:44: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/cc_nondet_disj.java:50: error: package list does not exist Var_11 = ((list.List_1) ((io.Result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/cc_nondet_disj.java:50: error: package io.Result_1 does not exist Var_11 = ((list.List_1) ((io.Result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/cc_nondet_disj.java:54: error: package list.List_1 does not exist Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/cc_nondet_disj.java:54: error: illegal start of type Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/cc_nondet_disj.java:67: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/cc_nondet_disj.java:73: error: package list does not exist Var_13 = ((list.List_1) ((io.Result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/cc_nondet_disj.java:73: error: package io.Result_1 does not exist Var_13 = ((list.List_1) ((io.Result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/cc_nondet_disj.java:77: error: package list.List_1 does not exist Var_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/cc_nondet_disj.java:77: error: illegal start of type Var_14 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_13).F1)).intValue(); ^ Mercury/javas/jmercury/cc_nondet_disj.java:91: error: cannot find symbol io.write_string_3_p_0(Message_6); ^ symbol: variable io location: class cc_nondet_disj 24 errors gmake[3]: *** [/tmp/mmake.k3nY6q:2411: cc_nondet_disj] Error 1 gmake[3]: Target 'cc_nondet_disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cc_nondet_disj.log] Error 1 RUNNING TEST hard_coded/char_not_surrogate in grade java FAILED TEST hard_coded/change_hunk_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - change_hunk_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - change_hunk_test Making Mercury/int3s/change_hunk_test.int3 Making Mercury/ints/change_hunk_test.int Making Mercury/javas/jmercury/change_hunk_test.java Making Java class files Mercury/javas/jmercury/change_hunk_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/change_hunk_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:34: error: package edit_seq does not exist private static final edit_seq.Edit_params_0[] MR_scalar_common_3 = new edit_seq.Edit_params_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[169]; ^ Mercury/javas/jmercury/change_hunk_test.java:942: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/change_hunk_test.java:943: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/change_hunk_test.java:944: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/change_hunk_test.java:969: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/change_hunk_test.java:970: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/change_hunk_test.java:971: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/change_hunk_test.java:996: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/change_hunk_test.java:997: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/change_hunk_test.java:998: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/change_hunk_test.java:1107: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/change_hunk_test.java:1199: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/change_hunk_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "change_hunk_test"; ^ Mercury/javas/jmercury/change_hunk_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/change_hunk_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/change_hunk_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/change_hunk_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/change_hunk_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/change_hunk_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:34: error: package edit_seq does not exist private static final edit_seq.Edit_params_0[] MR_scalar_common_3 = new edit_seq.Edit_params_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/change_hunk_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[169]; ^ Mercury/javas/jmercury/change_hunk_test.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/change_hunk_test.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/change_hunk_test.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/change_hunk_test.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/change_hunk_test.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(edit_seq.edit_seq__type_ctor_info_edit_1))), ^ symbol: variable edit_seq location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(edit_seq.edit_seq__type_ctor_info_edit_1))), ^ Mercury/javas/jmercury/change_hunk_test.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/change_hunk_test.java:51: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/change_hunk_test.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class change_hunk_test Mercury/javas/jmercury/change_hunk_test.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/change_hunk_test.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(change_hunk_test.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/change_hunk_test.java:56: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/change_hunk_test.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/change_hunk_test.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/change_hunk_test.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/change_hunk_test.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/change_hunk_test.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/change_hunk_test.java:64: error: package edit_seq does not exist new edit_seq.Edit_params_0( ^ Mercury/javas/jmercury/change_hunk_test.java:70: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/change_hunk_test.java:72: error: package edit_seq does not exist ((java.lang.Object) ((edit_seq.Edit_params_0) change_hunk_test.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/change_hunk_test.java:75: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/change_hunk_test.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:78: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) change_hunk_test.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/change_hunk_test.java:79: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/change_hunk_test.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:84: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/change_hunk_test.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:89: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/change_hunk_test.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:94: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/change_hunk_test.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:99: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/change_hunk_test.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:104: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/change_hunk_test.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:109: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/change_hunk_test.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:114: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/change_hunk_test.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:119: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[7] ^ Mercury/javas/jmercury/change_hunk_test.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:124: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/change_hunk_test.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:129: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[9] ^ Mercury/javas/jmercury/change_hunk_test.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:134: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[10] ^ Mercury/javas/jmercury/change_hunk_test.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:139: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[11] ^ Mercury/javas/jmercury/change_hunk_test.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:144: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[12] ^ Mercury/javas/jmercury/change_hunk_test.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:149: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[13] ^ Mercury/javas/jmercury/change_hunk_test.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:154: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[14] ^ Mercury/javas/jmercury/change_hunk_test.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:159: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[15] ^ Mercury/javas/jmercury/change_hunk_test.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:164: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[16] ^ Mercury/javas/jmercury/change_hunk_test.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:169: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[17] ^ Mercury/javas/jmercury/change_hunk_test.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/change_hunk_test.java:174: error: package list does not exist (list.List_1) change_hunk_test.MR_scalar_common_6[18] ^ Mercury/javas/jmercury/change_hunk_test.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.HgfxVm:2411: change_hunk_test] Error 1 gmake[3]: Target 'change_hunk_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: change_hunk_test.log] Error 1 RUNNING TEST hard_coded/char_signed in grade java FAILED TEST hard_coded/char_not_surrogate in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_not_surrogate.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_not_surrogate Making Mercury/int3s/char_not_surrogate.int3 Making Mercury/ints/char_not_surrogate.int Making Mercury/javas/jmercury/char_not_surrogate.java Making Java class files Mercury/javas/jmercury/char_not_surrogate.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/char_not_surrogate.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/char_not_surrogate.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_not_surrogate.java:163: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/char_not_surrogate.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_not_surrogate"; ^ Mercury/javas/jmercury/char_not_surrogate.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_not_surrogate.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_not_surrogate.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_not_surrogate.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/char_not_surrogate.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/char_not_surrogate.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_not_surrogate.java:40: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/char_not_surrogate.java:42: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_not_surrogate.java:44: error: package list does not exist (list.List_1) char_not_surrogate.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/char_not_surrogate.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_not_surrogate.java:49: error: package list does not exist (list.List_1) char_not_surrogate.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/char_not_surrogate.java:52: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_not_surrogate.java:54: error: package list does not exist (list.List_1) char_not_surrogate.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/char_not_surrogate.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_not_surrogate.java:59: error: package list does not exist (list.List_1) char_not_surrogate.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/char_not_surrogate.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/char_not_surrogate.java:67: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:67: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/char_not_surrogate.java:68: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:68: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/char_not_surrogate.java:77: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/char_not_surrogate.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/char_not_surrogate.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/char_not_surrogate.java:80: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/char_not_surrogate.java:81: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/char_not_surrogate.java:82: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/char_not_surrogate.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/char_not_surrogate.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/char_not_surrogate.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/char_not_surrogate.java:96: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/char_not_surrogate.java:97: error: package list does not exist list.List_1 Chars_4 = (list.List_1) char_not_surrogate.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/char_not_surrogate.java:97: error: package list does not exist list.List_1 Chars_4 = (list.List_1) char_not_surrogate.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/char_not_surrogate.java:102: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Var_15, Chars_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:128: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_18 = null; ^ Mercury/javas/jmercury/char_not_surrogate.java:131: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = null; ^ Mercury/javas/jmercury/char_not_surrogate.java:135: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:138: error: cannot find symbol Int_6 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:142: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:145: error: cannot find symbol Var_19 = string__format.format_cast_int_to_uint_2_p_0(Int_6); ^ symbol: variable string__format location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:147: error: package string__parse_util does not exist Var_26 = (string__parse_util.String_format_flags_0) char_not_surrogate.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/char_not_surrogate.java:149: error: package string__parse_util does not exist Var_18 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_not_surrogate.java:151: error: cannot find symbol Var_20 = string__format.format_uint_component_width_noprec_5_p_0(Var_26, Var_27, Var_18, Var_19); ^ symbol: variable string__format location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:154: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class char_not_surrogate Mercury/javas/jmercury/char_not_surrogate.java:157: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_not_surrogate 59 errors gmake[3]: *** [/tmp/mmake.ghHllT:2411: char_not_surrogate] Error 1 gmake[3]: Target 'char_not_surrogate.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: char_not_surrogate.log] Error 1 RUNNING TEST hard_coded/char_to_string in grade java FAILED TEST hard_coded/char_signed in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_signed.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_signed Making Mercury/int3s/char_signed.int3 Making Mercury/ints/char_signed.int Making Mercury/javas/jmercury/char_signed.java Making Java class files Mercury/javas/jmercury/char_signed.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_signed"; ^ Mercury/javas/jmercury/char_signed.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_signed.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_signed.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_signed Mercury/javas/jmercury/char_signed.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_signed Mercury/javas/jmercury/char_signed.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_signed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_signed.java:41: error: package builtin does not exist builtin.Comparison_result_0 Var_33 = null; ^ Mercury/javas/jmercury/char_signed.java:44: error: package builtin does not exist builtin.Comparison_result_0 Var_34 = null; ^ Mercury/javas/jmercury/char_signed.java:51: error: cannot find symbol Var_6 = mr_char.det_from_int_1_f_0(Var_7); ^ symbol: variable mr_char location: class char_signed Mercury/javas/jmercury/char_signed.java:59: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:67: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:75: error: cannot find symbol Var_33 = private_builtin.builtin_compare_character_3_p_0(Var_12, Var_13); ^ symbol: variable private_builtin location: class char_signed Mercury/javas/jmercury/char_signed.java:77: error: package builtin.Comparison_result_0 does not exist succeeded = (Var_33.MR_value == builtin.Comparison_result_0.K1.MR_value); ^ Mercury/javas/jmercury/char_signed.java:83: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:91: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:99: error: cannot find symbol Var_34 = private_builtin.builtin_compare_character_3_p_0(Var_18, Var_19); ^ symbol: variable private_builtin location: class char_signed Mercury/javas/jmercury/char_signed.java:101: error: package builtin.Comparison_result_0 does not exist succeeded = (Var_34.MR_value == builtin.Comparison_result_0.K1.MR_value); ^ Mercury/javas/jmercury/char_signed.java:107: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:115: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:120: error: cannot find symbol Var_24 = mr_char.to_int_1_f_0(Var_26); ^ symbol: variable mr_char location: class char_signed Mercury/javas/jmercury/char_signed.java:124: error: cannot find symbol Var_25 = mr_char.to_int_1_f_0(Var_27); ^ symbol: variable mr_char location: class char_signed Mercury/javas/jmercury/char_signed.java:132: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:140: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class char_signed Mercury/javas/jmercury/char_signed.java:152: error: cannot find symbol HeadVar__1_1 = mr_char.det_from_int_1_f_0(Var_2); ^ symbol: variable mr_char location: class char_signed 29 errors gmake[3]: *** [/tmp/mmake.uFopxO:2411: char_signed] Error 1 gmake[3]: Target 'char_signed.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: char_signed.log] Error 1 RUNNING TEST hard_coded/char_uint_conv in grade java FAILED TEST hard_coded/char_to_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_to_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_to_string Making Mercury/int3s/char_to_string.int3 Making Mercury/ints/char_to_string.int Making Mercury/javas/jmercury/char_to_string.java Making Java class files Mercury/javas/jmercury/char_to_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/char_to_string.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_to_string.java:495: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/char_to_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_to_string"; ^ Mercury/javas/jmercury/char_to_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_to_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_to_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_to_string Mercury/javas/jmercury/char_to_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_to_string Mercury/javas/jmercury/char_to_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_to_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_to_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/char_to_string.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/char_to_string.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/char_to_string.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_to_string.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/char_to_string.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/char_to_string.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/char_to_string.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/char_to_string.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/char_to_string.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/char_to_string.java:72: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/char_to_string.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/char_to_string.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/char_to_string.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/char_to_string.java:92: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:92: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/char_to_string.java:111: error: cannot find symbol Str_23 = string.char_to_string_2_p_0(Char_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:130: error: cannot find symbol java.lang.Object [] result = string.char_to_string_2_p_1(Str_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:171: error: cannot find symbol Var_9 = mr_char.det_from_int_1_f_0(Var_11); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:178: error: cannot find symbol Var_12 = mr_char.det_from_int_1_f_0(Var_14); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:185: error: cannot find symbol Var_15 = mr_char.det_from_int_1_f_0(Var_17); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:195: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:201: error: cannot find symbol S0_5 = string.between_3_f_0(S_4, Var_21, Var_22); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:205: error: cannot find symbol Var_24 = string.length_1_f_0(S_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:208: error: cannot find symbol S1_6 = string.between_3_f_0(S_4, Var_23, Var_24); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:215: error: cannot find symbol Var_27 = string.f_43_43_2_f_0(S0_5, S_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:221: error: cannot find symbol Var_29 = string.f_43_43_2_f_0(S_4, S0_5); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/char_to_string.java:242: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/char_to_string.java:253: error: package jmercury.runtime does not exist TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(char_to_string.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/char_to_string.java:255: error: cannot find symbol TryResult_10 = exception.try_2_p_0(TypeInfo_24_24, TryLambda_22); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/char_to_string.java:261: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:261: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:265: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_11); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:266: error: package jmercury.runtime does not exist TypeInfo_20_20 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/char_to_string.java:271: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:274: error: cannot find symbol io.write_3_p_0(TypeInfo_20_20, Excp_7); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:277: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:284: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_26 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_10).F1); ^ Mercury/javas/jmercury/char_to_string.java:290: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:297: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:322: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/char_to_string.java:323: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/char_to_string.java:334: error: package jmercury.runtime does not exist TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(char_to_string.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/char_to_string.java:336: error: cannot find symbol TryResult_10 = exception.try_2_p_1(TypeInfo_26_26, TryLambda_24); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:338: error: illegal start of type switch (TryResult_10.data_tag) { ^ Mercury/javas/jmercury/char_to_string.java:343: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_28 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_10).F1); ^ Mercury/javas/jmercury/char_to_string.java:348: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:354: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:363: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:369: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/char_to_string.java:371: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:371: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:375: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_11); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:376: error: package jmercury.runtime does not exist TypeInfo_22_22 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/char_to_string.java:381: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:384: error: cannot find symbol io.write_3_p_0(TypeInfo_22_22, Excp_7); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:387: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:392: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/char_to_string.java:428: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_4); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:433: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_14 = null; ^ Mercury/javas/jmercury/char_to_string.java:436: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_22 = null; ^ Mercury/javas/jmercury/char_to_string.java:439: error: cannot find symbol Var_12 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:442: error: cannot find symbol Var_15 = string__format.format_cast_int_to_uint_2_p_0(Var_12); ^ symbol: variable string__format location: class char_to_string Mercury/javas/jmercury/char_to_string.java:444: error: package string__parse_util does not exist Var_22 = (string__parse_util.String_format_flags_0) char_to_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/char_to_string.java:445: error: package string__parse_util does not exist Var_14 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_to_string.java:447: error: cannot find symbol Var_16 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_22, Var_14, Var_15); ^ symbol: variable string__format location: class char_to_string Mercury/javas/jmercury/char_to_string.java:450: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:455: error: cannot find symbol io.write_char_3_p_0(Char_4); ^ symbol: variable io location: class char_to_string 100 errors gmake[3]: *** [/tmp/mmake.YsMZEJ:2411: char_to_string] Error 1 gmake[3]: Target 'char_to_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: char_to_string.log] Error 1 RUNNING TEST hard_coded/char_unicode in grade java FAILED TEST hard_coded/char_uint_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_uint_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_uint_conv Making Mercury/int3s/char_uint_conv.int3 Making Mercury/ints/char_uint_conv.int Making Mercury/javas/jmercury/char_uint_conv.java Making Java class files Mercury/javas/jmercury/char_uint_conv.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/char_uint_conv.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/char_uint_conv.java:394: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/char_uint_conv.java:714: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/char_uint_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_uint_conv"; ^ Mercury/javas/jmercury/char_uint_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_uint_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_uint_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_uint_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_uint_conv.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/char_uint_conv.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/char_uint_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/char_uint_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/char_uint_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/char_uint_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/char_uint_conv.java:54: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:54: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/char_uint_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/char_uint_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/char_uint_conv.java:71: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/char_uint_conv.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/char_uint_conv.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/char_uint_conv.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/char_uint_conv.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/char_uint_conv.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/char_uint_conv.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/char_uint_conv.java:89: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/char_uint_conv.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:95: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:98: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:100: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:102: error: package list does not exist list.List_1 Var_29 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:104: error: package list does not exist list.List_1 Var_31 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:106: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:108: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:110: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:112: error: package list does not exist list.List_1 Var_39 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:114: error: package list does not exist list.List_1 Var_41 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:116: error: package list does not exist list.List_1 Var_43 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:118: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:122: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:124: error: package list does not exist list.List_1 Var_51 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:129: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:143: error: cannot find symbol Var_47 = uint.max_uint_0_f_0(); ^ symbol: variable uint location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:148: error: cannot find symbol Var_50 = uint.max_uint_0_f_0(); ^ symbol: variable uint location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:150: error: package list does not exist Var_51 = (list.List_1) char_uint_conv.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/char_uint_conv.java:152: error: package list.List_1 does not exist Var_49 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:158: error: package list.List_1 does not exist Var_45 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:164: error: package list.List_1 does not exist Var_43 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:170: error: package list.List_1 does not exist Var_41 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:176: error: package list.List_1 does not exist Var_39 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:182: error: package list.List_1 does not exist Var_37 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:188: error: package list.List_1 does not exist Var_35 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:194: error: package list.List_1 does not exist Var_33 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:200: error: package list.List_1 does not exist Var_31 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:206: error: package list.List_1 does not exist Var_29 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:212: error: package list.List_1 does not exist Var_27 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:218: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/char_uint_conv.java:223: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:223: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/char_uint_conv.java:224: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:224: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/char_uint_conv.java:226: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:233: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:239: error: cannot find symbol TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:239: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/char_uint_conv.java:241: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_25_25, TypeCtorInfo_21_21, Var_14, Var_15, ((java.lang.Object) (0))); ^ symbol: variable list location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:283: error: cannot find symbol java.lang.Object [] result = mr_char.from_uint_2_p_0(UInt_4); ^ symbol: variable mr_char location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:291: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_25 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:293: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:298: error: cannot find symbol Var_15 = term_io.quoted_char_1_f_0(Char_6); ^ symbol: variable term_io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:302: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:304: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) char_uint_conv.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/char_uint_conv.java:305: error: package string__parse_util does not exist Var_25 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_uint_conv.java:307: error: cannot find symbol Var_26 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_32, Var_25, UInt_4); ^ symbol: variable string__format location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:310: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:314: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:317: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:321: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:327: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_40 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:329: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/char_uint_conv.java:333: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class char_uint_conv Mercury/javas/jmercury/char_uint_conv.java:335: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) char_uint_conv.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/char_uint_conv.java:336: error: package string__parse_util does not exist Var_40 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_uint_conv.java:338: error: cannot find symbol Var_41 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_47, Var_40, UInt_4); ^ symbol: variable string__format location: class char_uint_conv 100 errors gmake[3]: *** [/tmp/mmake.L45C95:2411: char_uint_conv] Error 1 gmake[3]: Target 'char_uint_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: char_uint_conv.log] Error 1 RUNNING TEST hard_coded/checked_nondet_tailcall in grade java FAILED TEST hard_coded/char_unicode in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_unicode.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - char_unicode Making Mercury/int3s/char_unicode.int3 Making Mercury/ints/char_unicode.int Making Mercury/javas/jmercury/char_unicode.java Making Java class files Mercury/javas/jmercury/char_unicode.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/char_unicode.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_unicode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_unicode"; ^ Mercury/javas/jmercury/char_unicode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_unicode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_unicode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_unicode Mercury/javas/jmercury/char_unicode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_unicode Mercury/javas/jmercury/char_unicode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_unicode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_unicode.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/char_unicode.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_unicode.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/char_unicode.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class char_unicode Mercury/javas/jmercury/char_unicode.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/char_unicode.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class char_unicode Mercury/javas/jmercury/char_unicode.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/char_unicode.java:42: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/char_unicode.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/char_unicode.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/char_unicode.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/char_unicode.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/char_unicode.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/char_unicode.java:117: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:149: error: cannot find symbol Var_22 = mr_char.det_from_int_1_f_0(Var_24); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:156: error: cannot find symbol Var_25 = mr_char.det_from_int_1_f_0(Var_27); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:163: error: cannot find symbol Var_28 = mr_char.det_from_int_1_f_0(Var_30); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:170: error: cannot find symbol Var_31 = mr_char.det_from_int_1_f_0(Var_33); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:176: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:180: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:212: error: cannot find symbol Var_51 = mr_char.det_from_int_1_f_0(Var_53); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:219: error: cannot find symbol Var_54 = mr_char.det_from_int_1_f_0(Var_56); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:226: error: cannot find symbol Var_57 = mr_char.det_from_int_1_f_0(Var_59); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:233: error: cannot find symbol Var_60 = mr_char.det_from_int_1_f_0(Var_62); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:243: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Var_64); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:250: error: cannot find symbol Var_65 = mr_char.det_from_int_1_f_0(Var_66); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:253: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Var_65); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:259: error: cannot find symbol Var_67 = mr_char.det_from_int_1_f_0(Var_68); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:262: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Var_67); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:268: error: cannot find symbol Var_69 = mr_char.det_from_int_1_f_0(Var_70); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:271: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Var_69); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:277: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Var_71); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:289: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:297: error: cannot find symbol io.write_string_3_p_0(Var_74); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:302: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_76); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:309: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_77); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:315: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_78); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:321: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_79); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:328: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_80); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:335: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_81); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:341: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_82); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:347: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_83); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:354: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_84); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:360: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_85); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:366: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_86); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:372: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_87); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:378: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_88); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:384: error: cannot find symbol succeeded = mr_char.is_noncharacter_1_p_0(Var_89); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:404: error: cannot find symbol io.write_string_3_p_0(Var_90); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:412: error: cannot find symbol io.write_string_3_p_0(Var_92); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:423: error: package list does not exist list.List_1 CodeUnitList_7 = null; ^ Mercury/javas/jmercury/char_unicode.java:426: error: cannot find symbol Int_6 = mr_char.to_int_2_p_0(C_4); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:429: error: cannot find symbol java.lang.Object [] result = mr_char.to_utf16_2_p_0(C_4); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:431: error: package list does not exist CodeUnitList_7 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/char_unicode.java:435: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/char_unicode.java:437: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_25 = null; ^ Mercury/javas/jmercury/char_unicode.java:440: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/char_unicode.java:445: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:448: error: cannot find symbol Var_26 = string__format.format_cast_int_to_uint_2_p_0(Int_6); ^ symbol: variable string__format location: class char_unicode Mercury/javas/jmercury/char_unicode.java:450: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) char_unicode.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/char_unicode.java:452: error: package string__parse_util does not exist Var_25 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_unicode.java:454: error: cannot find symbol Var_27 = string__format.format_uint_component_width_noprec_5_p_0(Var_33, Var_34, Var_25, Var_26); ^ symbol: variable string__format location: class char_unicode Mercury/javas/jmercury/char_unicode.java:457: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:461: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:463: error: package jmercury.runtime does not exist TypeInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(char_unicode.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/char_unicode.java:465: error: cannot find symbol io.write_line_3_p_0(TypeInfo_21_21, ((java.lang.Object) (CodeUnitList_7))); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:471: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_39 = null; ^ Mercury/javas/jmercury/char_unicode.java:474: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/char_unicode.java:479: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:482: error: cannot find symbol Var_40 = string__format.format_cast_int_to_uint_2_p_0(Int_6); ^ symbol: variable string__format location: class char_unicode Mercury/javas/jmercury/char_unicode.java:484: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) char_unicode.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/char_unicode.java:486: error: package string__parse_util does not exist Var_39 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_unicode.java:488: error: cannot find symbol Var_41 = string__format.format_uint_component_width_noprec_5_p_0(Var_47, Var_48, Var_39, Var_40); ^ symbol: variable string__format location: class char_unicode Mercury/javas/jmercury/char_unicode.java:491: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:495: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:506: error: package list does not exist list.List_1 CodeUnitList_7 = null; ^ Mercury/javas/jmercury/char_unicode.java:509: error: cannot find symbol Int_6 = mr_char.to_int_2_p_0(C_4); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:512: error: cannot find symbol java.lang.Object [] result = mr_char.to_utf8_2_p_0(C_4); ^ symbol: variable mr_char location: class char_unicode Mercury/javas/jmercury/char_unicode.java:514: error: package list does not exist CodeUnitList_7 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/char_unicode.java:518: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/char_unicode.java:520: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_25 = null; ^ Mercury/javas/jmercury/char_unicode.java:523: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/char_unicode.java:528: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class char_unicode Mercury/javas/jmercury/char_unicode.java:531: error: cannot find symbol Var_26 = string__format.format_cast_int_to_uint_2_p_0(Int_6); ^ symbol: variable string__format location: class char_unicode Mercury/javas/jmercury/char_unicode.java:533: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) char_unicode.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/char_unicode.java:535: error: package string__parse_util does not exist Var_25 = string__parse_util.String_format_int_base_0.K2; ^ 100 errors gmake[3]: *** [/tmp/mmake.36P1H0:2411: char_unicode] Error 1 gmake[3]: Target 'char_unicode.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: char_unicode.log] Error 1 RUNNING TEST hard_coded/checked_nondet_tailcall_noinline in grade java FAILED TEST hard_coded/checked_nondet_tailcall in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --checked-nondet-tailcalls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - checked_nondet_tailcall.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --checked-nondet-tailcalls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - checked_nondet_tailcall Making Mercury/int3s/checked_nondet_tailcall.int3 Making Mercury/ints/checked_nondet_tailcall.int Making Mercury/javas/jmercury/checked_nondet_tailcall.java Making Java class files Mercury/javas/jmercury/checked_nondet_tailcall.java:119: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:319: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:368: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:417: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:466: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:515: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:538: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:576: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:645: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:719: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:730: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:739: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:748: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:757: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:766: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "checked_nondet_tailcall"; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:175: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:186: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:194: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:202: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:210: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:235: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:236: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_23 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:237: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_25 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_27 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_29 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:240: error: package list does not exist list.List_1 Ones_4 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:241: error: package list does not exist list.List_1 Twos_5 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:242: error: package list does not exist list.List_1 Threes_6 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:243: error: package list does not exist list.List_1 Fours_7 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:244: error: package list does not exist list.List_1 Fives_8 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:252: error: cannot find symbol Ones_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_21, Var_20); ^ symbol: variable solutions location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:258: error: cannot find symbol TypeCtorInfo_9_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:258: error: package jmercury.runtime does not exist TypeCtorInfo_9_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:260: error: cannot find symbol Twos_5 = solutions.solutions_2_p_1(TypeCtorInfo_9_23, Var_22); ^ symbol: variable solutions location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:266: error: cannot find symbol TypeCtorInfo_9_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_9_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:268: error: cannot find symbol Threes_6 = solutions.solutions_2_p_1(TypeCtorInfo_9_25, Var_24); ^ symbol: variable solutions location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:274: error: cannot find symbol TypeCtorInfo_9_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:274: error: package jmercury.runtime does not exist TypeCtorInfo_9_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:276: error: cannot find symbol Fours_7 = solutions.solutions_2_p_1(TypeCtorInfo_9_27, Var_26); ^ symbol: variable solutions location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:282: error: cannot find symbol TypeCtorInfo_9_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:282: error: package jmercury.runtime does not exist TypeCtorInfo_9_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:284: error: cannot find symbol Fives_8 = solutions.solutions_2_p_1(TypeCtorInfo_9_29, Var_28); ^ symbol: variable solutions location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:299: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:348: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Main_2_p_0_6_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_6_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_6_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:397: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Main_2_p_0_9_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_9_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_9_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:446: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Main_2_p_0_12_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_12_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_12_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:495: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall.Main_2_p_0_15_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_15_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall.Main_2_p_0_15_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:548: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:553: error: package list.List_1 does not exist int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:553: error: illegal start of type int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:554: error: package list does not exist list.List_1 Xs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:554: error: package list.List_1 does not exist list.List_1 Xs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:556: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:559: error: cannot find symbol io.write_int_3_p_0(X_9); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:563: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class checked_nondet_tailcall Mercury/javas/jmercury/checked_nondet_tailcall.java:632: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:661: error: package jmercury.runtime does not exist checked_nondet_tailcall.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:670: error: package jmercury.runtime does not exist checked_nondet_tailcall.main_2_p_0_6(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:679: error: package jmercury.runtime does not exist checked_nondet_tailcall.main_2_p_0_9(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:688: error: package jmercury.runtime does not exist checked_nondet_tailcall.main_2_p_0_12(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:697: error: package jmercury.runtime does not exist checked_nondet_tailcall.main_2_p_0_15(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall.java:702: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 80 errors gmake[3]: *** [/tmp/mmake.7v2wME:2411: checked_nondet_tailcall] Error 1 gmake[3]: Target 'checked_nondet_tailcall.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: checked_nondet_tailcall.log] Error 1 RUNNING TEST hard_coded/closeable_channel_test in grade java FAILED TEST hard_coded/checked_nondet_tailcall_noinline in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --checked-nondet-tailcalls --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - checked_nondet_tailcall_noinline.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --checked-nondet-tailcalls --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - checked_nondet_tailcall_noinline Making Mercury/int3s/checked_nondet_tailcall_noinline.int3 Making Mercury/ints/checked_nondet_tailcall_noinline.int Making Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java Making Java class files Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:119: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:319: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:368: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:417: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:466: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:515: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:538: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:576: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:645: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:719: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:730: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:739: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:748: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:757: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:766: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "checked_nondet_tailcall_noinline"; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:175: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:186: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:194: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:202: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:210: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).B_4), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Edge12_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:235: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:236: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_23 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:237: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_25 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_27 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_29 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:240: error: package list does not exist list.List_1 Ones_4 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:241: error: package list does not exist list.List_1 Twos_5 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:242: error: package list does not exist list.List_1 Threes_6 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:243: error: package list does not exist list.List_1 Fours_7 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:244: error: package list does not exist list.List_1 Fives_8 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:252: error: cannot find symbol Ones_4 = solutions.solutions_2_p_1(TypeCtorInfo_9_21, Var_20); ^ symbol: variable solutions location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:258: error: cannot find symbol TypeCtorInfo_9_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:258: error: package jmercury.runtime does not exist TypeCtorInfo_9_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:260: error: cannot find symbol Twos_5 = solutions.solutions_2_p_1(TypeCtorInfo_9_23, Var_22); ^ symbol: variable solutions location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:266: error: cannot find symbol TypeCtorInfo_9_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_9_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:268: error: cannot find symbol Threes_6 = solutions.solutions_2_p_1(TypeCtorInfo_9_25, Var_24); ^ symbol: variable solutions location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:274: error: cannot find symbol TypeCtorInfo_9_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:274: error: package jmercury.runtime does not exist TypeCtorInfo_9_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:276: error: cannot find symbol Fours_7 = solutions.solutions_2_p_1(TypeCtorInfo_9_27, Var_26); ^ symbol: variable solutions location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:282: error: cannot find symbol TypeCtorInfo_9_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:282: error: package jmercury.runtime does not exist TypeCtorInfo_9_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:284: error: cannot find symbol Fives_8 = solutions.solutions_2_p_1(TypeCtorInfo_9_29, Var_28); ^ symbol: variable solutions location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:299: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:348: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Main_2_p_0_6_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_6_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_6_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:397: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Main_2_p_0_9_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_9_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_9_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:446: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Main_2_p_0_12_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_12_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_12_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:495: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((checked_nondet_tailcall_noinline.Main_2_p_0_15_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_15_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((checked_nondet_tailcall_noinline.Main_2_p_0_15_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:548: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:553: error: package list.List_1 does not exist int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:553: error: illegal start of type int X_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:554: error: package list does not exist list.List_1 Xs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:554: error: package list.List_1 does not exist list.List_1 Xs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:556: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:559: error: cannot find symbol io.write_int_3_p_0(X_9); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:563: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class checked_nondet_tailcall_noinline Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:632: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:661: error: package jmercury.runtime does not exist checked_nondet_tailcall_noinline.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:670: error: package jmercury.runtime does not exist checked_nondet_tailcall_noinline.main_2_p_0_6(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:679: error: package jmercury.runtime does not exist checked_nondet_tailcall_noinline.main_2_p_0_9(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:688: error: package jmercury.runtime does not exist checked_nondet_tailcall_noinline.main_2_p_0_12(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:697: error: package jmercury.runtime does not exist checked_nondet_tailcall_noinline.main_2_p_0_15(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/checked_nondet_tailcall_noinline.java:702: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 80 errors gmake[3]: *** [/tmp/mmake.thp8dz:2411: checked_nondet_tailcall_noinline] Error 1 gmake[3]: Target 'checked_nondet_tailcall_noinline.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: checked_nondet_tailcall_noinline.log] Error 1 RUNNING TEST hard_coded/closure_extension in grade java FAILED TEST hard_coded/closeable_channel_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - closeable_channel_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - closeable_channel_test Making Mercury/int3s/closeable_channel_test.int3 Making Mercury/ints/closeable_channel_test.int Making Mercury/javas/jmercury/closeable_channel_test.java Making Java class files Mercury/javas/jmercury/closeable_channel_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__closeable_channel__pti_closeable_channel_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] closeable_channel_test__field_types_log_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_stag_ordered_log_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] closeable_channel_test__du_ptag_ordered_log_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_name_ordered_log_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct closeable_channel_test__type_ctor_info_log_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:135: 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/closeable_channel_test.java:1127: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/closeable_channel_test.java:217: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_5) ^ Mercury/javas/jmercury/closeable_channel_test.java:215: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closeable_channel_test.java:246: error: package jmercury.runtime does not exist private static jmercury.runtime.Semaphore ^ Mercury/javas/jmercury/closeable_channel_test.java:285: error: package list does not exist list.List_1 Args_8) ^ Mercury/javas/jmercury/closeable_channel_test.java:674: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1) ^ Mercury/javas/jmercury/closeable_channel_test.java:689: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 InCh_7, ^ Mercury/javas/jmercury/closeable_channel_test.java:690: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 OutCh_8) ^ Mercury/javas/jmercury/closeable_channel_test.java:764: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 InCh_8, ^ Mercury/javas/jmercury/closeable_channel_test.java:765: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 OutCh_9, ^ Mercury/javas/jmercury/closeable_channel_test.java:766: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore DoneSem_10) ^ Mercury/javas/jmercury/closeable_channel_test.java:799: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_6) ^ Mercury/javas/jmercury/closeable_channel_test.java:831: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_7, ^ Mercury/javas/jmercury/closeable_channel_test.java:921: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/closeable_channel_test.java:1015: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/closeable_channel_test.java:1084: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/closeable_channel_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "closeable_channel_test"; ^ Mercury/javas/jmercury/closeable_channel_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/closeable_channel_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/closeable_channel_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/closeable_channel_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/closeable_channel_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__closeable_channel__pti_closeable_channel_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] closeable_channel_test__field_types_log_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_stag_ordered_log_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] closeable_channel_test__du_ptag_ordered_log_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_name_ordered_log_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct closeable_channel_test__type_ctor_info_log_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:49: error: cannot find symbol thread__closeable_channel.thread__closeable_channel__type_ctor_info_closeable_channel_1, ^ symbol: variable thread__closeable_channel location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closeable_channel_test.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/closeable_channel_test.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:60: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:75: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:83: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/closeable_channel_test.java:93: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/closeable_channel_test.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/closeable_channel_test.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/closeable_channel_test.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:135: 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/closeable_channel_test.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/closeable_channel_test.java:146: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:146: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/closeable_channel_test.java:147: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:147: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/closeable_channel_test.java:150: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/closeable_channel_test.java:177: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:177: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:178: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:178: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:179: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:179: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:188: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:188: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:189: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:189: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:190: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:190: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:197: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:197: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:198: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:198: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:199: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:199: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:219: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/closeable_channel_test.java:220: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/closeable_channel_test.java:221: error: package thread__closeable_channel does not exist thread__closeable_channel.Take_result_1 TakeResult_8 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:224: error: cannot find symbol TakeResult_8 = thread__closeable_channel.take_4_p_0(TypeCtorInfo_14_14, Ch_5); ^ symbol: variable thread__closeable_channel location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:227: error: package list does not exist List_6 = (list.List_1) closeable_channel_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/closeable_channel_test.java:230: error: package thread__closeable_channel.Take_result_1 does not exist int Head_9 = ((java.lang.Integer) (((thread__closeable_channel.Take_result_1.Ok_1) TakeResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/closeable_channel_test.java:230: error: illegal start of type int Head_9 = ((java.lang.Integer) (((thread__closeable_channel.Take_result_1.Ok_1) TakeResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/closeable_channel_test.java:231: error: package list does not exist list.List_1 Tail_10 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:237: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/closeable_channel_test.java:249: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:257: error: package jmercury.runtime does not exist X_1 = ((jmercury.runtime.Semaphore) X); ^ Mercury/javas/jmercury/closeable_channel_test.java:265: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:269: error: cannot find symbol X_1 = thread__semaphore.impure_init_1_f_0(Var_2); ^ symbol: variable thread__semaphore location: class closeable_channel_test 100 errors gmake[3]: *** [/tmp/mmake.GfzQao:2411: closeable_channel_test] Error 1 gmake[3]: Target 'closeable_channel_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: closeable_channel_test.log] Error 1 RUNNING TEST hard_coded/cmp_int16 in grade java FAILED TEST hard_coded/closure_extension in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - closure_extension.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - closure_extension Making Mercury/int3s/closure_extension.int3 Making Mercury/ints/closure_extension.int Making Mercury/javas/jmercury/closure_extension.java Making Java class files Mercury/javas/jmercury/closure_extension.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/closure_extension.java:84: 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/closure_extension.java:85: 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[7]; ^ Mercury/javas/jmercury/closure_extension.java:287: error: package list does not exist list.List_1 HeadVar__1_42, ^ Mercury/javas/jmercury/closure_extension.java:288: error: package list does not exist list.List_1 HeadVar__2_188, ^ Mercury/javas/jmercury/closure_extension.java:289: error: package list does not exist list.List_1 HeadVar__3_189, ^ Mercury/javas/jmercury/closure_extension.java:290: error: package list does not exist list.List_1 HeadVar__4_190) ^ Mercury/javas/jmercury/closure_extension.java:285: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:312: error: package list does not exist list.List_1 HeadVar__2_55, ^ Mercury/javas/jmercury/closure_extension.java:313: error: package list does not exist list.List_1 HeadVar__3_194, ^ Mercury/javas/jmercury/closure_extension.java:314: error: package list does not exist list.List_1 HeadVar__4_195) ^ Mercury/javas/jmercury/closure_extension.java:309: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:330: error: package list does not exist list.List_1 HeadVar__2_65, ^ Mercury/javas/jmercury/closure_extension.java:331: error: package list does not exist list.List_1 HeadVar__3_198) ^ Mercury/javas/jmercury/closure_extension.java:327: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:347: error: package list does not exist list.List_1 HeadVar__2_72) ^ Mercury/javas/jmercury/closure_extension.java:344: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:362: error: package list does not exist list.List_1 HeadVar__1_42, ^ Mercury/javas/jmercury/closure_extension.java:363: error: package list does not exist list.List_1 HeadVar__2_55, ^ Mercury/javas/jmercury/closure_extension.java:364: error: package list does not exist list.List_1 HeadVar__3_203, ^ Mercury/javas/jmercury/closure_extension.java:365: error: package list does not exist list.List_1 HeadVar__4_204) ^ Mercury/javas/jmercury/closure_extension.java:360: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:387: error: package list does not exist list.List_1 HeadVar__2_65, ^ Mercury/javas/jmercury/closure_extension.java:388: error: package list does not exist list.List_1 HeadVar__3_207) ^ Mercury/javas/jmercury/closure_extension.java:384: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:404: error: package list does not exist list.List_1 HeadVar__2_72) ^ Mercury/javas/jmercury/closure_extension.java:401: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:420: error: package list does not exist list.List_1 HeadVar__2_65, ^ Mercury/javas/jmercury/closure_extension.java:421: error: package list does not exist list.List_1 HeadVar__3_72) ^ Mercury/javas/jmercury/closure_extension.java:417: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:437: error: package list does not exist list.List_1 HeadVar__2_55, ^ Mercury/javas/jmercury/closure_extension.java:438: error: package list does not exist list.List_1 HeadVar__3_65, ^ Mercury/javas/jmercury/closure_extension.java:439: error: package list does not exist list.List_1 HeadVar__4_72) ^ Mercury/javas/jmercury/closure_extension.java:434: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:454: error: package list does not exist list.List_1 HeadVar__1_42, ^ Mercury/javas/jmercury/closure_extension.java:455: error: package list does not exist list.List_1 HeadVar__2_55, ^ Mercury/javas/jmercury/closure_extension.java:456: error: package list does not exist list.List_1 HeadVar__3_65, ^ Mercury/javas/jmercury/closure_extension.java:457: error: package list does not exist list.List_1 HeadVar__4_216) ^ Mercury/javas/jmercury/closure_extension.java:452: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:479: error: package list does not exist list.List_1 HeadVar__2_72) ^ Mercury/javas/jmercury/closure_extension.java:476: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:494: error: package list does not exist list.List_1 HeadVar__1_42, ^ Mercury/javas/jmercury/closure_extension.java:495: error: package list does not exist list.List_1 HeadVar__2_55, ^ Mercury/javas/jmercury/closure_extension.java:496: error: package list does not exist list.List_1 HeadVar__3_65, ^ Mercury/javas/jmercury/closure_extension.java:497: error: package list does not exist list.List_1 HeadVar__4_72) ^ Mercury/javas/jmercury/closure_extension.java:492: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closure_extension.java:1005: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/closure_extension.java:1082: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/closure_extension.java:1133: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/closure_extension.java:1176: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/closure_extension.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "closure_extension"; ^ Mercury/javas/jmercury/closure_extension.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/closure_extension.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/closure_extension.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class closure_extension Mercury/javas/jmercury/closure_extension.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class closure_extension Mercury/javas/jmercury/closure_extension.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/closure_extension.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closure_extension Mercury/javas/jmercury/closure_extension.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closure_extension Mercury/javas/jmercury/closure_extension.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closure_extension Mercury/javas/jmercury/closure_extension.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closure_extension Mercury/javas/jmercury/closure_extension.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/closure_extension.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closure_extension.java:41: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class closure_extension Mercury/javas/jmercury/closure_extension.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closure_extension.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class closure_extension Mercury/javas/jmercury/closure_extension.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/closure_extension.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closure_extension.java:62: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closure_extension.java:70: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/closure_extension.java:73: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) closure_extension.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closure_extension.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/closure_extension.java:84: 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/closure_extension.java:85: 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[7]; ^ Mercury/javas/jmercury/closure_extension.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/closure_extension.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class closure_extension Mercury/javas/jmercury/closure_extension.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/closure_extension.java:96: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class closure_extension Mercury/javas/jmercury/closure_extension.java:96: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/closure_extension.java:99: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/closure_extension.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/closure_extension.java:103: error: package list does not exist (list.List_1) closure_extension.MR_scalar_common_2[0] ^ 100 errors gmake[3]: *** [/tmp/mmake.YTarOD:2411: closure_extension] Error 1 gmake[3]: Target 'closure_extension.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: closure_extension.log] Error 1 RUNNING TEST hard_coded/cmp_int32 in grade java FAILED TEST hard_coded/cmp_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int16 Making Mercury/int3s/cmp_int16.int3 Making Mercury/ints/cmp_int16.int Making Mercury/javas/jmercury/cmp_int16.java Making Java class files Mercury/javas/jmercury/cmp_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int16.java:57: 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/cmp_int16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/cmp_int16.java:385: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_int16.java:487: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_int16"; ^ Mercury/javas/jmercury/cmp_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int16_0__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int16.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ Mercury/javas/jmercury/cmp_int16.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0, ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/cmp_int16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ Mercury/javas/jmercury/cmp_int16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int16_0 ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:57: 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/cmp_int16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/cmp_int16.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_int16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:69: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_int16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:74: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_int16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:79: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_int16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:84: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_int16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:89: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_int16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:94: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_int16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:99: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_int16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:104: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_int16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:109: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cmp_int16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int16.java:114: error: package list does not exist (list.List_1) cmp_int16.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/cmp_int16.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int16.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/cmp_int16.java:125: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:125: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int16.java:126: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:126: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int16.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int16.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/cmp_int16.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/cmp_int16.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int16.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int16.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/cmp_int16.java:146: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)) ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:146: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)) ^ Mercury/javas/jmercury/cmp_int16.java:215: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:223: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:231: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:273: error: cannot find symbol succeeded = int16.f_less_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable int16 location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:288: error: cannot find symbol succeeded = int16.f_less_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable int16 location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:303: error: cannot find symbol succeeded = int16.f_greater_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable int16 location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:318: error: cannot find symbol succeeded = int16.f_greater_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable int16 location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_int16.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_int16.java:330: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_int16.java:331: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_int16.java:338: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:341: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:345: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:347: error: package list does not exist As_8 = (list.List_1) cmp_int16.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/cmp_int16.java:348: error: package list does not exist Bs_9 = (list.List_1) cmp_int16.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/cmp_int16.java:359: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:359: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/cmp_int16.java:360: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:360: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_int16.java:362: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:376: error: package list does not exist cmp_int16.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Short) wrapper_arg_1).shortValue()); ^ Mercury/javas/jmercury/cmp_int16.java:388: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_int16.java:389: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_int16.java:403: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class cmp_int16 Mercury/javas/jmercury/cmp_int16.java:403: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/cmp_int16.java:404: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int16 100 errors gmake[3]: *** [/tmp/mmake.BZZ0Il:2411: cmp_int16] Error 1 gmake[3]: Target 'cmp_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_int16.log] Error 1 RUNNING TEST hard_coded/cmp_int64 in grade java FAILED TEST hard_coded/cmp_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int32 Making Mercury/int3s/cmp_int32.int3 Making Mercury/ints/cmp_int32.int Making Mercury/javas/jmercury/cmp_int32.java Making Java class files Mercury/javas/jmercury/cmp_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int32.java:57: 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/cmp_int32.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/cmp_int32.java:395: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_int32.java:497: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_int32"; ^ Mercury/javas/jmercury/cmp_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int32_0__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int32.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ Mercury/javas/jmercury/cmp_int32.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0, ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/cmp_int32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ Mercury/javas/jmercury/cmp_int32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0 ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:57: 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/cmp_int32.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/cmp_int32.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_int32.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:69: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_int32.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:74: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_int32.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:79: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_int32.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:84: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_int32.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:89: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_int32.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:94: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_int32.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:99: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_int32.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:104: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_int32.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:109: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cmp_int32.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:114: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/cmp_int32.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:119: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/cmp_int32.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int32.java:124: error: package list does not exist (list.List_1) cmp_int32.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/cmp_int32.java:132: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:132: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int32.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/cmp_int32.java:135: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:135: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int32.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int32.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int32.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/cmp_int32.java:146: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:146: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/cmp_int32.java:147: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:147: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int32.java:148: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:148: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int32.java:155: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:155: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/cmp_int32.java:156: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)) ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:156: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)) ^ Mercury/javas/jmercury/cmp_int32.java:225: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:233: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:241: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:249: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:283: error: cannot find symbol succeeded = int32.f_less_than_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable int32 location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:298: error: cannot find symbol succeeded = int32.f_less_or_equal_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable int32 location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:313: error: cannot find symbol succeeded = int32.f_greater_than_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable int32 location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:328: error: cannot find symbol succeeded = int32.f_greater_or_equal_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable int32 location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_int32.java:339: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_int32.java:340: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_int32.java:341: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_int32.java:348: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:351: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:355: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:357: error: package list does not exist As_8 = (list.List_1) cmp_int32.MR_scalar_common_2[11]; ^ Mercury/javas/jmercury/cmp_int32.java:358: error: package list does not exist Bs_9 = (list.List_1) cmp_int32.MR_scalar_common_2[11]; ^ Mercury/javas/jmercury/cmp_int32.java:369: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:369: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ Mercury/javas/jmercury/cmp_int32.java:370: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:370: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_int32.java:372: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_int32 Mercury/javas/jmercury/cmp_int32.java:386: error: package list does not exist cmp_int32.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/cmp_int32.java:398: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.TFjBe8:2411: cmp_int32] Error 1 gmake[3]: Target 'cmp_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_int32.log] Error 1 FAILED TEST hard_coded/cmp_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int64 Making Mercury/int3s/cmp_int64.int3 Making Mercury/ints/cmp_int64.int Making Mercury/javas/jmercury/cmp_int64.java Making Java class files Mercury/javas/jmercury/cmp_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int64.java:57: 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/cmp_int64.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/cmp_int64.java:405: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_int64.java:507: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_int64"; ^ Mercury/javas/jmercury/cmp_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int64_0__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int64.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ Mercury/javas/jmercury/cmp_int64.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0, ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/cmp_int64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ Mercury/javas/jmercury/cmp_int64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int64_0 ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:57: 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/cmp_int64.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/cmp_int64.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_int64.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:69: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_int64.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:74: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_int64.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:79: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_int64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:84: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_int64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:89: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_int64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:94: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_int64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:99: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_int64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:104: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_int64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:109: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cmp_int64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:114: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/cmp_int64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:119: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/cmp_int64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:124: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/cmp_int64.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:129: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/cmp_int64.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int64.java:134: error: package list does not exist (list.List_1) cmp_int64.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/cmp_int64.java:142: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:142: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int64.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/cmp_int64.java:145: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:145: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int64.java:146: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:146: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int64.java:154: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:154: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int64.java:155: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:155: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/cmp_int64.java:156: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:156: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/cmp_int64.java:157: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:157: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int64.java:158: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:158: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int64.java:165: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:165: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/cmp_int64.java:166: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)) ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:166: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)) ^ Mercury/javas/jmercury/cmp_int64.java:235: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:259: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:293: error: cannot find symbol succeeded = int64.f_less_than_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable int64 location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:308: error: cannot find symbol succeeded = int64.f_less_or_equal_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable int64 location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:323: error: cannot find symbol succeeded = int64.f_greater_than_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable int64 location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:338: error: cannot find symbol succeeded = int64.f_greater_or_equal_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable int64 location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_int64.java:349: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_int64.java:350: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_int64.java:351: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_int64.java:358: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:361: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:365: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:367: error: package list does not exist As_8 = (list.List_1) cmp_int64.MR_scalar_common_2[13]; ^ Mercury/javas/jmercury/cmp_int64.java:368: error: package list does not exist Bs_9 = (list.List_1) cmp_int64.MR_scalar_common_2[13]; ^ Mercury/javas/jmercury/cmp_int64.java:379: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ symbol: variable builtin location: class cmp_int64 Mercury/javas/jmercury/cmp_int64.java:379: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ Mercury/javas/jmercury/cmp_int64.java:380: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int64 100 errors gmake[3]: *** [/tmp/mmake.LP2ulD:2411: cmp_int64] Error 1 gmake[3]: Target 'cmp_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' RUNNING TEST hard_coded/cmp_int8 in grade java END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_int64.log] Error 1 RUNNING TEST hard_coded/cmp_uint16 in grade java FAILED TEST hard_coded/cmp_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint16 Making Mercury/int3s/cmp_uint16.int3 Making Mercury/ints/cmp_uint16.int Making Mercury/javas/jmercury/cmp_uint16.java Making Java class files Mercury/javas/jmercury/cmp_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:57: 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/cmp_uint16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint16.java:375: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_uint16.java:477: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_uint16"; ^ Mercury/javas/jmercury/cmp_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/cmp_uint16.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/cmp_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/cmp_uint16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:57: 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/cmp_uint16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint16.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_uint16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:69: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_uint16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:74: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_uint16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:79: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:84: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:89: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:94: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:99: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:104: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_uint16.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:114: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:114: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:116: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:116: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:125: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:125: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:126: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:126: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:127: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:127: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:128: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:128: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:213: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:221: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:263: error: cannot find symbol succeeded = uint16.f_less_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:278: error: cannot find symbol succeeded = uint16.f_less_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:293: error: cannot find symbol succeeded = uint16.f_greater_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:308: error: cannot find symbol succeeded = uint16.f_greater_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:320: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:321: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:328: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:331: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:335: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:337: error: package list does not exist As_8 = (list.List_1) cmp_uint16.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint16.java:338: error: package list does not exist Bs_9 = (list.List_1) cmp_uint16.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint16.java:349: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:349: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/cmp_uint16.java:350: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:350: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint16.java:352: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:366: error: package list does not exist cmp_uint16.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Short) wrapper_arg_1).shortValue()); ^ Mercury/javas/jmercury/cmp_uint16.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:393: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:393: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/cmp_uint16.java:394: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:394: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint16.java:396: error: cannot find symbol conv0_STATE_VARIABLE_IO_13 = list.foldl_4_p_2(TypeCtorInfo_18_18, TypeCtorInfo_19_19, Var_14, Bs_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ Mercury/javas/jmercury/cmp_uint16.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.3v0XZR:2411: cmp_uint16] Error 1 gmake[3]: Target 'cmp_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_uint16.log] Error 1 RUNNING TEST hard_coded/cmp_uint32 in grade java FAILED TEST hard_coded/cmp_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_int8 Making Mercury/int3s/cmp_int8.int3 Making Mercury/ints/cmp_int8.int Making Mercury/javas/jmercury/cmp_int8.java Making Java class files Mercury/javas/jmercury/cmp_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int8.java:57: 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/cmp_int8.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_int8.java:375: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_int8.java:477: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_int8"; ^ Mercury/javas/jmercury/cmp_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_int8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int8_0__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_int8.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ Mercury/javas/jmercury/cmp_int8.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0, ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/cmp_int8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/cmp_int8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:57: 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/cmp_int8.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_int8.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_int8.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:69: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_int8.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:74: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_int8.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:79: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_int8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:84: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_int8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:89: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_int8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:94: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_int8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:99: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_int8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_int8.java:104: error: package list does not exist (list.List_1) cmp_int8.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_int8.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int8.java:114: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:114: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/cmp_int8.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int8.java:116: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:116: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int8.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_int8.java:125: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:125: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/cmp_int8.java:126: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:126: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/cmp_int8.java:127: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:127: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_int8.java:128: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:128: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_int8.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/cmp_int8.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)) ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)) ^ Mercury/javas/jmercury/cmp_int8.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:213: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:221: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:263: error: cannot find symbol succeeded = int8.f_less_than_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable int8 location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:278: error: cannot find symbol succeeded = int8.f_less_or_equal_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable int8 location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:293: error: cannot find symbol succeeded = int8.f_greater_than_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable int8 location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:308: error: cannot find symbol succeeded = int8.f_greater_or_equal_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable int8 location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_int8.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_int8.java:320: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_int8.java:321: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_int8.java:328: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:331: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:335: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:337: error: package list does not exist As_8 = (list.List_1) cmp_int8.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_int8.java:338: error: package list does not exist Bs_9 = (list.List_1) cmp_int8.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_int8.java:349: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:349: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/cmp_int8.java:350: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:350: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_int8.java:352: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:366: error: package list does not exist cmp_int8.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Byte) wrapper_arg_1).byteValue()); ^ Mercury/javas/jmercury/cmp_int8.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_int8.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_int8.java:393: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:393: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/cmp_int8.java:394: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:394: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_int8.java:396: error: cannot find symbol conv0_STATE_VARIABLE_IO_13 = list.foldl_4_p_2(TypeCtorInfo_18_18, TypeCtorInfo_19_19, Var_14, Bs_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_int8 Mercury/javas/jmercury/cmp_int8.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ Mercury/javas/jmercury/cmp_int8.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.V3Fe83:2411: cmp_int8] Error 1 gmake[3]: Target 'cmp_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_int8.log] Error 1 RUNNING TEST hard_coded/cmp_uint64 in grade java FAILED TEST hard_coded/cmp_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint32 Making Mercury/int3s/cmp_uint32.int3 Making Mercury/ints/cmp_uint32.int Making Mercury/javas/jmercury/cmp_uint32.java Making Java class files Mercury/javas/jmercury/cmp_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint32.java:57: 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/cmp_uint32.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/cmp_uint32.java:380: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_uint32.java:482: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_uint32"; ^ Mercury/javas/jmercury/cmp_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint32.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/cmp_uint32.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/cmp_uint32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/cmp_uint32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:57: 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/cmp_uint32.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/cmp_uint32.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_uint32.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:69: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_uint32.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:74: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_uint32.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:79: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_uint32.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:84: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_uint32.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:89: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_uint32.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:94: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_uint32.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:99: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_uint32.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:104: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_uint32.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint32.java:109: error: package list does not exist (list.List_1) cmp_uint32.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cmp_uint32.java:117: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:117: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:120: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:120: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint32.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:131: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:131: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:132: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:132: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:133: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:133: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint32.java:140: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:140: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/cmp_uint32.java:141: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:141: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ Mercury/javas/jmercury/cmp_uint32.java:210: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:218: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:226: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:234: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:268: error: cannot find symbol succeeded = uint32.f_less_than_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable uint32 location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:283: error: cannot find symbol succeeded = uint32.f_less_or_equal_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable uint32 location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:298: error: cannot find symbol succeeded = uint32.f_greater_than_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable uint32 location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:313: error: cannot find symbol succeeded = uint32.f_greater_or_equal_2_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable uint32 location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:323: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:324: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:325: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:326: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:333: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:336: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:340: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:342: error: package list does not exist As_8 = (list.List_1) cmp_uint32.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/cmp_uint32.java:343: error: package list does not exist Bs_9 = (list.List_1) cmp_uint32.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/cmp_uint32.java:354: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:354: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/cmp_uint32.java:355: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:355: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint32.java:357: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:371: error: package list does not exist cmp_uint32.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/cmp_uint32.java:383: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:384: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_uint32.java:398: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:398: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/cmp_uint32.java:399: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint32 Mercury/javas/jmercury/cmp_uint32.java:399: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint32.java:401: error: cannot find symbol conv0_STATE_VARIABLE_IO_13 = list.foldl_4_p_2(TypeCtorInfo_18_18, TypeCtorInfo_19_19, Var_14, Bs_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint32 100 errors gmake[3]: *** [/tmp/mmake.NdjDIN:2411: cmp_uint32] Error 1 gmake[3]: Target 'cmp_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_uint32.log] Error 1 RUNNING TEST hard_coded/cmp_uint8 in grade java FAILED TEST hard_coded/cmp_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint64 Making Mercury/int3s/cmp_uint64.int3 Making Mercury/ints/cmp_uint64.int Making Mercury/javas/jmercury/cmp_uint64.java Making Java class files Mercury/javas/jmercury/cmp_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint64.java:57: 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/cmp_uint64.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/cmp_uint64.java:385: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_uint64.java:487: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_uint64"; ^ Mercury/javas/jmercury/cmp_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint64.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/cmp_uint64.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/cmp_uint64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/cmp_uint64.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:57: 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/cmp_uint64.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/cmp_uint64.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_uint64.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:69: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_uint64.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:74: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_uint64.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:79: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_uint64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:84: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_uint64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:89: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_uint64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:94: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_uint64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:99: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_uint64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:104: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_uint64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:109: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/cmp_uint64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint64.java:114: error: package list does not exist (list.List_1) cmp_uint64.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/cmp_uint64.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:125: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:125: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:126: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:126: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint64.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint64.java:145: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:145: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/cmp_uint64.java:146: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:146: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ Mercury/javas/jmercury/cmp_uint64.java:215: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:223: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:231: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:273: error: cannot find symbol succeeded = uint64.f_less_than_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable uint64 location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:288: error: cannot find symbol succeeded = uint64.f_less_or_equal_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable uint64 location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:303: error: cannot find symbol succeeded = uint64.f_greater_than_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable uint64 location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:318: error: cannot find symbol succeeded = uint64.f_greater_or_equal_2_p_0(((java.lang.Long) wrapper_arg_1).longValue(), ((java.lang.Long) wrapper_arg_2).longValue()); ^ symbol: variable uint64 location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:330: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:331: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:338: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:341: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:345: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:347: error: package list does not exist As_8 = (list.List_1) cmp_uint64.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/cmp_uint64.java:348: error: package list does not exist Bs_9 = (list.List_1) cmp_uint64.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/cmp_uint64.java:359: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:359: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/cmp_uint64.java:360: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:360: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint64.java:362: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:376: error: package list does not exist cmp_uint64.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Long) wrapper_arg_1).longValue()); ^ Mercury/javas/jmercury/cmp_uint64.java:388: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:389: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_uint64.java:403: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class cmp_uint64 Mercury/javas/jmercury/cmp_uint64.java:403: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/cmp_uint64.java:404: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint64 100 errors gmake[3]: *** [/tmp/mmake.3QoQVM:2411: cmp_uint64] Error 1 gmake[3]: Target 'cmp_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_uint64.log] Error 1 RUNNING TEST hard_coded/coerce_existq in grade java FAILED TEST hard_coded/cmp_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cmp_uint8 Making Mercury/int3s/cmp_uint8.int3 Making Mercury/ints/cmp_uint8.int Making Mercury/javas/jmercury/cmp_uint8.java Making Java class files Mercury/javas/jmercury/cmp_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint8.java:57: 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/cmp_uint8.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint8.java:375: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_uint8.java:477: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_uint8"; ^ Mercury/javas/jmercury/cmp_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint8.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/cmp_uint8.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/cmp_uint8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/cmp_uint8.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:57: 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/cmp_uint8.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint8.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_uint8.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:69: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_uint8.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:74: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_uint8.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:79: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_uint8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:84: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_uint8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:89: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_uint8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:94: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_uint8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:99: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_uint8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint8.java:104: error: package list does not exist (list.List_1) cmp_uint8.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_uint8.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:114: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:114: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:116: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:116: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint8.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:125: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:125: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:126: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:126: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:127: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:127: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:128: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:128: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint8.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/cmp_uint8.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ Mercury/javas/jmercury/cmp_uint8.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:213: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:221: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:263: error: cannot find symbol succeeded = uint8.f_less_than_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:278: error: cannot find symbol succeeded = uint8.f_less_or_equal_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:293: error: cannot find symbol succeeded = uint8.f_greater_than_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:308: error: cannot find symbol succeeded = uint8.f_greater_or_equal_2_p_0(((java.lang.Byte) wrapper_arg_1).byteValue(), ((java.lang.Byte) wrapper_arg_2).byteValue()); ^ symbol: variable uint8 location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:320: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:321: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:328: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:331: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:335: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:337: error: package list does not exist As_8 = (list.List_1) cmp_uint8.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint8.java:338: error: package list does not exist Bs_9 = (list.List_1) cmp_uint8.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint8.java:349: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:349: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/cmp_uint8.java:350: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:350: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint8.java:352: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:366: error: package list does not exist cmp_uint8.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Byte) wrapper_arg_1).byteValue()); ^ Mercury/javas/jmercury/cmp_uint8.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_uint8.java:393: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:393: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/cmp_uint8.java:394: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:394: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint8.java:396: error: cannot find symbol conv0_STATE_VARIABLE_IO_13 = list.foldl_4_p_2(TypeCtorInfo_18_18, TypeCtorInfo_19_19, Var_14, Bs_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint8 Mercury/javas/jmercury/cmp_uint8.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ Mercury/javas/jmercury/cmp_uint8.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.ShHnuh:2411: cmp_uint8] Error 1 gmake[3]: Target 'cmp_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cmp_uint8.log] Error 1 RUNNING TEST hard_coded/coerce_opt in grade java FAILED TEST hard_coded/coerce_existq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - coerce_existq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - coerce_existq Making Mercury/int3s/coerce_existq.int3 Making Mercury/ints/coerce_existq.int Making Mercury/javas/jmercury/coerce_existq.java Making Java class files Mercury/javas/jmercury/coerce_existq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_box_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/coerce_existq.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_box_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_box_0_0_2 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] coerce_existq__exist_tc_constrs_box_0_0 = new jmercury.runtime.TypeClassConstraint[2]; ^ Mercury/javas/jmercury/coerce_existq.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] coerce_existq__exist_locns_box_0_0 = new jmercury.runtime.DuExistLocn[4]; ^ Mercury/javas/jmercury/coerce_existq.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo coerce_existq__exist_info_box_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/coerce_existq.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_box_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_box_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_existq.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_box_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_box_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_existq.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_box_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/coerce_existq.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_maybe_box_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/coerce_existq.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_maybe_box_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_maybe_box_0_0_2 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] coerce_existq__exist_tc_constrs_maybe_box_0_0 = new jmercury.runtime.TypeClassConstraint[2]; ^ Mercury/javas/jmercury/coerce_existq.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] coerce_existq__exist_locns_maybe_box_0_0 = new jmercury.runtime.DuExistLocn[4]; ^ Mercury/javas/jmercury/coerce_existq.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo coerce_existq__exist_info_maybe_box_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/coerce_existq.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_maybe_box_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_maybe_box_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_maybe_box_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_maybe_box_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_maybe_box_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_maybe_box_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] coerce_existq__type_class_id_method_ids_tc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/coerce_existq.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId coerce_existq__type_class_id_tc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/coerce_existq.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct coerce_existq__type_class_decl_tc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/coerce_existq.java:429: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/coerce_existq.java:432: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/coerce_existq.java:1401: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/coerce_existq.java:1437: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/coerce_existq.java:623: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_29, ^ Mercury/javas/jmercury/coerce_existq.java:736: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_4) ^ Mercury/javas/jmercury/coerce_existq.java:892: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/coerce_existq.java:922: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/coerce_existq.java:979: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/coerce_existq.java:1454: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/coerce_existq.java:1455: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F2; ^ Mercury/javas/jmercury/coerce_existq.java:1470: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/coerce_existq.java:1471: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F2, ^ Mercury/javas/jmercury/coerce_existq.java:1285: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/coerce_existq.java:1381: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/coerce_existq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "coerce_existq"; ^ Mercury/javas/jmercury/coerce_existq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/coerce_existq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/coerce_existq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/coerce_existq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/coerce_existq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_box_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/coerce_existq.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_box_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_box_0_0_2 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] coerce_existq__exist_tc_constrs_box_0_0 = new jmercury.runtime.TypeClassConstraint[2]; ^ Mercury/javas/jmercury/coerce_existq.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] coerce_existq__exist_locns_box_0_0 = new jmercury.runtime.DuExistLocn[4]; ^ Mercury/javas/jmercury/coerce_existq.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo coerce_existq__exist_info_box_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/coerce_existq.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_box_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_box_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_existq.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_box_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_box_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_existq.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_box_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/coerce_existq.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_existq__field_types_maybe_box_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/coerce_existq.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_maybe_box_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint coerce_existq__exist_tc_constr_maybe_box_0_0_2 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/coerce_existq.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] coerce_existq__exist_tc_constrs_maybe_box_0_0 = new jmercury.runtime.TypeClassConstraint[2]; ^ Mercury/javas/jmercury/coerce_existq.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] coerce_existq__exist_locns_maybe_box_0_0 = new jmercury.runtime.DuExistLocn[4]; ^ Mercury/javas/jmercury/coerce_existq.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo coerce_existq__exist_info_maybe_box_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/coerce_existq.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_maybe_box_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_existq__du_functor_desc_maybe_box_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_existq.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_stag_ordered_maybe_box_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_existq__du_ptag_ordered_maybe_box_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_existq.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_existq__du_name_ordered_maybe_box_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/coerce_existq.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_existq__type_ctor_info_maybe_box_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_existq.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] coerce_existq__type_class_id_method_ids_tc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/coerce_existq.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId coerce_existq__type_class_id_tc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/coerce_existq.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct coerce_existq__type_class_decl_tc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/coerce_existq.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) coerce_existq.coerce_existq__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/coerce_existq.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/coerce_existq.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(514); ^ Mercury/javas/jmercury/coerce_existq.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(515); ^ Mercury/javas/jmercury/coerce_existq.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(516); ^ Mercury/javas/jmercury/coerce_existq.java:87: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/coerce_existq.java:90: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class coerce_existq Mercury/javas/jmercury/coerce_existq.java:110: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ 100 errors gmake[3]: *** [/tmp/mmake.K2dZ9S:2411: coerce_existq] Error 1 gmake[3]: Target 'coerce_existq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: coerce_existq.log] Error 1 RUNNING TEST hard_coded/common_type_cast in grade java FAILED TEST hard_coded/common_type_cast in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - common_type_cast.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - common_type_cast Making Mercury/int3s/common_type_cast.int3 Making Mercury/ints/common_type_cast.int Making Mercury/javas/jmercury/common_type_cast.java Making Java class files Mercury/javas/jmercury/common_type_cast.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_type_cast__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_type_cast.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_type_cast__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_type_cast.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/common_type_cast.java:404: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/common_type_cast.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/common_type_cast.java:225: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/common_type_cast.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/common_type_cast.java:342: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/common_type_cast.java:361: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/common_type_cast.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "common_type_cast"; ^ Mercury/javas/jmercury/common_type_cast.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/common_type_cast.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/common_type_cast.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/common_type_cast.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/common_type_cast.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_type_cast__field_types_foo_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/common_type_cast.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_type_cast__du_functor_desc_foo_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_type_cast.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_stag_ordered_foo_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_type_cast__du_ptag_ordered_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_type_cast.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_type_cast__du_name_ordered_foo_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_type_cast.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_type_cast__type_ctor_info_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_type_cast.java:45: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/common_type_cast.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/common_type_cast.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/common_type_cast.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/common_type_cast.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/common_type_cast.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/common_type_cast.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/common_type_cast.java:133: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/common_type_cast.java:134: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(common_type_cast.common_type_cast__type_ctor_info_foo_1))), ^ Mercury/javas/jmercury/common_type_cast.java:135: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/common_type_cast.java:142: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:142: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/common_type_cast.java:143: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:143: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/common_type_cast.java:170: error: cannot find symbol LambdaHeadVar__2_12 = mr_float.float_1_f_0(LambdaHeadVar__1_11); ^ symbol: variable mr_float location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/common_type_cast.java:185: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:190: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/common_type_cast.java:192: error: package jmercury.runtime does not exist conv2_U_31 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(T_30))))); ^ Mercury/javas/jmercury/common_type_cast.java:200: error: package jmercury.runtime does not exist TypeInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(common_type_cast.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/common_type_cast.java:202: error: cannot find symbol io.write_line_3_p_0(TypeInfo_23_23, ((java.lang.Object) (Output1_7))); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:205: error: cannot find symbol io.write_line_3_p_0(TypeInfo_23_23, ((java.lang.Object) (Output2_8))); ^ symbol: variable io location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:232: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:238: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/common_type_cast.java:247: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:251: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/common_type_cast.java:254: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/common_type_cast.java:261: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_T_10, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:274: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_type_cast.java:277: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = common_type_cast.__Compare____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_type_cast.Foo_1) wrapper_arg_3), ((common_type_cast.Foo_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/common_type_cast.java:319: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class common_type_cast Mercury/javas/jmercury/common_type_cast.java:335: error: package jmercury.runtime does not exist succeeded = common_type_cast.__Unify____foo_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_type_cast.Foo_1) wrapper_arg_2), ((common_type_cast.Foo_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/common_type_cast.java:391: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/common_type_cast.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 74 errors gmake[3]: *** [/tmp/mmake.AIso99:2411: common_type_cast] Error 1 gmake[3]: Target 'common_type_cast.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: common_type_cast.log] Error 1 RUNNING TEST hard_coded/compare_spec in grade java FAILED TEST hard_coded/compare_spec in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - compare_spec.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - compare_spec Making Mercury/int3s/compare_spec.int3 Making Mercury/ints/compare_spec.int Making Mercury/javas/jmercury/compare_spec.java Making Java class files Mercury/javas/jmercury/compare_spec.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "compare_spec"; ^ Mercury/javas/jmercury/compare_spec.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/compare_spec.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/compare_spec.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class compare_spec Mercury/javas/jmercury/compare_spec.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class compare_spec Mercury/javas/jmercury/compare_spec.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/compare_spec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class compare_spec Mercury/javas/jmercury/compare_spec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class compare_spec Mercury/javas/jmercury/compare_spec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class compare_spec Mercury/javas/jmercury/compare_spec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class compare_spec Mercury/javas/jmercury/compare_spec.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/compare_spec.java:37: error: package builtin does not exist builtin.Comparison_result_0 Result_9 = null; ^ Mercury/javas/jmercury/compare_spec.java:38: error: package bool does not exist bool.Bool_0 Var_10 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/compare_spec.java:38: error: package bool does not exist bool.Bool_0 Var_10 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/compare_spec.java:39: error: package bool does not exist bool.Bool_0 Var_11 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/compare_spec.java:39: error: package bool does not exist bool.Bool_0 Var_11 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/compare_spec.java:42: error: cannot find symbol Result_9 = bool.__Compare____bool_0_0(Var_10, Var_11); ^ symbol: variable bool location: class compare_spec Mercury/javas/jmercury/compare_spec.java:44: error: package builtin.Comparison_result_0 does not exist succeeded = (Result_9.MR_value == builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/compare_spec.java:50: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class compare_spec Mercury/javas/jmercury/compare_spec.java:58: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class compare_spec 20 errors gmake[3]: *** [/tmp/mmake.1fAiyW:2411: compare_spec] Error 1 gmake[3]: Target 'compare_spec.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: compare_spec.log] Error 1 RUNNING TEST hard_coded/comparison in grade java FAILED TEST hard_coded/coerce_opt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - coerce_opt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - coerce_opt Making Mercury/int3s/coerce_opt.int3 Making Mercury/int3s/coerce_opt_helper_1.int3 Making Mercury/ints/coerce_opt_helper_1.int Making Mercury/ints/coerce_opt.int Making Mercury/opts/coerce_opt_helper_1.opt Making Mercury/opts/coerce_opt.opt Making Mercury/javas/jmercury/coerce_opt_helper_1.java Making Mercury/javas/jmercury/coerce_opt.java Making Java class files Mercury/javas/jmercury/coerce_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/coerce_opt.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/coerce_opt.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_opt_helper_1__field_types_non_empty_list_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_opt_helper_1__du_functor_desc_non_empty_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_opt_helper_1__du_stag_ordered_non_empty_list_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_opt_helper_1__du_ptag_ordered_non_empty_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_opt_helper_1__du_name_ordered_non_empty_list_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_opt_helper_1__type_ctor_info_non_empty_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:128: error: package list does not exist list.List_1 Xs_3) ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:125: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:138: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:139: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:135: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:170: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:171: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:199: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/coerce_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "coerce_opt"; ^ Mercury/javas/jmercury/coerce_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/coerce_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/coerce_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/coerce_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/coerce_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/coerce_opt.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/coerce_opt.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/coerce_opt.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/coerce_opt.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(coerce_opt_helper_1.coerce_opt_helper_1__type_ctor_info_non_empty_list_1))), ^ Mercury/javas/jmercury/coerce_opt.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/coerce_opt.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/coerce_opt.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/coerce_opt.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/coerce_opt.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/coerce_opt.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/coerce_opt.java:56: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/coerce_opt.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/coerce_opt.java:63: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/coerce_opt.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/coerce_opt.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/coerce_opt.java:70: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/coerce_opt.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/coerce_opt.java:74: error: package list does not exist (list.List_1) coerce_opt.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/coerce_opt.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/coerce_opt.java:79: error: package list does not exist (list.List_1) coerce_opt.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/coerce_opt.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/coerce_opt.java:84: error: package list does not exist (list.List_1) coerce_opt.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/coerce_opt.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(coerce_opt.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/coerce_opt.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(coerce_opt.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/coerce_opt.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/coerce_opt.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/coerce_opt.java:100: error: package list does not exist list.List_1 Xs_4 = (list.List_1) coerce_opt.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/coerce_opt.java:100: error: package list does not exist list.List_1 Xs_4 = (list.List_1) coerce_opt.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/coerce_opt.java:101: error: package list does not exist list.List_1 Ys_5 = null; ^ Mercury/javas/jmercury/coerce_opt.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_14 = null; ^ Mercury/javas/jmercury/coerce_opt.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_17 = null; ^ Mercury/javas/jmercury/coerce_opt.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T; ^ Mercury/javas/jmercury/coerce_opt.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_In_1; ^ Mercury/javas/jmercury/coerce_opt.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo; ^ Mercury/javas/jmercury/coerce_opt.java:118: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ symbol: variable type_desc location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:118: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ Mercury/javas/jmercury/coerce_opt.java:120: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:123: error: cannot find symbol io.print_line_3_p_0(TypeInfo_19_19, ((java.lang.Object) (Xs_4))); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:125: error: package list does not exist Ys_5 = (list.List_1) Xs_4; ^ Mercury/javas/jmercury/coerce_opt.java:126: error: package jmercury.runtime does not exist TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(coerce_opt.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/coerce_opt.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T; ^ Mercury/javas/jmercury/coerce_opt.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_In_1; ^ Mercury/javas/jmercury/coerce_opt.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo; ^ Mercury/javas/jmercury/coerce_opt.java:141: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt.java:144: error: cannot find symbol io.print_line_3_p_0(TypeInfo_22_22, ((java.lang.Object) (Ys_5))); ^ symbol: variable io location: class coerce_opt Mercury/javas/jmercury/coerce_opt_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] coerce_opt_helper_1__field_types_non_empty_list_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc coerce_opt_helper_1__du_functor_desc_non_empty_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_opt_helper_1__du_stag_ordered_non_empty_list_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] coerce_opt_helper_1__du_ptag_ordered_non_empty_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] coerce_opt_helper_1__du_name_ordered_non_empty_list_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct coerce_opt_helper_1__type_ctor_info_non_empty_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/coerce_opt_helper_1.java:27: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class coerce_opt_helper_1 Mercury/javas/jmercury/coerce_opt_helper_1.java:29: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ 100 errors gmake[3]: *** [/tmp/mmake.UPTcI8:2411: coerce_opt] Error 1 gmake[3]: Target 'coerce_opt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: coerce_opt.log] Error 1 RUNNING TEST hard_coded/complicated_unify_bug in grade java FAILED TEST hard_coded/complicated_unify_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - complicated_unify_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - complicated_unify_bug Making Mercury/int3s/complicated_unify_bug.int3 Making Mercury/ints/complicated_unify_bug.int Making Mercury/javas/jmercury/complicated_unify_bug.java Making Java class files Mercury/javas/jmercury/complicated_unify_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] complicated_unify_bug__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc complicated_unify_bug__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] complicated_unify_bug__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc complicated_unify_bug__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] complicated_unify_bug__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] complicated_unify_bug__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] complicated_unify_bug__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct complicated_unify_bug__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/complicated_unify_bug.java:380: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/complicated_unify_bug.java:499: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/complicated_unify_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "complicated_unify_bug"; ^ Mercury/javas/jmercury/complicated_unify_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/complicated_unify_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/complicated_unify_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/complicated_unify_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/complicated_unify_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] complicated_unify_bug__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc complicated_unify_bug__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] complicated_unify_bug__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc complicated_unify_bug__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] complicated_unify_bug__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] complicated_unify_bug__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] complicated_unify_bug__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/complicated_unify_bug.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct complicated_unify_bug__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/complicated_unify_bug.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/complicated_unify_bug.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/complicated_unify_bug.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/complicated_unify_bug.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/complicated_unify_bug.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/complicated_unify_bug.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/complicated_unify_bug.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/complicated_unify_bug.java:193: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(complicated_unify_bug.complicated_unify_bug__type_ctor_info_t_0); ^ Mercury/javas/jmercury/complicated_unify_bug.java:195: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Z_8))); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:199: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:202: error: cannot find symbol io.write_string_3_p_0(S_9); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:286: error: cannot find symbol Var_15 = string.int_to_string_1_f_0(Var_29); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:290: error: cannot find symbol Var_16 = string.f_43_43_2_f_0(Var_17, YS_11); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:293: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(Var_15, Var_16); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:316: error: cannot find symbol Var_21 = string.int_to_string_1_f_0(YN_26); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:319: error: cannot find symbol Var_19 = string.f_43_43_2_f_0(Var_20, Var_21); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:322: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(Var_30, Var_19); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:341: error: cannot find symbol Var_23 = string.f_43_43_2_f_0(Var_24, YS_27); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:344: error: cannot find symbol Var_22 = string.f_43_43_2_f_0(Var_30, Var_23); ^ symbol: variable string location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:386: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/complicated_unify_bug.java:392: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/complicated_unify_bug.java:402: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/complicated_unify_bug.java:407: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/complicated_unify_bug.java:409: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/complicated_unify_bug.java:413: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/complicated_unify_bug.java:416: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/complicated_unify_bug.java:423: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class complicated_unify_bug Mercury/javas/jmercury/complicated_unify_bug.java:435: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/complicated_unify_bug.java:528: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 67 errors gmake[3]: *** [/tmp/mmake.HwgRqL:2411: complicated_unify_bug] Error 1 gmake[3]: Target 'complicated_unify_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: complicated_unify_bug.log] Error 1 RUNNING TEST hard_coded/conditional_trace_scope in grade java FAILED TEST hard_coded/comparison in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - comparison.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - comparison Making Mercury/int3s/comparison.int3 Making Mercury/ints/comparison.int Making Mercury/javas/jmercury/comparison.java Making Java class files Mercury/javas/jmercury/comparison.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t1_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t1_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/comparison.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/comparison.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t2_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/comparison.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/comparison.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/comparison.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t3_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/comparison.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/comparison.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/comparison.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:1120: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/comparison.java:1140: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/comparison.java:1186: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/comparison.java:541: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/comparison.java:589: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/comparison.java:657: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/comparison.java:749: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/comparison.java:1042: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/comparison.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "comparison"; ^ Mercury/javas/jmercury/comparison.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/comparison.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/comparison.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class comparison Mercury/javas/jmercury/comparison.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class comparison Mercury/javas/jmercury/comparison.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/comparison.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class comparison Mercury/javas/jmercury/comparison.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class comparison Mercury/javas/jmercury/comparison.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class comparison Mercury/javas/jmercury/comparison.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class comparison Mercury/javas/jmercury/comparison.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/comparison.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t1_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t1_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/comparison.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/comparison.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t2_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/comparison.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/comparison.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/comparison.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t3_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/comparison.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] comparison__field_types_t3_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/comparison.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc comparison__du_functor_desc_t3_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/comparison.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_stag_ordered_t3_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/comparison.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] comparison__du_ptag_ordered_t3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/comparison.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] comparison__du_name_ordered_t3_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/comparison.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct comparison__type_ctor_info_t3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/comparison.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:64: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:69: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/comparison.java:85: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/comparison.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/comparison.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/comparison.java:116: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:116: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:118: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:118: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:123: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:131: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:135: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:135: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:140: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:148: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/comparison.java:158: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/comparison.java:181: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/comparison.java:184: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/comparison.java:193: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:193: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:195: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:195: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:200: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:208: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class comparison Mercury/javas/jmercury/comparison.java:212: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/comparison.java:212: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class comparison Mercury/javas/jmercury/comparison.java:217: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class comparison 100 errors gmake[3]: *** [/tmp/mmake.pKC0QG:2411: comparison] Error 1 gmake[3]: Target 'comparison.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: comparison.log] Error 1 RUNNING TEST hard_coded/constant_prop_1 in grade java FAILED TEST hard_coded/constant_prop_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_1 Making Mercury/int3s/constant_prop_1.int3 Making Mercury/ints/constant_prop_1.int Making Mercury/javas/jmercury/constant_prop_1.java Making Java class files Mercury/javas/jmercury/constant_prop_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constant_prop_1"; ^ Mercury/javas/jmercury/constant_prop_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constant_prop_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constant_prop_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constant_prop_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constant_prop_1.java:42: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:45: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:49: error: cannot find symbol io.write_int_3_p_0(Var_11); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:52: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:56: error: cannot find symbol io.write_float_3_p_0(Var_26); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:59: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:63: error: cannot find symbol io.write_uint_3_p_0(Var_41); ^ symbol: variable io location: class constant_prop_1 Mercury/javas/jmercury/constant_prop_1.java:66: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_1 19 errors gmake[3]: *** [/tmp/mmake.STy3yW:2411: constant_prop_1] Error 1 gmake[3]: Target 'constant_prop_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constant_prop_1.log] Error 1 RUNNING TEST hard_coded/constant_prop_2 in grade java FAILED TEST hard_coded/conditional_trace_scope in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - conditional_trace_scope.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - conditional_trace_scope Making Mercury/int3s/conditional_trace_scope.int3 Making Mercury/ints/conditional_trace_scope.int Making Mercury/javas/jmercury/conditional_trace_scope.java Making Java class files Mercury/javas/jmercury/conditional_trace_scope.java:32: 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/conditional_trace_scope.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "conditional_trace_scope"; ^ Mercury/javas/jmercury/conditional_trace_scope.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/conditional_trace_scope.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/conditional_trace_scope.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/conditional_trace_scope.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/conditional_trace_scope.java:32: 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/conditional_trace_scope.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/conditional_trace_scope.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/conditional_trace_scope.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/conditional_trace_scope.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/conditional_trace_scope.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/conditional_trace_scope.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/conditional_trace_scope.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_22 = null; ^ Mercury/javas/jmercury/conditional_trace_scope.java:61: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:63: error: package string__parse_util does not exist Var_22 = (string__parse_util.String_format_flags_0) conditional_trace_scope.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/conditional_trace_scope.java:65: error: cannot find symbol Var_16 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_22, Y_4); ^ symbol: variable string__format location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:68: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class conditional_trace_scope Mercury/javas/jmercury/conditional_trace_scope.java:72: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class conditional_trace_scope 25 errors gmake[3]: *** [/tmp/mmake.Bjc6J6:2411: conditional_trace_scope] Error 1 gmake[3]: Target 'conditional_trace_scope.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: conditional_trace_scope.log] Error 1 RUNNING TEST hard_coded/constant_prop_int in grade java FAILED TEST hard_coded/constant_prop_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --optimize-dead-procs --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --optimize-dead-procs --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_2 Making Mercury/int3s/constant_prop_2.int3 Making Mercury/ints/constant_prop_2.int Making Mercury/javas/jmercury/constant_prop_2.java Making Java class files Mercury/javas/jmercury/constant_prop_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constant_prop_2"; ^ Mercury/javas/jmercury/constant_prop_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constant_prop_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constant_prop_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constant_prop_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constant_prop_2.java:50: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:54: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:58: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:62: error: cannot find symbol io.write_string_3_p_0(Var_65); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:66: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:70: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:74: error: cannot find symbol io.write_int_3_p_0(X1_4); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:77: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:81: error: cannot find symbol io.write_string_3_p_0(Var_85); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:85: error: cannot find symbol io.write_int_3_p_0(X2_6); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:88: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_2 Mercury/javas/jmercury/constant_prop_2.java:92: error: cannot find symbol io.write_string_3_p_0(Var_94); ^ symbol: variable io location: class constant_prop_2 23 errors gmake[3]: *** [/tmp/mmake.SrMn7j:2411: constant_prop_2] Error 1 gmake[3]: Target 'constant_prop_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constant_prop_2.log] Error 1 RUNNING TEST hard_coded/constant_prop_loop_inv in grade java FAILED TEST hard_coded/constant_prop_int in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_int.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_int Making Mercury/int3s/constant_prop_int.int3 Making Mercury/ints/constant_prop_int.int Making Mercury/javas/jmercury/constant_prop_int.java Making Java class files Mercury/javas/jmercury/constant_prop_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constant_prop_int"; ^ Mercury/javas/jmercury/constant_prop_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constant_prop_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constant_prop_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constant_prop_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constant_prop_int.java:38: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:88: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:91: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:307: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:771: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:1129: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:1597: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:1955: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:2313: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:2501: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:2985: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:3201: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:3559: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:3917: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int Mercury/javas/jmercury/constant_prop_int.java:4105: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constant_prop_int 26 errors gmake[3]: *** [/tmp/mmake.5HXHMq:2411: constant_prop_int] Error 1 gmake[3]: Target 'constant_prop_int.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constant_prop_int.log] Error 1 RUNNING TEST hard_coded/constraint in grade java FAILED TEST hard_coded/constant_prop_loop_inv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --optimize-dead-procs --trace-optimized --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_loop_inv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constant-propagation --optimize-dead-procs --trace-optimized --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constant_prop_loop_inv Making Mercury/int3s/constant_prop_loop_inv.int3 Making Mercury/ints/constant_prop_loop_inv.int Making Mercury/javas/jmercury/constant_prop_loop_inv.java Making Java class files Mercury/javas/jmercury/constant_prop_loop_inv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constant_prop_loop_inv"; ^ Mercury/javas/jmercury/constant_prop_loop_inv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constant_prop_loop_inv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constant_prop_loop_inv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constant_prop_loop_inv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constant_prop_loop_inv Mercury/javas/jmercury/constant_prop_loop_inv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constant_prop_loop_inv.java:41: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class constant_prop_loop_inv 12 errors gmake[3]: *** [/tmp/mmake.DtVy9w:2411: constant_prop_loop_inv] Error 1 gmake[3]: Target 'constant_prop_loop_inv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constant_prop_loop_inv.log] Error 1 RUNNING TEST hard_coded/constraint_order in grade java FAILED TEST hard_coded/constraint in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --constraint-propagation --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constraint.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --constraint-propagation --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constraint Making Mercury/int3s/constraint.int3 Making Mercury/ints/constraint.int Making Mercury/javas/jmercury/constraint.java Making Java class files Mercury/javas/jmercury/constraint.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/constraint.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/constraint.java:73: error: package list does not exist list.List_1 Data_3) ^ Mercury/javas/jmercury/constraint.java:158: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/constraint.java:159: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/constraint.java:192: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/constraint.java:216: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/constraint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constraint"; ^ Mercury/javas/jmercury/constraint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constraint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constraint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constraint Mercury/javas/jmercury/constraint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constraint Mercury/javas/jmercury/constraint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constraint Mercury/javas/jmercury/constraint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constraint Mercury/javas/jmercury/constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constraint Mercury/javas/jmercury/constraint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constraint Mercury/javas/jmercury/constraint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constraint.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/constraint.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/constraint.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/constraint.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constraint.java:41: error: package list does not exist (list.List_1) constraint.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/constraint.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constraint.java:46: error: package list does not exist (list.List_1) constraint.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/constraint.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constraint.java:51: error: package list does not exist (list.List_1) constraint.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/constraint.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constraint.java:56: error: package list does not exist (list.List_1) constraint.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/constraint.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/constraint.java:61: error: package list does not exist (list.List_1) constraint.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/constraint.java:94: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/constraint.java:112: error: package jmercury.runtime does not exist ((constraint.Benchmark_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/constraint.java:146: error: package list does not exist list.List_1 Var_7 = (list.List_1) constraint.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/constraint.java:146: error: package list does not exist list.List_1 Var_7 = (list.List_1) constraint.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/constraint.java:152: error: cannot find symbol io.write_string_3_p_0(Found_4); ^ symbol: variable io location: class constraint Mercury/javas/jmercury/constraint.java:166: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/constraint.java:172: error: package list.List_1 does not exist Var_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/constraint.java:172: error: illegal start of type Var_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/constraint.java:173: error: package list.List_1 does not exist Var_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/constraint.java:176: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_1), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/constraint.java:179: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = Var_8; ^ 42 errors gmake[3]: *** [/tmp/mmake.sEd3v4:2411: constraint] Error 1 gmake[3]: Target 'constraint.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constraint.log] Error 1 RUNNING TEST hard_coded/construct_bug in grade java FAILED TEST hard_coded/constraint_order in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --constraint-propagation --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constraint_order.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --constraint-propagation --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - constraint_order Making Mercury/int3s/constraint_order.int3 Making Mercury/ints/constraint_order.int Making Mercury/javas/jmercury/constraint_order.java Making Java class files Mercury/javas/jmercury/constraint_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "constraint_order"; ^ Mercury/javas/jmercury/constraint_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/constraint_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/constraint_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class constraint_order Mercury/javas/jmercury/constraint_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class constraint_order Mercury/javas/jmercury/constraint_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/constraint_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/constraint_order.java:51: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:54: error: cannot find symbol io.write_int_3_p_0(Y_4); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:57: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class constraint_order Mercury/javas/jmercury/constraint_order.java:65: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class constraint_order 15 errors gmake[3]: *** [/tmp/mmake.XK9Yta:2411: constraint_order] Error 1 gmake[3]: Target 'constraint_order.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: constraint_order.log] Error 1 RUNNING TEST hard_coded/construct_mangle in grade java FAILED TEST hard_coded/construct_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_bug Making Mercury/int3s/construct_bug.int3 Making Mercury/int3s/construct_bug_helper_1.int3 Making Mercury/ints/construct_bug_helper_1.int Making Mercury/ints/construct_bug.int Making Mercury/javas/jmercury/construct_bug.java Making Mercury/javas/jmercury/construct_bug_helper_1.java Making Java class files Mercury/javas/jmercury/construct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_bug.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/construct_bug.java:153: error: package bag does not exist bag.Bag_1 LambdaHeadVar__1_23) ^ Mercury/javas/jmercury/construct_bug.java:151: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug.java:417: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__ti_bag_1list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:20: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_bug_helper_1__type_ctor_info_stat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_bug_helper_1__type_ctor_info_statkey_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug_helper_1.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:109: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:218: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_11, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:219: error: package bag does not exist bag.Bag_1 LambdaHeadVar__2_12) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:216: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:269: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:283: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:323: error: package list does not exist list.List_1 Name_16, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:324: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:347: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:388: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_14) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:418: error: package bag does not exist bag.Bag_1 Stats_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:420: error: package pair does not exist pair.Pair_2 HeadVar__3_3, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:421: error: package pair does not exist pair.Pair_2 HeadVar__4_4) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:416: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:539: error: package list does not exist list.List_1 Elem_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:540: error: package bag does not exist bag.Bag_1 InStat_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:537: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:554: error: package list does not exist list.List_1 Elem_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:555: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:551: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:572: error: package list does not exist list.List_1 Elem_5, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:574: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:570: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:591: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:592: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:593: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:657: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:668: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:682: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:680: error: package bag does not exist private static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:724: error: package list does not exist list.List_1 Elem_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:725: error: package bag does not exist bag.Bag_1 InStat_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:722: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:739: error: package list does not exist list.List_1 Elem_6, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:740: error: package bag does not exist bag.Bag_1 InStat_7) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:736: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:755: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:769: error: package list does not exist list.List_1 List_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:926: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1010: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1026: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1024: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1039: error: package bag does not exist bag.Bag_1 Stat_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1074: error: package bag does not exist bag.Bag_1 A_4, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1075: error: package bag does not exist bag.Bag_1 B_5) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1072: error: package bag does not exist public static bag.Bag_1 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1088: error: package bag does not exist bag.Bag_1 HeadVar__2_2, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1089: error: package bag does not exist bag.Bag_1 HeadVar__3_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1086: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1119: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1120: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1117: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1150: error: package bag does not exist bag.Bag_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1151: error: package bag does not exist bag.Bag_1 HeadVar__2_2) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1179: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1180: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1208: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1304: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1365: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1391: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1394: error: package list does not exist public list.List_1 conv0_HeadVar__2_21; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1400: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1402: error: package list does not exist public list.List_1 HeadVar__2_21; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1408: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1410: error: package list does not exist public list.List_1 HeadVar__2_2; ^ Mercury/javas/jmercury/construct_bug_helper_1.java:1412: error: package list does not exist public list.List_1 TOut_9; ^ Mercury/javas/jmercury/construct_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "construct_bug"; ^ Mercury/javas/jmercury/construct_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/construct_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/construct_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class construct_bug Mercury/javas/jmercury/construct_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class construct_bug Mercury/javas/jmercury/construct_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/construct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_bug Mercury/javas/jmercury/construct_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/construct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct bag__pti_bag_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_bug.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class construct_bug Mercury/javas/jmercury/construct_bug.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class construct_bug Mercury/javas/jmercury/construct_bug.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/construct_bug.java:44: error: cannot find symbol bag.bag__type_ctor_info_bag_1, ^ symbol: variable bag location: class construct_bug Mercury/javas/jmercury/construct_bug.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) construct_bug.list__ti_list_1builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/construct_bug.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.BROpbR:2411: construct_bug] Error 1 gmake[3]: Target 'construct_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_bug.log] Error 1 RUNNING TEST hard_coded/construct_packed in grade java FAILED TEST hard_coded/construct_mangle in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_mangle.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_mangle Making Mercury/int3s/construct_mangle.int3 Making Mercury/ints/construct_mangle.int Making Mercury/javas/jmercury/construct_mangle.java Making Java class files Mercury/javas/jmercury/construct_mangle.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_mangle__field_types_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_mangle.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_stag_ordered_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_mangle.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_mangle__du_ptag_ordered_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_mangle.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_name_ordered_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_mangle.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_mangle__type_ctor_info_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_mangle.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_13 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_14 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_15 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_16 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_17 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_18 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_19 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_20 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_21 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_22 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_23 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_24 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_25 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_26 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_27 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_28 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_29 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_30 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_31 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_32 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_33 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_34 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_35 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_36 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_37 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_38 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_39 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_40 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_41 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_42 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_43 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_44 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_45 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_46 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_47 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_48 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_49 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_50 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_mangle__field_types_requires_mangling_0_51 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_mangle.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_51 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_52 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_mangle__field_types_requires_mangling_0_53 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_mangle.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_53 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_stag_ordered_requires_mangling_0_0 = new jmercury.runtime.DuFunctorDesc[54]; ^ Mercury/javas/jmercury/construct_mangle.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_mangle__du_ptag_ordered_requires_mangling_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_mangle.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_name_ordered_requires_mangling_0 = new jmercury.runtime.DuFunctorDesc[54]; ^ Mercury/javas/jmercury/construct_mangle.java:99: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_mangle__type_ctor_info_requires_mangling_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_mangle.java:1329: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/construct_mangle.java:1397: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Type_5, ^ Mercury/javas/jmercury/construct_mangle.java:1504: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Type_4) ^ Mercury/javas/jmercury/construct_mangle.java:1575: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/construct_mangle.java:1590: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/construct_mangle.java:2233: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_mangle.java:1588: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_mangle.java:2353: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_mangle.java:1630: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_mangle.java:1979: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/construct_mangle.java:2250: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_mangle.java:2301: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/construct_mangle.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "construct_mangle"; ^ Mercury/javas/jmercury/construct_mangle.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/construct_mangle.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/construct_mangle.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/construct_mangle.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_mangle Mercury/javas/jmercury/construct_mangle.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/construct_mangle.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_mangle__field_types_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_mangle.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_stag_ordered_f_36_115_105_110_103_108_101_116_111_110_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_mangle.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_mangle__du_ptag_ordered_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_mangle.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_mangle__du_name_ordered_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_mangle.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_mangle__type_ctor_info_f_36_115_105_110_103_108_101_116_111_110_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_mangle.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_mangle.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_mangle__du_functor_desc_requires_mangling_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ 100 errors gmake[3]: *** [/tmp/mmake.k3bLgA:2411: construct_mangle] Error 1 gmake[3]: Target 'construct_mangle.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_mangle.log] Error 1 RUNNING TEST hard_coded/construct_test in grade java FAILED TEST hard_coded/construct_packed in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_packed.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_packed Making Mercury/int3s/construct_packed.int3 Making Mercury/ints/construct_packed.int Making Mercury/javas/jmercury/construct_packed.java Making Java class files Mercury/javas/jmercury/construct_packed.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_packed.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_packed.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_flag_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_flag_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_packed.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_packed.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_flag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_packed.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_packed.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_packed.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_packed.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_packed.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_10 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/construct_packed.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_11 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/construct_packed.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_packed__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/construct_packed.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_packed__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_packed.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_packed__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/construct_packed.java:86: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:3116: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_packed.java:611: 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/construct_packed.java:613: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[64]; ^ Mercury/javas/jmercury/construct_packed.java:1770: error: package univ does not exist univ.Univ_0 Univ_4) ^ Mercury/javas/jmercury/construct_packed.java:1833: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/construct_packed.java:1843: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/construct_packed.java:1845: error: package list does not exist list.List_1 ArgUnivs_7) ^ Mercury/javas/jmercury/construct_packed.java:1841: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/construct_packed.java:3364: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/construct_packed.java:3365: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_packed.java:1884: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_packed.java:3377: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/construct_packed.java:3378: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_packed.java:1923: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_packed.java:3389: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/construct_packed.java:3390: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_packed.java:1962: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_packed.java:2001: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_packed.java:3020: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_packed.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "construct_packed"; ^ Mercury/javas/jmercury/construct_packed.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/construct_packed.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/construct_packed.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class construct_packed Mercury/javas/jmercury/construct_packed.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class construct_packed Mercury/javas/jmercury/construct_packed.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/construct_packed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_packed Mercury/javas/jmercury/construct_packed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class construct_packed Mercury/javas/jmercury/construct_packed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_packed Mercury/javas/jmercury/construct_packed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class construct_packed Mercury/javas/jmercury/construct_packed.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/construct_packed.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_color_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_packed.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_packed.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_flag_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_flag_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_packed.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_packed.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_flag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_packed__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_packed.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_packed__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_packed.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_packed__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_packed.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_packed.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_packed.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_packed__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_packed.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_packed__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ 100 errors gmake[3]: *** [/tmp/mmake.ssfJOY:2411: construct_packed] Error 1 gmake[3]: Target 'construct_packed.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_packed.log] Error 1 RUNNING TEST hard_coded/construct_test_exist in grade java FAILED TEST hard_coded/construct_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test Making Mercury/int3s/construct_test.int3 Making Mercury/ints/construct_test.int Making Mercury/javas/jmercury/construct_test.java Making Java class files Mercury/javas/jmercury/construct_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_test__enum_functor_desc_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_test__enum_ordinal_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_test__enum_name_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_test__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_test__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc construct_test__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_test__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] construct_test__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/construct_test.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_exist_type_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test__exist_locns_exist_type_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/construct_test.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test__exist_info_exist_type_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_exist_type_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_exist_type_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_exist_type_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_exist_type_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_exist_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1construct_test__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test.java:67: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_no_tag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_no_tag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_no_tag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/construct_test.java:75: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_no_tag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_0 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/construct_test.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_1 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/construct_test.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test__exist_locns_packed_1_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/construct_test.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test__exist_info_packed_1_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_7 = new jmercury.runtime.PseudoTypeInfo[10]; ^ Mercury/javas/jmercury/construct_test.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_packed_1_8 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/construct_test.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test__exist_locns_packed_1_8 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/construct_test.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test__exist_info_packed_1_8 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_packed_1_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_packed_1_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/construct_test.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_packed_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_packed_1 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/construct_test.java:102: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_packed_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_poly_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_poly_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_poly_2_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_poly_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct construct_test__pti_poly_2__pseudo_2__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_poly_2_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_test.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_poly_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_poly_2_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_poly_2_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_poly_2_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/construct_test.java:114: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_poly_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:115: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_poly_2 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/construct_test.java:117: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_poly_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:118: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:120: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:123: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:124: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:125: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:127: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:128: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:129: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:130: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test.java:131: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:132: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:133: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:135: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:136: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_thingie_0_10 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test.java:137: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_thingie_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:138: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_stag_ordered_thingie_0_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/construct_test.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test__du_ptag_ordered_thingie_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test.java:140: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test__du_name_ordered_thingie_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/construct_test.java:142: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test__type_ctor_info_thingie_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test.java:143: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test__du_functor_desc_unboxed_arg_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test.java:144: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test__field_types_unboxed_arg_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Note: Mercury/javas/jmercury/construct_test.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.XwGPiI:2411: construct_test] Error 1 gmake[3]: Target 'construct_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_test.log] Error 1 RUNNING TEST hard_coded/contains_char in grade java FAILED TEST hard_coded/construct_test_exist in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test_exist.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - construct_test_exist Making Mercury/int3s/construct_test_exist.int3 Making Mercury/ints/construct_test_exist.int Making Mercury/javas/jmercury/construct_test_exist.java Making Java class files Mercury/javas/jmercury/construct_test_exist.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t1_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t1_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t1_0_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_test_exist.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test_exist__exist_locns_t1_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test_exist__exist_info_t1_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test_exist.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t1_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_514 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t1_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test_exist__exist_locns_t1_0_3 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test_exist__exist_info_t1_0_3 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test_exist.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t1_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t1_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/construct_test_exist.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint construct_test_exist__exist_tc_constr_t1_0_4_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/construct_test_exist.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] construct_test_exist__exist_tc_constrs_t1_0_4 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test_exist__exist_locns_t1_0_4 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test_exist__exist_info_t1_0_4 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test_exist.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t1_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_stag_ordered_t1_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_test_exist.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test_exist__du_ptag_ordered_t1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_name_ordered_t1_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/construct_test_exist.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test_exist__type_ctor_info_t1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t2_0_1 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/construct_test_exist.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test_exist__exist_locns_t2_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test_exist__exist_info_t2_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test_exist.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t2_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_stag_ordered_t2_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test_exist__du_ptag_ordered_t2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_name_ordered_t2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:67: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test_exist__type_ctor_info_t2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t3_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t3_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_513__pseudo_514 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_2__pseudo_pair__pti_pair_2__pseudo_513__pseudo_514 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__pseudo_1__pseudo_pair__pti_pair_2__pseudo_2__pseudo_pair__pti_pair_2__pseudo_513__pseudo_514 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] construct_test_exist__field_types_t3_2_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/construct_test_exist.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] construct_test_exist__exist_locns_t3_2_1 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo construct_test_exist__exist_info_t3_2_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/construct_test_exist.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc construct_test_exist__du_functor_desc_t3_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/construct_test_exist.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_stag_ordered_t3_2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] construct_test_exist__du_ptag_ordered_t3_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] construct_test_exist__du_name_ordered_t3_2 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/construct_test_exist.java:83: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct construct_test_exist__type_ctor_info_t3_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/construct_test_exist.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] construct_test_exist__type_class_id_method_ids_tc1_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId construct_test_exist__type_class_id_tc1_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/construct_test_exist.java:87: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct construct_test_exist__type_class_decl_tc1_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/construct_test_exist.java:584: 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/construct_test_exist.java:2256: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_test_exist.java:2376: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_test_exist.java:2427: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/construct_test_exist.java:590: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:591: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/construct_test_exist.java:715: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo PseudoTypeDesc_4) ^ Mercury/javas/jmercury/construct_test_exist.java:807: error: package maybe does not exist maybe.Maybe_1 MaybeName_4) ^ Mercury/javas/jmercury/construct_test_exist.java:829: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/construct_test_exist.java:877: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5, ^ Mercury/javas/jmercury/construct_test_exist.java:1036: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_test_exist.java:1323: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_test_exist.java:1448: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_22, ^ Mercury/javas/jmercury/construct_test_exist.java:1449: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_23, ^ Mercury/javas/jmercury/construct_test_exist.java:1446: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/construct_test_exist.java:1935: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/construct_test_exist.java:1936: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_18, ^ Mercury/javas/jmercury/construct_test_exist.java:2100: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/construct_test_exist.java:2160: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/construct_test_exist.java:2212: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/construct_test_exist.java:2262: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/construct_test_exist.java:2265: error: package list does not exist public list.List_1 F4; ^ Mercury/javas/jmercury/construct_test_exist.java:2274: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/construct_test_exist.java:2277: error: package list does not exist list.List_1 F4, ^ Mercury/javas/jmercury/construct_test_exist.java:2292: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/construct_test_exist.java:2293: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F2; ^ Mercury/javas/jmercury/construct_test_exist.java:2295: error: package list does not exist public list.List_1 F4; ^ Mercury/javas/jmercury/construct_test_exist.java:2303: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/construct_test_exist.java:2304: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F2, ^ Mercury/javas/jmercury/construct_test_exist.java:2306: error: package list does not exist list.List_1 F4) ^ Mercury/javas/jmercury/construct_test_exist.java:2319: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/construct_test_exist.java:2322: error: package list does not exist public list.List_1 F4; ^ Mercury/javas/jmercury/construct_test_exist.java:2330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/construct_test_exist.java:2333: error: package list does not exist list.List_1 F4) ^ Mercury/javas/jmercury/construct_test_exist.java:2382: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/construct_test_exist.java:2385: error: package list does not exist public list.List_1 f23name; ^ Mercury/javas/jmercury/construct_test_exist.java:2395: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/construct_test_exist.java:2398: error: package list does not exist list.List_1 f23name, ^ Mercury/javas/jmercury/construct_test_exist.java:2433: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/construct_test_exist.java:2434: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F2; ^ Mercury/javas/jmercury/construct_test_exist.java:2436: error: package pair does not exist public pair.Pair_2 f32name; ^ Mercury/javas/jmercury/construct_test_exist.java:2437: error: package tree234 does not exist public tree234.Tree234_2>> f33name; ^ Mercury/javas/jmercury/construct_test_exist.java:2437: error: package pair does not exist public tree234.Tree234_2>> f33name; ^ Mercury/javas/jmercury/construct_test_exist.java:2437: error: package pair does not exist public tree234.Tree234_2>> f33name; ^ Mercury/javas/jmercury/construct_test_exist.java:2446: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/construct_test_exist.java:2447: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F2, ^ Mercury/javas/jmercury/construct_test_exist.java:2449: error: package pair does not exist pair.Pair_2 f32name, ^ Mercury/javas/jmercury/construct_test_exist.java:2450: error: package tree234 does not exist tree234.Tree234_2>> f33name, ^ Mercury/javas/jmercury/construct_test_exist.java:2450: error: package pair does not exist tree234.Tree234_2>> f33name, ^ Mercury/javas/jmercury/construct_test_exist.java:2450: error: package pair does not exist tree234.Tree234_2>> f33name, ^ Note: Mercury/javas/jmercury/construct_test_exist.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.KAhycb:2411: construct_test_exist] Error 1 gmake[3]: Target 'construct_test_exist.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: construct_test_exist.log] Error 1 RUNNING TEST hard_coded/contravariance_bug in grade java FAILED TEST hard_coded/contains_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contains_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contains_char Making Mercury/int3s/contains_char.int3 Making Mercury/ints/contains_char.int Making Mercury/javas/jmercury/contains_char.java Making Java class files Mercury/javas/jmercury/contains_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "contains_char"; ^ Mercury/javas/jmercury/contains_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/contains_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/contains_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class contains_char Mercury/javas/jmercury/contains_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class contains_char Mercury/javas/jmercury/contains_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/contains_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contains_char Mercury/javas/jmercury/contains_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contains_char Mercury/javas/jmercury/contains_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contains_char Mercury/javas/jmercury/contains_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contains_char Mercury/javas/jmercury/contains_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/contains_char.java:42: error: cannot find symbol java.lang.Object [] result = mr_char.to_int_2_p_2(Var_7); ^ symbol: variable mr_char location: class contains_char Mercury/javas/jmercury/contains_char.java:50: error: cannot find symbol succeeded = string.contains_char_2_p_0(Var_8, Nul_4); ^ symbol: variable string location: class contains_char Mercury/javas/jmercury/contains_char.java:58: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class contains_char Mercury/javas/jmercury/contains_char.java:66: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class contains_char 15 errors gmake[3]: *** [/tmp/mmake.DZkhty:2411: contains_char] Error 1 gmake[3]: Target 'contains_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: contains_char.log] Error 1 RUNNING TEST hard_coded/contravariance_poly in grade java FAILED TEST hard_coded/contravariance_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contravariance_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contravariance_bug Making Mercury/int3s/contravariance_bug.int3 Making Mercury/ints/contravariance_bug.int Making Mercury/javas/jmercury/contravariance_bug.java Making Java class files Mercury/javas/jmercury/contravariance_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct contravariance_bug__type_ctor_info_intlist_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:80: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:81: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:186: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/contravariance_bug.java:237: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/contravariance_bug.java:238: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/contravariance_bug.java:235: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/contravariance_bug.java:268: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/contravariance_bug.java:269: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/contravariance_bug.java:297: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/contravariance_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "contravariance_bug"; ^ Mercury/javas/jmercury/contravariance_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/contravariance_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/contravariance_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/contravariance_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/contravariance_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct contravariance_bug__type_ctor_info_intlist_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_bug.java:39: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/contravariance_bug.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/contravariance_bug.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/contravariance_bug.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/contravariance_bug.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/contravariance_bug.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) contravariance_bug.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/contravariance_bug.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:80: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:81: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/contravariance_bug.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/contravariance_bug.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/contravariance_bug.java:104: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/contravariance_bug.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_bug.java:108: error: package list does not exist (list.List_1) contravariance_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/contravariance_bug.java:123: error: package list does not exist list.List_1 L_10 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:124: error: package list does not exist list.List_1 Var_11 = (list.List_1) contravariance_bug.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/contravariance_bug.java:124: error: package list does not exist list.List_1 Var_11 = (list.List_1) contravariance_bug.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/contravariance_bug.java:125: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]); ^ Mercury/javas/jmercury/contravariance_bug.java:125: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]); ^ Mercury/javas/jmercury/contravariance_bug.java:129: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_6))), ((java.lang.Object) (((java.lang.Object) (Var_11)))))); ^ Mercury/javas/jmercury/contravariance_bug.java:135: error: package list does not exist L_10 = ((list.List_1) conv2_L_10); ^ Mercury/javas/jmercury/contravariance_bug.java:145: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:153: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:166: error: package list does not exist list.List_1 conv0_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:169: error: package list does not exist java.lang.Object [] result = contravariance_bug.p_2_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/contravariance_bug.java:171: error: package list does not exist conv0_HeadVar__2_2 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/contravariance_bug.java:189: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:190: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:195: error: package list.List_1 does not exist Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_bug.java:195: error: illegal start of type Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_bug.java:196: error: package list.List_1 does not exist Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/contravariance_bug.java:199: error: package list does not exist list.List_1 Var_5 = (list.List_1) contravariance_bug.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/contravariance_bug.java:199: error: package list does not exist list.List_1 Var_5 = (list.List_1) contravariance_bug.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/contravariance_bug.java:202: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_bug.java:210: error: package list.List_1 does not exist int Y_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_bug.java:210: error: illegal start of type int Y_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_bug.java:211: error: package list does not exist list.List_1 Zs_8 = ((list.List_1.F_cons_2) Var_11).F2; ^ Mercury/javas/jmercury/contravariance_bug.java:211: error: package list.List_1 does not exist list.List_1 Zs_8 = ((list.List_1.F_cons_2) Var_11).F2; ^ Mercury/javas/jmercury/contravariance_bug.java:212: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:215: error: package list.List_1 does not exist Var_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_bug.java:221: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_bug.java:240: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_bug.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_bug.java:242: error: package list does not exist list.List_1 Cast_HeadVar1_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/contravariance_bug.java:243: error: package list does not exist list.List_1 Cast_HeadVar2_5 = HeadVar__3_3; ^ Mercury/javas/jmercury/contravariance_bug.java:246: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_6_6, ((java.lang.Object) (Cast_HeadVar1_4)), ((java.lang.Object) (Cast_HeadVar2_5))); ^ symbol: variable builtin location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:257: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/contravariance_bug.java:260: error: package list does not exist conv0_HeadVar__1_1 = contravariance_bug.__Compare____intlist_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/contravariance_bug.java:260: error: package list does not exist conv0_HeadVar__1_1 = contravariance_bug.__Compare____intlist_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/contravariance_bug.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_bug.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_bug.java:273: error: package list does not exist list.List_1 Cast_HeadVar1_3 = HeadVar__1_1; ^ Mercury/javas/jmercury/contravariance_bug.java:274: error: package list does not exist list.List_1 Cast_HeadVar2_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/contravariance_bug.java:277: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_5_5, ((java.lang.Object) (Cast_HeadVar1_3)), ((java.lang.Object) (Cast_HeadVar2_4))); ^ symbol: variable builtin location: class contravariance_bug Mercury/javas/jmercury/contravariance_bug.java:290: error: package list does not exist succeeded = contravariance_bug.__Unify____intlist_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/contravariance_bug.java:290: error: package list does not exist succeeded = contravariance_bug.__Unify____intlist_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/contravariance_bug.java:335: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors gmake[3]: *** [/tmp/mmake.x64wUQ:2411: contravariance_bug] Error 1 gmake[3]: Target 'contravariance_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: contravariance_bug.log] Error 1 RUNNING TEST hard_coded/copy_pred_1 in grade java FAILED TEST hard_coded/contravariance_poly in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contravariance_poly.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - contravariance_poly Making Mercury/int3s/contravariance_poly.int3 Making Mercury/ints/contravariance_poly.int Making Mercury/javas/jmercury/contravariance_poly.java Making Java class files Mercury/javas/jmercury/contravariance_poly.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct contravariance_poly__type_ctor_info_intlist_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:80: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:81: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:186: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/contravariance_poly.java:237: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/contravariance_poly.java:238: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/contravariance_poly.java:235: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/contravariance_poly.java:268: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/contravariance_poly.java:269: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/contravariance_poly.java:297: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/contravariance_poly.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "contravariance_poly"; ^ Mercury/javas/jmercury/contravariance_poly.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/contravariance_poly.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/contravariance_poly.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/contravariance_poly.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/contravariance_poly.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct contravariance_poly__type_ctor_info_intlist_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/contravariance_poly.java:39: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/contravariance_poly.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/contravariance_poly.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/contravariance_poly.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/contravariance_poly.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/contravariance_poly.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) contravariance_poly.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/contravariance_poly.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:80: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:81: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/contravariance_poly.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/contravariance_poly.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/contravariance_poly.java:104: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/contravariance_poly.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_poly.java:108: error: package list does not exist (list.List_1) contravariance_poly.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/contravariance_poly.java:123: error: package list does not exist list.List_1 L_10 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:124: error: package list does not exist list.List_1 Var_11 = (list.List_1) contravariance_poly.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/contravariance_poly.java:124: error: package list does not exist list.List_1 Var_11 = (list.List_1) contravariance_poly.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/contravariance_poly.java:125: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]); ^ Mercury/javas/jmercury/contravariance_poly.java:125: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]); ^ Mercury/javas/jmercury/contravariance_poly.java:129: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_6))), ((java.lang.Object) (((java.lang.Object) (Var_11)))))); ^ Mercury/javas/jmercury/contravariance_poly.java:135: error: package list does not exist L_10 = ((list.List_1) conv2_L_10); ^ Mercury/javas/jmercury/contravariance_poly.java:145: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:153: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:166: error: package list does not exist list.List_1 conv0_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:169: error: package list does not exist java.lang.Object [] result = contravariance_poly.p_2_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/contravariance_poly.java:171: error: package list does not exist conv0_HeadVar__2_2 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/contravariance_poly.java:189: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:190: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:195: error: package list.List_1 does not exist Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_poly.java:195: error: illegal start of type Var_12 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_poly.java:196: error: package list.List_1 does not exist Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/contravariance_poly.java:199: error: package list does not exist list.List_1 Var_5 = (list.List_1) contravariance_poly.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/contravariance_poly.java:199: error: package list does not exist list.List_1 Var_5 = (list.List_1) contravariance_poly.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/contravariance_poly.java:202: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_poly.java:210: error: package list.List_1 does not exist int Y_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_poly.java:210: error: illegal start of type int Y_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/contravariance_poly.java:211: error: package list does not exist list.List_1 Zs_8 = ((list.List_1.F_cons_2) Var_11).F2; ^ Mercury/javas/jmercury/contravariance_poly.java:211: error: package list.List_1 does not exist list.List_1 Zs_8 = ((list.List_1.F_cons_2) Var_11).F2; ^ Mercury/javas/jmercury/contravariance_poly.java:212: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:215: error: package list.List_1 does not exist Var_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_poly.java:221: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/contravariance_poly.java:240: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_poly.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_poly.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_poly.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_poly.java:242: error: package list does not exist list.List_1 Cast_HeadVar1_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/contravariance_poly.java:243: error: package list does not exist list.List_1 Cast_HeadVar2_5 = HeadVar__3_3; ^ Mercury/javas/jmercury/contravariance_poly.java:246: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_6_6, ((java.lang.Object) (Cast_HeadVar1_4)), ((java.lang.Object) (Cast_HeadVar2_5))); ^ symbol: variable builtin location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:257: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/contravariance_poly.java:260: error: package list does not exist conv0_HeadVar__1_1 = contravariance_poly.__Compare____intlist_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/contravariance_poly.java:260: error: package list does not exist conv0_HeadVar__1_1 = contravariance_poly.__Compare____intlist_0_0(((list.List_1) wrapper_arg_2), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/contravariance_poly.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_poly.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_poly.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(contravariance_poly.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/contravariance_poly.java:273: error: package list does not exist list.List_1 Cast_HeadVar1_3 = HeadVar__1_1; ^ Mercury/javas/jmercury/contravariance_poly.java:274: error: package list does not exist list.List_1 Cast_HeadVar2_4 = HeadVar__2_2; ^ Mercury/javas/jmercury/contravariance_poly.java:277: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_5_5, ((java.lang.Object) (Cast_HeadVar1_3)), ((java.lang.Object) (Cast_HeadVar2_4))); ^ symbol: variable builtin location: class contravariance_poly Mercury/javas/jmercury/contravariance_poly.java:290: error: package list does not exist succeeded = contravariance_poly.__Unify____intlist_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/contravariance_poly.java:290: error: package list does not exist succeeded = contravariance_poly.__Unify____intlist_0_0(((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2)); ^ Mercury/javas/jmercury/contravariance_poly.java:335: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors gmake[3]: *** [/tmp/mmake.7u8Gvm:2411: contravariance_poly] Error 1 gmake[3]: Target 'contravariance_poly.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: contravariance_poly.log] Error 1 RUNNING TEST hard_coded/copy_pred_2 in grade java FAILED TEST hard_coded/copy_pred_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - copy_pred_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - copy_pred_1 Making Mercury/int3s/copy_pred_1.int3 Making Mercury/ints/copy_pred_1.int Making Mercury/javas/jmercury/copy_pred_1.java copy_pred_1.m:023: Warning: call to obsolete predicate `io.set_globals'/3. copy_pred_1.m:024: Warning: call to obsolete predicate `io.get_globals'/3. Making Java class files Mercury/javas/jmercury/copy_pred_1.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct copy_pred_1__type_ctor_info_phloat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/copy_pred_1.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/copy_pred_1.java:66: 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/copy_pred_1.java:276: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/copy_pred_1.java:334: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/copy_pred_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "copy_pred_1"; ^ Mercury/javas/jmercury/copy_pred_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/copy_pred_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/copy_pred_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/copy_pred_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/copy_pred_1.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct copy_pred_1__type_ctor_info_phloat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/copy_pred_1.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/copy_pred_1.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/copy_pred_1.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/copy_pred_1.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ Mercury/javas/jmercury/copy_pred_1.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/copy_pred_1.java:66: 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/copy_pred_1.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/copy_pred_1.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/copy_pred_1.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/copy_pred_1.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/copy_pred_1.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/copy_pred_1.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ Mercury/javas/jmercury/copy_pred_1.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/copy_pred_1.java:83: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:83: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ Mercury/javas/jmercury/copy_pred_1.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/copy_pred_1.java:85: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:85: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/copy_pred_1.java:98: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/copy_pred_1.java:99: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/copy_pred_1.java:100: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/copy_pred_1.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/copy_pred_1.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/copy_pred_1.java:103: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/copy_pred_1.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:126: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_34 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:135: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_55 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:142: error: cannot find symbol Var_26 = string.f_43_43_2_f_0(Var_25, S0_11); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:144: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) copy_pred_1.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/copy_pred_1.java:145: error: package string__parse_util does not exist Var_34 = string__parse_util.String_format_float_kind_0.K4; ^ Mercury/javas/jmercury/copy_pred_1.java:147: error: cannot find symbol Var_27 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_33, Var_34, D_10); ^ symbol: variable string__format location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:150: error: cannot find symbol Var_35 = string.f_43_43_2_f_0(Var_27, Var_26); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:154: error: cannot find symbol Var_37 = string.f_43_43_2_f_0(Var_36, Var_35); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:157: error: cannot find symbol Var_38 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, C_9); ^ symbol: variable string__format location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:160: error: cannot find symbol Var_45 = string.f_43_43_2_f_0(Var_38, Var_37); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:164: error: cannot find symbol Var_47 = string.f_43_43_2_f_0(Var_46, Var_45); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:166: error: package string__parse_util does not exist Var_55 = string__parse_util.String_format_float_kind_0.K4; ^ Mercury/javas/jmercury/copy_pred_1.java:168: error: cannot find symbol Var_48 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_33, Var_55, B_8); ^ symbol: variable string__format location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:171: error: cannot find symbol Var_56 = string.f_43_43_2_f_0(Var_48, Var_47); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:175: error: cannot find symbol Var_58 = string.f_43_43_2_f_0(Var_57, Var_56); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:178: error: cannot find symbol Var_59 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, A_7); ^ symbol: variable string__format location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:181: error: cannot find symbol S_12 = string.f_43_43_2_f_0(Var_59, Var_58); ^ symbol: variable string location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(copy_pred_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/copy_pred_1.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(copy_pred_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/copy_pred_1.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:211: error: package univ does not exist univ.Univ_0 Univ_6 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:215: error: package univ does not exist univ.Univ_0 Var_16 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:219: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:223: error: cannot find symbol conv1_F2_5 = builtin.copy_2_p_0(TypeInfo_22_22, ((java.lang.Object) (F_4))); ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:227: error: cannot find symbol Var_16 = univ.univ_1_f_1(TypeInfo_22_22, ((java.lang.Object) (F2_5))); ^ symbol: variable univ location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:230: error: cannot find symbol io.set_globals_3_p_0(Var_16); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:233: error: cannot find symbol Univ_6 = io.get_globals_3_p_0(); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:236: error: cannot find symbol conv2_F3_7 = univ.det_univ_to_type_2_p_0(TypeInfo_22_22, Univ_6); ^ symbol: variable univ location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:249: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F4_8)[1]); ^ Mercury/javas/jmercury/copy_pred_1.java:251: error: package jmercury.runtime does not exist conv4_S_9 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F4_8))), ((java.lang.Object) (((java.lang.Object) (Var_19)))))); ^ Mercury/javas/jmercury/copy_pred_1.java:254: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:254: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/copy_pred_1.java:256: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (S_9))); ^ symbol: variable io location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:281: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:286: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable private_builtin location: class copy_pred_1 Mercury/javas/jmercury/copy_pred_1.java:297: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/copy_pred_1.java:372: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 87 errors gmake[3]: *** [/tmp/mmake.xp7NTF:2411: copy_pred_1] Error 1 gmake[3]: Target 'copy_pred_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: copy_pred_1.log] Error 1 RUNNING TEST hard_coded/curry_1 in grade java FAILED TEST hard_coded/copy_pred_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - copy_pred_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - copy_pred_2 Making Mercury/int3s/copy_pred_2.int3 Making Mercury/ints/copy_pred_2.int Making Mercury/javas/jmercury/copy_pred_2.java Making Java class files Mercury/javas/jmercury/copy_pred_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/copy_pred_2.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_23, ^ Mercury/javas/jmercury/copy_pred_2.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/copy_pred_2.java:233: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/copy_pred_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "copy_pred_2"; ^ Mercury/javas/jmercury/copy_pred_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/copy_pred_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/copy_pred_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/copy_pred_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/copy_pred_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/copy_pred_2.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/copy_pred_2.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/copy_pred_2.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/copy_pred_2.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/copy_pred_2.java:53: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:53: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/copy_pred_2.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/copy_pred_2.java:57: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:57: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/copy_pred_2.java:77: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/copy_pred_2.java:77: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/copy_pred_2.java:78: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_14 = null; ^ Mercury/javas/jmercury/copy_pred_2.java:88: error: cannot find symbol java.lang.Object [] result = deconstruct.functor_4_p_1(TypeInfo_for_T_23, A_5, Var_13); ^ symbol: variable deconstruct location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:92: error: package deconstruct does not exist Var_14 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/copy_pred_2.java:94: error: cannot find symbol java.lang.Object [] result = deconstruct.functor_4_p_1(TypeInfo_for_T_23, B_6, Var_14); ^ symbol: variable deconstruct location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:100: error: cannot find symbol Var_25 = string.f_43_43_2_f_0(Var_24, S0_7); ^ symbol: variable string location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:103: error: cannot find symbol Var_26 = string.f_43_43_2_f_0(FB_11, Var_25); ^ symbol: variable string location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:107: error: cannot find symbol Var_28 = string.f_43_43_2_f_0(Var_27, Var_26); ^ symbol: variable string location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:110: error: cannot find symbol S_8 = string.f_43_43_2_f_0(FA_9, Var_28); ^ symbol: variable string location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/copy_pred_2.java:136: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/copy_pred_2.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/copy_pred_2.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/copy_pred_2.java:150: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/copy_pred_2.java:158: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:160: error: package jmercury.runtime does not exist TypeInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(copy_pred_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/copy_pred_2.java:162: error: cannot find symbol conv0_P1_5 = builtin.copy_2_p_1(TypeInfo_20_20, ((java.lang.Object) (P0_4))); ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:176: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:179: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_6)[1]); ^ Mercury/javas/jmercury/copy_pred_2.java:181: error: package jmercury.runtime does not exist conv2_S_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_6))), ((java.lang.Object) (((java.lang.Object) (Var_16)))))); ^ Mercury/javas/jmercury/copy_pred_2.java:186: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:188: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:188: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/copy_pred_2.java:190: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (S_7))); ^ symbol: variable io location: class copy_pred_2 Mercury/javas/jmercury/copy_pred_2.java:225: error: package jmercury.runtime does not exist conv0_S_8 = copy_pred_2.foo_4_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((java.lang.Object[]) closure)[4], ((java.lang.Object[]) closure)[5], ((java.lang.String) wrapper_arg_1)); ^ 56 errors gmake[3]: *** [/tmp/mmake.kjAR8w:2411: copy_pred_2] Error 1 gmake[3]: Target 'copy_pred_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: copy_pred_2.log] Error 1 RUNNING TEST hard_coded/curry_2 in grade java FAILED TEST hard_coded/curry_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - curry_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - curry_1 Making Mercury/int3s/curry_1.int3 Making Mercury/ints/curry_1.int Making Mercury/javas/jmercury/curry_1.java Making Java class files Mercury/javas/jmercury/curry_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/curry_1.java:67: 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/curry_1.java:73: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/curry_1.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_13, ^ Mercury/javas/jmercury/curry_1.java:329: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_14, ^ Mercury/javas/jmercury/curry_1.java:330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_15, ^ Mercury/javas/jmercury/curry_1.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_13, ^ Mercury/javas/jmercury/curry_1.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_14, ^ Mercury/javas/jmercury/curry_1.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_15, ^ Mercury/javas/jmercury/curry_1.java:385: error: package list does not exist list.List_1 HeadVar__1_36, ^ Mercury/javas/jmercury/curry_1.java:386: error: package list does not exist list.List_1 HeadVar__2_37) ^ Mercury/javas/jmercury/curry_1.java:383: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/curry_1.java:399: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_10, ^ Mercury/javas/jmercury/curry_1.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_11, ^ Mercury/javas/jmercury/curry_1.java:402: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/curry_1.java:397: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/curry_1.java:444: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/curry_1.java:495: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/curry_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "curry_1"; ^ Mercury/javas/jmercury/curry_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/curry_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/curry_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class curry_1 Mercury/javas/jmercury/curry_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class curry_1 Mercury/javas/jmercury/curry_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/curry_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry_1 Mercury/javas/jmercury/curry_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry_1 Mercury/javas/jmercury/curry_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry_1 Mercury/javas/jmercury/curry_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry_1 Mercury/javas/jmercury/curry_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/curry_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_1.java:39: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class curry_1 Mercury/javas/jmercury/curry_1.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/curry_1.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/curry_1.java:48: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/curry_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K3 ^ Mercury/javas/jmercury/curry_1.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:55: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/curry_1.java:56: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K3 ^ Mercury/javas/jmercury/curry_1.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/curry_1.java:67: 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/curry_1.java:73: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/curry_1.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/curry_1.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class curry_1 Mercury/javas/jmercury/curry_1.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/curry_1.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/curry_1.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/curry_1.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/curry_1.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(curry_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/curry_1.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(curry_1.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/curry_1.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/curry_1.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/curry_1.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/curry_1.java:92: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:92: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/curry_1.java:95: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/curry_1.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_1.java:111: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:111: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_1.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry_1.java:138: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:138: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_1.java:139: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:139: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_1.java:140: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:140: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_1.java:150: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(curry_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/curry_1.java:151: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(curry_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/curry_1.java:152: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(curry_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/curry_1.java:160: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:160: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/curry_1.java:161: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:161: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/curry_1.java:162: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class curry_1 Mercury/javas/jmercury/curry_1.java:162: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/curry_1.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/curry_1.java:168: error: package list does not exist (list.List_1) curry_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/curry_1.java:171: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/curry_1.java:172: error: package list does not exist ((java.lang.Object) ((list.List_1) curry_1.MR_scalar_common_8[0])), ^ Mercury/javas/jmercury/curry_1.java:173: error: package list does not exist (list.List_1) curry_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/curry_1.java:176: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/curry_1.java:178: error: package list does not exist (list.List_1) curry_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/curry_1.java:181: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/curry_1.java:182: error: package list does not exist ((java.lang.Object) ((list.List_1) curry_1.MR_scalar_common_8[2])), ^ Mercury/javas/jmercury/curry_1.java:183: error: package list does not exist (list.List_1) curry_1.MR_scalar_common_8[1] ^ Mercury/javas/jmercury/curry_1.java:186: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/curry_1.java:188: error: package list does not exist (list.List_1) curry_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/curry_1.java:191: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.IUkIjI:2411: curry_1] Error 1 gmake[3]: Target 'curry_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: curry_1.log] Error 1 RUNNING TEST hard_coded/cut_test in grade java FAILED TEST hard_coded/curry_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - curry_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - curry_2 Making Mercury/int3s/curry_2.int3 Making Mercury/int3s/curry_2_helper_1.int3 Making Mercury/ints/curry_2_helper_1.int Making Mercury/ints/curry_2.int Making Mercury/javas/jmercury/curry_2.java Making Mercury/javas/jmercury/curry_2_helper_1.java Making Java class files Mercury/javas/jmercury/curry_2.java:562: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/curry_2_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_2_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_2_helper_1.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:236: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry_2_helper_1.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry_2_helper_1.java:426: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/curry_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "curry_2"; ^ Mercury/javas/jmercury/curry_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/curry_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/curry_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class curry_2 Mercury/javas/jmercury/curry_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class curry_2 Mercury/javas/jmercury/curry_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/curry_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/curry_2.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry_2.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2.java:91: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:91: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:177: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/curry_2.java:181: error: package jmercury.runtime does not exist conv1_X_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/curry_2.java:185: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:187: error: package jmercury.runtime does not exist conv3_Y_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))); ^ Mercury/javas/jmercury/curry_2.java:191: error: cannot find symbol io.write_int_3_p_0(X_6); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:195: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:198: error: cannot find symbol io.write_int_3_p_0(Y_7); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:202: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:216: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:216: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:218: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/curry_2.java:222: error: package jmercury.runtime does not exist conv1_X_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/curry_2.java:226: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry_2.java:228: error: package jmercury.runtime does not exist conv3_Y_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))); ^ Mercury/javas/jmercury/curry_2.java:232: error: cannot find symbol io.write_int_3_p_0(X_6); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:236: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:239: error: cannot find symbol io.write_int_3_p_0(Y_7); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:243: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:287: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/curry_2.java:287: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class curry_2 Mercury/javas/jmercury/curry_2.java:287: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/curry_2.java:343: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:397: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class curry_2 Mercury/javas/jmercury/curry_2.java:646: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/curry_2_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_2_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry_2_helper_1.java:21: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:23: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry_2_helper_1.java:23: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:24: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/curry_2_helper_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/curry_2_helper_1.java:29: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:31: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry_2_helper_1.java:31: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:32: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry_2_helper_1.java:32: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/curry_2_helper_1.java:33: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:60: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:60: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:61: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:61: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:71: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:71: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:72: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:72: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:85: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:85: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry_2_helper_1.java:86: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry_2_helper_1 Mercury/javas/jmercury/curry_2_helper_1.java:86: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry_2_helper_1.java:105: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/curry_2_helper_1.java:105: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/curry_2_helper_1.java:108: error: package jmercury.runtime does not exist LambdaHeadVar__2_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_3))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_9))), ((java.lang.Object) (LambdaHeadVar__1_7)))); ^ 100 errors gmake[3]: *** [/tmp/mmake.XM8grs:2411: curry_2] Error 1 gmake[3]: Target 'curry_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: curry_2.log] Error 1 RUNNING TEST hard_coded/cycles_1 in grade java FAILED TEST hard_coded/cut_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cut_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cut_test Making Mercury/int3s/cut_test.int3 Making Mercury/ints/cut_test.int Making Mercury/javas/jmercury/cut_test.java Making Java class files Mercury/javas/jmercury/cut_test.java:433: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cut_test.java:574: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/cut_test.java:638: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/cut_test.java:639: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/cut_test.java:648: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/cut_test.java:650: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/cut_test.java:658: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/cut_test.java:660: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/cut_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cut_test"; ^ Mercury/javas/jmercury/cut_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cut_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cut_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cut_test Mercury/javas/jmercury/cut_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cut_test Mercury/javas/jmercury/cut_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cut_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cut_test.java:65: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:74: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:82: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:95: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:104: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:112: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:124: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:132: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:144: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:152: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:164: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:172: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:184: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:192: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:204: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:212: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:224: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:232: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:244: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:252: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:264: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:272: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class cut_test Mercury/javas/jmercury/cut_test.java:284: error: package jmercury.runtime does not exist ((cut_test.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:307: error: package jmercury.runtime does not exist ((cut_test.Main_2_p_0_env_0) env_ptr).commit_1 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:365: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:378: error: package jmercury.runtime does not exist ((cut_test.Middle_1_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:397: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:413: error: package jmercury.runtime does not exist ((cut_test.Middle_1_p_0_env_0) env_ptr).commit_1 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:445: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(B_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/cut_test.java:452: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(B_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/cut_test.java:460: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(B_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/cut_test.java:507: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:520: error: package jmercury.runtime does not exist ((cut_test.Worst_1_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:539: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/cut_test.java:555: error: package jmercury.runtime does not exist ((cut_test.Worst_1_p_0_env_0) env_ptr).commit_1 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/cut_test.java:621: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 55 errors gmake[3]: *** [/tmp/mmake.P5YWOt:2411: cut_test] Error 1 gmake[3]: Target 'cut_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cut_test.log] Error 1 RUNNING TEST hard_coded/cycles_2 in grade java FAILED TEST hard_coded/cycles_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cycles_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cycles_1 Making Mercury/int3s/cycles_1.int3 Making Mercury/ints/cycles_1.int Making Mercury/javas/jmercury/cycles_1.java Making Java class files Mercury/javas/jmercury/cycles_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cycles_1__type_ctor_info_node_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_ordinal_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_name_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_1.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_1__type_ctor_info_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_ordinal_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_name_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_1__type_ctor_info_status_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:262: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/cycles_1.java:265: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cycles_1.java:967: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/cycles_1.java:968: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/cycles_1.java:324: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_1.java:348: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/cycles_1.java:989: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/cycles_1.java:990: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/cycles_1.java:350: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_1.java:514: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/cycles_1.java:528: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_1.java:551: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cycles_1.java:552: error: package bool does not exist bool.Bool_0 HeadVar__2_2) ^ Mercury/javas/jmercury/cycles_1.java:632: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cycles_1.java:633: error: package bool does not exist bool.Bool_0 HeadVar__2_2) ^ Mercury/javas/jmercury/cycles_1.java:750: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/cycles_1.java:789: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/cycles_1.java:876: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/cycles_1.java:945: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cycles_1.java:1007: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/cycles_1.java:1008: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cycles_1.java:1018: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cycles_1.java:1021: error: package list does not exist public list.List_1 conv0_NodeLs_4; ^ Mercury/javas/jmercury/cycles_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cycles_1"; ^ Mercury/javas/jmercury/cycles_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cycles_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cycles_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cycles_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cycles_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cycles_1__type_ctor_info_node_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_node_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_ordinal_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_name_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_1.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_1__type_ctor_info_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_1__enum_functor_desc_status_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_ordinal_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_1__enum_name_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_1.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_1__type_ctor_info_status_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_1.java:60: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) cycles_1.cycles_1__type_ctor_info_node_0 ^ Mercury/javas/jmercury/cycles_1.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/cycles_1.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/cycles_1.java:197: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/cycles_1.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/cycles_1.java:244: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/cycles_1.java:247: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/cycles_1.java:262: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/cycles_1.java:265: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cycles_1.java:269: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/cycles_1.java:270: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class cycles_1 Mercury/javas/jmercury/cycles_1.java:270: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/cycles_1.java:271: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cycles_1.cycles_1__type_ctor_info_node_0))) ^ Mercury/javas/jmercury/cycles_1.java:289: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cycles_1.java:327: error: package list does not exist list.List_1 NodeLs_4 = null; ^ Mercury/javas/jmercury/cycles_1.java:328: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/cycles_1.java:330: error: package list does not exist list.List_1 Var_8 = (list.List_1) cycles_1.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/cycles_1.java:330: error: package list does not exist list.List_1 Var_8 = (list.List_1) cycles_1.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/cycles_1.java:333: error: package list.List_1 does not exist Var_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cycles_1.java:366: error: package list does not exist list.List_1 NodeLs_4 = null; ^ Mercury/javas/jmercury/cycles_1.java:369: error: cannot find symbol switch (HeadVar__5_5.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__5_5 of type Status_0 100 errors gmake[3]: *** [/tmp/mmake.KKQohX:2411: cycles_1] Error 1 gmake[3]: Target 'cycles_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cycles_1.log] Error 1 RUNNING TEST hard_coded/deconstruct_arg in grade java FAILED TEST hard_coded/cycles_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cycles_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - cycles_2 Making Mercury/int3s/cycles_2.int3 Making Mercury/ints/cycles_2.int Making Mercury/javas/jmercury/cycles_2.java Making Java class files Mercury/javas/jmercury/cycles_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cycles_2__type_ctor_info_node_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_ordinal_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_name_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_2__type_ctor_info_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_ordinal_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_name_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_2__type_ctor_info_status_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:262: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/cycles_2.java:265: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cycles_2.java:1071: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/cycles_2.java:1072: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/cycles_2.java:330: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_2.java:452: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/cycles_2.java:1093: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/cycles_2.java:1094: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/cycles_2.java:454: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_2.java:618: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/cycles_2.java:632: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/cycles_2.java:655: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cycles_2.java:656: error: package bool does not exist bool.Bool_0 HeadVar__2_2) ^ Mercury/javas/jmercury/cycles_2.java:736: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/cycles_2.java:737: error: package bool does not exist bool.Bool_0 HeadVar__2_2) ^ Mercury/javas/jmercury/cycles_2.java:854: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/cycles_2.java:893: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/cycles_2.java:980: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/cycles_2.java:1049: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cycles_2.java:1111: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/cycles_2.java:1112: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cycles_2.java:1123: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cycles_2.java:1126: error: package list does not exist public list.List_1 NodeLs0_5; ^ Mercury/javas/jmercury/cycles_2.java:1134: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/cycles_2.java:1137: error: package list does not exist public list.List_1 conv0_NodeLs_4; ^ Mercury/javas/jmercury/cycles_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cycles_2"; ^ Mercury/javas/jmercury/cycles_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cycles_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cycles_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cycles_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cycles_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cycles_2__type_ctor_info_node_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_node_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_ordinal_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_name_ordered_node_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/cycles_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_2__type_ctor_info_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc cycles_2__enum_functor_desc_status_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/cycles_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_ordinal_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] cycles_2__enum_name_ordered_status_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/cycles_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct cycles_2__type_ctor_info_status_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/cycles_2.java:60: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) cycles_2.cycles_2__type_ctor_info_node_0 ^ Mercury/javas/jmercury/cycles_2.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/cycles_2.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/cycles_2.java:197: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/cycles_2.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/cycles_2.java:244: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/cycles_2.java:247: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/cycles_2.java:262: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/cycles_2.java:265: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cycles_2.java:269: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/cycles_2.java:270: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class cycles_2 Mercury/javas/jmercury/cycles_2.java:270: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/cycles_2.java:271: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cycles_2.cycles_2__type_ctor_info_node_0))) ^ Mercury/javas/jmercury/cycles_2.java:289: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cycles_2.java:344: error: package list does not exist list.List_1 NodeLs_4 = null; ^ Mercury/javas/jmercury/cycles_2.java:345: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/cycles_2.java:348: error: package list does not exist Var_10 = (list.List_1) cycles_2.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/cycles_2.java:350: error: package list.List_1 does not exist ((cycles_2.Cycle_2_p_0_env_0) env_ptr).NodeLs0_5 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cycles_2.java:355: error: cannot find symbol switch (((cycles_2.Cycle_2_p_0_env_0) env_ptr).StartNode_3.MR_value) { ^ symbol: variable MR_value location: variable StartNode_3 of type Node_0 100 errors gmake[3]: *** [/tmp/mmake.yXy3dt:2411: cycles_2] Error 1 gmake[3]: Target 'cycles_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: cycles_2.log] Error 1 RUNNING TEST hard_coded/deep_copy in grade java FAILED TEST hard_coded/deconstruct_arg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deconstruct_arg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deconstruct_arg Making Mercury/int3s/deconstruct_arg.int3 Making Mercury/ints/deconstruct_arg.int Making Mercury/javas/jmercury/deconstruct_arg.java Making Java class files Mercury/javas/jmercury/deconstruct_arg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_deconstruct__type_ctor_info_maybe_arg_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_color_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_color_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_color_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_ordinal_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_name_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_flag_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_flag_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_ordinal_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_name_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_flag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1deconstruct_arg__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_maybe_constant_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_maybe_constant_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_maybe_constant_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_maybe_constant_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_maybe_constant_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_maybe_constant_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_maybe_constant_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deconstruct_arg.java:73: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_maybe_constant_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_no_tag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_no_tag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_no_tag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_no_tag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_packed_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_packed_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_packed_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_packed_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deconstruct_arg__enum_functor_desc_packed_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_ordinal_ordered_packed_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/deconstruct_arg.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deconstruct_arg__enum_name_ordered_packed_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/deconstruct_arg.java:89: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_packed_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_poly_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_poly_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_poly_2_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_poly_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct deconstruct_arg__pti_poly_2__pseudo_2__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_poly_2_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_poly_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_poly_2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_poly_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_poly_2 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:101: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_poly_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_set_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_set_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_set_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_set_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_set_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:109: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_set_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:114: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:116: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:118: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:120: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:123: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:124: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:125: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:127: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:128: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:129: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:131: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:132: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_10 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deconstruct_arg.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:135: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_t_0_11 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/deconstruct_arg.java:137: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_t_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:138: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/deconstruct_arg.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deconstruct_arg__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:140: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deconstruct_arg__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/deconstruct_arg.java:142: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deconstruct_arg__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deconstruct_arg.java:143: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_thingie_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:144: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_thingie_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deconstruct_arg.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deconstruct_arg__du_functor_desc_thingie_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deconstruct_arg.java:146: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deconstruct_arg__field_types_thingie_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ 100 errors gmake[3]: *** [/tmp/mmake.CrF9Wc:2411: deconstruct_arg] Error 1 gmake[3]: Target 'deconstruct_arg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deconstruct_arg.log] Error 1 RUNNING TEST hard_coded/deep_copy_bug in grade java FAILED TEST hard_coded/deep_copy in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy Making Mercury/int3s/deep_copy.int3 Making Mercury/ints/deep_copy.int Making Mercury/javas/jmercury/deep_copy.java Making Java class files Mercury/javas/jmercury/deep_copy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_bit_vector_test_1_0 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_bit_vector_test_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_bit_vector_test_1_1 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_bit_vector_test_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_bit_vector_test_1_2 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_bit_vector_test_1_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_bit_vector_test_1_3 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_bit_vector_test_1_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_stag_ordered_bit_vector_test_1_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy__du_ptag_ordered_bit_vector_test_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_name_ordered_bit_vector_test_1 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_bit_vector_test_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deep_copy__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deep_copy.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deep_copy__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deep_copy.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1deep_copy__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deep_copy.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deep_copy.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_no_tag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_stag_ordered_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deep_copy.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy__du_ptag_ordered_no_tag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_name_ordered_no_tag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/deep_copy.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_no_tag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_poly_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_poly_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_poly_2_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_poly_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct deep_copy__pti_poly_2__pseudo_2__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_poly_2_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deep_copy.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_poly_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_poly_2_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_poly_2_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_stag_ordered_poly_2_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy__du_ptag_ordered_poly_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_name_ordered_poly_2 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy.java:83: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_poly_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy__field_types_thingie_0_10 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy__du_functor_desc_thingie_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_stag_ordered_thingie_0_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/deep_copy.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy__du_ptag_ordered_thingie_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy__du_name_ordered_thingie_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/deep_copy.java:108: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy__type_ctor_info_thingie_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy.java:988: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[13]; ^ Mercury/javas/jmercury/deep_copy.java:989: 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/deep_copy.java:990: 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[22]; ^ Mercury/javas/jmercury/deep_copy.java:5559: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:5707: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:5276: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:5619: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:5602: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:1443: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/deep_copy.java:1745: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_218, ^ Mercury/javas/jmercury/deep_copy.java:1743: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:5915: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/deep_copy.java:5916: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/deep_copy.java:3275: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:3314: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:3372: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:3422: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_23, ^ Mercury/javas/jmercury/deep_copy.java:3423: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_24, ^ Mercury/javas/jmercury/deep_copy.java:3420: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:3595: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/deep_copy.java:4089: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_149, ^ Mercury/javas/jmercury/deep_copy.java:4775: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_19, ^ Mercury/javas/jmercury/deep_copy.java:4776: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_20, ^ Mercury/javas/jmercury/deep_copy.java:5583: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/deep_copy.java:5591: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/deep_copy.java:5565: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/deep_copy.java:5573: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/deep_copy.java:5093: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deep_copy.java:5189: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Note: Mercury/javas/jmercury/deep_copy.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.XMqnIr:2411: deep_copy] Error 1 gmake[3]: Target 'deep_copy.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deep_copy.log] Error 1 RUNNING TEST hard_coded/deep_copy_exist in grade java FAILED TEST hard_coded/deep_copy_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy_bug Making Mercury/int3s/deep_copy_bug.int3 Making Mercury/ints/deep_copy_bug.int Making Mercury/javas/jmercury/deep_copy_bug.java Making Java class files Mercury/javas/jmercury/deep_copy_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__pti_var_1__plain_term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/deep_copy_bug.java:130: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:193: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/deep_copy_bug.java:207: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:325: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/deep_copy_bug.java:339: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:374: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/deep_copy_bug.java:388: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:437: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deep_copy_bug.java:529: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/deep_copy_bug.java:585: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:587: error: package term does not exist public term.Var_1 LambdaHeadVar__1_12; ^ Mercury/javas/jmercury/deep_copy_bug.java:594: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:596: error: package term does not exist public term.Var_1 X_4; ^ Mercury/javas/jmercury/deep_copy_bug.java:603: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:606: error: package term does not exist public term.Var_1 conv0_LambdaHeadVar__1_12; ^ Mercury/javas/jmercury/deep_copy_bug.java:612: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:615: error: package term does not exist public term.Var_1 conv1_X_4; ^ Mercury/javas/jmercury/deep_copy_bug.java:621: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deep_copy_bug"; ^ Mercury/javas/jmercury/deep_copy_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deep_copy_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deep_copy_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deep_copy_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deep_copy_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__pti_var_1__plain_term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_bug.java:37: error: cannot find symbol term.term__type_ctor_info_var_1, ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) term.term__type_ctor_info_generic_0 ^ Mercury/javas/jmercury/deep_copy_bug.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) term.term__type_ctor_info_generic_0 ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/deep_copy_bug.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/deep_copy_bug.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/deep_copy_bug.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/deep_copy_bug.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/deep_copy_bug.java:108: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:108: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/deep_copy_bug.java:117: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/deep_copy_bug.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:143: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:145: error: package varset does not exist varset.Varset_1 Varset0_6 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:146: error: package list does not exist list.List_1 Vars_7 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:148: error: package varset does not exist varset.Varset_1 Var_8 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:151: error: cannot find symbol Varset0_6 = varset.init_1_p_0(TypeCtorInfo_17_17); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:155: error: cannot find symbol java.lang.Object [] result = varset.new_vars_4_p_0(TypeCtorInfo_17_17, Var_13, Varset0_6); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:156: error: package list does not exist Vars_7 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deep_copy_bug.java:157: error: package varset does not exist Var_8 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/deep_copy_bug.java:159: error: package jmercury.runtime does not exist TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:161: error: cannot find symbol list.member_2_p_1(TypeInfo_18_18, Vars_7, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:172: error: package term does not exist ((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_12 = ((term.Var_1) ((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).conv0_LambdaHeadVar__1_12); ^ Mercury/javas/jmercury/deep_copy_bug.java:174: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_12)), ((java.lang.Object) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:199: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(LambdaHeadVar__1_9), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:220: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:222: error: package varset does not exist varset.Varset_1 Varset0_5 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:223: error: package list does not exist list.List_1 Vars_6 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:225: error: package varset does not exist varset.Varset_1 Var_7 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:228: error: cannot find symbol Varset0_5 = varset.init_1_p_0(TypeCtorInfo_10_10); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:232: error: cannot find symbol java.lang.Object [] result = varset.new_vars_4_p_0(TypeCtorInfo_10_10, Var_8, Varset0_5); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:233: error: package list does not exist Vars_6 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deep_copy_bug.java:234: error: package varset does not exist Var_7 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/deep_copy_bug.java:236: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:238: error: cannot find symbol list.member_2_p_1(TypeInfo_11_11, Vars_6, new AddrOf2_0(1), env_ptr); ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:249: error: package term does not exist ((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).X_4 = ((term.Var_1) ((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).conv0_X_4); ^ Mercury/javas/jmercury/deep_copy_bug.java:251: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).X_4)), ((java.lang.Object) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:271: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:271: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_11 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_16 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:274: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_17 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:275: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_20 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:276: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_21 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:278: error: package list does not exist list.List_1 List_9 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:280: error: package list does not exist list.List_1 List_15 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:281: error: package list does not exist list.List_1 List_18 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:285: error: cannot find symbol List_9 = solutions.solutions_2_p_1(TypeInfo_19_10, Lambda_8); ^ symbol: variable solutions location: class deep_copy_bug 100 errors gmake[3]: *** [/tmp/mmake.nzJwJN:2411: deep_copy_bug] Error 1 gmake[3]: Target 'deep_copy_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deep_copy_bug.log] Error 1 RUNNING TEST hard_coded/deforest_cc_bug in grade java FAILED TEST hard_coded/deforest_cc_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deforest_cc_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --deforestation '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deforest_cc_bug Making Mercury/int3s/deforest_cc_bug.int3 Making Mercury/ints/deforest_cc_bug.int Making Mercury/javas/jmercury/deforest_cc_bug.java Making Java class files Mercury/javas/jmercury/deforest_cc_bug.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/deforest_cc_bug.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:96: error: package list does not exist list.List_1 ArgsRest_6) ^ Mercury/javas/jmercury/deforest_cc_bug.java:134: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/deforest_cc_bug.java:181: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/deforest_cc_bug.java:224: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/deforest_cc_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deforest_cc_bug"; ^ Mercury/javas/jmercury/deforest_cc_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deforest_cc_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deforest_cc_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deforest_cc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deforest_cc_bug.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/deforest_cc_bug.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/deforest_cc_bug.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/deforest_cc_bug.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/deforest_cc_bug.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:58: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/deforest_cc_bug.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:63: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/deforest_cc_bug.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:68: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/deforest_cc_bug.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:73: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/deforest_cc_bug.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:78: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/deforest_cc_bug.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:83: error: package list does not exist (list.List_1) deforest_cc_bug.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/deforest_cc_bug.java:98: error: package list does not exist list.List_1 Inputs_8 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:104: error: package list does not exist Inputs_8 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:112: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:136: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:141: error: package list does not exist HeadVar__3_3 = (list.List_1) deforest_cc_bug.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:146: error: package list.List_1 does not exist int A2_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:146: error: illegal start of type int A2_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_2).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:147: error: package list does not exist list.List_1 As_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:147: error: package list.List_1 does not exist list.List_1 As_8 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:148: error: package list does not exist list.List_1 Inputs0_9 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:152: error: package list does not exist Inputs0_9 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:156: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/deforest_cc_bug.java:172: error: package list does not exist list.List_1 Var_7 = (list.List_1) deforest_cc_bug.MR_scalar_common_4[5]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:172: error: package list does not exist list.List_1 Var_7 = (list.List_1) deforest_cc_bug.MR_scalar_common_4[5]; ^ Mercury/javas/jmercury/deforest_cc_bug.java:189: error: package list.List_1 does not exist int E_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:189: error: illegal start of type int E_9 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/deforest_cc_bug.java:190: error: package list does not exist list.List_1 Es_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:190: error: package list.List_1 does not exist list.List_1 Es_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/deforest_cc_bug.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/deforest_cc_bug.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) HeadVar__2_2)[1]); ^ Mercury/javas/jmercury/deforest_cc_bug.java:193: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/deforest_cc_bug.java:196: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_1_15 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) HeadVar__2_2))), ((java.lang.Object) (java.lang.Integer.valueOf(E_9))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/deforest_cc_bug.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/deforest_cc_bug.java:211: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/deforest_cc_bug.java:215: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_8 = builtin.cc_multi_equal_2_p_0(TypeCtorInfo_9_9, ((java.lang.Object) (0))); ^ symbol: variable builtin location: class deforest_cc_bug Mercury/javas/jmercury/deforest_cc_bug.java:218: error: cannot find symbol io.write_int_3_p_0(Arg_4); ^ symbol: variable io location: class deforest_cc_bug 65 errors gmake[3]: *** [/tmp/mmake.I3IH48:2411: deforest_cc_bug] Error 1 gmake[3]: Target 'deforest_cc_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deforest_cc_bug.log] Error 1 RUNNING TEST hard_coded/delay_partial_test_1 in grade java FAILED TEST hard_coded/deep_copy_exist in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy_exist.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - deep_copy_exist Making Mercury/int3s/deep_copy_exist.int3 Making Mercury/ints/deep_copy_exist.int Making Mercury/javas/jmercury/deep_copy_exist.java deep_copy_exist.m:195: Warning: unresolved polymorphism in predicate deep_copy_exist.m:195: `test_polymorphism'/2. deep_copy_exist.m:195: The variable with an unbound type was: deep_copy_exist.m:195: `V_14': deep_copy_exist.poly(A). deep_copy_exist.m:195: The unbound type variable `A' will be implicitly bound deep_copy_exist.m:195: to the builtin type `void'. deep_copy_exist.m:200: `V_14' represents the term `'new poly_two'(V_16)'. For more information, recompile with `-E'. Making Java class files Mercury/javas/jmercury/deep_copy_exist.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_bit_vector_test_0_0 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy_exist.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_bit_vector_test_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_bit_vector_test_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_bit_vector_test_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_bit_vector_test_0_1 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy_exist.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_bit_vector_test_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_bit_vector_test_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_bit_vector_test_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_bit_vector_test_0_2 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy_exist.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_bit_vector_test_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_bit_vector_test_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_bit_vector_test_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_bit_vector_test_0_3 = new jmercury.runtime.PseudoTypeInfo[18]; ^ Mercury/javas/jmercury/deep_copy_exist.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_bit_vector_test_0_3_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_bit_vector_test_0_3 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_bit_vector_test_0_3 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_bit_vector_test_0_3 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_bit_vector_test_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_stag_ordered_bit_vector_test_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy_exist.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy_exist__du_ptag_ordered_bit_vector_test_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_name_ordered_bit_vector_test_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy_exist.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy_exist__type_ctor_info_bit_vector_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_fruit_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_fruit_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_fruit_0_1_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_fruit_0_1 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_fruit_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_fruit_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy_exist__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy_exist__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy_exist__enum_functor_desc_my_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy_exist__enum_functor_desc_my_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc deep_copy_exist__enum_functor_desc_my_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deep_copy_exist__enum_ordinal_ordered_my_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deep_copy_exist.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] deep_copy_exist__enum_name_ordered_my_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/deep_copy_exist.java:77: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy_exist__type_ctor_info_my_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_poly_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_poly_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_poly_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_poly_1_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_poly_1_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_poly_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct deep_copy_exist__pti_poly_1__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_poly_1_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/deep_copy_exist.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_poly_1_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_poly_1_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_poly_1_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_poly_1_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_poly_1_3_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_poly_1_3 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_poly_1_3 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_poly_1_3 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_poly_1_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_stag_ordered_poly_1_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy_exist.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] deep_copy_exist__du_ptag_ordered_poly_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] deep_copy_exist__du_name_ordered_poly_1 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/deep_copy_exist.java:99: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct deep_copy_exist__type_ctor_info_poly_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_exist.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_2 = new jmercury.runtime.DuExistLocn[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_thingie_0_3_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_thingie_0_3 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_3 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_3 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:114: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:115: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:116: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_thingie_0_4_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_thingie_0_4 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:118: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_4 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_4 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:120: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_5 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:123: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_5 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:124: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:125: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:127: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:128: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:129: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_8 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:130: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo deep_copy_exist__exist_info_thingie_0_8 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/deep_copy_exist.java:131: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc deep_copy_exist__du_functor_desc_thingie_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/deep_copy_exist.java:132: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] deep_copy_exist__field_types_thingie_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/deep_copy_exist.java:133: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint deep_copy_exist__exist_tc_constr_thingie_0_9_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/deep_copy_exist.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] deep_copy_exist__exist_tc_constrs_thingie_0_9 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/deep_copy_exist.java:135: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] deep_copy_exist__exist_locns_thingie_0_9 = new jmercury.runtime.DuExistLocn[2]; ^ Note: Mercury/javas/jmercury/deep_copy_exist.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.ylpYJX:2411: deep_copy_exist] Error 1 gmake[3]: Target 'deep_copy_exist.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: deep_copy_exist.log] Error 1 RUNNING TEST hard_coded/delay_partial_test_2 in grade java FAILED TEST hard_coded/delay_partial_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --delay-partial-instantiations '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - delay_partial_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --delay-partial-instantiations '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - delay_partial_test_1 Making Mercury/int3s/delay_partial_test_1.int3 Making Mercury/ints/delay_partial_test_1.int Making Mercury/javas/jmercury/delay_partial_test_1.java Making Java class files Mercury/javas/jmercury/delay_partial_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_blah_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_blah_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_stag_ordered_blah_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_1__du_ptag_ordered_blah_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_name_ordered_blah_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_1__type_ctor_info_blah_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_1__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_1__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:225: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:1165: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/delay_partial_test_1.java:288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/delay_partial_test_1.java:1142: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/delay_partial_test_1.java:678: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/delay_partial_test_1.java:757: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/delay_partial_test_1.java:1055: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/delay_partial_test_1.java:1237: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:1238: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/delay_partial_test_1.java:1253: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "delay_partial_test_1"; ^ Mercury/javas/jmercury/delay_partial_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/delay_partial_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/delay_partial_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/delay_partial_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_blah_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_blah_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_stag_ordered_blah_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_1__du_ptag_ordered_blah_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_name_ordered_blah_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_1__type_ctor_info_blah_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_1__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_1__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_1__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_1__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_1__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_1.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:70: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:78: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/delay_partial_test_1.java:86: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:100: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/delay_partial_test_1.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/delay_partial_test_1.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/delay_partial_test_1.java:117: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:117: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:122: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:130: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:134: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:134: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:136: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:136: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:141: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:149: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:153: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) delay_partial_test_1.delay_partial_test_1__type_ctor_info_t_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:155: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) delay_partial_test_1.delay_partial_test_1__type_ctor_info_t_0; ^ Mercury/javas/jmercury/delay_partial_test_1.java:160: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:168: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:178: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/delay_partial_test_1.java:180: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/delay_partial_test_1.java:207: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/delay_partial_test_1.java:210: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/delay_partial_test_1.java:225: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/delay_partial_test_1.java:232: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/delay_partial_test_1.java:233: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:233: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/delay_partial_test_1.java:234: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(delay_partial_test_1.delay_partial_test_1__type_ctor_info_blah_0))), ^ Mercury/javas/jmercury/delay_partial_test_1.java:235: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(delay_partial_test_1.delay_partial_test_1__type_ctor_info_blah_0))) ^ Mercury/javas/jmercury/delay_partial_test_1.java:300: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/delay_partial_test_1.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_56 = null; ^ Mercury/javas/jmercury/delay_partial_test_1.java:351: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/delay_partial_test_1.java:360: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:368: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:391: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/delay_partial_test_1.java:400: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:408: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class delay_partial_test_1 Mercury/javas/jmercury/delay_partial_test_1.java:423: error: package jmercury.runtime does not exist TypeCtorInfo_17_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(delay_partial_test_1.delay_partial_test_1__type_ctor_info_blah_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.0DTU4O:2411: delay_partial_test_1] Error 1 gmake[3]: Target 'delay_partial_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: delay_partial_test_1.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_1 in grade java FAILED TEST hard_coded/dense_lookup_switch_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_1 Making Mercury/int3s/dense_lookup_switch_1.int3 Making Mercury/ints/dense_lookup_switch_1.int Making Mercury/javas/jmercury/dense_lookup_switch_1.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:313: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:314: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:205: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:269: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_1"; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_1__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:136: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:139: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:161: error: cannot find symbol switch (X_4.MR_value) { ^ symbol: variable MR_value location: variable X_4 of type Foo_0 Mercury/javas/jmercury/dense_lookup_switch_1.java:161: error: illegal start of type switch (X_4.MR_value) { ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:182: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:190: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class dense_lookup_switch_1 Mercury/javas/jmercury/dense_lookup_switch_1.java:211: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:212: 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 Foo_0 Mercury/javas/jmercury/dense_lookup_switch_1.java:213: 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 Foo_0 Mercury/javas/jmercury/dense_lookup_switch_1.java:217: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:222: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:224: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:235: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dense_lookup_switch_1.java:249: 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 Foo_0 Mercury/javas/jmercury/dense_lookup_switch_1.java:249: 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 Foo_0 Mercury/javas/jmercury/dense_lookup_switch_1.java:298: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 54 errors gmake[3]: *** [/tmp/mmake.ekAaq6:2411: dense_lookup_switch_1] Error 1 gmake[3]: Target 'dense_lookup_switch_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_1.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_2 in grade java FAILED TEST hard_coded/delay_partial_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --delay-partial-instantiations --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - delay_partial_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --delay-partial-instantiations --no-warn-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - delay_partial_test_2 Making Mercury/int3s/delay_partial_test_2.int3 Making Mercury/ints/delay_partial_test_2.int Making Mercury/javas/jmercury/delay_partial_test_2.java Making Java class files Mercury/javas/jmercury/delay_partial_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_stag_ordered_q_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_2__du_ptag_ordered_q_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_name_ordered_q_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_2__type_ctor_info_q_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:1152: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/delay_partial_test_2.java:285: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/delay_partial_test_2.java:409: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/delay_partial_test_2.java:1227: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/delay_partial_test_2.java:694: error: package bool does not exist bool.Bool_0 HeadVar__2_2, ^ Mercury/javas/jmercury/delay_partial_test_2.java:695: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/delay_partial_test_2.java:715: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/delay_partial_test_2.java:876: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/delay_partial_test_2.java:1065: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/delay_partial_test_2.java:1251: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/delay_partial_test_2.java:1260: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/delay_partial_test_2.java:1271: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:1273: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/delay_partial_test_2.java:1274: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_2; ^ Mercury/javas/jmercury/delay_partial_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "delay_partial_test_2"; ^ Mercury/javas/jmercury/delay_partial_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/delay_partial_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/delay_partial_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/delay_partial_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_q_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_q_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_stag_ordered_q_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_2__du_ptag_ordered_q_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_name_ordered_q_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_2__type_ctor_info_q_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] delay_partial_test_2__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc delay_partial_test_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] delay_partial_test_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] delay_partial_test_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/delay_partial_test_2.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct delay_partial_test_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/delay_partial_test_2.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:56: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:61: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:69: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:73: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:73: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:92: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:92: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:97: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:112: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:120: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/delay_partial_test_2.java:134: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/delay_partial_test_2.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/delay_partial_test_2.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/delay_partial_test_2.java:177: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:177: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:179: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/delay_partial_test_2.java:179: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:188: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:196: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:202: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/delay_partial_test_2.java:204: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/delay_partial_test_2.java:223: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/delay_partial_test_2.java:226: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/delay_partial_test_2.java:343: error: cannot find symbol succeeded = mr_int.even_1_p_0(X_3); ^ symbol: variable mr_int location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:368: error: cannot find symbol succeeded = mr_int.odd_1_p_0(X_3); ^ symbol: variable mr_int location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:401: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((delay_partial_test_2.Bar_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((delay_partial_test_2.Bar_2_p_0_env_0) env_ptr).Y_4)), ((java.lang.Object) (((delay_partial_test_2.Bar_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/delay_partial_test_2.java:466: error: cannot find symbol succeeded = mr_int.even_1_p_0(X_3); ^ symbol: variable mr_int location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:489: error: cannot find symbol succeeded = mr_int.odd_1_p_0(X_3); ^ symbol: variable mr_int location: class delay_partial_test_2 Mercury/javas/jmercury/delay_partial_test_2.java:521: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((delay_partial_test_2.Foo_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((delay_partial_test_2.Foo_2_p_0_env_0) env_ptr).Y_4)), ((java.lang.Object) (((delay_partial_test_2.Foo_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/delay_partial_test_2.java:538: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/delay_partial_test_2.java:539: error: package bool does not exist bool.Bool_0 Var_17 = null; ^ Mercury/javas/jmercury/delay_partial_test_2.java:552: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ 100 errors gmake[3]: *** [/tmp/mmake.XjFpCy:2411: delay_partial_test_2] Error 1 gmake[3]: Target 'delay_partial_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: delay_partial_test_2.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_3 in grade java FAILED TEST hard_coded/dense_lookup_switch_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_3 Making Mercury/int3s/dense_lookup_switch_3.int3 Making Mercury/ints/dense_lookup_switch_3.int Making Mercury/javas/jmercury/dense_lookup_switch_3.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_3"; ^ Mercury/javas/jmercury/dense_lookup_switch_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_3.java:412: error: cannot find symbol io.write_int_3_p_0(Cur_5); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:415: error: cannot find symbol NC_14 = mr_char.det_from_int_1_f_0(Cur_5); ^ symbol: variable mr_char location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:419: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:431: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:434: error: cannot find symbol io.write_char_3_p_0(UC_15); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:442: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:447: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:459: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:462: error: cannot find symbol io.write_char_3_p_0(LC_16); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:470: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class dense_lookup_switch_3 Mercury/javas/jmercury/dense_lookup_switch_3.java:474: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dense_lookup_switch_3 22 errors gmake[3]: *** [/tmp/mmake.8rQl9N:2411: dense_lookup_switch_3] Error 1 gmake[3]: Target 'dense_lookup_switch_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_3.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_4 in grade java FAILED TEST hard_coded/dense_lookup_switch_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_2 Making Mercury/int3s/dense_lookup_switch_2.int3 Making Mercury/ints/dense_lookup_switch_2.int Making Mercury/javas/jmercury/dense_lookup_switch_2.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_2__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_2__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:850: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:935: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:936: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:502: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:648: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:790: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_2"; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_2__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_2__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_2__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_2__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_2__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:64: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:72: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:79: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:87: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:91: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:91: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:96: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:104: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:108: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:108: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:113: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:121: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:125: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:130: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:138: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:154: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:189: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:289: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:292: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:387: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Foo_0 Mercury/javas/jmercury/dense_lookup_switch_2.java:387: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:449: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(dense_lookup_switch_2.dense_lookup_switch_2__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:449: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(dense_lookup_switch_2.dense_lookup_switch_2__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:450: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:456: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Foo_4))); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:460: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:463: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:467: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:469: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(dense_lookup_switch_2.dense_lookup_switch_2__type_ctor_info_bar_0); ^ Mercury/javas/jmercury/dense_lookup_switch_2.java:471: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (Bar_7))); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:475: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class dense_lookup_switch_2 Mercury/javas/jmercury/dense_lookup_switch_2.java:478: error: cannot find symbol io.write_float_3_p_0(Float_8); ^ symbol: variable io location: class dense_lookup_switch_2 100 errors gmake[3]: *** [/tmp/mmake.sRBm1o:2411: dense_lookup_switch_2] Error 1 gmake[3]: Target 'dense_lookup_switch_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_2.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_non_1 in grade java FAILED TEST hard_coded/dense_lookup_switch_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_4 Making Mercury/int3s/dense_lookup_switch_4.int3 Making Mercury/ints/dense_lookup_switch_4.int Making Mercury/javas/jmercury/dense_lookup_switch_4.java dense_lookup_switch_4.m:021: Warning: `bar'/0 declares some constructors in a dense_lookup_switch_4.m:021: different order to its supertype `foo'/0. The dense_lookup_switch_4.m:021: differences between the order of function dense_lookup_switch_4.m:021: symbols in the subtype, and the order of the dense_lookup_switch_4.m:021: same function symbols in the supertype, are as dense_lookup_switch_4.m:021: follows. dense_lookup_switch_4.m:021: dense_lookup_switch_4.m:021: @@ -1,7 +1,7 @@ dense_lookup_switch_4.m:021: -b/0 dense_lookup_switch_4.m:021: +g/0 dense_lookup_switch_4.m:021: c/0 dense_lookup_switch_4.m:021: -d/0 dense_lookup_switch_4.m:021: e/0 dense_lookup_switch_4.m:021: f/0 dense_lookup_switch_4.m:021: -g/0 dense_lookup_switch_4.m:021: +b/0 dense_lookup_switch_4.m:021: +d/0 dense_lookup_switch_4.m:021: h/0 Making Java class files Mercury/javas/jmercury/dense_lookup_switch_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_ordinal_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_name_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_4__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[10]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[10]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:277: 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/dense_lookup_switch_4.java:278: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:680: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:681: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:467: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:508: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:598: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:658: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_4"; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_bar_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_ordinal_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_name_ordered_bar_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_4__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_4__enum_functor_desc_foo_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[10]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_4__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[10]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_4__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:234: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:239: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:242: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:254: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:259: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:262: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:277: 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/dense_lookup_switch_4.java:278: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:284: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:286: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:288: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:291: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:293: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:296: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:298: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:301: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:303: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:306: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:308: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:311: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:313: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:316: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:318: error: package list does not exist (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:326: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:326: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:327: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:327: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(dense_lookup_switch_4.dense_lookup_switch_4__type_ctor_info_bar_0); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(dense_lookup_switch_4.dense_lookup_switch_4__type_ctor_info_bar_0); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:347: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class dense_lookup_switch_4 Mercury/javas/jmercury/dense_lookup_switch_4.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:348: error: package list does not exist list.List_1 Xs_4 = (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:348: error: package list does not exist list.List_1 Xs_4 = (list.List_1) dense_lookup_switch_4.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/dense_lookup_switch_4.java:353: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_25_25, TypeCtorInfo_26_26, Var_21, Xs_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class dense_lookup_switch_4 100 errors gmake[3]: *** [/tmp/mmake.LkN1Lw:2411: dense_lookup_switch_4] Error 1 gmake[3]: Target 'dense_lookup_switch_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_4.log] Error 1 RUNNING TEST hard_coded/dense_lookup_switch_non_2 in grade java FAILED TEST hard_coded/dense_lookup_switch_non_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_non_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_non_1 Making Mercury/int3s/dense_lookup_switch_non_1.int3 Making Mercury/ints/dense_lookup_switch_non_1.int Making Mercury/javas/jmercury/dense_lookup_switch_non_1.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch_non_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_1__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_stag_ordered_test_id_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_1__du_ptag_ordered_test_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_name_ordered_test_id_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_test_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_tp_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_tp_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_stag_ordered_tp_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_1__du_ptag_ordered_tp_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_name_ordered_tp_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:76: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_tp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2621: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2538: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2725: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2726: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1014: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1124: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1212: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1280: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1348: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2700: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1615: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1685: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1831: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:1870: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2030: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2328: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2433: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2476: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2747: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:2758: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_non_1"; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_1 Mercury/javas/jmercury/dense_lookup_switch_non_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_1__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_1__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_1__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_1__du_functor_desc_test_id_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_1.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_1__field_types_test_id_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.zmxn9a:2411: dense_lookup_switch_non_1] Error 1 gmake[3]: Target 'dense_lookup_switch_non_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_non_1.log] Error 1 RUNNING TEST hard_coded/det_in_semidet_cntxt in grade java FAILED TEST hard_coded/dense_lookup_switch_non_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_non_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dense_lookup_switch_non_2 Making Mercury/int3s/dense_lookup_switch_non_2.int3 Making Mercury/ints/dense_lookup_switch_non_2.int Making Mercury/javas/jmercury/dense_lookup_switch_non_2.java Making Java class files Mercury/javas/jmercury/dense_lookup_switch_non_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_2__enum_ordinal_ordered_base_foo_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_2__enum_name_ordered_base_foo_0 = new jmercury.runtime.EnumFunctorDesc[11]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_base_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_foo_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_2__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dense_lookup_switch_non_2__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:71: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_test_id_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_test_id_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_test_id_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_test_id_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_stag_ordered_test_id_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_2__du_ptag_ordered_test_id_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_name_ordered_test_id_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_test_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_tp_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_tp_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_stag_ordered_tp_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_2__du_ptag_ordered_tp_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_name_ordered_tp_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:87: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_tp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2215: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2132: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2283: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2284: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:883: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:993: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1081: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2258: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1258: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1328: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1474: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1513: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1554: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1630: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:1922: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2045: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2088: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2308: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:2319: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dense_lookup_switch_non_2"; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dense_lookup_switch_non_2 Mercury/javas/jmercury/dense_lookup_switch_non_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dense_lookup_switch_non_2__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dense_lookup_switch_non_2__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dense_lookup_switch_non_2__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dense_lookup_switch_non_2__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dense_lookup_switch_non_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dense_lookup_switch_non_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dense_lookup_switch_non_2__enum_functor_desc_base_foo_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ 100 errors gmake[3]: *** [/tmp/mmake.ELQHcB:2411: dense_lookup_switch_non_2] Error 1 gmake[3]: Target 'dense_lookup_switch_non_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dense_lookup_switch_non_2.log] Error 1 RUNNING TEST hard_coded/digraph_tc in grade java FAILED TEST hard_coded/det_in_semidet_cntxt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_in_semidet_cntxt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - det_in_semidet_cntxt Making Mercury/int3s/det_in_semidet_cntxt.int3 Making Mercury/ints/det_in_semidet_cntxt.int Making Mercury/javas/jmercury/det_in_semidet_cntxt.java Making Java class files Mercury/javas/jmercury/det_in_semidet_cntxt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_in_semidet_cntxt__field_types_disease_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_in_semidet_cntxt__du_functor_desc_disease_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_in_semidet_cntxt__du_stag_ordered_disease_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_in_semidet_cntxt__du_ptag_ordered_disease_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_in_semidet_cntxt__du_name_ordered_disease_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_disease_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_sympton_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_vaccine_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:175: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:176: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:177: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:207: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:683: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:294: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:362: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:392: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:422: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:686: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:687: error: package list does not exist public list.List_1 F3; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:696: error: package list does not exist list.List_1 F2, ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:697: error: package list does not exist list.List_1 F3) ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:587: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "det_in_semidet_cntxt"; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] det_in_semidet_cntxt__field_types_disease_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc det_in_semidet_cntxt__du_functor_desc_disease_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_in_semidet_cntxt__du_stag_ordered_disease_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] det_in_semidet_cntxt__du_ptag_ordered_disease_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] det_in_semidet_cntxt__du_name_ordered_disease_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_disease_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_sympton_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct det_in_semidet_cntxt__type_ctor_info_vaccine_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) det_in_semidet_cntxt.list__ti_list_1builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) det_in_semidet_cntxt.list__ti_list_1builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:62: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:70: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:78: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:120: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:121: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:121: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:137: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:141: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:141: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:157: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:160: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:161: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:161: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:175: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:176: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:177: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:181: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:182: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:182: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:183: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:183: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:186: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:188: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:200: error: package list does not exist list.List_1 _Diseases_4 = null; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:210: error: package list does not exist list.List_1 D_4 = null; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:211: error: package maybe does not exist maybe.Maybe_1 MaybeDisease_6 = null; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:212: error: package maybe does not exist maybe.Maybe_1 MaybeName_12 = null; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:213: error: package io does not exist io.Result_1 Result_19 = null; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:216: error: cannot find symbol Result_19 = io.read_word_3_p_0(); ^ symbol: variable io location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:218: error: illegal start of type switch (Result_19.data_tag) { ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:221: error: package list does not exist list.List_1 Name0_20 = ((list.List_1) ((io.Result_1.Ok_1) Result_19).F1); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:221: error: package list does not exist list.List_1 Name0_20 = ((list.List_1) ((io.Result_1.Ok_1) Result_19).F1); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:221: error: package io.Result_1 does not exist list.List_1 Name0_20 = ((list.List_1) ((io.Result_1.Ok_1) Result_19).F1); ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:225: error: cannot find symbol Name_21 = string.from_char_list_2_p_0(Name0_20); ^ symbol: variable string location: class det_in_semidet_cntxt Mercury/javas/jmercury/det_in_semidet_cntxt.java:228: error: package maybe.Maybe_1 does not exist MaybeName_12 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:235: error: package maybe does not exist MaybeName_12 = (maybe.Maybe_1) det_in_semidet_cntxt.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:239: error: package io does not exist io.Error_0 Err_22 = ((io.Result_1.Error_1) Result_19).F1; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:239: error: package io.Result_1 does not exist io.Error_0 Err_22 = ((io.Result_1.Error_1) Result_19).F1; ^ Mercury/javas/jmercury/det_in_semidet_cntxt.java:243: error: cannot find symbol ErrStr_23 = io.error_message_2_p_0(Err_22); ^ symbol: variable io location: class det_in_semidet_cntxt 100 errors gmake[3]: *** [/tmp/mmake.nlUvg5:2411: det_in_semidet_cntxt] Error 1 gmake[3]: Target 'det_in_semidet_cntxt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: det_in_semidet_cntxt.log] Error 1 RUNNING TEST hard_coded/dir_fold in grade java FAILED TEST hard_coded/dir_fold in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dir_fold.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dir_fold Making Mercury/int3s/dir_fold.int3 Making Mercury/ints/dir_fold.int Making Mercury/javas/jmercury/dir_fold.java dir_fold.m:065: In predicate `nothing'/8: dir_fold.m:065: warning: the fifth argument and the sixth argument, dir_fold.m:065: represented by the state variable `!Data', could be deleted, dir_fold.m:065: because they are not used, and because the final value is dir_fold.m:065: always the same as the initial value. dir_fold.m:065: In predicate `nothing'/8: dir_fold.m:065: warning: the seventh argument and the eighth argument, dir_fold.m:065: represented by the state variable `!IO', could be deleted, dir_fold.m:065: because they are not used, and because the final value is dir_fold.m:065: always the same as the initial value. Making Java class files Mercury/javas/jmercury/dir_fold.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/dir_fold.java:151: error: package io does not exist io.File_type_0 _FileType_11) ^ Mercury/javas/jmercury/dir_fold.java:147: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/dir_fold.java:158: error: package io does not exist private static io.Res_0 ^ Mercury/javas/jmercury/dir_fold.java:238: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr6 ^ Mercury/javas/jmercury/dir_fold.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dir_fold"; ^ Mercury/javas/jmercury/dir_fold.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dir_fold.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dir_fold.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dir_fold Mercury/javas/jmercury/dir_fold.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dir_fold Mercury/javas/jmercury/dir_fold.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dir_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dir_fold.java:34: error: package io.Res_0 does not exist private static final io.Res_0.Ok_0[] MR_scalar_common_3 = new io.Res_0.Ok_0[1]; ^ Mercury/javas/jmercury/dir_fold.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class dir_fold Mercury/javas/jmercury/dir_fold.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/dir_fold.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class dir_fold Mercury/javas/jmercury/dir_fold.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/dir_fold.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_file_type_0)), ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_file_type_0)), ^ Mercury/javas/jmercury/dir_fold.java:45: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class dir_fold Mercury/javas/jmercury/dir_fold.java:45: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/dir_fold.java:46: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:46: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/dir_fold.java:47: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:47: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/dir_fold.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/dir_fold.java:49: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:49: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/dir_fold.java:58: error: package io.Res_0 does not exist new io.Res_0.Ok_0(); ^ Mercury/javas/jmercury/dir_fold.java:71: error: package io does not exist io.Res_0 ResMkdir_5 = null; ^ Mercury/javas/jmercury/dir_fold.java:74: error: cannot find symbol ResMkdir_5 = dir.make_directory_4_p_0(DirName_4); ^ symbol: variable dir location: class dir_fold Mercury/javas/jmercury/dir_fold.java:79: error: package io does not exist io.Error_0 Error_21 = ((io.Res_0.Error_1) ResMkdir_5).F1; ^ Mercury/javas/jmercury/dir_fold.java:79: error: package io.Res_0 does not exist io.Error_0 Error_21 = ((io.Res_0.Error_1) ResMkdir_5).F1; ^ Mercury/javas/jmercury/dir_fold.java:80: error: package io does not exist io.Text_output_stream_0 Stream_22 = null; ^ Mercury/javas/jmercury/dir_fold.java:84: error: cannot find symbol Var_19 = io.error_message_1_f_0(Error_21); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:87: error: cannot find symbol Stream_22 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:90: error: cannot find symbol io.write_string_4_p_0(Stream_22, Var_19); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:93: error: cannot find symbol io.nl_3_p_0(Stream_22); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:97: error: cannot find symbol io.set_exit_status_3_p_0(Var_26); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:102: error: package io does not exist io.Res_0 Res_6 = null; ^ Mercury/javas/jmercury/dir_fold.java:104: error: package io does not exist io.Res_0 Var_7 = null; ^ Mercury/javas/jmercury/dir_fold.java:110: error: cannot find symbol Var_7 = io__file.remove_file_4_p_0(DirName_4); ^ symbol: variable io__file location: class dir_fold Mercury/javas/jmercury/dir_fold.java:114: error: package io does not exist io.Error_0 Error_8 = ((io.Res_0.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/dir_fold.java:114: error: package io.Res_0 does not exist io.Error_0 Error_8 = ((io.Res_0.Error_1) Res_6).F1; ^ Mercury/javas/jmercury/dir_fold.java:116: error: package io does not exist io.Text_output_stream_0 Stream_27 = null; ^ Mercury/javas/jmercury/dir_fold.java:120: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:123: error: cannot find symbol Stream_27 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:126: error: cannot find symbol io.write_string_4_p_0(Stream_27, Var_17); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:129: error: cannot find symbol io.nl_3_p_0(Stream_27); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:133: error: cannot find symbol io.set_exit_status_3_p_0(Var_31); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:141: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class dir_fold Mercury/javas/jmercury/dir_fold.java:153: error: package bool does not exist bool.Bool_0 Continue_12 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/dir_fold.java:153: error: package bool does not exist bool.Bool_0 Continue_12 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/dir_fold.java:166: error: package io does not exist io.Res_0 Res_8 = null; ^ Mercury/javas/jmercury/dir_fold.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/dir_fold.java:174: error: package io does not exist io.Maybe_partial_res_1 Res0_10 = null; ^ Mercury/javas/jmercury/dir_fold.java:177: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ symbol: variable unit location: class dir_fold Mercury/javas/jmercury/dir_fold.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ Mercury/javas/jmercury/dir_fold.java:179: error: cannot find symbol Res0_10 = dir.foldl2_6_p_0(TypeCtorInfo_32_32, Var_17, DirName_6, ((java.lang.Object) (0))); ^ symbol: variable dir location: class dir_fold Mercury/javas/jmercury/dir_fold.java:183: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) Res0_10).F2; ^ Mercury/javas/jmercury/dir_fold.java:183: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) Res0_10).F2; ^ Mercury/javas/jmercury/dir_fold.java:186: error: package io.Res_0 does not exist Res_8 = new io.Res_0.Error_1( ^ Mercury/javas/jmercury/dir_fold.java:205: error: package io does not exist Res_8 = (io.Res_0) dir_fold.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/dir_fold.java:223: error: package bool does not exist bool.Bool_0 conv0_Continue_12 = null; ^ Mercury/javas/jmercury/dir_fold.java:226: error: package io does not exist conv0_Continue_12 = dir_fold.nothing_8_p_0(((java.lang.String) wrapper_arg_1), ((java.lang.String) wrapper_arg_2), ((io.File_type_0) wrapper_arg_3)); ^ 70 errors gmake[3]: *** [/tmp/mmake.pgtoMO:2411: dir_fold] Error 1 gmake[3]: Target 'dir_fold.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dir_fold.log] Error 1 RUNNING TEST hard_coded/dir_test in grade java FAILED TEST hard_coded/digraph_tc in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - digraph_tc.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - digraph_tc Making Mercury/int3s/digraph_tc.int3 Making Mercury/ints/digraph_tc.int Making Mercury/javas/jmercury/digraph_tc.java Making Java class files Mercury/javas/jmercury/digraph_tc.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/digraph_tc.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct digraph__pti_digraph_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/digraph_tc.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/digraph_tc.java:59: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_3 = new maybe.Maybe_error_2.Error_1[2]; ^ Mercury/javas/jmercury/digraph_tc.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/digraph_tc.java:61: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/digraph_tc.java:169: error: package digraph does not exist digraph.Digraph_1 HeadVar__1_37) ^ Mercury/javas/jmercury/digraph_tc.java:167: error: package digraph does not exist private static digraph.Digraph_1 ^ Mercury/javas/jmercury/digraph_tc.java:185: error: package digraph does not exist digraph.Digraph_1 STATE_VARIABLE_G_0_11, ^ Mercury/javas/jmercury/digraph_tc.java:334: error: package list does not exist list.List_1 STATE_VARIABLE_RevKeys_0_12, ^ Mercury/javas/jmercury/digraph_tc.java:335: error: package digraph does not exist digraph.Digraph_1 STATE_VARIABLE_G_0_14) ^ Mercury/javas/jmercury/digraph_tc.java:460: error: package maybe does not exist private static maybe.Maybe_error_2 ^ Mercury/javas/jmercury/digraph_tc.java:755: error: package list does not exist list.List_1 Args_4) ^ Mercury/javas/jmercury/digraph_tc.java:966: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/digraph_tc.java:967: error: package digraph does not exist digraph.Digraph_1 A_3, ^ Mercury/javas/jmercury/digraph_tc.java:968: error: package digraph does not exist digraph.Digraph_1 B_4) ^ Mercury/javas/jmercury/digraph_tc.java:1010: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/digraph_tc.java:1039: error: package digraph does not exist digraph.Digraph_1 G_4) ^ Mercury/javas/jmercury/digraph_tc.java:1109: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/digraph_tc.java:1128: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/digraph_tc.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "digraph_tc"; ^ Mercury/javas/jmercury/digraph_tc.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/digraph_tc.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/digraph_tc.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/digraph_tc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/digraph_tc.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/digraph_tc.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct digraph__pti_digraph_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/digraph_tc.java:38: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/digraph_tc.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/digraph_tc.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:45: error: cannot find symbol digraph.digraph__type_ctor_info_digraph_1, ^ symbol: variable digraph location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/digraph_tc.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/digraph_tc.java:59: error: package maybe.Maybe_error_2 does not exist private static final maybe.Maybe_error_2.Error_1[] MR_scalar_common_3 = new maybe.Maybe_error_2.Error_1[2]; ^ Mercury/javas/jmercury/digraph_tc.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/digraph_tc.java:61: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/digraph_tc.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/digraph_tc.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/digraph_tc.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/digraph_tc.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/digraph_tc.java:74: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/digraph_tc.java:75: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:75: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/digraph_tc.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph_tc.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/digraph_tc.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/digraph_tc.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ symbol: variable random location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ Mercury/javas/jmercury/digraph_tc.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/digraph_tc.java:82: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/digraph_tc.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/digraph_tc.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph.digraph__type_ctor_info_digraph_key_1))), ^ symbol: variable digraph location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph.digraph__type_ctor_info_digraph_key_1))), ^ Mercury/javas/jmercury/digraph_tc.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/digraph_tc.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/digraph_tc.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph.digraph__type_ctor_info_digraph_1))), ^ symbol: variable digraph location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph.digraph__type_ctor_info_digraph_1))), ^ Mercury/javas/jmercury/digraph_tc.java:92: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:92: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/digraph_tc.java:96: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom__arity2__random__sfc64__params__arity0__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:97: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/digraph_tc.java:98: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:98: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/digraph_tc.java:102: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom_dup__arity1__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:103: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:103: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/digraph_tc.java:107: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__random__arity1__random__shared_random__arity2__)), ^ symbol: variable random location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:110: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(digraph_tc.MR_scalar_common_1[2]))) ^ Mercury/javas/jmercury/digraph_tc.java:113: error: package maybe.Maybe_error_2 does not exist new maybe.Maybe_error_2.Error_1( ^ Mercury/javas/jmercury/digraph_tc.java:117: error: package maybe.Maybe_error_2 does not exist new maybe.Maybe_error_2.Error_1( ^ Mercury/javas/jmercury/digraph_tc.java:121: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/digraph_tc.java:123: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/digraph_tc.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/digraph_tc.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/digraph_tc.java:126: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/digraph_tc.java:127: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/digraph_tc.java:128: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/digraph_tc.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/digraph_tc.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/digraph_tc.java:171: error: package digraph does not exist digraph.Digraph_1 HeadVar__2_38 = null; ^ Mercury/javas/jmercury/digraph_tc.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/digraph_tc.java:172: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class digraph_tc Mercury/javas/jmercury/digraph_tc.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.GVnZVm:2411: digraph_tc] Error 1 gmake[3]: Target 'digraph_tc.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: digraph_tc.log] Error 1 RUNNING TEST hard_coded/direct_arg_opt in grade java FAILED TEST hard_coded/dir_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dir_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dir_test Making Mercury/int3s/dir_test.int3 Making Mercury/ints/dir_test.int Making Mercury/javas/jmercury/dir_test.java Making Java class files Mercury/javas/jmercury/dir_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_io__type_ctor_info_text_output_stream_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_io__type_ctor_info_file_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_8__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_io__type_ctor_info_file_type_0__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3io__type_ctor_info_res_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_test0_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_io__pti_res_1__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_test1_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_io__pti_maybe_partial_res_1__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_testp_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:202: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dir_test.java:205: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/dir_test.java:206: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/dir_test.java:442: error: package list does not exist list.List_1 HeadVar__3_258) ^ Mercury/javas/jmercury/dir_test.java:438: error: package io does not exist private static io.Maybe_partial_res_1 ^ Mercury/javas/jmercury/dir_test.java:457: error: package bool does not exist bool.Bool_0 HeadVar__3_271, ^ Mercury/javas/jmercury/dir_test.java:458: error: package list does not exist list.List_1 HeadVar__4_272) ^ Mercury/javas/jmercury/dir_test.java:453: error: package io does not exist private static io.Maybe_partial_res_1 ^ Mercury/javas/jmercury/dir_test.java:473: error: package bool does not exist bool.Bool_0 HeadVar__3_285, ^ Mercury/javas/jmercury/dir_test.java:474: error: package list does not exist list.List_1 HeadVar__4_286) ^ Mercury/javas/jmercury/dir_test.java:469: error: package io does not exist private static io.Maybe_partial_res_1 ^ Mercury/javas/jmercury/dir_test.java:502: error: package io does not exist io.File_type_0 _FileType_11, ^ Mercury/javas/jmercury/dir_test.java:503: error: package list does not exist list.List_1 Files_12) ^ Mercury/javas/jmercury/dir_test.java:1991: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_22, ^ Mercury/javas/jmercury/dir_test.java:2141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_23, ^ Mercury/javas/jmercury/dir_test.java:2242: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dir_test.java:2272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/dir_test.java:2270: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dir_test.java:2302: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/dir_test.java:2300: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dir_test.java:2358: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/dir_test.java:2386: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/dir_test.java:2414: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/dir_test.java:2432: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dir_test.java:2600: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dir_test.java:2688: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr6 ^ Mercury/javas/jmercury/dir_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dir_test"; ^ Mercury/javas/jmercury/dir_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dir_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dir_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dir_test Mercury/javas/jmercury/dir_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dir_test Mercury/javas/jmercury/dir_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dir_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dir_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_io__type_ctor_info_text_output_stream_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_io__type_ctor_info_file_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_8__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0__plain_io__type_ctor_info_file_type_0__plain_bool__type_ctor_info_bool_0__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_list__ti_list_1builtin__type_ctor_info_string_0__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__plain_list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3io__type_ctor_info_res_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_test0_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_res_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_io__pti_res_1__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_test1_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_io__pti_maybe_partial_res_1__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dir_test__type_ctor_info_testp_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dir_test.java:51: error: cannot find symbol io.io__type_ctor_info_res_1, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_text_output_stream_0 ^ Mercury/javas/jmercury/dir_test.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_text_output_stream_0 ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:57: error: cannot find symbol io.io__type_ctor_info_res_1, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_file_type_0 ^ Mercury/javas/jmercury/dir_test.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_file_type_0 ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:63: error: cannot find symbol io.io__type_ctor_info_res_1, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:65: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/dir_test.java:65: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:69: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class dir_test Mercury/javas/jmercury/dir_test.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/dir_test.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:75: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class dir_test Mercury/javas/jmercury/dir_test.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/dir_test.java:81: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:83: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/dir_test.java:83: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:84: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/dir_test.java:84: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class dir_test Mercury/javas/jmercury/dir_test.java:85: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_file_type_0, ^ Mercury/javas/jmercury/dir_test.java:85: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_file_type_0, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:86: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ Mercury/javas/jmercury/dir_test.java:86: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0, ^ symbol: variable bool location: class dir_test Mercury/javas/jmercury/dir_test.java:87: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dir_test.list__ti_list_1builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/dir_test.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dir_test.list__ti_list_1builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/dir_test.java:89: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/dir_test.java:89: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:90: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/dir_test.java:90: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:94: error: cannot find symbol io.io__type_ctor_info_maybe_partial_res_1, ^ symbol: variable io location: class dir_test Mercury/javas/jmercury/dir_test.java:96: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dir_test.list__ti_list_1builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/dir_test.java:100: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class dir_test 100 errors gmake[3]: *** [/tmp/mmake.2HV69R:2411: dir_test] Error 1 rm -rf test_dir unwritable touch unwritable chmod -w unwritable gmake[3]: Target 'dir_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dir_test.log] Error 1 RUNNING TEST hard_coded/direct_arg_partial_inst_1 in grade java FAILED TEST hard_coded/direct_arg_partial_inst_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_partial_inst_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_partial_inst_1 Making Mercury/int3s/direct_arg_partial_inst_1.int3 Making Mercury/ints/direct_arg_partial_inst_1.int Making Mercury/javas/jmercury/direct_arg_partial_inst_1.java Making Java class files Mercury/javas/jmercury/direct_arg_partial_inst_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_1__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_1__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:218: 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/direct_arg_partial_inst_1.java:882: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:821: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:221: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:263: error: package list does not exist list.List_1 Xs_3) ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:388: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:486: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:752: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:916: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "direct_arg_partial_inst_1"; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_fruit_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_1__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_1__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) direct_arg_partial_inst_1.direct_arg_partial_inst_1__type_ctor_info_struct_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:59: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) direct_arg_partial_inst_1.direct_arg_partial_inst_1__type_ctor_info_struct_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:76: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:88: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:88: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:93: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:101: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:113: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:152: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:152: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:154: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:154: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:156: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:156: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:158: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:158: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:160: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:160: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:165: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:173: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:179: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:181: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:200: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:203: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:218: 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/direct_arg_partial_inst_1.java:221: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:226: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:240: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:242: error: package list does not exist (list.List_1) direct_arg_partial_inst_1.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:249: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:251: error: package list does not exist (list.List_1) direct_arg_partial_inst_1.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:279: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:287: error: package jmercury.runtime does not exist TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(direct_arg_partial_inst_1.direct_arg_partial_inst_1__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:289: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_7_7, Xs_3, new AddrOf2_0(4), env_ptr); ^ symbol: variable list location: class direct_arg_partial_inst_1 Mercury/javas/jmercury/direct_arg_partial_inst_1.java:295: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:313: error: package jmercury.runtime does not exist ((direct_arg_partial_inst_1.Foo_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:362: error: package list does not exist list.List_1 ListA_4 = (list.List_1) direct_arg_partial_inst_1.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:362: error: package list does not exist list.List_1 ListA_4 = (list.List_1) direct_arg_partial_inst_1.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:364: error: package list does not exist list.List_1 ListB_6 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_1.java:371: error: cannot find symbol io.write_string_3_p_0(ResultA_5); ^ symbol: variable io location: class direct_arg_partial_inst_1 100 errors gmake[3]: *** [/tmp/mmake.QXIDHO:2411: direct_arg_partial_inst_1] Error 1 gmake[3]: Target 'direct_arg_partial_inst_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: direct_arg_partial_inst_1.log] Error 1 RUNNING TEST hard_coded/direct_arg_partial_inst_2 in grade java FAILED TEST hard_coded/direct_arg_partial_inst_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_partial_inst_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_partial_inst_2 Making Mercury/int3s/direct_arg_partial_inst_2.int3 Making Mercury/ints/direct_arg_partial_inst_2.int Making Mercury/javas/jmercury/direct_arg_partial_inst_2.java Making Java class files Mercury/javas/jmercury/direct_arg_partial_inst_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_2__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_2__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_2__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:706: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:663: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:300: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:356: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:603: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "direct_arg_partial_inst_2"; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_2__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_partial_inst_2__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_partial_inst_2__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_partial_inst_2__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_partial_inst_2__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_partial_inst_2__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) direct_arg_partial_inst_2.direct_arg_partial_inst_2__type_ctor_info_struct_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:57: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) direct_arg_partial_inst_2.direct_arg_partial_inst_2__type_ctor_info_struct_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:74: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:92: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:127: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:129: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:131: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:133: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:133: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:135: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:135: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:140: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:148: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:156: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:178: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:237: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:252: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(direct_arg_partial_inst_2.direct_arg_partial_inst_2__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:254: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (X_5))); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:257: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:267: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Y_7))); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:270: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class direct_arg_partial_inst_2 Mercury/javas/jmercury/direct_arg_partial_inst_2.java:306: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:312: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:325: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:328: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:347: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:362: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:368: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:381: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:385: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:390: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:392: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:394: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:399: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:403: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:408: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:410: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:412: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:417: error: package builtin does not exist builtin.Comparison_result_0 SubResult3_12 = null; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:421: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:426: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:428: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_partial_inst_2.java:430: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult3_12.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ 100 errors gmake[3]: *** [/tmp/mmake.HR4ucB:2411: direct_arg_partial_inst_2] Error 1 gmake[3]: Target 'direct_arg_partial_inst_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: direct_arg_partial_inst_2.log] Error 1 RUNNING TEST hard_coded/direct_arg_tags_1 in grade java FAILED TEST hard_coded/direct_arg_opt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_opt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_opt Making Mercury/int3s/direct_arg_opt.int3 Making Mercury/int3s/direct_arg_opt_helper_1.int3 Making Mercury/int3s/direct_arg_opt_helper_1.direct_arg_opt_helper_2.int3 Making Mercury/int0s/direct_arg_opt_helper_1.int0 Making Mercury/ints/direct_arg_opt_helper_1.direct_arg_opt_helper_2.int Making Mercury/ints/direct_arg_opt_helper_1.int Making Mercury/ints/direct_arg_opt.int Making Mercury/opts/direct_arg_opt_helper_1.direct_arg_opt_helper_2.opt Making Mercury/opts/direct_arg_opt_helper_1.opt Making Mercury/opts/direct_arg_opt.opt Making Mercury/javas/jmercury/direct_arg_opt_helper_1.java Making Mercury/javas/jmercury/direct_arg_opt.java Making Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java Making Java class files Mercury/javas/jmercury/direct_arg_opt_helper_1.java:272: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:429: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_opt_helper_1__field_types_test_object_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__du_functor_desc_test_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__du_stag_ordered_test_object_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_opt_helper_1__du_ptag_ordered_test_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__du_name_ordered_test_object_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_opt_helper_1__type_ctor_info_test_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:145: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_functor_desc_maybe_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__field_types_maybe_object_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_functor_desc_maybe_object_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_stag_ordered_maybe_object_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_ptag_ordered_maybe_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_name_ordered_maybe_object_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_opt_helper_1__direct_arg_opt_helper_2__type_ctor_info_maybe_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:108: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:109: error: package string__parse_util.String_format_maybe_width_0 does not exist private static final string__parse_util.String_format_maybe_width_0.No_specified_width_0[] MR_scalar_common_4 = new string__parse_util.String_format_maybe_width_0.No_specified_width_0[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:110: error: package string__parse_util.String_format_maybe_prec_0 does not exist private static final string__parse_util.String_format_maybe_prec_0.No_specified_prec_0[] MR_scalar_common_5 = new string__parse_util.String_format_maybe_prec_0.No_specified_prec_0[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:291: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:230: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:387: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/direct_arg_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "direct_arg_opt"; ^ Mercury/javas/jmercury/direct_arg_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/direct_arg_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/direct_arg_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/direct_arg_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/direct_arg_opt.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/direct_arg_opt.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt Mercury/javas/jmercury/direct_arg_opt.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_opt_helper_1__field_types_test_object_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__du_functor_desc_test_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__du_stag_ordered_test_object_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_opt_helper_1__du_ptag_ordered_test_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__du_name_ordered_test_object_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_opt_helper_1__type_ctor_info_test_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:26: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:26: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:31: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:39: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:47: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:90: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:92: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:92: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:96: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:98: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:98: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:99: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:103: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:106: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:107: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class direct_arg_opt_helper_1 Mercury/javas/jmercury/direct_arg_opt_helper_1.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:151: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:157: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:165: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:170: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:172: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:184: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1.java:259: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_functor_desc_maybe_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__field_types_maybe_object_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_functor_desc_maybe_object_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_stag_ordered_maybe_object_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_ptag_ordered_maybe_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_opt_helper_1__direct_arg_opt_helper_2__du_name_ordered_maybe_object_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_opt_helper_1__direct_arg_opt_helper_2__type_ctor_info_maybe_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:30: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1__direct_arg_opt_helper_2 Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:38: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1__direct_arg_opt_helper_2 Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) direct_arg_opt_helper_1.direct_arg_opt_helper_1__type_ctor_info_test_object_0; ^ Mercury/javas/jmercury/direct_arg_opt_helper_1__direct_arg_opt_helper_2.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class direct_arg_opt_helper_1__direct_arg_opt_helper_2 100 errors gmake[3]: *** [/tmp/mmake.GICQlk:2411: direct_arg_opt] Error 1 gmake[3]: Target 'direct_arg_opt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: direct_arg_opt.log] Error 1 RUNNING TEST hard_coded/direct_arg_tags_2 in grade java FAILED TEST hard_coded/direct_arg_tags_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_tags_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_tags_1 Making Mercury/int3s/direct_arg_tags_1.int3 Making Mercury/ints/direct_arg_tags_1.int Making Mercury/javas/jmercury/direct_arg_tags_1.java Making Java class files Mercury/javas/jmercury/direct_arg_tags_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_stag_ordered_test_2_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_1__du_ptag_ordered_test_2_tag_bits_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_name_ordered_test_2_tag_bits_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_1__type_ctor_info_test_2_tag_bits_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_stag_ordered_test_3_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_1__du_ptag_ordered_test_3_tag_bits_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_name_ordered_test_3_tag_bits_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:76: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_1__type_ctor_info_test_3_tag_bits_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1801: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1821: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_1.java:530: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:532: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1921: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_1.java:797: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_1.java:865: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1045: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1680: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/direct_arg_tags_1.java:1758: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/direct_arg_tags_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "direct_arg_tags_1"; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class direct_arg_tags_1 Mercury/javas/jmercury/direct_arg_tags_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_2_tag_bits_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_2_tag_bits_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_stag_ordered_test_2_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_1__du_ptag_ordered_test_2_tag_bits_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_1__du_name_ordered_test_2_tag_bits_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_1__type_ctor_info_test_2_tag_bits_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_1.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_1__du_functor_desc_test_3_tag_bits_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_1.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_1__field_types_test_3_tag_bits_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ 100 errors gmake[3]: *** [/tmp/mmake.QhN0ZE:2411: direct_arg_tags_1] Error 1 gmake[3]: Target 'direct_arg_tags_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: direct_arg_tags_1.log] Error 1 RUNNING TEST hard_coded/disjs_in_switch in grade java FAILED TEST hard_coded/direct_arg_tags_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_tags_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - direct_arg_tags_2 Making Mercury/int3s/direct_arg_tags_2.int3 Making Mercury/ints/direct_arg_tags_2.int Making Mercury/javas/jmercury/direct_arg_tags_2.java Making Java class files Mercury/javas/jmercury/direct_arg_tags_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct0_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct0_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct0_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct0_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct0_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct1_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct1_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct2_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct3_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct4_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct4_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct4_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct4_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct4_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct4_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct5_0_0 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct5_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct5_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct5_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct5_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:73: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct5_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct6_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct6_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct6_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct6_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct6_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct6_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_struct7_0_0 = new jmercury.runtime.PseudoTypeInfo[9]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_struct7_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_struct7_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_struct7_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_struct7_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:87: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_struct7_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] direct_arg_tags_2__field_types_test_3_tag_bits_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc direct_arg_tags_2__du_functor_desc_test_3_tag_bits_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_stag_ordered_test_3_tag_bits_0_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] direct_arg_tags_2__du_ptag_ordered_test_3_tag_bits_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] direct_arg_tags_2__du_name_ordered_test_3_tag_bits_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:110: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct direct_arg_tags_2__type_ctor_info_test_3_tag_bits_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/direct_arg_tags_2.java:847: 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/direct_arg_tags_2.java:4142: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:849: 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[9]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4101: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4063: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4028: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:3996: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:3967: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:3941: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:3918: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:3898: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/direct_arg_tags_2.java:868: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_22 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1501: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1509: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1577: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1669: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1784: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:1922: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:2083: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:2267: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:2474: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:2704: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4105: error: package bool does not exist public bool.Bool_0 F3; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4106: error: package bool does not exist public bool.Bool_0 F4; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4107: error: package bool does not exist public bool.Bool_0 F5; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4108: error: package bool does not exist public bool.Bool_0 F6; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4109: error: package bool does not exist public bool.Bool_0 F7; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4110: error: package bool does not exist public bool.Bool_0 F8; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4111: error: package bool does not exist public bool.Bool_0 F9; ^ Mercury/javas/jmercury/direct_arg_tags_2.java:4121: error: package bool does not exist bool.Bool_0 F3, ^ 100 errors gmake[3]: *** [/tmp/mmake.XA0p9P:2411: direct_arg_tags_2] Error 1 gmake[3]: Target 'direct_arg_tags_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: direct_arg_tags_2.log] Error 1 RUNNING TEST hard_coded/division_test in grade java FAILED TEST hard_coded/disjs_in_switch in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disjs_in_switch.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - disjs_in_switch Making Mercury/int3s/disjs_in_switch.int3 Making Mercury/ints/disjs_in_switch.int Making Mercury/javas/jmercury/disjs_in_switch.java Making Java class files Mercury/javas/jmercury/disjs_in_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/disjs_in_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disjs_in_switch__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] disjs_in_switch__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disjs_in_switch__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disjs_in_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disjs_in_switch.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] disjs_in_switch__enum_ordinal_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] disjs_in_switch__enum_name_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disjs_in_switch__type_ctor_info_x_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disjs_in_switch.java:743: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/disjs_in_switch.java:827: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/disjs_in_switch.java:828: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/disjs_in_switch.java:369: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/disjs_in_switch.java:529: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/disjs_in_switch.java:683: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/disjs_in_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "disjs_in_switch"; ^ Mercury/javas/jmercury/disjs_in_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/disjs_in_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/disjs_in_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/disjs_in_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/disjs_in_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/disjs_in_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] disjs_in_switch__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc disjs_in_switch__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disjs_in_switch__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] disjs_in_switch__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/disjs_in_switch.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] disjs_in_switch__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disjs_in_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disjs_in_switch.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc disjs_in_switch__enum_functor_desc_x_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/disjs_in_switch.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] disjs_in_switch__enum_ordinal_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] disjs_in_switch__enum_name_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/disjs_in_switch.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct disjs_in_switch__type_ctor_info_x_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/disjs_in_switch.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disjs_in_switch.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:62: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:70: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disjs_in_switch.java:74: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:76: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/disjs_in_switch.java:76: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:81: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:89: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:93: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/disjs_in_switch.java:93: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:98: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:106: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:110: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/disjs_in_switch.java:110: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:115: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:123: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/disjs_in_switch.java:137: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/disjs_in_switch.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/disjs_in_switch.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/disjs_in_switch.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/disjs_in_switch.java:228: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/disjs_in_switch.java:231: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/disjs_in_switch.java:324: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type X_0 Mercury/javas/jmercury/disjs_in_switch.java:324: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/disjs_in_switch.java:338: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/disjs_in_switch.java:359: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/disjs_in_switch.java:362: error: cannot find symbol io.write_string_3_p_0(U_6); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:365: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class disjs_in_switch Mercury/javas/jmercury/disjs_in_switch.java:375: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/disjs_in_switch.java:381: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/disjs_in_switch.java:393: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/disjs_in_switch.java:398: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/disjs_in_switch.java:400: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/disjs_in_switch.java:407: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/disjs_in_switch.java:410: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/disjs_in_switch.java:416: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/disjs_in_switch.java:424: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/disjs_in_switch.java:428: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/disjs_in_switch.java:433: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/disjs_in_switch.java:435: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/disjs_in_switch.java:437: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ 100 errors gmake[3]: *** [/tmp/mmake.TezDWb:2411: disjs_in_switch] Error 1 gmake[3]: Target 'disjs_in_switch.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: disjs_in_switch.log] Error 1 RUNNING TEST hard_coded/dos in grade java FAILED TEST hard_coded/division_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - division_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - division_test Making Mercury/int3s/division_test.int3 Making Mercury/ints/division_test.int Making Mercury/javas/jmercury/division_test.java Making Java class files Mercury/javas/jmercury/division_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "division_test"; ^ Mercury/javas/jmercury/division_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/division_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/division_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class division_test Mercury/javas/jmercury/division_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class division_test Mercury/javas/jmercury/division_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/division_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/division_test.java:55: error: cannot find symbol Var_19 = mr_int.div_2_f_0(Num_5, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:62: error: cannot find symbol Var_9 = mr_int.div_2_f_0(Var_10, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:72: error: cannot find symbol Var_22 = mr_int.div_2_f_0(Var_13, Var_14); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:79: error: cannot find symbol Var_15 = mr_int.div_2_f_0(Num_5, Var_16); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:197: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:205: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:250: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:258: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:303: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:311: error: cannot find symbol io.write_string_3_p_0(Var_64); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:356: error: cannot find symbol io.write_string_3_p_0(Var_82); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:364: error: cannot find symbol io.write_string_3_p_0(Var_84); ^ symbol: variable io location: class division_test Mercury/javas/jmercury/division_test.java:391: error: cannot find symbol Var_17 = mr_int.mod_2_f_0(Num_5, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:398: error: cannot find symbol Var_9 = mr_int.mod_2_f_0(Var_10, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:407: error: cannot find symbol Var_11 = mr_int.mod_2_f_0(Var_12, Var_13); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:415: error: cannot find symbol Var_14 = mr_int.mod_2_f_0(Num_5, Var_15); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:446: error: cannot find symbol Var_15 = mr_int.f_47_47_2_f_0(Num_5, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:453: error: cannot find symbol Var_9 = mr_int.f_47_47_2_f_0(Var_10, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:462: error: cannot find symbol Var_19 = mr_int.f_47_47_2_f_0(Var_11, Var_12); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:469: error: cannot find symbol Var_13 = mr_int.f_47_47_2_f_0(Num_5, Var_14); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:499: error: cannot find symbol Var_15 = mr_int.rem_2_f_0(Num_5, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:506: error: cannot find symbol Var_9 = mr_int.rem_2_f_0(Var_10, Div_6); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:515: error: cannot find symbol Var_11 = mr_int.rem_2_f_0(Var_12, Var_13); ^ symbol: variable mr_int location: class division_test Mercury/javas/jmercury/division_test.java:523: error: cannot find symbol Var_19 = mr_int.rem_2_f_0(Num_5, Var_14); ^ symbol: variable mr_int location: class division_test 35 errors gmake[3]: *** [/tmp/mmake.sa660S:2411: division_test] Error 1 gmake[3]: Target 'division_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: division_test.log] Error 1 RUNNING TEST hard_coded/dst_test in grade java FAILED TEST hard_coded/dos in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dos.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dos Making Mercury/int3s/dos.int3 Making Mercury/ints/dos.int Making Mercury/javas/jmercury/dos.java Making Java class files Mercury/javas/jmercury/dos.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dos__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dos.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dos__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dos.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dos__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dos.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dos__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dos.java:98: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dos.java:144: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dos.java:188: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dos.java:189: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dos.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dos"; ^ Mercury/javas/jmercury/dos.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dos.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dos.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dos Mercury/javas/jmercury/dos.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dos Mercury/javas/jmercury/dos.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dos.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dos.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dos__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dos.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dos__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dos.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dos__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dos.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dos__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dos.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/dos.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dos.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dos.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/dos.java:86: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:90: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:92: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(dos.dos__type_ctor_info_t_0); ^ Mercury/javas/jmercury/dos.java:94: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (0))); ^ symbol: variable io location: class dos Mercury/javas/jmercury/dos.java:101: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/dos.java:101: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/dos.java:112: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/dos.java:173: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 35 errors gmake[3]: *** [/tmp/mmake.qE7ROC:2411: dos] Error 1 gmake[3]: Target 'dos.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dos.log] Error 1 RUNNING TEST hard_coded/dummy_no_tag in grade java FAILED TEST hard_coded/dst_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dst_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dst_test Making Mercury/int3s/dst_test.int3 Making Mercury/ints/dst_test.int Making Mercury/javas/jmercury/dst_test.java Making Java class files Mercury/javas/jmercury/dst_test.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_1 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/dst_test.java:33: error: package time does not exist private static final time.Tm_0[] MR_scalar_common_2 = new time.Tm_0[16]; ^ Mercury/javas/jmercury/dst_test.java:246: error: package time does not exist time.Tm_0 TM_4) ^ Mercury/javas/jmercury/dst_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dst_test"; ^ Mercury/javas/jmercury/dst_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dst_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dst_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dst_test Mercury/javas/jmercury/dst_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dst_test Mercury/javas/jmercury/dst_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dst_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dst_test.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_1 = new maybe.Maybe_1.Yes_1[2]; ^ Mercury/javas/jmercury/dst_test.java:33: error: package time does not exist private static final time.Tm_0[] MR_scalar_common_2 = new time.Tm_0[16]; ^ Mercury/javas/jmercury/dst_test.java:37: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/dst_test.java:38: error: package time does not exist ((java.lang.Object) (time.Dst_0.K0)) ^ Mercury/javas/jmercury/dst_test.java:38: error: illegal start of type ((java.lang.Object) (time.Dst_0.K0)) ^ Mercury/javas/jmercury/dst_test.java:41: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/dst_test.java:42: error: package time does not exist ((java.lang.Object) (time.Dst_0.K1)) ^ Mercury/javas/jmercury/dst_test.java:42: error: illegal start of type ((java.lang.Object) (time.Dst_0.K1)) ^ Mercury/javas/jmercury/dst_test.java:45: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:54: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:57: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:66: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:69: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:78: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:81: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:90: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:93: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:102: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:105: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:114: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:117: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:126: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:129: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:138: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:141: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:150: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:153: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:162: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:165: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:174: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:177: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:186: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:189: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:198: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:201: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:210: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:213: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:222: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[1] ^ Mercury/javas/jmercury/dst_test.java:225: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/dst_test.java:234: error: package maybe does not exist (maybe.Maybe_1) dst_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/dst_test.java:248: error: package time does not exist time.Time_t_0 Time_6 = null; ^ Mercury/javas/jmercury/dst_test.java:249: error: package time does not exist time.Tm_0 LocalTM_7 = null; ^ Mercury/javas/jmercury/dst_test.java:252: error: package time does not exist time.Tm_0 Var_14 = null; ^ Mercury/javas/jmercury/dst_test.java:257: error: cannot find symbol Time_6 = time.mktime_4_p_0(TM_4); ^ symbol: variable time location: class dst_test Mercury/javas/jmercury/dst_test.java:260: error: cannot find symbol LocalTM_7 = time.localtime_4_p_0(Time_6); ^ symbol: variable time location: class dst_test Mercury/javas/jmercury/dst_test.java:263: error: cannot find symbol LocalTimeStr_8 = time.asctime_1_f_0(LocalTM_7); ^ symbol: variable time location: class dst_test Mercury/javas/jmercury/dst_test.java:266: error: cannot find symbol Var_14 = time.gmtime_1_f_0(Time_6); ^ symbol: variable time location: class dst_test Mercury/javas/jmercury/dst_test.java:269: error: cannot find symbol GmtTimeStr_9 = time.asctime_1_f_0(Var_14); ^ symbol: variable time location: class dst_test Mercury/javas/jmercury/dst_test.java:273: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:276: error: cannot find symbol io.write_string_3_p_0(LocalTimeStr_8); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:280: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:283: error: cannot find symbol io.write_string_3_p_0(GmtTimeStr_9); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:290: error: package time does not exist time.Tm_0 Var_6 = (time.Tm_0) dst_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/dst_test.java:290: error: package time does not exist time.Tm_0 Var_6 = (time.Tm_0) dst_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/dst_test.java:291: error: package time does not exist time.Tm_0 Var_18 = null; ^ Mercury/javas/jmercury/dst_test.java:292: error: package time does not exist time.Tm_0 Var_30 = null; ^ Mercury/javas/jmercury/dst_test.java:293: error: package time does not exist time.Tm_0 Var_43 = null; ^ Mercury/javas/jmercury/dst_test.java:294: error: package time does not exist time.Tm_0 Var_55 = null; ^ Mercury/javas/jmercury/dst_test.java:295: error: package time does not exist time.Tm_0 Var_67 = null; ^ Mercury/javas/jmercury/dst_test.java:296: error: package time does not exist time.Tm_0 Var_80 = null; ^ Mercury/javas/jmercury/dst_test.java:297: error: package time does not exist time.Tm_0 Var_92 = null; ^ Mercury/javas/jmercury/dst_test.java:298: error: package time does not exist time.Tm_0 Var_104 = null; ^ Mercury/javas/jmercury/dst_test.java:299: error: package time does not exist time.Tm_0 Var_117 = null; ^ Mercury/javas/jmercury/dst_test.java:300: error: package time does not exist time.Tm_0 Var_129 = null; ^ Mercury/javas/jmercury/dst_test.java:301: error: package time does not exist time.Tm_0 Var_141 = null; ^ Mercury/javas/jmercury/dst_test.java:306: error: package time does not exist Var_18 = (time.Tm_0) dst_test.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/dst_test.java:310: error: package time does not exist Var_30 = (time.Tm_0) dst_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/dst_test.java:315: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:317: error: package time does not exist Var_43 = (time.Tm_0) dst_test.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/dst_test.java:321: error: package time does not exist Var_55 = (time.Tm_0) dst_test.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/dst_test.java:325: error: package time does not exist Var_67 = (time.Tm_0) dst_test.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/dst_test.java:330: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:332: error: package time does not exist Var_80 = (time.Tm_0) dst_test.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/dst_test.java:336: error: package time does not exist Var_92 = (time.Tm_0) dst_test.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/dst_test.java:340: error: package time does not exist Var_104 = (time.Tm_0) dst_test.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/dst_test.java:345: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:347: error: package time does not exist Var_117 = (time.Tm_0) dst_test.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/dst_test.java:351: error: package time does not exist Var_129 = (time.Tm_0) dst_test.MR_scalar_common_2[10]; ^ Mercury/javas/jmercury/dst_test.java:355: error: package time does not exist Var_141 = (time.Tm_0) dst_test.MR_scalar_common_2[11]; ^ Mercury/javas/jmercury/dst_test.java:360: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dst_test Mercury/javas/jmercury/dst_test.java:368: error: package time does not exist time.Time_t_0 BeforeStart_7 = null; ^ Mercury/javas/jmercury/dst_test.java:369: error: package time does not exist time.Time_t_0 AfterStart_8 = null; ^ Mercury/javas/jmercury/dst_test.java:370: error: package time does not exist time.Time_t_0 BeforeEnd_9 = null; ^ Mercury/javas/jmercury/dst_test.java:371: error: package time does not exist time.Time_t_0 AfterEnd_10 = null; ^ Mercury/javas/jmercury/dst_test.java:372: error: package time does not exist time.Tm_0 Var_11 = (time.Tm_0) dst_test.MR_scalar_common_2[12]; ^ Mercury/javas/jmercury/dst_test.java:372: error: package time does not exist time.Tm_0 Var_11 = (time.Tm_0) dst_test.MR_scalar_common_2[12]; ^ 100 errors gmake[3]: *** [/tmp/mmake.eaWdtc:2411: dst_test] Error 1 gmake[3]: Target 'dst_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dst_test.log] Error 1 RUNNING TEST hard_coded/dummy_type_construct in grade java FAILED TEST hard_coded/dummy_no_tag in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dummy_no_tag.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dummy_no_tag Making Mercury/int3s/dummy_no_tag.int3 Making Mercury/int3s/dummy_no_tag_helper_1.int3 Making Mercury/ints/dummy_no_tag_helper_1.int Making Mercury/ints/dummy_no_tag.int Making Mercury/javas/jmercury/dummy_no_tag.java Making Mercury/javas/jmercury/dummy_no_tag_helper_1.java Making Java class files Mercury/javas/jmercury/dummy_no_tag_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_no_tag_dummy_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_no_tag_dummy_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_no_tag_dummy_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_no_tag_dummy_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_no_tag_dummy_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_not_dummy_a_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_not_dummy_a_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_not_dummy_a_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_not_dummy_a_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_not_dummy_a_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:30: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_not_dummy_a_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_not_dummy_b_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_not_dummy_b_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_not_dummy_b_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_not_dummy_b_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_not_dummy_b_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_not_dummy_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dummy_no_tag_helper_1__enum_functor_desc_simple_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_no_tag_helper_1__enum_ordinal_ordered_simple_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_no_tag_helper_1__enum_name_ordered_simple_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_simple_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:1065: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:321: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:354: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:384: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:1082: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:414: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:1099: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:513: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:612: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:1118: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:1119: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:933: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dummy_no_tag.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dummy_no_tag"; ^ Mercury/javas/jmercury/dummy_no_tag.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dummy_no_tag.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dummy_no_tag.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dummy_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dummy_no_tag.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/dummy_no_tag.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = null; ^ Mercury/javas/jmercury/dummy_no_tag.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/dummy_no_tag.java:46: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_0); ^ Mercury/javas/jmercury/dummy_no_tag.java:48: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:53: error: package jmercury.runtime does not exist TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv_0); ^ Mercury/javas/jmercury/dummy_no_tag.java:55: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag.java:60: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv2_0); ^ Mercury/javas/jmercury/dummy_no_tag.java:62: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class dummy_no_tag Mercury/javas/jmercury/dummy_no_tag_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_no_tag_dummy_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_no_tag_dummy_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_no_tag_dummy_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_no_tag_dummy_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_no_tag_dummy_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_eqv2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_not_dummy_a_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_not_dummy_a_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_not_dummy_a_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_not_dummy_a_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_not_dummy_a_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:30: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_not_dummy_a_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] dummy_no_tag_helper_1__field_types_not_dummy_b_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc dummy_no_tag_helper_1__du_functor_desc_not_dummy_b_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_stag_ordered_not_dummy_b_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] dummy_no_tag_helper_1__du_ptag_ordered_not_dummy_b_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] dummy_no_tag_helper_1__du_name_ordered_not_dummy_b_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_not_dummy_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dummy_no_tag_helper_1__enum_functor_desc_simple_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_no_tag_helper_1__enum_ordinal_ordered_simple_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_no_tag_helper_1__enum_name_ordered_simple_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_no_tag_helper_1__type_ctor_info_simple_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_simple_dummy_0; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:52: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class dummy_no_tag_helper_1 Mercury/javas/jmercury/dummy_no_tag_helper_1.java:60: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dummy_no_tag_helper_1 Mercury/javas/jmercury/dummy_no_tag_helper_1.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:68: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class dummy_no_tag_helper_1 Mercury/javas/jmercury/dummy_no_tag_helper_1.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:87: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:111: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_no_tag_dummy_0 ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:139: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) dummy_no_tag_helper_1.dummy_no_tag_helper_1__type_ctor_info_not_dummy_b_0; ^ Mercury/javas/jmercury/dummy_no_tag_helper_1.java:144: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class dummy_no_tag_helper_1 Mercury/javas/jmercury/dummy_no_tag_helper_1.java:152: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class dummy_no_tag_helper_1 Mercury/javas/jmercury/dummy_no_tag_helper_1.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ 100 errors gmake[3]: *** [/tmp/mmake.Qbmepo:2411: dummy_no_tag] Error 1 gmake[3]: Target 'dummy_no_tag.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dummy_no_tag.log] Error 1 RUNNING TEST hard_coded/dup_vars_in_trace_scopes_only in grade java FAILED TEST hard_coded/dummy_type_construct in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dummy_type_construct.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dummy_type_construct Making Mercury/int3s/dummy_type_construct.int3 Making Mercury/ints/dummy_type_construct.int Making Mercury/javas/jmercury/dummy_type_construct.java Making Java class files Mercury/javas/jmercury/dummy_type_construct.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dummy_type_construct__enum_functor_desc_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dummy_type_construct.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_type_construct__enum_ordinal_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_type_construct__enum_name_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_type_construct__type_ctor_info_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_type_construct.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:78: 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/dummy_type_construct.java:79: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:293: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/dummy_type_construct.java:339: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/dummy_type_construct.java:383: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/dummy_type_construct.java:384: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/dummy_type_construct.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dummy_type_construct"; ^ Mercury/javas/jmercury/dummy_type_construct.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dummy_type_construct.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dummy_type_construct.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dummy_type_construct.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dummy_type_construct.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc dummy_type_construct__enum_functor_desc_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/dummy_type_construct.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_type_construct__enum_ordinal_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] dummy_type_construct__enum_name_ordered_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct dummy_type_construct__type_ctor_info_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/dummy_type_construct.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/dummy_type_construct.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/dummy_type_construct.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/dummy_type_construct.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:78: 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/dummy_type_construct.java:79: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/dummy_type_construct.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/dummy_type_construct.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ symbol: variable univ location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ Mercury/javas/jmercury/dummy_type_construct.java:88: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/dummy_type_construct.java:90: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/dummy_type_construct.java:91: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/dummy_type_construct.java:92: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/dummy_type_construct.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/dummy_type_construct.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/dummy_type_construct.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/dummy_type_construct.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_65_65 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_66_66 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:113: error: package list does not exist list.List_1 Args_14 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:114: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_48 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_79 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:122: error: package univ does not exist univ.Univ_0 DummyVal1_5 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_17 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:126: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:127: error: package univ does not exist univ.Univ_0 DummyVal2_7 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_25 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:131: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_33 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_40 = null; ^ Mercury/javas/jmercury/dummy_type_construct.java:142: error: cannot find symbol Var_17 = type_desc.type_of_1_f_0(TypeCtorInfo_59_59); ^ symbol: variable type_desc location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:145: error: package list does not exist Var_19 = (list.List_1) dummy_type_construct.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/dummy_type_construct.java:147: error: cannot find symbol java.lang.Object [] result = construct.construct_4_p_0(Var_17, Var_18, Var_19); ^ symbol: variable construct location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:149: error: package univ does not exist DummyVal1_5 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:153: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:156: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_60_60, ((java.lang.Object) (DummyVal1_5))); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:164: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:168: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:170: error: package jmercury.runtime does not exist TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:172: error: cannot find symbol Var_25 = type_desc.type_of_1_f_0(TypeCtorInfo_61_61); ^ symbol: variable type_desc location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:175: error: package list does not exist Var_27 = (list.List_1) dummy_type_construct.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/dummy_type_construct.java:177: error: cannot find symbol java.lang.Object [] result = construct.construct_4_p_0(Var_25, Var_26, Var_27); ^ symbol: variable construct location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:179: error: package univ does not exist DummyVal2_7 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/dummy_type_construct.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:183: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:186: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_62_62, ((java.lang.Object) (DummyVal2_7))); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:194: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:198: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:200: error: package jmercury.runtime does not exist TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:202: error: cannot find symbol Var_33 = type_desc.type_of_1_f_0(TypeCtorInfo_63_63); ^ symbol: variable type_desc location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:206: error: cannot find symbol java.lang.Object [] result = construct.get_functor_ordinal_3_p_0(Var_33, Var_34); ^ symbol: variable construct location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:212: error: cannot find symbol io.write_int_3_p_0(Ordinal1_9); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:219: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:223: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:225: error: package jmercury.runtime does not exist TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:227: error: cannot find symbol Var_40 = type_desc.type_of_1_f_0(TypeCtorInfo_64_64); ^ symbol: variable type_desc location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:231: error: cannot find symbol java.lang.Object [] result = construct.get_functor_ordinal_3_p_0(Var_40, Var_41); ^ symbol: variable construct location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:237: error: cannot find symbol io.write_int_3_p_0(Ordinal2_11); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:244: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:248: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:250: error: package deconstruct does not exist Var_48 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/dummy_type_construct.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_65_65 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.dummy_type_construct__type_ctor_info_dummy_0); ^ Mercury/javas/jmercury/dummy_type_construct.java:253: error: cannot find symbol java.lang.Object [] result = deconstruct.deconstruct_5_p_1(TypeCtorInfo_65_65, ((java.lang.Object) (0)), Var_48); ^ symbol: variable deconstruct location: class dummy_type_construct Mercury/javas/jmercury/dummy_type_construct.java:256: error: package list does not exist Args_14 = (list.List_1) result[2]; ^ Mercury/javas/jmercury/dummy_type_construct.java:258: error: package jmercury.runtime does not exist TypeInfo_66_66 = jmercury.runtime.TypeInfo_Struct.maybe_new(dummy_type_construct.MR_scalar_common_1[0]); ^ 100 errors gmake[3]: *** [/tmp/mmake.BWgayx:2411: dummy_type_construct] Error 1 gmake[3]: Target 'dummy_type_construct.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dummy_type_construct.log] Error 1 RUNNING TEST hard_coded/dupcall_impurity in grade java FAILED TEST hard_coded/dup_vars_in_trace_scopes_only in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dup_vars_in_trace_scopes_only.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dup_vars_in_trace_scopes_only Making Mercury/int3s/dup_vars_in_trace_scopes_only.int3 Making Mercury/ints/dup_vars_in_trace_scopes_only.int Making Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java Making Java class files Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:32: 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/dup_vars_in_trace_scopes_only.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dup_vars_in_trace_scopes_only"; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:32: 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/dup_vars_in_trace_scopes_only.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_23 = null; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_55 = null; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_66 = null; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_77 = null; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:75: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:77: error: package string__parse_util does not exist Var_55 = (string__parse_util.String_format_flags_0) dup_vars_in_trace_scopes_only.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:79: error: cannot find symbol Var_49 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, Var_7); ^ symbol: variable string__format location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:82: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:86: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:90: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:92: error: package string__parse_util does not exist Var_66 = (string__parse_util.String_format_flags_0) dup_vars_in_trace_scopes_only.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:94: error: cannot find symbol Var_60 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_66, Var_8); ^ symbol: variable string__format location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:97: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:101: error: cannot find symbol io.write_string_3_p_0(Var_67); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:106: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:108: error: package string__parse_util does not exist Var_77 = (string__parse_util.String_format_flags_0) dup_vars_in_trace_scopes_only.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:110: error: cannot find symbol Var_71 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_77, X_4); ^ symbol: variable string__format location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:113: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:117: error: cannot find symbol io.write_string_3_p_0(Var_78); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:121: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:123: error: package string__parse_util does not exist Var_23 = (string__parse_util.String_format_flags_0) dup_vars_in_trace_scopes_only.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:125: error: cannot find symbol Var_17 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_23, X_4); ^ symbol: variable string__format location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:128: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only Mercury/javas/jmercury/dup_vars_in_trace_scopes_only.java:132: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class dup_vars_in_trace_scopes_only 43 errors gmake[3]: *** [/tmp/mmake.pYebvw:2411: dup_vars_in_trace_scopes_only] Error 1 gmake[3]: Target 'dup_vars_in_trace_scopes_only.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dup_vars_in_trace_scopes_only.log] Error 1 RUNNING TEST hard_coded/dupcall_types_bug in grade java FAILED TEST hard_coded/dupcall_impurity in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dupcall_impurity.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dupcall_impurity Making Mercury/int3s/dupcall_impurity.int3 Making Mercury/ints/dupcall_impurity.int Making Mercury/javas/jmercury/dupcall_impurity.java Making Java class files Mercury/javas/jmercury/dupcall_impurity.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dupcall_impurity"; ^ Mercury/javas/jmercury/dupcall_impurity.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dupcall_impurity.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dupcall_impurity.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dupcall_impurity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dupcall_impurity.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_10 = null; ^ Mercury/javas/jmercury/dupcall_impurity.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_14 = null; ^ Mercury/javas/jmercury/dupcall_impurity.java:93: error: cannot find symbol TypeCtorInfo_9_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:93: error: package jmercury.runtime does not exist TypeCtorInfo_9_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dupcall_impurity.java:95: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_9_10, java.lang.Integer.valueOf(X0_7)); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:98: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_9_10, java.lang.Integer.valueOf(X1_8)); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:125: error: cannot find symbol TypeCtorInfo_9_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:125: error: package jmercury.runtime does not exist TypeCtorInfo_9_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dupcall_impurity.java:127: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_9_14, java.lang.Integer.valueOf(X0_11)); ^ symbol: variable io location: class dupcall_impurity Mercury/javas/jmercury/dupcall_impurity.java:130: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_9_14, java.lang.Integer.valueOf(X1_12)); ^ symbol: variable io location: class dupcall_impurity 21 errors gmake[3]: *** [/tmp/mmake.2FLQI7:2411: dupcall_impurity] Error 1 gmake[3]: Target 'dupcall_impurity.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dupcall_impurity.log] Error 1 RUNNING TEST hard_coded/edit_distance_test_closest in grade java FAILED TEST hard_coded/dupcall_types_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dupcall_types_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - dupcall_types_bug Making Mercury/int3s/dupcall_types_bug.int3 Making Mercury/ints/dupcall_types_bug.int Making Mercury/javas/jmercury/dupcall_types_bug.java Making Java class files Mercury/javas/jmercury/dupcall_types_bug.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dupcall_types_bug"; ^ Mercury/javas/jmercury/dupcall_types_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dupcall_types_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dupcall_types_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dupcall_types_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dupcall_types_bug.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/dupcall_types_bug.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:58: error: package io does not exist io.Posn_0 Posn0_7 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:59: error: package io does not exist io.Read_result_1 Int_8 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:60: error: package io does not exist io.Read_result_1 Str_10 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:61: error: package io does not exist io.Posn_0 Var_9 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:62: error: package io does not exist io.Posn_0 Var_11 = null; ^ Mercury/javas/jmercury/dupcall_types_bug.java:67: error: cannot find symbol Len_6 = string.length_2_p_1(String_5); ^ symbol: variable string location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:69: error: package io does not exist Posn0_7 = (io.Posn_0) dupcall_types_bug.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:70: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:70: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dupcall_types_bug.java:72: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_23_23, FileName_4, String_5, Len_6, Posn0_7); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:73: error: package io does not exist Int_8 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:74: error: package io does not exist Var_9 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:76: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:76: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/dupcall_types_bug.java:78: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_24_24, FileName_4, String_5, Len_6, Posn0_7); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:79: error: package io does not exist Str_10 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:80: error: package io does not exist Var_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/dupcall_types_bug.java:85: error: package io.Read_result_1 does not exist I_12 = ((java.lang.Integer) (((io.Read_result_1.Ok_1) Int_8).F1)).intValue(); ^ Mercury/javas/jmercury/dupcall_types_bug.java:85: error: illegal start of type I_12 = ((java.lang.Integer) (((io.Read_result_1.Ok_1) Int_8).F1)).intValue(); ^ Mercury/javas/jmercury/dupcall_types_bug.java:88: error: package io.Read_result_1 does not exist S_13 = ((java.lang.String) ((io.Read_result_1.Ok_1) Str_10).F1); ^ Mercury/javas/jmercury/dupcall_types_bug.java:93: error: cannot find symbol io.write_int_3_p_0(I_12); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:96: error: cannot find symbol io.write_string_3_p_0(S_13); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:99: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class dupcall_types_bug Mercury/javas/jmercury/dupcall_types_bug.java:107: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class dupcall_types_bug 40 errors gmake[3]: *** [/tmp/mmake.mgJ0nm:2411: dupcall_types_bug] Error 1 gmake[3]: Target 'dupcall_types_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: dupcall_types_bug.log] Error 1 RUNNING TEST hard_coded/edit_distance_test_cost in grade java FAILED TEST hard_coded/edit_distance_test_closest in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_distance_test_closest.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_distance_test_closest Making Mercury/int3s/edit_distance_test_closest.int3 Making Mercury/ints/edit_distance_test_closest.int Making Mercury/javas/jmercury/edit_distance_test_closest.java Making Java class files Mercury/javas/jmercury/edit_distance_test_closest.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/edit_distance_test_closest.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:53: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:54: error: package edit_distance does not exist private static final edit_distance.Edit_params_1[] MR_scalar_common_6 = new edit_distance.Edit_params_1[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:55: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:56: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[20]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:330: error: package edit_distance does not exist edit_distance.Edit_params_1 Params_1, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:331: error: package list does not exist list.List_1 CandidateStrs_2, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:332: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:699: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/edit_distance_test_closest.java:759: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/edit_distance_test_closest.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "edit_distance_test_closest"; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/edit_distance_test_closest.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/edit_distance_test_closest.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/edit_distance_test_closest.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/edit_distance_test_closest.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:53: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:54: error: package edit_distance does not exist private static final edit_distance.Edit_params_1[] MR_scalar_common_6 = new edit_distance.Edit_params_1[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:55: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:56: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[20]; ^ Mercury/javas/jmercury/edit_distance_test_closest.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:83: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:83: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:91: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:91: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:123: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:123: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:124: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:124: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/edit_distance_test_closest.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ symbol: variable builtin location: class edit_distance_test_closest Mercury/javas/jmercury/edit_distance_test_closest.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ Mercury/javas/jmercury/edit_distance_test_closest.java:160: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:161: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:162: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:163: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:164: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_closest.java:165: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/edit_distance_test_closest.java:168: error: package edit_distance does not exist new edit_distance.Edit_params_1( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:175: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/edit_distance_test_closest.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:179: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:184: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:189: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[1] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:194: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:199: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[3] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:204: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[4] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:209: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:214: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[6] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:219: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[7] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:224: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[8] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:229: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[9] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:232: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:234: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[10] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:237: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:239: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:242: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:244: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:247: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_closest.java:249: error: package list does not exist (list.List_1) edit_distance_test_closest.MR_scalar_common_8[13] ^ Mercury/javas/jmercury/edit_distance_test_closest.java:252: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.8iAnAz:2411: edit_distance_test_closest] Error 1 gmake[3]: Target 'edit_distance_test_closest.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: edit_distance_test_closest.log] Error 1 RUNNING TEST hard_coded/edit_seq_test in grade java FAILED TEST hard_coded/edit_distance_test_cost in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_distance_test_cost.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_distance_test_cost Making Mercury/int3s/edit_distance_test_cost.int3 Making Mercury/ints/edit_distance_test_cost.int Making Mercury/javas/jmercury/edit_distance_test_cost.java Making Java class files Mercury/javas/jmercury/edit_distance_test_cost.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] edit_distance_test_cost__field_types_test_case_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc edit_distance_test_cost__du_functor_desc_test_case_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] edit_distance_test_cost__du_stag_ordered_test_case_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] edit_distance_test_cost__du_ptag_ordered_test_case_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] edit_distance_test_cost__du_name_ordered_test_case_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct edit_distance_test_cost__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:109: 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/edit_distance_test_cost.java:112: error: package edit_distance does not exist private static final edit_distance.Edit_params_1[] MR_scalar_common_4 = new edit_distance.Edit_params_1[4]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:113: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:1154: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/edit_distance_test_cost.java:115: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:625: error: package edit_distance does not exist edit_distance.Edit_params_1 Params_8, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:728: error: package edit_distance does not exist edit_distance.Edit_params_1 ParamsNN_1, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:729: error: package edit_distance does not exist edit_distance.Edit_params_1 ParamsNY_2, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:730: error: package edit_distance does not exist edit_distance.Edit_params_1 ParamsYN_3, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:731: error: package edit_distance does not exist edit_distance.Edit_params_1 ParamsYY_4, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:732: error: package list does not exist list.List_1 HeadVar__5_5) ^ Mercury/javas/jmercury/edit_distance_test_cost.java:895: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/edit_distance_test_cost.java:1069: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/edit_distance_test_cost.java:1111: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/edit_distance_test_cost.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "edit_distance_test_cost"; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] edit_distance_test_cost__field_types_test_case_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc edit_distance_test_cost__du_functor_desc_test_case_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] edit_distance_test_cost__du_stag_ordered_test_case_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] edit_distance_test_cost__du_ptag_ordered_test_case_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] edit_distance_test_cost__du_name_ordered_test_case_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct edit_distance_test_cost__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:56: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:72: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:109: 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/edit_distance_test_cost.java:112: error: package edit_distance does not exist private static final edit_distance.Edit_params_1[] MR_scalar_common_4 = new edit_distance.Edit_params_1[4]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:113: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:115: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/edit_distance_test_cost.java:119: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:121: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:122: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:123: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/edit_distance_test_cost.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/edit_distance_test_cost.java:131: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:131: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/edit_distance_test_cost.java:132: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:132: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/edit_distance_test_cost.java:133: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ symbol: variable builtin location: class edit_distance_test_cost Mercury/javas/jmercury/edit_distance_test_cost.java:133: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)) ^ Mercury/javas/jmercury/edit_distance_test_cost.java:148: error: package edit_distance does not exist new edit_distance.Edit_params_1( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:155: error: package edit_distance does not exist new edit_distance.Edit_params_1( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:162: error: package edit_distance does not exist new edit_distance.Edit_params_1( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:169: error: package edit_distance does not exist new edit_distance.Edit_params_1( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:176: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/edit_distance_test_cost.java:418: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:420: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:423: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:425: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:428: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:430: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[1] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:433: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:435: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[2] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:438: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:440: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[3] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:443: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:445: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[4] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:448: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:450: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[5] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:453: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:455: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[6] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:458: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:460: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[7] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:463: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:465: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[8] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:468: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:470: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[9] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:473: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_distance_test_cost.java:475: error: package list does not exist (list.List_1) edit_distance_test_cost.MR_scalar_common_7[10] ^ Mercury/javas/jmercury/edit_distance_test_cost.java:478: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.5K4ff7:2411: edit_distance_test_cost] Error 1 gmake[3]: Target 'edit_distance_test_cost.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: edit_distance_test_cost.log] Error 1 RUNNING TEST hard_coded/ee_dummy in grade java FAILED TEST hard_coded/edit_seq_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_seq_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - edit_seq_test Making Mercury/int3s/edit_seq_test.int3 Making Mercury/ints/edit_seq_test.int Making Mercury/javas/jmercury/edit_seq_test.java Making Java class files Mercury/javas/jmercury/edit_seq_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/edit_seq_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/edit_seq_test.java:34: error: package edit_seq does not exist private static final edit_seq.Edit_params_0[] MR_scalar_common_3 = new edit_seq.Edit_params_0[2]; ^ Mercury/javas/jmercury/edit_seq_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[2]; ^ Mercury/javas/jmercury/edit_seq_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_seq_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/edit_seq_test.java:273: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/edit_seq_test.java:274: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/edit_seq_test.java:275: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/edit_seq_test.java:300: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/edit_seq_test.java:301: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/edit_seq_test.java:302: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/edit_seq_test.java:327: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/edit_seq_test.java:328: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/edit_seq_test.java:329: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/edit_seq_test.java:414: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/edit_seq_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "edit_seq_test"; ^ Mercury/javas/jmercury/edit_seq_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/edit_seq_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/edit_seq_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/edit_seq_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/edit_seq_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/edit_seq_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/edit_seq_test.java:34: error: package edit_seq does not exist private static final edit_seq.Edit_params_0[] MR_scalar_common_3 = new edit_seq.Edit_params_0[2]; ^ Mercury/javas/jmercury/edit_seq_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[2]; ^ Mercury/javas/jmercury/edit_seq_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/edit_seq_test.java:37: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/edit_seq_test.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/edit_seq_test.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/edit_seq_test.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/edit_seq_test.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/edit_seq_test.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(edit_seq.edit_seq__type_ctor_info_edit_1))), ^ symbol: variable edit_seq location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(edit_seq.edit_seq__type_ctor_info_edit_1))), ^ Mercury/javas/jmercury/edit_seq_test.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/edit_seq_test.java:51: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/edit_seq_test.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class edit_seq_test Mercury/javas/jmercury/edit_seq_test.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/edit_seq_test.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(edit_seq_test.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/edit_seq_test.java:56: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/edit_seq_test.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/edit_seq_test.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/edit_seq_test.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/edit_seq_test.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/edit_seq_test.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/edit_seq_test.java:64: error: package edit_seq does not exist new edit_seq.Edit_params_0( ^ Mercury/javas/jmercury/edit_seq_test.java:70: error: package edit_seq does not exist new edit_seq.Edit_params_0( ^ Mercury/javas/jmercury/edit_seq_test.java:76: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/edit_seq_test.java:78: error: package edit_seq does not exist ((java.lang.Object) ((edit_seq.Edit_params_0) edit_seq_test.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/edit_seq_test.java:81: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/edit_seq_test.java:83: error: package edit_seq does not exist ((java.lang.Object) ((edit_seq.Edit_params_0) edit_seq_test.MR_scalar_common_3[1])) ^ Mercury/javas/jmercury/edit_seq_test.java:86: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/edit_seq_test.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:89: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) edit_seq_test.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/edit_seq_test.java:90: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/edit_seq_test.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:94: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) edit_seq_test.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/edit_seq_test.java:95: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/edit_seq_test.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:100: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/edit_seq_test.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:105: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/edit_seq_test.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:110: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/edit_seq_test.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:115: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/edit_seq_test.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:120: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/edit_seq_test.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:125: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/edit_seq_test.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:130: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[7] ^ Mercury/javas/jmercury/edit_seq_test.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:135: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/edit_seq_test.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:140: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[9] ^ Mercury/javas/jmercury/edit_seq_test.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:145: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[10] ^ Mercury/javas/jmercury/edit_seq_test.java:148: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:150: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[11] ^ Mercury/javas/jmercury/edit_seq_test.java:153: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:155: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[12] ^ Mercury/javas/jmercury/edit_seq_test.java:158: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:159: error: package list does not exist ((java.lang.Object) ((list.List_1) edit_seq_test.MR_scalar_common_6[13])), ^ Mercury/javas/jmercury/edit_seq_test.java:160: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/edit_seq_test.java:163: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:165: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/edit_seq_test.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:170: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[15] ^ Mercury/javas/jmercury/edit_seq_test.java:173: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/edit_seq_test.java:175: error: package list does not exist (list.List_1) edit_seq_test.MR_scalar_common_6[16] ^ Mercury/javas/jmercury/edit_seq_test.java:178: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.NjRsXP:2411: edit_seq_test] Error 1 gmake[3]: Target 'edit_seq_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: edit_seq_test.log] Error 1 RUNNING TEST hard_coded/ee_valid_test in grade java FAILED TEST hard_coded/ee_dummy in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ee_dummy.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ee_dummy Making Mercury/int3s/ee_dummy.int3 Making Mercury/ints/ee_dummy.int Making Mercury/javas/jmercury/ee_dummy.java Making Java class files Mercury/javas/jmercury/ee_dummy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_dummy__enum_functor_desc_dummy_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_dummy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_ordinal_ordered_dummy_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_name_ordered_dummy_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_dummy__type_ctor_info_dummy_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_dummy.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_dummy__enum_functor_desc_poly_dummy_type_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_dummy.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_ordinal_ordered_poly_dummy_type_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_name_ordered_poly_dummy_type_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_dummy__type_ctor_info_poly_dummy_type_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_dummy.java:113: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/ee_dummy.java:132: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/ee_dummy.java:225: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_dummy.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4) ^ Mercury/javas/jmercury/ee_dummy.java:248: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_dummy.java:296: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3) ^ Mercury/javas/jmercury/ee_dummy.java:417: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_dummy.java:418: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_dummy.java:406: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_dummy.java:407: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_dummy.java:319: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ee_dummy.java:361: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ee_dummy.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ee_dummy"; ^ Mercury/javas/jmercury/ee_dummy.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ee_dummy.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ee_dummy.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ee_dummy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ee_dummy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_dummy__enum_functor_desc_dummy_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_dummy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_ordinal_ordered_dummy_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_name_ordered_dummy_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_dummy__type_ctor_info_dummy_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_dummy.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_dummy__enum_functor_desc_poly_dummy_type_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_dummy.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_ordinal_ordered_poly_dummy_type_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_dummy__enum_name_ordered_poly_dummy_type_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ee_dummy.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_dummy__type_ctor_info_poly_dummy_type_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_dummy.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/ee_dummy.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_dummy.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_dummy.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/ee_dummy.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_dummy.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_dummy.java:116: error: package bool does not exist bool.Bool_0 Result_2 = null; ^ Mercury/javas/jmercury/ee_dummy.java:120: error: package bool does not exist bool.Bool_0 Result; ^ ee_dummy.m:69: error: cannot find symbol Result = (X == FOO_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy ee_dummy.m:69: error: cannot find symbol Result = (X == FOO_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:135: error: package bool does not exist bool.Bool_0 Result_2 = null; ^ Mercury/javas/jmercury/ee_dummy.java:139: error: package bool does not exist bool.Bool_0 Result; ^ ee_dummy.m:90: error: cannot find symbol Result = (X == BAR_poly_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy ee_dummy.m:90: error: cannot find symbol Result = (X == BAR_poly_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:154: error: package bool does not exist bool.Bool_0 DummyTypeSucceeded_4 = null; ^ Mercury/javas/jmercury/ee_dummy.java:155: error: package bool does not exist bool.Bool_0 PolyDummyTypeSucceeded_5 = null; ^ Mercury/javas/jmercury/ee_dummy.java:159: error: package bool does not exist bool.Bool_0 Result; ^ ee_dummy.m:69: error: cannot find symbol Result = (X == FOO_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy ee_dummy.m:69: error: cannot find symbol Result = (X == FOO_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:168: error: illegal start of type switch (DummyTypeSucceeded_4.MR_value) { ^ Mercury/javas/jmercury/ee_dummy.java:174: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:183: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:188: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/ee_dummy.java:192: error: package bool does not exist bool.Bool_0 Result; ^ ee_dummy.m:90: error: cannot find symbol Result = (X == BAR_poly_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy ee_dummy.m:90: error: cannot find symbol Result = (X == BAR_poly_dummy_type) ? bool.YES : bool.NO; ^ symbol: variable bool location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:201: error: illegal start of type switch (PolyDummyTypeSucceeded_5.MR_value) { ^ Mercury/javas/jmercury/ee_dummy.java:207: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:216: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class ee_dummy Mercury/javas/jmercury/ee_dummy.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/ee_dummy.java:228: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_dummy.java:228: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_dummy.java:239: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_dummy.java:252: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_dummy.java:252: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_dummy.java:264: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_dummy.java:267: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = ee_dummy.__Compare____poly_dummy_type_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1)); ^ Mercury/javas/jmercury/ee_dummy.java:312: error: package jmercury.runtime does not exist succeeded = ee_dummy.__Unify____poly_dummy_type_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1)); ^ Mercury/javas/jmercury/ee_dummy.java:348: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/ee_dummy.java:391: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 79 errors gmake[3]: *** [/tmp/mmake.crj9SW:2411: ee_dummy] Error 1 gmake[3]: Target 'ee_dummy.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ee_dummy.log] Error 1 RUNNING TEST hard_coded/elim_local_var_char in grade java FAILED TEST hard_coded/elim_local_var_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --eliminate-local-vars '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - elim_local_var_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --eliminate-local-vars '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - elim_local_var_char Making Mercury/int3s/elim_local_var_char.int3 Making Mercury/ints/elim_local_var_char.int Making Mercury/javas/jmercury/elim_local_var_char.java Making Java class files Mercury/javas/jmercury/elim_local_var_char.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_local_var_char__enum_functor_desc_rhymes_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_local_var_char.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_local_var_char__enum_functor_desc_rhymes_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_local_var_char.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_local_var_char__enum_ordinal_ordered_rhymes_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/elim_local_var_char.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_local_var_char__enum_name_ordered_rhymes_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/elim_local_var_char.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_local_var_char__type_ctor_info_rhymes_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_local_var_char.java:226: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/elim_local_var_char.java:227: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/elim_local_var_char.java:118: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/elim_local_var_char.java:182: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/elim_local_var_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "elim_local_var_char"; ^ Mercury/javas/jmercury/elim_local_var_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/elim_local_var_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/elim_local_var_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/elim_local_var_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/elim_local_var_char.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_local_var_char__enum_functor_desc_rhymes_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_local_var_char.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_local_var_char__enum_functor_desc_rhymes_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_local_var_char.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_local_var_char__enum_ordinal_ordered_rhymes_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/elim_local_var_char.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_local_var_char__enum_name_ordered_rhymes_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/elim_local_var_char.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_local_var_char__type_ctor_info_rhymes_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_local_var_char.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/elim_local_var_char.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/elim_local_var_char.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/elim_local_var_char.java:93: error: cannot find symbol io.write_char_3_p_0((97)); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:96: error: cannot find symbol io.write_char_3_p_0((33)); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:99: error: cannot find symbol io.write_char_3_p_0((10)); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:105: error: cannot find symbol io.write_char_3_p_0((10)); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:114: error: package jmercury.runtime does not exist io.write_3_p_0(jmercury.runtime.TypeInfo_Struct.maybe_new(elim_local_var_char.elim_local_var_char__type_ctor_info_rhymes_0), ((java.lang.Object) (X_4))); ^ Mercury/javas/jmercury/elim_local_var_char.java:114: error: cannot find symbol io.write_3_p_0(jmercury.runtime.TypeInfo_Struct.maybe_new(elim_local_var_char.elim_local_var_char__type_ctor_info_rhymes_0), ((java.lang.Object) (X_4))); ^ symbol: variable io location: class elim_local_var_char Mercury/javas/jmercury/elim_local_var_char.java:124: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_local_var_char.java:125: 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 Rhymes_0 Mercury/javas/jmercury/elim_local_var_char.java:126: 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 Rhymes_0 Mercury/javas/jmercury/elim_local_var_char.java:130: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/elim_local_var_char.java:135: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/elim_local_var_char.java:137: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/elim_local_var_char.java:148: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_local_var_char.java:162: 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 Rhymes_0 Mercury/javas/jmercury/elim_local_var_char.java:162: 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 Rhymes_0 Mercury/javas/jmercury/elim_local_var_char.java:211: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors gmake[3]: *** [/tmp/mmake.usuqZk:2411: elim_local_var_char] Error 1 gmake[3]: Target 'elim_local_var_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: elim_local_var_char.log] Error 1 FAILED TEST hard_coded/ee_valid_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ee_valid_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ee_valid_test Making Mercury/int3s/ee_valid_test.int3 Making Mercury/ints/ee_valid_test.int Making Mercury/javas/jmercury/ee_valid_test.java Making Java class files Mercury/javas/jmercury/ee_valid_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:540: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_valid_test.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_valid_test.java:553: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/ee_valid_test.java:554: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ee_valid_test.java:352: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_valid_test.java:391: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ee_valid_test.java:478: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ee_valid_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ee_valid_test"; ^ Mercury/javas/jmercury/ee_valid_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ee_valid_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ee_valid_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ee_valid_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ee_valid_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/ee_valid_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ee_valid_test__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ee_valid_test.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ee_valid_test__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/ee_valid_test.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ee_valid_test__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ee_valid_test.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/ee_valid_test.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_valid_test.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_valid_test.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/ee_valid_test.java:149: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ee_valid_test.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ee_valid_test.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:185: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:196: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(ee_valid_test.ee_valid_test__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/ee_valid_test.java:198: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:202: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:214: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:218: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:230: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_16))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:234: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:246: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:250: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:261: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(ee_valid_test.ee_valid_test__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/ee_valid_test.java:263: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class ee_valid_test Mercury/javas/jmercury/ee_valid_test.java:358: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:359: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:360: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/ee_valid_test.java:369: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/ee_valid_test.java:371: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_valid_test.java:382: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:397: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:398: 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 Fruit_0 Mercury/javas/jmercury/ee_valid_test.java:399: 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 Fruit_0 Mercury/javas/jmercury/ee_valid_test.java:403: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/ee_valid_test.java:408: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/ee_valid_test.java:410: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/ee_valid_test.java:421: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ee_valid_test.java:435: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:435: 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 Foo_0 Mercury/javas/jmercury/ee_valid_test.java:458: 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 Fruit_0 Mercury/javas/jmercury/ee_valid_test.java:458: 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 Fruit_0 Mercury/javas/jmercury/ee_valid_test.java:525: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors gmake[3]: *** [/tmp/mmake.0axzTa:2411: ee_valid_test] Error 1 gmake[3]: Target 'ee_valid_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ee_valid_test.log] Error 1 RUNNING TEST hard_coded/elim_special_pred in grade java RUNNING TEST hard_coded/equality_pred_which_requires_boxing in grade java FAILED TEST hard_coded/equality_pred_which_requires_boxing in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - equality_pred_which_requires_boxing.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - equality_pred_which_requires_boxing Making Mercury/int3s/equality_pred_which_requires_boxing.int3 Making Mercury/ints/equality_pred_which_requires_boxing.int Making Mercury/javas/jmercury/equality_pred_which_requires_boxing.java Making Java class files Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:337: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:415: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:446: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:444: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:528: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:574: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:616: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "equality_pred_which_requires_boxing"; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_1))), ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_31_31 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:128: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:128: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:138: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:146: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:172: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_0); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:202: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:210: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:236: error: package jmercury.runtime does not exist TypeInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:266: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:274: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:289: error: cannot find symbol io.write_string_3_p_0(S_6); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:292: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_16, X_7, Y_8); ^ symbol: variable builtin location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:299: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:307: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:420: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:421: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_0); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:421: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_0); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:424: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_non_canonical_type_3_p_0(TypeCtorInfo_4_4, ((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (HeadVar__3_3))); ^ symbol: variable private_builtin location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:435: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:450: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:451: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_1); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:451: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(equality_pred_which_requires_boxing.equality_pred_which_requires_boxing__type_ctor_info_type_which_needs_boxing_1); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:452: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:455: error: package jmercury.runtime does not exist TypeInfo_6_6 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:461: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_non_canonical_type_3_p_0(TypeInfo_6_6, ((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (HeadVar__3_3))); ^ symbol: variable private_builtin location: class equality_pred_which_requires_boxing Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:473: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:476: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = equality_pred_which_requires_boxing.__Compare____type_which_needs_boxing_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((Double) wrapper_arg_3), ((Double) wrapper_arg_4)); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:567: error: package jmercury.runtime does not exist succeeded = equality_pred_which_requires_boxing.__Unify____type_which_needs_boxing_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((Double) wrapper_arg_2), ((Double) wrapper_arg_3)); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:603: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/equality_pred_which_requires_boxing.java:646: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 68 errors gmake[3]: *** [/tmp/mmake.XkjRVn:2411: equality_pred_which_requires_boxing] Error 1 gmake[3]: Target 'equality_pred_which_requires_boxing.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: equality_pred_which_requires_boxing.log] Error 1 RUNNING TEST hard_coded/eqv_type_bug in grade java FAILED TEST hard_coded/elim_special_pred in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - elim_special_pred.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - elim_special_pred Making Mercury/int3s/elim_special_pred.int3 Making Mercury/ints/elim_special_pred.int Making Mercury/javas/jmercury/elim_special_pred.java Making Java class files Mercury/javas/jmercury/elim_special_pred.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_special_pred__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/elim_special_pred.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_special_pred__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/elim_special_pred.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_special_pred__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_special_pred.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] elim_special_pred__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc elim_special_pred__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] elim_special_pred__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] elim_special_pred__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] elim_special_pred__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_special_pred__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_special_pred.java:443: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/elim_special_pred.java:462: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/elim_special_pred.java:463: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/elim_special_pred.java:234: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/elim_special_pred.java:273: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/elim_special_pred.java:383: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/elim_special_pred.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "elim_special_pred"; ^ Mercury/javas/jmercury/elim_special_pred.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/elim_special_pred.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/elim_special_pred.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/elim_special_pred.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/elim_special_pred.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc elim_special_pred__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_special_pred__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/elim_special_pred.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] elim_special_pred__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/elim_special_pred.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_special_pred__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_special_pred.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] elim_special_pred__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc elim_special_pred__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/elim_special_pred.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] elim_special_pred__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] elim_special_pred__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] elim_special_pred__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/elim_special_pred.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct elim_special_pred__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/elim_special_pred.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/elim_special_pred.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/elim_special_pred.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/elim_special_pred.java:100: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) elim_special_pred.elim_special_pred__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/elim_special_pred.java:105: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:113: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/elim_special_pred.java:121: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/elim_special_pred.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/elim_special_pred.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/elim_special_pred.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(elim_special_pred.elim_special_pred__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/elim_special_pred.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(elim_special_pred.elim_special_pred__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/elim_special_pred.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:187: error: package univ does not exist univ.Univ_0 XArg_7 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:189: error: package univ does not exist univ.Univ_0 YArg_9 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:190: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_14 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/elim_special_pred.java:190: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_14 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/elim_special_pred.java:192: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_16 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:196: error: cannot find symbol java.lang.Object [] result = deconstruct.det_arg_4_p_1(TypeCtorInfo_21_21, ((java.lang.Object) (X_4)), Var_14, Var_15); ^ symbol: variable deconstruct location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:197: error: package jmercury.runtime does not exist TypeInfo_22_22 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/elim_special_pred.java:201: error: cannot find symbol XArg_7 = univ.type_to_univ_2_p_1(TypeInfo_22_22, PseudoXArg_6); ^ symbol: variable univ location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:203: error: package deconstruct does not exist Var_16 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/elim_special_pred.java:206: error: cannot find symbol java.lang.Object [] result = deconstruct.det_arg_4_p_1(TypeCtorInfo_21_21, ((java.lang.Object) (Y_5)), Var_16, Var_17); ^ symbol: variable deconstruct location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:207: error: package jmercury.runtime does not exist TypeInfo_23_23 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/elim_special_pred.java:211: error: cannot find symbol YArg_9 = univ.type_to_univ_2_p_1(TypeInfo_23_23, PseudoYArg_8); ^ symbol: variable univ location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:214: error: cannot find symbol succeeded = univ.__Unify____univ_0_0(XArg_7, YArg_9); ^ symbol: variable univ location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:221: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:229: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class elim_special_pred Mercury/javas/jmercury/elim_special_pred.java:240: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:241: 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 Enum_0 Mercury/javas/jmercury/elim_special_pred.java:242: 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 Enum_0 Mercury/javas/jmercury/elim_special_pred.java:246: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/elim_special_pred.java:251: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/elim_special_pred.java:253: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/elim_special_pred.java:264: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:279: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:285: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/elim_special_pred.java:290: error: cannot find symbol int Var_9 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Enum_0 Mercury/javas/jmercury/elim_special_pred.java:291: error: cannot find symbol int Var_10 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Enum_0 Mercury/javas/jmercury/elim_special_pred.java:295: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/elim_special_pred.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/elim_special_pred.java:302: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/elim_special_pred.java:314: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/elim_special_pred.java:328: 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 Enum_0 Mercury/javas/jmercury/elim_special_pred.java:328: 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 Enum_0 Mercury/javas/jmercury/elim_special_pred.java:363: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgX1_3 of type Enum_0 Mercury/javas/jmercury/elim_special_pred.java:363: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgY1_4 of type Enum_0 Mercury/javas/jmercury/elim_special_pred.java:430: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 91 errors gmake[3]: *** [/tmp/mmake.9BikR8:2411: elim_special_pred] Error 1 gmake[3]: Target 'elim_special_pred.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: elim_special_pred.log] Error 1 RUNNING TEST hard_coded/eqvclass_bug in grade java FAILED TEST hard_coded/eqvclass_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - eqvclass_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - eqvclass_bug Making Mercury/int3s/eqvclass_bug.int3 Making Mercury/ints/eqvclass_bug.int Making Mercury/javas/jmercury/eqvclass_bug.java Making Java class files Mercury/javas/jmercury/eqvclass_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/eqvclass_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "eqvclass_bug"; ^ Mercury/javas/jmercury/eqvclass_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/eqvclass_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/eqvclass_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/eqvclass_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/eqvclass_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/eqvclass_bug.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/eqvclass_bug.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(eqvclass.eqvclass__type_ctor_info_eqvclass_1))), ^ symbol: variable eqvclass location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(eqvclass.eqvclass__type_ctor_info_eqvclass_1))), ^ Mercury/javas/jmercury/eqvclass_bug.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/eqvclass_bug.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqvclass_bug.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqvclass_bug.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/eqvclass_bug.java:53: error: package eqvclass does not exist eqvclass.Eqvclass_1 NewEqvClass_4 = null; ^ Mercury/javas/jmercury/eqvclass_bug.java:56: error: package eqvclass does not exist eqvclass.Eqvclass_1 Var_9 = null; ^ Mercury/javas/jmercury/eqvclass_bug.java:59: error: cannot find symbol Var_9 = eqvclass.init_0_f_0(TypeCtorInfo_10_10); ^ symbol: variable eqvclass location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:62: error: cannot find symbol NewEqvClass_4 = eqvclass.ensure_equivalence_4_p_0(TypeCtorInfo_10_10, java.lang.Integer.valueOf(Var_7), java.lang.Integer.valueOf(Var_8), Var_9); ^ symbol: variable eqvclass location: class eqvclass_bug Mercury/javas/jmercury/eqvclass_bug.java:64: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(eqvclass_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/eqvclass_bug.java:66: error: cannot find symbol io.print_line_3_p_0(TypeInfo_11_11, ((java.lang.Object) (NewEqvClass_4))); ^ symbol: variable io location: class eqvclass_bug 28 errors gmake[3]: *** [/tmp/mmake.6tpSvk:2411: eqvclass_bug] Error 1 gmake[3]: Target 'eqvclass_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: eqvclass_bug.log] Error 1 RUNNING TEST hard_coded/erroneous_liveness in grade java FAILED TEST hard_coded/eqv_type_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - eqv_type_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - eqv_type_bug Making Mercury/int3s/eqv_type_bug.int3 Making Mercury/int3s/eqv_type_bug_helper_1.int3 Making Mercury/ints/eqv_type_bug_helper_1.int Making Mercury/ints/eqv_type_bug.int Making Mercury/javas/jmercury/eqv_type_bug_helper_1.java Making Mercury/javas/jmercury/eqv_type_bug.java Making Java class files Mercury/javas/jmercury/eqv_type_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/eqv_type_bug.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/eqv_type_bug.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/eqv_type_bug.java:122: error: package pair does not exist pair.Pair_2 LambdaHeadVar__2_18) ^ Mercury/javas/jmercury/eqv_type_bug.java:119: error: package pair does not exist private static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug.java:203: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__pseudo_list__pti_list_1__pseudo_1__pseudo_list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:17: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct eqv_type_bug_helper_1__type_ctor_info_cqueue_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:61: 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/eqv_type_bug_helper_1.java:62: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:83: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:80: error: package pair does not exist public static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:106: error: package pair does not exist public static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:117: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_21, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:118: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:115: error: package pair does not exist public static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:205: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:202: error: package pair does not exist public static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:270: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:271: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:268: error: package pair does not exist public static pair.Pair_2 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:336: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:337: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:368: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:369: error: package pair does not exist pair.Pair_2 HeadVar__2_2, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:370: error: package pair does not exist pair.Pair_2 HeadVar__3_3) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:366: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:408: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:409: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:410: error: package pair does not exist pair.Pair_2 HeadVar__2_2) ^ Mercury/javas/jmercury/eqv_type_bug_helper_1.java:446: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/eqv_type_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "eqv_type_bug"; ^ Mercury/javas/jmercury/eqv_type_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/eqv_type_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/eqv_type_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/eqv_type_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/eqv_type_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/eqv_type_bug.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/eqv_type_bug.java:44: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) eqv_type_bug.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/eqv_type_bug.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) eqv_type_bug.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/eqv_type_bug.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/eqv_type_bug.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/eqv_type_bug.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/eqv_type_bug.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/eqv_type_bug.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(eqv_type_bug_helper_1.eqv_type_bug_helper_1__type_ctor_info_cqueue_1))), ^ Mercury/javas/jmercury/eqv_type_bug.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/eqv_type_bug.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/eqv_type_bug.java:85: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/eqv_type_bug.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/eqv_type_bug.java:89: error: package list does not exist (list.List_1) eqv_type_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/eqv_type_bug.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/eqv_type_bug.java:94: error: package list does not exist (list.List_1) eqv_type_bug.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/eqv_type_bug.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/eqv_type_bug.java:99: error: package list does not exist (list.List_1) eqv_type_bug.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/eqv_type_bug.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/eqv_type_bug.java:104: error: package list does not exist (list.List_1) eqv_type_bug.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/eqv_type_bug.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/eqv_type_bug.java:109: error: package list does not exist (list.List_1) eqv_type_bug.MR_scalar_common_5[3] ^ Mercury/javas/jmercury/eqv_type_bug.java:124: error: package pair does not exist pair.Pair_2 LambdaHeadVar__3_19 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqv_type_bug.java:125: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqv_type_bug.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqv_type_bug.java:136: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/eqv_type_bug.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_36_36 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:138: error: package pair does not exist pair.Pair_2 CQ0_4 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:139: error: package pair does not exist pair.Pair_2 CQ0c_5 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:140: error: package pair does not exist pair.Pair_2 CQ1_9 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:141: error: package pair does not exist pair.Pair_2 CQ1c_10 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:142: error: package pair does not exist pair.Pair_2 CQ2_11 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:143: error: package pair does not exist pair.Pair_2 CQ2c_12 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:145: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/eqv_type_bug.java:154: error: package jmercury.runtime does not exist TypeInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(eqv_type_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/eqv_type_bug.java:156: error: cannot find symbol conv0_CQ0c_5 = builtin.copy_2_p_1(TypeInfo_36_36, ((java.lang.Object) (CQ0_4))); ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:158: error: package pair does not exist CQ0c_5 = ((pair.Pair_2) conv0_CQ0c_5); ^ Mercury/javas/jmercury/eqv_type_bug.java:160: error: package list does not exist Var_16 = (list.List_1) eqv_type_bug.MR_scalar_common_5[4]; ^ Mercury/javas/jmercury/eqv_type_bug.java:162: error: cannot find symbol conv2_CQ1_9 = list.foldl_4_p_0(TypeCtorInfo_35_35, TypeInfo_36_36, Var_15, Var_16, ((java.lang.Object) (CQ0c_5))); ^ symbol: variable list location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:164: error: package pair does not exist CQ1_9 = ((pair.Pair_2) conv2_CQ1_9); ^ Mercury/javas/jmercury/eqv_type_bug.java:166: error: cannot find symbol conv3_CQ1c_10 = builtin.copy_2_p_1(TypeInfo_36_36, ((java.lang.Object) (CQ1_9))); ^ symbol: variable builtin location: class eqv_type_bug Mercury/javas/jmercury/eqv_type_bug.java:168: error: package pair does not exist CQ1c_10 = ((pair.Pair_2) conv3_CQ1c_10); ^ Mercury/javas/jmercury/eqv_type_bug.java:170: error: cannot find symbol io.write_line_3_p_0(TypeInfo_36_36, ((java.lang.Object) (CQ1c_10))); ^ symbol: variable io location: class eqv_type_bug 100 errors gmake[3]: *** [/tmp/mmake.DbyByu:2411: eqv_type_bug] Error 1 gmake[3]: Target 'eqv_type_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: eqv_type_bug.log] Error 1 RUNNING TEST hard_coded/error_func in grade java FAILED TEST hard_coded/error_func in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - error_func.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - error_func Making Mercury/int3s/error_func.int3 Making Mercury/ints/error_func.int Making Mercury/javas/jmercury/error_func.java Making Java class files Mercury/javas/jmercury/error_func.java:32: 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/error_func.java:317: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/error_func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "error_func"; ^ Mercury/javas/jmercury/error_func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/error_func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/error_func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class error_func Mercury/javas/jmercury/error_func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class error_func Mercury/javas/jmercury/error_func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/error_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/error_func.java:32: 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/error_func.java:38: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/error_func.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/error_func.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/error_func.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/error_func.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/error_func.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/error_func.java:50: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class error_func Mercury/javas/jmercury/error_func.java:50: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/error_func.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class error_func Mercury/javas/jmercury/error_func.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/error_func.java:85: error: package list does not exist list.List_1 Args_4 = null; ^ Mercury/javas/jmercury/error_func.java:88: error: cannot find symbol Args_4 = io.command_line_arguments_3_p_0(); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_73 = null; ^ Mercury/javas/jmercury/error_func.java:106: error: cannot find symbol io.write_string_3_p_0(Var_65); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:108: error: package string__parse_util does not exist Var_73 = (string__parse_util.String_format_flags_0) error_func.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/error_func.java:110: error: cannot find symbol Var_67 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_73, Answer_6); ^ symbol: variable string__format location: class error_func Mercury/javas/jmercury/error_func.java:113: error: cannot find symbol io.write_string_3_p_0(Var_67); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:117: error: cannot find symbol io.write_string_3_p_0(Var_74); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:122: error: package list does not exist list.List_1 Var_41 = ((list.List_1.F_cons_2) Args_4).F2; ^ Mercury/javas/jmercury/error_func.java:122: error: package list.List_1 does not exist list.List_1 Var_41 = ((list.List_1.F_cons_2) Args_4).F2; ^ Mercury/javas/jmercury/error_func.java:123: error: package list.List_1 does not exist java.lang.String Var_42 = ((java.lang.String) ((list.List_1.F_cons_2) Args_4).F1); ^ Mercury/javas/jmercury/error_func.java:131: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(Var_42); ^ symbol: variable string location: class error_func Mercury/javas/jmercury/error_func.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/error_func.java:142: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class error_func Mercury/javas/jmercury/error_func.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/error_func.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_52 = null; ^ Mercury/javas/jmercury/error_func.java:156: error: cannot find symbol java.lang.Object [] result = benchmarking.benchmark_det_5_p_0(TypeCtorInfo_40_40, TypeCtorInfo_40_40, Var_22, java.lang.Integer.valueOf(N_37), Var_23); ^ symbol: variable benchmarking location: class error_func Mercury/javas/jmercury/error_func.java:163: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:165: error: package string__parse_util does not exist Var_52 = (string__parse_util.String_format_flags_0) error_func.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/error_func.java:167: error: cannot find symbol Var_46 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_52, Answer_36); ^ symbol: variable string__format location: class error_func Mercury/javas/jmercury/error_func.java:170: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:174: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:177: error: cannot find symbol Var_56 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_52, Time_8); ^ symbol: variable string__format location: class error_func Mercury/javas/jmercury/error_func.java:180: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:184: error: cannot find symbol io.write_string_3_p_0(Var_63); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:192: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:201: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class error_func Mercury/javas/jmercury/error_func.java:290: error: cannot find symbol require.error_1_p_0(Var_15); ^ symbol: variable require location: class error_func 52 errors gmake[3]: *** [/tmp/mmake.bQFa2T:2411: error_func] Error 1 gmake[3]: Target 'error_func.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: error_func.log] Error 1 RUNNING TEST hard_coded/exist_cons_ho_arg in grade java FAILED TEST hard_coded/erroneous_liveness in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - erroneous_liveness.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - erroneous_liveness Making Mercury/int3s/erroneous_liveness.int3 Making Mercury/ints/erroneous_liveness.int Making Mercury/javas/jmercury/erroneous_liveness.java Making Java class files Mercury/javas/jmercury/erroneous_liveness.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_buffer_size_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_cardinality_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_ordinal_ordered_column_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_name_ordered_column_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_column_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_cost_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_entry_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct set_ordlist__ti_set_ordlist_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_field_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_field_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_stag_ordered_field_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] erroneous_liveness__du_ptag_ordered_field_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_name_ordered_field_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_field_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_indexing_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_indexing_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_ordinal_ordered_indexing_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/erroneous_liveness.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_name_ordered_indexing_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/erroneous_liveness.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_indexing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_operation_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_operation_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_operation_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_operation_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_operation_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_operation_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/erroneous_liveness.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_operation_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_operation_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_stag_ordered_operation_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/erroneous_liveness.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] erroneous_liveness__du_ptag_ordered_operation_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_name_ordered_operation_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/erroneous_liveness.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_operation_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct set_ordlist__ti_set_ordlist_1erroneous_liveness__type_ctor_info_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_table_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/erroneous_liveness.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_table_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_stag_ordered_table_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] erroneous_liveness__du_ptag_ordered_table_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_name_ordered_table_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:77: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] erroneous_liveness__field_types_tuple_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc erroneous_liveness__du_functor_desc_tuple_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_stag_ordered_tuple_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] erroneous_liveness__du_ptag_ordered_tuple_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] erroneous_liveness__du_name_ordered_tuple_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/erroneous_liveness.java:84: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_tuple_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:593: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/erroneous_liveness.java:594: 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/erroneous_liveness.java:645: error: package list does not exist list.List_1 SCL_4, ^ Mercury/javas/jmercury/erroneous_liveness.java:646: error: package list does not exist list.List_1 SL0_5) ^ Mercury/javas/jmercury/erroneous_liveness.java:643: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/erroneous_liveness.java:2504: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:993: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/erroneous_liveness.java:1035: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/erroneous_liveness.java:1036: error: package list does not exist list.List_1 SCL_2, ^ Mercury/javas/jmercury/erroneous_liveness.java:1037: error: package list does not exist list.List_1 SL0_3) ^ Mercury/javas/jmercury/erroneous_liveness.java:1033: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/erroneous_liveness.java:2395: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:1114: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:1153: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:2561: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/erroneous_liveness.java:2562: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:1192: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:1231: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:1270: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:1300: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:2574: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/erroneous_liveness.java:2575: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:1385: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:2418: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:1424: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:1600: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:2536: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/erroneous_liveness.java:1722: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/erroneous_liveness.java:2511: error: package set_ordlist does not exist public set_ordlist.Set_ordlist_1 F6; ^ Mercury/javas/jmercury/erroneous_liveness.java:2524: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 F6) ^ Mercury/javas/jmercury/erroneous_liveness.java:2399: error: package set_ordlist does not exist public set_ordlist.Set_ordlist_1 F3; ^ Mercury/javas/jmercury/erroneous_liveness.java:2409: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 F3) ^ Mercury/javas/jmercury/erroneous_liveness.java:2191: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/erroneous_liveness.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "erroneous_liveness"; ^ Mercury/javas/jmercury/erroneous_liveness.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/erroneous_liveness.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/erroneous_liveness.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/erroneous_liveness.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class erroneous_liveness Mercury/javas/jmercury/erroneous_liveness.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/erroneous_liveness.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_buffer_size_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_cardinality_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc erroneous_liveness__enum_functor_desc_column_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/erroneous_liveness.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_ordinal_ordered_column_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] erroneous_liveness__enum_name_ordered_column_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/erroneous_liveness.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_column_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/erroneous_liveness.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct erroneous_liveness__type_ctor_info_cost_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ 100 errors gmake[3]: *** [/tmp/mmake.TdQhND:2411: erroneous_liveness] Error 1 gmake[3]: Target 'erroneous_liveness.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: erroneous_liveness.log] Error 1 RUNNING TEST hard_coded/existential_bound_tvar in grade java FAILED TEST hard_coded/exist_cons_ho_arg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - exist_cons_ho_arg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - exist_cons_ho_arg Making Mercury/int3s/exist_cons_ho_arg.int3 Making Mercury/ints/exist_cons_ho_arg.int Making Mercury/javas/jmercury/exist_cons_ho_arg.java Making Java class files Mercury/javas/jmercury/exist_cons_ho_arg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_513__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] exist_cons_ho_arg__field_types_command_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] exist_cons_ho_arg__exist_locns_command_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo exist_cons_ho_arg__exist_info_command_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc exist_cons_ho_arg__du_functor_desc_command_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exist_cons_ho_arg__du_stag_ordered_command_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] exist_cons_ho_arg__du_ptag_ordered_command_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exist_cons_ho_arg__du_name_ordered_command_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct exist_cons_ho_arg__type_ctor_info_command_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:464: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:265: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:466: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:476: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:404: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "exist_cons_ho_arg"; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_513__pseudo_513 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] exist_cons_ho_arg__field_types_command_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] exist_cons_ho_arg__exist_locns_command_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo exist_cons_ho_arg__exist_info_command_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc exist_cons_ho_arg__du_functor_desc_command_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exist_cons_ho_arg__du_stag_ordered_command_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] exist_cons_ho_arg__du_ptag_ordered_command_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] exist_cons_ho_arg__du_name_ordered_command_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct exist_cons_ho_arg__type_ctor_info_command_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:46: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513), ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513) ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) exist_cons_ho_arg.__vpti_pred_2__pseudo_513__pseudo_513; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:72: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:80: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:88: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:142: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:142: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:143: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:143: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:173: error: cannot find symbol Var_4 = string.f_43_43_2_f_0(S_3, S_3); ^ symbol: variable string location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:176: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(S_3, Var_4); ^ symbol: variable string location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:195: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_10_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_19 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:207: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:208: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:212: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_9)[1]); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:214: error: package jmercury.runtime does not exist Y_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_9))), ((java.lang.Object) (X_8)))); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:217: error: cannot find symbol io.write_line_3_p_0(TypeInfo_10_11, Y_10); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:219: error: cannot find symbol TypeInfo_10_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:219: error: package jmercury.runtime does not exist TypeInfo_10_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:224: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_17)[1]); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:226: error: package jmercury.runtime does not exist Y_18 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_17))), ((java.lang.Object) (X_16)))); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:229: error: cannot find symbol io.write_line_3_p_0(TypeInfo_10_19, Y_18); ^ symbol: variable io location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:271: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:277: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = ((exist_cons_ho_arg.Command_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = ((exist_cons_ho_arg.Command_0) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:286: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:289: error: cannot find symbol SubResult1_6 = private_builtin.typed_compare_3_p_0(TypeInfo_11_11, TypeInfo_12_12, ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:291: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:296: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:296: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0); ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:296: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:297: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:298: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:301: error: package jmercury.runtime does not exist TypeInfo_14_14 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:308: error: package jmercury.runtime does not exist TypeInfo_15_15 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:315: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_14_14, TypeInfo_15_15, ((java.lang.Object) (ArgX2_7)), ((java.lang.Object) (ArgY2_8))); ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:328: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:351: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = ((exist_cons_ho_arg.Command_0) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:352: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = ((exist_cons_ho_arg.Command_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:353: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:354: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:355: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = null; ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:362: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_9_9, TypeInfo_10_10, ArgX1_3, ArgY1_4); ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:366: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0); ^ symbol: variable builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:366: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0); ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:368: error: package jmercury.runtime does not exist TypeInfo_12_12 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:375: error: package jmercury.runtime does not exist TypeInfo_13_13 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/exist_cons_ho_arg.java:382: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_12_12, TypeInfo_13_13, ((java.lang.Object) (ArgX2_5)), ((java.lang.Object) (ArgY2_6))); ^ symbol: variable private_builtin location: class exist_cons_ho_arg Mercury/javas/jmercury/exist_cons_ho_arg.java:451: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 99 errors gmake[3]: *** [/tmp/mmake.m5TAgF:2411: exist_cons_ho_arg] Error 1 gmake[3]: Target 'exist_cons_ho_arg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: exist_cons_ho_arg.log] Error 1 RUNNING TEST hard_coded/existential_float in grade java FAILED TEST hard_coded/existential_bound_tvar in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_bound_tvar.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_bound_tvar Making Mercury/int3s/existential_bound_tvar.int3 Making Mercury/ints/existential_bound_tvar.int Making Mercury/javas/jmercury/existential_bound_tvar.java Making Java class files Mercury/javas/jmercury/existential_bound_tvar.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/existential_bound_tvar.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/existential_bound_tvar.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/existential_bound_tvar.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_bound_tvar"; ^ Mercury/javas/jmercury/existential_bound_tvar.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_bound_tvar.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_bound_tvar.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_bound_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_bound_tvar.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/existential_bound_tvar.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/existential_bound_tvar.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/existential_bound_tvar.java:38: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/existential_bound_tvar.java:40: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/existential_bound_tvar.java:42: error: package list does not exist (list.List_1) existential_bound_tvar.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/existential_bound_tvar.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/existential_bound_tvar.java:46: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ symbol: variable list location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:46: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ Mercury/javas/jmercury/existential_bound_tvar.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/existential_bound_tvar.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_bound_tvar.java:61: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_bound_tvar.java:62: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_39_39 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_49 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_15 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_23 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:75: error: package list does not exist list.List_1 HeadVar__2_47 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_40_40 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:79: error: package list does not exist list.List_1 Var_53 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:85: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:88: error: cannot find symbol io.print_line_3_p_0(TypeInfo_37_37, X_4); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:92: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:95: error: cannot find symbol Var_15 = type_desc.type_of_1_f_0(TypeInfo_37_37); ^ symbol: variable type_desc location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:97: error: cannot find symbol TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ symbol: variable type_desc location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:97: error: package jmercury.runtime does not exist TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ Mercury/javas/jmercury/existential_bound_tvar.java:99: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_38_38, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:101: error: package list does not exist HeadVar__2_47 = (list.List_1) existential_bound_tvar.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/existential_bound_tvar.java:102: error: package jmercury.runtime does not exist TypeInfo_for_T1_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(existential_bound_tvar.MR_scalar_common_3[0]); ^ Mercury/javas/jmercury/existential_bound_tvar.java:107: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:110: error: cannot find symbol io.print_line_3_p_0(TypeInfo_39_39, Y_5); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:114: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:117: error: cannot find symbol Var_23 = type_desc.type_of_1_f_0(TypeInfo_39_39); ^ symbol: variable type_desc location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:120: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_38_38, ((java.lang.Object) (Var_23))); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:125: error: package list.List_1 does not exist X_52 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_47).F1)).intValue(); ^ Mercury/javas/jmercury/existential_bound_tvar.java:125: error: illegal start of type X_52 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__2_47).F1)).intValue(); ^ Mercury/javas/jmercury/existential_bound_tvar.java:126: error: package list.List_1 does not exist Var_53 = ((list.List_1.F_cons_2) HeadVar__2_47).F2; ^ Mercury/javas/jmercury/existential_bound_tvar.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_33 = null; ^ Mercury/javas/jmercury/existential_bound_tvar.java:142: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:145: error: cannot find symbol io.print_line_3_p_0(TypeInfo_40_40, Z_6); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:149: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:152: error: cannot find symbol Var_33 = type_desc.type_of_1_f_0(TypeInfo_40_40); ^ symbol: variable type_desc location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:155: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_38_38, ((java.lang.Object) (Var_33))); ^ symbol: variable io location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/existential_bound_tvar.java:160: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class existential_bound_tvar Mercury/javas/jmercury/existential_bound_tvar.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/existential_bound_tvar.java:164: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_41_41, ((java.lang.Object) (Var_35))); ^ symbol: variable io location: class existential_bound_tvar 64 errors gmake[3]: *** [/tmp/mmake.PGIgVe:2411: existential_bound_tvar] Error 1 gmake[3]: Target 'existential_bound_tvar.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_bound_tvar.log] Error 1 RUNNING TEST hard_coded/existential_reordering in grade java FAILED TEST hard_coded/existential_reordering in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_reordering.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_reordering Making Mercury/int3s/existential_reordering.int3 Making Mercury/ints/existential_reordering.int Making Mercury/javas/jmercury/existential_reordering.java Making Java class files Mercury/javas/jmercury/existential_reordering.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/existential_reordering.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_reordering"; ^ Mercury/javas/jmercury/existential_reordering.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_reordering.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_reordering.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_reordering.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_reordering.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/existential_reordering.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/existential_reordering.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/existential_reordering.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/existential_reordering.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/existential_reordering.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/existential_reordering.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/existential_reordering.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/existential_reordering.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_reordering.java:52: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_reordering.java:53: error: package list does not exist list.List_1 L_4 = (list.List_1) existential_reordering.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/existential_reordering.java:53: error: package list does not exist list.List_1 L_4 = (list.List_1) existential_reordering.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/existential_reordering.java:54: error: package univ does not exist univ.Univ_0 Univ_5 = null; ^ Mercury/javas/jmercury/existential_reordering.java:58: error: package jmercury.runtime does not exist TypeInfo_14_14 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/existential_reordering.java:64: error: cannot find symbol Univ_5 = univ.univ_1_f_0(TypeInfo_14_14, ((java.lang.Object) (L_4))); ^ symbol: variable univ location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:67: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Univ_5))); ^ symbol: variable io location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct ExistQTypeInfo_for_T_5 = null; ^ Mercury/javas/jmercury/existential_reordering.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_reordering.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_reordering Mercury/javas/jmercury/existential_reordering.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ 35 errors gmake[3]: *** [/tmp/mmake.teJ2IV:2411: existential_reordering] Error 1 gmake[3]: Target 'existential_reordering.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_reordering.log] Error 1 RUNNING TEST hard_coded/existential_reordering_class in grade java FAILED TEST hard_coded/existential_float in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inform-inferred-types --no-inform-inferred-modes --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_float.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inform-inferred-types --no-inform-inferred-modes --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_float Making Mercury/int3s/existential_float.int3 Making Mercury/ints/existential_float.int Making Mercury/javas/jmercury/existential_float.java Making Java class files Mercury/javas/jmercury/existential_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc existential_float__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/existential_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc existential_float__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/existential_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] existential_float__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/existential_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] existential_float__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/existential_float.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_float__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_float.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/existential_float.java:1062: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/existential_float.java:1063: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/existential_float.java:203: error: package univ does not exist univ.Univ_0 X_4) ^ Mercury/javas/jmercury/existential_float.java:567: error: package univ does not exist univ.Univ_0 arg1, ^ Mercury/javas/jmercury/existential_float.java:581: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/existential_float.java:604: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/existential_float.java:672: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/existential_float.java:705: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct arg1, ^ Mercury/javas/jmercury/existential_float.java:795: error: package univ does not exist univ.Univ_0 Univ_3) ^ Mercury/javas/jmercury/existential_float.java:875: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/existential_float.java:154: error: package jmercury.runtime does not exist public final jmercury.runtime.TypeInfo_Struct vct_4_f_1; ^ Mercury/javas/jmercury/existential_float.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct vct_4_f_1) ^ Mercury/javas/jmercury/existential_float.java:939: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/existential_float.java:1017: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/existential_float.java:1078: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/existential_float.java:1081: error: package univ does not exist public univ.Univ_0 conv1_HeadVar__1_1; ^ Mercury/javas/jmercury/existential_float.java:1087: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/existential_float.java:1089: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct ExistQTypeInfo_for_T_6; ^ Mercury/javas/jmercury/existential_float.java:1091: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2; ^ Mercury/javas/jmercury/existential_float.java:1098: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/existential_float.java:1100: error: package univ does not exist public univ.Univ_0 HeadVar__1_1; ^ Mercury/javas/jmercury/existential_float.java:1101: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_3_3; ^ Mercury/javas/jmercury/existential_float.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_float"; ^ Mercury/javas/jmercury/existential_float.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_float.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_float.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_float Mercury/javas/jmercury/existential_float.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_float Mercury/javas/jmercury/existential_float.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc existential_float__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/existential_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc existential_float__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/existential_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] existential_float__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/existential_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] existential_float__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/existential_float.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_float__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_float.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/existential_float.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/existential_float.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/existential_float.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/existential_float.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/existential_float.java:96: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:96: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/existential_float.java:97: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:97: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/existential_float.java:98: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:98: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/existential_float.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/existential_float.java:102: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class existential_float Mercury/javas/jmercury/existential_float.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/existential_float.java:103: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ symbol: variable univ location: class existential_float Mercury/javas/jmercury/existential_float.java:103: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))) ^ Mercury/javas/jmercury/existential_float.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/existential_float.java:111: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:111: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/existential_float.java:136: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ symbol: variable univ location: class existential_float Mercury/javas/jmercury/existential_float.java:136: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ Mercury/javas/jmercury/existential_float.java:170: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0) ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0) ^ Mercury/javas/jmercury/existential_float.java:174: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0) ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0) ^ Mercury/javas/jmercury/existential_float.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5 = null; ^ Mercury/javas/jmercury/existential_float.java:191: error: package jmercury.runtime does not exist TypeInfo_for_T_5 = (jmercury.runtime.TypeInfo_Struct) result[1]; ^ Mercury/javas/jmercury/existential_float.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/existential_float.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/existential_float.java:211: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(X_4); ^ symbol: variable univ location: class existential_float Mercury/javas/jmercury/existential_float.java:212: error: package jmercury.runtime does not exist TypeInfo_11_11 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_float.java:216: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_11, Var_8); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:219: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(X_4); ^ symbol: variable univ location: class existential_float Mercury/javas/jmercury/existential_float.java:220: error: package jmercury.runtime does not exist TypeInfo_12_12 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_float.java:224: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_12, Var_10); ^ symbol: variable io location: class existential_float Mercury/javas/jmercury/existential_float.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_58_58 = null; ^ Mercury/javas/jmercury/existential_float.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_59_59 = null; ^ Mercury/javas/jmercury/existential_float.java:234: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_60_60 = null; ^ Mercury/javas/jmercury/existential_float.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_61_61 = null; ^ Mercury/javas/jmercury/existential_float.java:236: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_62_62 = null; ^ Mercury/javas/jmercury/existential_float.java:237: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_63_63 = null; ^ Mercury/javas/jmercury/existential_float.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_64_64 = null; ^ Mercury/javas/jmercury/existential_float.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/existential_float.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_66_66 = null; ^ Mercury/javas/jmercury/existential_float.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_67_67 = null; ^ Mercury/javas/jmercury/existential_float.java:242: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_68_68 = null; ^ Mercury/javas/jmercury/existential_float.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_69_69 = null; ^ Mercury/javas/jmercury/existential_float.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_79_79 = null; ^ Mercury/javas/jmercury/existential_float.java:245: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_80_80 = null; ^ Mercury/javas/jmercury/existential_float.java:246: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/existential_float.java:246: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class existential_float Mercury/javas/jmercury/existential_float.java:246: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/existential_float.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_87 = null; ^ Mercury/javas/jmercury/existential_float.java:248: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_88 = null; ^ Mercury/javas/jmercury/existential_float.java:249: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_90 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.1DHd8S:2411: existential_float] Error 1 gmake[3]: Target 'existential_float.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_float.log] Error 1 RUNNING TEST hard_coded/existential_type_switch_opt in grade java FAILED TEST hard_coded/existential_reordering_class in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_reordering_class.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_reordering_class Making Mercury/int3s/existential_reordering_class.int3 Making Mercury/ints/existential_reordering_class.int Making Mercury/javas/jmercury/existential_reordering_class.java Making Java class files Mercury/javas/jmercury/existential_reordering_class.java:33: 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/existential_reordering_class.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_reordering_class"; ^ Mercury/javas/jmercury/existential_reordering_class.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_reordering_class.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_reordering_class.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_reordering_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_reordering_class.java:33: 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/existential_reordering_class.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) mr_int.base_typeclass_info_enum__enum__arity1__int__arity0__)), ^ symbol: variable mr_int location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/existential_reordering_class.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/existential_reordering_class.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/existential_reordering_class.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/existential_reordering_class.java:55: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/existential_reordering_class.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/existential_reordering_class.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/existential_reordering_class.java:57: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/existential_reordering_class.java:60: error: package list does not exist list.List_1 L_4 = (list.List_1) existential_reordering_class.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/existential_reordering_class.java:60: error: package list does not exist list.List_1 L_4 = (list.List_1) existential_reordering_class.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/existential_reordering_class.java:61: error: package univ does not exist univ.Univ_0 Univ_5 = null; ^ Mercury/javas/jmercury/existential_reordering_class.java:66: error: cannot find symbol TypeInfo_12_12 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_enum_16, PolyConst1_17); ^ symbol: variable private_builtin location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:69: error: package jmercury.runtime does not exist TypeInfo_14_14 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/existential_reordering_class.java:75: error: cannot find symbol Univ_5 = univ.univ_1_f_0(TypeInfo_14_14, ((java.lang.Object) (L_4))); ^ symbol: variable univ location: class existential_reordering_class Mercury/javas/jmercury/existential_reordering_class.java:78: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Univ_5))); ^ symbol: variable io location: class existential_reordering_class 32 errors gmake[3]: *** [/tmp/mmake.nOBNAp:2411: existential_reordering_class] Error 1 gmake[3]: Target 'existential_reordering_class.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_reordering_class.log] Error 1 RUNNING TEST hard_coded/existential_types_test in grade java FAILED TEST hard_coded/existential_type_switch_opt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_type_switch_opt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_type_switch_opt Making Mercury/int3s/existential_type_switch_opt.int3 Making Mercury/ints/existential_type_switch_opt.int Making Mercury/javas/jmercury/existential_type_switch_opt.java Making Java class files Mercury/javas/jmercury/existential_type_switch_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_stag_ordered_maybe_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] existential_type_switch_opt__du_ptag_ordered_maybe_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_name_ordered_maybe_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_type_switch_opt__type_ctor_info_maybe_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/existential_type_switch_opt.java:249: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/existential_type_switch_opt.java:487: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:496: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:466: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:475: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:418: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/existential_type_switch_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_type_switch_opt"; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_stag_ordered_maybe_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] existential_type_switch_opt__du_ptag_ordered_maybe_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_name_ordered_maybe_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_type_switch_opt__type_ctor_info_maybe_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:53: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:61: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:90: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:111: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:119: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:129: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:131: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:161: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:182: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/existential_type_switch_opt.java:187: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/existential_type_switch_opt.java:205: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:220: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:228: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:255: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:261: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:267: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:271: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:274: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:280: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:290: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_12_12, TypeInfo_13_13, ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:295: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:298: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:305: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:309: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:310: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:315: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_10_10, TypeInfo_11_11, ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:320: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:324: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:335: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:363: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:374: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_9_9, TypeInfo_10_10, ArgX1_3, ArgY1_4); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:381: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:382: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:392: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_11_11, TypeInfo_12_12, ArgX1_5, ArgY1_6); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:398: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:447: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors gmake[3]: *** [/tmp/mmake.tCCGyG:2411: existential_type_switch_opt] Error 1 gmake[3]: Target 'existential_type_switch_opt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_type_switch_opt.log] Error 1 RUNNING TEST hard_coded/expand in grade java FAILED TEST hard_coded/existential_types_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_types_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - existential_types_test Making Mercury/int3s/existential_types_test.int3 Making Mercury/ints/existential_types_test.int Making Mercury/javas/jmercury/existential_types_test.java existential_types_test.m:037: Inferred :- some [T] (func call_my_exist_t = T). Making Java class files Mercury/javas/jmercury/existential_types_test.java:181: error: package univ does not exist univ.Univ_0 Univ_3) ^ Mercury/javas/jmercury/existential_types_test.java:215: error: package univ does not exist univ.Univ_0 Univ_3) ^ Mercury/javas/jmercury/existential_types_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_types_test"; ^ Mercury/javas/jmercury/existential_types_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_types_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_types_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_types_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_types_test.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/existential_types_test.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/existential_types_test.java:39: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/existential_types_test.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_25_25 = null; ^ Mercury/javas/jmercury/existential_types_test.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/existential_types_test.java:42: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_30 = null; ^ Mercury/javas/jmercury/existential_types_test.java:43: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_31 = null; ^ Mercury/javas/jmercury/existential_types_test.java:44: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_35 = null; ^ Mercury/javas/jmercury/existential_types_test.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_36 = null; ^ Mercury/javas/jmercury/existential_types_test.java:46: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_38 = null; ^ Mercury/javas/jmercury/existential_types_test.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_43 = null; ^ Mercury/javas/jmercury/existential_types_test.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_44 = null; ^ Mercury/javas/jmercury/existential_types_test.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_46 = null; ^ Mercury/javas/jmercury/existential_types_test.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_51 = null; ^ Mercury/javas/jmercury/existential_types_test.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_52 = null; ^ Mercury/javas/jmercury/existential_types_test.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_54 = null; ^ Mercury/javas/jmercury/existential_types_test.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_57 = null; ^ Mercury/javas/jmercury/existential_types_test.java:54: error: package univ does not exist univ.Univ_0 Var_6 = null; ^ Mercury/javas/jmercury/existential_types_test.java:56: error: package univ does not exist univ.Univ_0 Var_9 = null; ^ Mercury/javas/jmercury/existential_types_test.java:58: error: package univ does not exist univ.Univ_0 Var_12 = null; ^ Mercury/javas/jmercury/existential_types_test.java:60: error: package univ does not exist univ.Univ_0 Var_15 = null; ^ Mercury/javas/jmercury/existential_types_test.java:78: error: cannot find symbol Var_6 = univ.univ_1_f_1(TypeCtorInfo_21_21, java.lang.Integer.valueOf(Var_8)); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:81: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_6); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:82: error: package jmercury.runtime does not exist TypeInfo_11_30 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:86: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_30, Var_27); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:89: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_6); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:90: error: package jmercury.runtime does not exist TypeInfo_12_31 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:94: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_31, Var_29); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:96: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:96: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/existential_types_test.java:99: error: cannot find symbol Var_9 = univ.univ_1_f_1(TypeCtorInfo_22_22, ((java.lang.Object) (Var_11))); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:102: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_9); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:103: error: package jmercury.runtime does not exist TypeInfo_11_35 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:107: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_35, Var_32); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:110: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_9); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:111: error: package jmercury.runtime does not exist TypeInfo_12_36 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:115: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_36, Var_34); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:118: error: cannot find symbol TypeInfo_for_T_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:118: error: package jmercury.runtime does not exist TypeInfo_for_T_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:122: error: cannot find symbol Var_12 = univ.univ_1_f_0(TypeInfo_23_23, Var_14); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:125: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_12); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:126: error: package jmercury.runtime does not exist TypeInfo_11_43 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:130: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_43, Var_40); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:133: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_12); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:134: error: package jmercury.runtime does not exist TypeInfo_12_44 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:138: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_44, Var_42); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:141: error: cannot find symbol TypeInfo_for_T_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:141: error: package jmercury.runtime does not exist TypeInfo_for_T_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:145: error: cannot find symbol Var_15 = univ.univ_1_f_0(TypeInfo_24_24, Var_17); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:148: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_15); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:149: error: package jmercury.runtime does not exist TypeInfo_11_51 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:153: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_51, Var_48); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:156: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Var_15); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:157: error: package jmercury.runtime does not exist TypeInfo_12_52 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:161: error: cannot find symbol io.write_line_3_p_0(TypeInfo_12_52, Var_50); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:164: error: cannot find symbol TypeInfo_for_T_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:164: error: package jmercury.runtime does not exist TypeInfo_for_T_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:168: error: cannot find symbol io.write_line_3_p_0(TypeInfo_25_25, Var_18); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:171: error: cannot find symbol TypeInfo_for_T_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:171: error: package jmercury.runtime does not exist TypeInfo_for_T_57 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:175: error: cannot find symbol io.write_line_3_p_0(TypeInfo_26_26, Var_20); ^ symbol: variable io location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4 = null; ^ Mercury/javas/jmercury/existential_types_test.java:187: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Univ_3); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:188: error: package jmercury.runtime does not exist TypeInfo_for_T_4 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/existential_types_test.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct ExistQTypeInfo_for_T_5 = null; ^ Mercury/javas/jmercury/existential_types_test.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_2 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/existential_types_test.java:217: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4 = null; ^ Mercury/javas/jmercury/existential_types_test.java:221: error: cannot find symbol java.lang.Object [] result = univ.univ_value_1_f_0(Univ_3); ^ symbol: variable univ location: class existential_types_test Mercury/javas/jmercury/existential_types_test.java:222: error: package jmercury.runtime does not exist TypeInfo_for_T_4 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ 87 errors gmake[3]: *** [/tmp/mmake.ToLKhP:2411: existential_types_test] Error 1 gmake[3]: Target 'existential_types_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: existential_types_test.log] Error 1 RUNNING TEST hard_coded/export_test_1 in grade java FAILED TEST hard_coded/expand in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - expand.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - expand Making Mercury/int3s/expand.int3 Making Mercury/ints/expand.int Making Mercury/javas/jmercury/expand.java Making Java class files Mercury/javas/jmercury/expand.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc expand__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc expand__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc expand__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] expand__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/expand.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] expand__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/expand.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct expand__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1expand__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/expand.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] expand__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/expand.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/expand.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct expand__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_no_tag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_stag_ordered_no_tag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/expand.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] expand__du_ptag_ordered_no_tag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/expand.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_name_ordered_no_tag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/expand.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct expand__type_ctor_info_no_tag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_poly_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_poly_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_poly_2_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_poly_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct expand__pti_poly_2__pseudo_2__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_poly_2_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/expand.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_poly_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_stag_ordered_poly_2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/expand.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] expand__du_ptag_ordered_poly_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/expand.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_name_ordered_poly_2 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/expand.java:68: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct expand__type_ctor_info_poly_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/expand.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/expand.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/expand.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/expand.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/expand.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] expand__field_types_thingie_0_10 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/expand.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc expand__du_functor_desc_thingie_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/expand.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_stag_ordered_thingie_0_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/expand.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] expand__du_ptag_ordered_thingie_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/expand.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] expand__du_name_ordered_thingie_0 = new jmercury.runtime.DuFunctorDesc[11]; ^ Mercury/javas/jmercury/expand.java:93: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct expand__type_ctor_info_thingie_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/expand.java:691: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[12]; ^ Mercury/javas/jmercury/expand.java:692: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/expand.java:695: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/expand.java:696: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/expand.java:2955: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/expand.java:3082: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/expand.java:3015: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/expand.java:2998: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/expand.java:940: error: package univ does not exist univ.Univ_0 HeadVar__1_27) ^ Mercury/javas/jmercury/expand.java:951: error: package univ does not exist univ.Univ_0 HeadVar__1_29) ^ Mercury/javas/jmercury/expand.java:1121: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/expand.java:1390: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_26, ^ Mercury/javas/jmercury/expand.java:1473: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_28, ^ Mercury/javas/jmercury/expand.java:3290: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/expand.java:3291: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/expand.java:1570: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/expand.java:1609: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/expand.java:1667: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/expand.java:1717: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_18, ^ Mercury/javas/jmercury/expand.java:1718: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_19, ^ Mercury/javas/jmercury/expand.java:1715: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/expand.java:1854: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/expand.java:2467: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_15, ^ Mercury/javas/jmercury/expand.java:2468: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_16, ^ Mercury/javas/jmercury/expand.java:2979: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/expand.java:2987: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/expand.java:2961: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/expand.java:2969: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/expand.java:2763: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/expand.java:2868: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/expand.java:2911: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/expand.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "expand"; ^ Mercury/javas/jmercury/expand.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/expand.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/expand.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class expand Mercury/javas/jmercury/expand.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class expand Mercury/javas/jmercury/expand.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/expand.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class expand Mercury/javas/jmercury/expand.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class expand Mercury/javas/jmercury/expand.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class expand Mercury/javas/jmercury/expand.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class expand Mercury/javas/jmercury/expand.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/expand.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc expand__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Note: Mercury/javas/jmercury/expand.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.SP5vIH:2411: expand] Error 1 gmake[3]: Target 'expand.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: expand.log] Error 1 RUNNING TEST hard_coded/failure_unify in grade java FAILED TEST hard_coded/export_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - export_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - export_test_1 Making Mercury/int3s/export_test_1.int3 Making Mercury/ints/export_test_1.int Making Mercury/javas/jmercury/export_test_1.java Making Java class files Mercury/javas/jmercury/export_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "export_test_1"; ^ Mercury/javas/jmercury/export_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/export_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/export_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/export_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/export_test_1.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = null; ^ Mercury/javas/jmercury/export_test_1.java:82: error: cannot find symbol TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class export_test_1 Mercury/javas/jmercury/export_test_1.java:82: error: package jmercury.runtime does not exist TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/export_test_1.java:84: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_8_8, java.lang.Integer.valueOf(X_4)); ^ symbol: variable io location: class export_test_1 15 errors gmake[3]: *** [/tmp/mmake.oYhnX3:2411: export_test_1] Error 1 gmake[3]: Target 'export_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: export_test_1.log] Error 1 RUNNING TEST hard_coded/field_syntax in grade java FAILED TEST hard_coded/failure_unify in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - failure_unify.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - failure_unify Making Mercury/int3s/failure_unify.int3 Making Mercury/ints/failure_unify.int Making Mercury/javas/jmercury/failure_unify.java failure_unify.m:019: Warning: the condition of this if-then-else cannot failure_unify.m:019: succeed. failure_unify.m:022: In clause for `main(di, uo)': failure_unify.m:022: warning: unification of `X' and `Y' cannot succeed. failure_unify.m:022: `X' has instantiatedness `unique(f(unique(1)))', failure_unify.m:022: `Y' has instantiatedness `unique(f(unique(2)))'. Making Java class files Mercury/javas/jmercury/failure_unify.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] failure_unify__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/failure_unify.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc failure_unify__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/failure_unify.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] failure_unify__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/failure_unify.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct failure_unify__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/failure_unify.java:239: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/failure_unify.java:112: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/failure_unify.java:197: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/failure_unify.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "failure_unify"; ^ Mercury/javas/jmercury/failure_unify.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/failure_unify.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/failure_unify.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class failure_unify Mercury/javas/jmercury/failure_unify.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class failure_unify Mercury/javas/jmercury/failure_unify.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/failure_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/failure_unify.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] failure_unify__field_types_f_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/failure_unify.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc failure_unify__du_functor_desc_f_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/failure_unify.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_stag_ordered_f_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] failure_unify__du_ptag_ordered_f_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/failure_unify.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] failure_unify__du_name_ordered_f_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/failure_unify.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct failure_unify__type_ctor_info_f_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/failure_unify.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/failure_unify.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/failure_unify.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class failure_unify Mercury/javas/jmercury/failure_unify.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/failure_unify.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/failure_unify.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/failure_unify.java:108: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class failure_unify Mercury/javas/jmercury/failure_unify.java:118: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/failure_unify.java:124: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/failure_unify.java:132: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/failure_unify.java:137: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/failure_unify.java:139: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/failure_unify.java:151: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/failure_unify.java:226: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors gmake[3]: *** [/tmp/mmake.eDBXJI:2411: failure_unify] Error 1 gmake[3]: Target 'failure_unify.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: failure_unify.log] Error 1 RUNNING TEST hard_coded/final_excp in grade java FAILED TEST hard_coded/field_syntax in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - field_syntax.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - field_syntax Making Mercury/int3s/field_syntax.int3 Making Mercury/ints/field_syntax.int Making Mercury/javas/jmercury/field_syntax.java Making Java class files Mercury/javas/jmercury/field_syntax.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/field_syntax.java:33: 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/field_syntax.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/field_syntax.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/field_syntax.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "field_syntax"; ^ Mercury/javas/jmercury/field_syntax.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/field_syntax.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/field_syntax.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class field_syntax Mercury/javas/jmercury/field_syntax.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class field_syntax Mercury/javas/jmercury/field_syntax.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/field_syntax.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/field_syntax.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/field_syntax.java:33: 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/field_syntax.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/field_syntax.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/field_syntax.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/field_syntax.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/field_syntax.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class field_syntax Mercury/javas/jmercury/field_syntax.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/field_syntax.java:44: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/field_syntax.java:46: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/field_syntax.java:48: error: package list does not exist (list.List_1) field_syntax.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/field_syntax.java:51: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/field_syntax.java:53: error: package list does not exist (list.List_1) field_syntax.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/field_syntax.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/field_syntax.java:58: error: package list does not exist (list.List_1) field_syntax.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/field_syntax.java:61: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/field_syntax.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/field_syntax.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/field_syntax.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/field_syntax.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/field_syntax.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/field_syntax.java:79: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/field_syntax.java:79: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class field_syntax Mercury/javas/jmercury/field_syntax.java:79: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/field_syntax.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_41_41 = null; ^ Mercury/javas/jmercury/field_syntax.java:82: error: package list does not exist list.List_1 Var_7 = (list.List_1) field_syntax.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/field_syntax.java:82: error: package list does not exist list.List_1 Var_7 = (list.List_1) field_syntax.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/field_syntax.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_52 = null; ^ Mercury/javas/jmercury/field_syntax.java:109: error: cannot find symbol conv0_A_4 = array.array_1_f_0(TypeCtorInfo_40_40, Var_7); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:114: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:116: error: package jmercury.runtime does not exist TypeInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(field_syntax.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/field_syntax.java:118: error: cannot find symbol io.print_3_p_0(TypeInfo_41_41, ((java.lang.Object) (A_4))); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:121: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:125: error: cannot find symbol conv1_Var_23 = array.elem_2_f_0(TypeCtorInfo_40_40, Var_24, (/* Array */ java.lang.Object) A_4); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:130: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:132: error: package string__parse_util does not exist Var_52 = (string__parse_util.String_format_flags_0) field_syntax.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/field_syntax.java:134: error: cannot find symbol Var_46 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_52, Var_23); ^ symbol: variable string__format location: class field_syntax Mercury/javas/jmercury/field_syntax.java:137: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:141: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:145: error: cannot find symbol Var_67 = array.max_1_f_0(TypeCtorInfo_40_40, (/* Array */ java.lang.Object) A_4); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:149: error: cannot find symbol conv2_Var_30 = array.elem_2_f_0(TypeCtorInfo_40_40, Var_66, (/* Array */ java.lang.Object) A_4); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:154: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:157: error: cannot find symbol Var_57 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_52, Var_30); ^ symbol: variable string__format location: class field_syntax Mercury/javas/jmercury/field_syntax.java:160: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:164: error: cannot find symbol io.write_string_3_p_0(Var_64); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:168: error: cannot find symbol io.write_string_3_p_0(Var_65); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:173: error: cannot find symbol Var_69 = array.max_1_f_0(TypeCtorInfo_40_40, (/* Array */ java.lang.Object) A_4); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:177: error: cannot find symbol conv3_Var_36 = array.f_101_108_101_109_32_58_61_3_f_0(TypeCtorInfo_40_40, Var_68, (/* Array */ java.lang.Object) A_4, java.lang.Integer.valueOf(Var_38)); ^ symbol: variable array location: class field_syntax Mercury/javas/jmercury/field_syntax.java:181: error: cannot find symbol io.print_3_p_0(TypeInfo_41_41, ((java.lang.Object) (Var_36))); ^ symbol: variable io location: class field_syntax Mercury/javas/jmercury/field_syntax.java:184: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class field_syntax 66 errors gmake[3]: *** [/tmp/mmake.zP7R2v:2411: field_syntax] Error 1 gmake[3]: Target 'field_syntax.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: field_syntax.log] Error 1 RUNNING TEST hard_coded/finalise_decl in grade java FAILED TEST hard_coded/final_excp in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - final_excp.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - final_excp Making Mercury/int3s/final_excp.int3 Making Mercury/ints/final_excp.int Making Mercury/javas/jmercury/final_excp.java Making Java class files Mercury/javas/jmercury/final_excp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc final_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/final_excp.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] final_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/final_excp.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] final_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/final_excp.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct final_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/final_excp.java:203: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/final_excp.java:249: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/final_excp.java:267: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/final_excp.java:311: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/final_excp.java:312: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/final_excp.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "final_excp"; ^ Mercury/javas/jmercury/final_excp.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/final_excp.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/final_excp.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class final_excp Mercury/javas/jmercury/final_excp.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class final_excp Mercury/javas/jmercury/final_excp.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/final_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/final_excp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc final_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/final_excp.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] final_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/final_excp.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] final_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/final_excp.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct final_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/final_excp.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/final_excp.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/final_excp.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/final_excp.java:86: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class final_excp Mercury/javas/jmercury/final_excp.java:86: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/final_excp.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class final_excp Mercury/javas/jmercury/final_excp.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/final_excp.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/final_excp.java:108: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/final_excp.java:113: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:116: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class final_excp Mercury/javas/jmercury/final_excp.java:116: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/final_excp.java:118: error: cannot find symbol Result_4 = exception.try_2_p_0(TypeCtorInfo_17_17, Var_11); ^ symbol: variable exception location: class final_excp Mercury/javas/jmercury/final_excp.java:125: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:133: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:137: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = null; ^ Mercury/javas/jmercury/final_excp.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(final_excp.final_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/final_excp.java:163: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_10_10, ((java.lang.Object) (0))); ^ symbol: variable exception location: class final_excp Mercury/javas/jmercury/final_excp.java:173: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class final_excp Mercury/javas/jmercury/final_excp.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = null; ^ Mercury/javas/jmercury/final_excp.java:188: error: package jmercury.runtime does not exist TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(final_excp.final_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/final_excp.java:190: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_6_6, ((java.lang.Object) (0))); ^ symbol: variable exception location: class final_excp Mercury/javas/jmercury/final_excp.java:206: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/final_excp.java:206: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/final_excp.java:217: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/final_excp.java:296: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/final_excp.java:341: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.register_finaliser( ^ 52 errors gmake[3]: *** [/tmp/mmake.we699O:2411: final_excp] Error 1 gmake[3]: Target 'final_excp.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: final_excp.log] Error 1 RUNNING TEST hard_coded/finalize_to_bitmap in grade java FAILED TEST hard_coded/finalise_decl in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - finalise_decl.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - finalise_decl Making Mercury/int3s/finalise_decl.int3 Making Mercury/ints/finalise_decl.int Making Mercury/javas/jmercury/finalise_decl.java Making Java class files Mercury/javas/jmercury/finalise_decl.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "finalise_decl"; ^ Mercury/javas/jmercury/finalise_decl.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/finalise_decl.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/finalise_decl.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/finalise_decl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/finalise_decl.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:40: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:51: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:58: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/finalise_decl.java:62: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class finalise_decl Mercury/javas/jmercury/finalise_decl.java:80: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.register_finaliser( ^ 24 errors gmake[3]: *** [/tmp/mmake.hdC7BI:2411: finalise_decl] Error 1 gmake[3]: Target 'finalise_decl.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: finalise_decl.log] Error 1 RUNNING TEST hard_coded/flatten_disjunctions in grade java FAILED TEST hard_coded/finalize_to_bitmap in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - finalize_to_bitmap.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - finalize_to_bitmap Making Mercury/int3s/finalize_to_bitmap.int3 Making Mercury/ints/finalize_to_bitmap.int Making Mercury/javas/jmercury/finalize_to_bitmap.java Making Java class files Mercury/javas/jmercury/finalize_to_bitmap.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "finalize_to_bitmap"; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/finalize_to_bitmap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/finalize_to_bitmap.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) bit_buffer.base_typeclass_info_stream__stream__arity2__bit_buffer__error_stream__arity0__bit_buffer__error_state__arity0__)), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ Mercury/javas/jmercury/finalize_to_bitmap.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ Mercury/javas/jmercury/finalize_to_bitmap.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) bit_buffer.base_typeclass_info_stream__output__arity2__bit_buffer__error_stream__arity0__bit_buffer__error_state__arity0__)), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ Mercury/javas/jmercury/finalize_to_bitmap.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ Mercury/javas/jmercury/finalize_to_bitmap.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) bit_buffer.base_typeclass_info_stream__writer__arity3__bit_buffer__error_stream__arity0__bitmap__slice__arity0__bit_buffer__error_state__arity0__)), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_stream_0))), ^ Mercury/javas/jmercury/finalize_to_bitmap.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_slice_0))), ^ symbol: variable bitmap location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_slice_0))), ^ Mercury/javas/jmercury/finalize_to_bitmap.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ symbol: variable bit_buffer location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bit_buffer.bit_buffer__type_ctor_info_error_state_0))) ^ Mercury/javas/jmercury/finalize_to_bitmap.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:70: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bitmap_5 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:71: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_1_8 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:74: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_2_11 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:76: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_3_13 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:78: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_4_15 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:80: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_5_17 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:82: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_6_19 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:84: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_7_21 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:86: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_8_23 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:88: error: package bit_buffer__write does not exist bit_buffer__write.Write_buffer_2 STATE_VARIABLE_Buf_9_25 = null; ^ Mercury/javas/jmercury/finalize_to_bitmap.java:91: error: cannot find symbol STATE_VARIABLE_Buf_1_8 = bit_buffer__write.new_bitmap_builder_1_f_0(Var_9); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:96: error: cannot find symbol STATE_VARIABLE_Buf_2_11 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_27, Var_10, STATE_VARIABLE_Buf_1_8); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:101: error: cannot find symbol STATE_VARIABLE_Buf_3_13 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_12, STATE_VARIABLE_Buf_2_11); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:105: error: cannot find symbol STATE_VARIABLE_Buf_4_15 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_14, STATE_VARIABLE_Buf_3_13); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:109: error: cannot find symbol STATE_VARIABLE_Buf_5_17 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_16, STATE_VARIABLE_Buf_4_15); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:113: error: cannot find symbol STATE_VARIABLE_Buf_6_19 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_18, STATE_VARIABLE_Buf_5_17); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:117: error: cannot find symbol STATE_VARIABLE_Buf_7_21 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_20, STATE_VARIABLE_Buf_6_19); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:121: error: cannot find symbol STATE_VARIABLE_Buf_8_23 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_22, STATE_VARIABLE_Buf_7_21); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:125: error: cannot find symbol STATE_VARIABLE_Buf_9_25 = bit_buffer__write.put_byte_3_p_0(TypeClassInfo_for_writer_28, Var_24, STATE_VARIABLE_Buf_8_23); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:128: error: cannot find symbol Bitmap_5 = bit_buffer__write.finalize_to_bitmap_1_f_0(STATE_VARIABLE_Buf_9_25); ^ symbol: variable bit_buffer__write location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:130: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_bitmap_0); ^ symbol: variable bitmap location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:130: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_bitmap_0); ^ Mercury/javas/jmercury/finalize_to_bitmap.java:132: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_29_29, ((java.lang.Object) (Bitmap_5))); ^ symbol: variable io location: class finalize_to_bitmap Mercury/javas/jmercury/finalize_to_bitmap.java:135: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class finalize_to_bitmap 53 errors gmake[3]: *** [/tmp/mmake.HdsD7i:2411: finalize_to_bitmap] Error 1 gmake[3]: Target 'finalize_to_bitmap.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: finalize_to_bitmap.log] Error 1 RUNNING TEST hard_coded/float_conv in grade java FAILED TEST hard_coded/flatten_disjunctions in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - flatten_disjunctions.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - flatten_disjunctions Making Mercury/int3s/flatten_disjunctions.int3 Making Mercury/ints/flatten_disjunctions.int Making Mercury/javas/jmercury/flatten_disjunctions.java Making Java class files Mercury/javas/jmercury/flatten_disjunctions.java:32: 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/flatten_disjunctions.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "flatten_disjunctions"; ^ Mercury/javas/jmercury/flatten_disjunctions.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/flatten_disjunctions.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/flatten_disjunctions.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/flatten_disjunctions.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/flatten_disjunctions.java:32: 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/flatten_disjunctions.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/flatten_disjunctions.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/flatten_disjunctions.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/flatten_disjunctions.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/flatten_disjunctions.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/flatten_disjunctions.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/flatten_disjunctions.java:173: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_42 = null; ^ Mercury/javas/jmercury/flatten_disjunctions.java:179: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:181: error: package string__parse_util does not exist Var_42 = (string__parse_util.String_format_flags_0) flatten_disjunctions.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/flatten_disjunctions.java:183: error: cannot find symbol Var_36 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, B_4); ^ symbol: variable string__format location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:186: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:190: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:193: error: cannot find symbol Var_46 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, X_5); ^ symbol: variable string__format location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:196: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:200: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:208: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:223: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_64 = null; ^ Mercury/javas/jmercury/flatten_disjunctions.java:229: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:231: error: package string__parse_util does not exist Var_64 = (string__parse_util.String_format_flags_0) flatten_disjunctions.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/flatten_disjunctions.java:233: error: cannot find symbol Var_58 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_64, DCG_B_6); ^ symbol: variable string__format location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:236: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:240: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:243: error: cannot find symbol Var_68 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_64, DCG_X_7); ^ symbol: variable string__format location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:246: error: cannot find symbol io.write_string_3_p_0(Var_68); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:250: error: cannot find symbol io.write_string_3_p_0(Var_75); ^ symbol: variable io location: class flatten_disjunctions Mercury/javas/jmercury/flatten_disjunctions.java:258: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class flatten_disjunctions 39 errors gmake[3]: *** [/tmp/mmake.rd7oBL:2411: flatten_disjunctions] Error 1 gmake[3]: Target 'flatten_disjunctions.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: flatten_disjunctions.log] Error 1 RUNNING TEST hard_coded/float_field in grade java FAILED TEST hard_coded/float_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_conv Making Mercury/int3s/float_conv.int3 Making Mercury/ints/float_conv.int Making Mercury/javas/jmercury/float_conv.java Making Java class files Mercury/javas/jmercury/float_conv.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/float_conv.java:54: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/float_conv.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[31]; ^ Mercury/javas/jmercury/float_conv.java:326: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/float_conv.java:546: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/float_conv.java:549: error: package list does not exist list.List_1 Ints_8) ^ Mercury/javas/jmercury/float_conv.java:588: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/float_conv.java:648: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/float_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_conv"; ^ Mercury/javas/jmercury/float_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_conv Mercury/javas/jmercury/float_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_conv Mercury/javas/jmercury/float_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_conv.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/float_conv.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:39: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/float_conv.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ Mercury/javas/jmercury/float_conv.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:54: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/float_conv.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[31]; ^ Mercury/javas/jmercury/float_conv.java:69: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:69: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/float_conv.java:70: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:70: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/float_conv.java:73: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:73: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/float_conv.java:74: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class float_conv Mercury/javas/jmercury/float_conv.java:74: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/float_conv.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/float_conv.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/float_conv.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/float_conv.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/float_conv.java:97: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:97: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/float_conv.java:98: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:98: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/float_conv.java:105: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:105: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/float_conv.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class float_conv Mercury/javas/jmercury/float_conv.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/float_conv.java:133: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/float_conv.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:137: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/float_conv.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:142: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/float_conv.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:147: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/float_conv.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:152: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/float_conv.java:155: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:157: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/float_conv.java:160: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:162: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/float_conv.java:165: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:167: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/float_conv.java:170: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:172: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/float_conv.java:175: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:177: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/float_conv.java:180: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:182: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/float_conv.java:185: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:187: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[9] ^ Mercury/javas/jmercury/float_conv.java:190: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:192: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[10] ^ Mercury/javas/jmercury/float_conv.java:195: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:197: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[11] ^ Mercury/javas/jmercury/float_conv.java:200: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:202: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[12] ^ Mercury/javas/jmercury/float_conv.java:205: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:207: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[13] ^ Mercury/javas/jmercury/float_conv.java:210: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:212: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[14] ^ Mercury/javas/jmercury/float_conv.java:215: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:217: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/float_conv.java:220: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:222: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[16] ^ Mercury/javas/jmercury/float_conv.java:225: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:227: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[17] ^ Mercury/javas/jmercury/float_conv.java:230: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:232: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[18] ^ Mercury/javas/jmercury/float_conv.java:235: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:237: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[19] ^ Mercury/javas/jmercury/float_conv.java:240: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:242: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[20] ^ Mercury/javas/jmercury/float_conv.java:245: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:247: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[21] ^ Mercury/javas/jmercury/float_conv.java:250: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/float_conv.java:252: error: package list does not exist (list.List_1) float_conv.MR_scalar_common_6[22] ^ Mercury/javas/jmercury/float_conv.java:255: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.jcpHwW:2411: float_conv] Error 1 gmake[3]: Target 'float_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_conv.log] Error 1 RUNNING TEST hard_coded/float_ground_term in grade java FAILED TEST hard_coded/float_field in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_field.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_field Making Mercury/int3s/float_field.int3 Making Mercury/ints/float_field.int Making Mercury/javas/jmercury/float_field.java Making Java class files Mercury/javas/jmercury/float_field.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar2_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_foo2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_foo3_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_foo3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_foo3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_foo3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_foo3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_foo3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_baz_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_baz2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_field.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:68: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_field.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_foo2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:75: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_foo3_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_field.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_foo3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_foo3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_foo3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_foo3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:82: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_foo3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:1903: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1811: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1920: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1937: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1834: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1857: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:1880: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_field.java:776: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:857: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:938: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1019: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1100: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1130: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1160: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1200: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1240: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_field.java:1625: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/float_field.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_field"; ^ Mercury/javas/jmercury/float_field.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_field.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_field.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_field Mercury/javas/jmercury/float_field.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_field Mercury/javas/jmercury/float_field.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_field.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_field Mercury/javas/jmercury/float_field.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_field Mercury/javas/jmercury/float_field.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_field Mercury/javas/jmercury/float_field.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_field Mercury/javas/jmercury/float_field.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_field.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar2_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_foo2_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_foo2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_foo2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_foo2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_foo2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_foo2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_bar_foo3_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/float_field.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_bar_foo3_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_field.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_stag_ordered_bar_foo3_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_field__du_ptag_ordered_bar_foo3_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_field.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_field__du_name_ordered_bar_foo3_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_field.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_bar_foo3_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_baz_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_field__type_ctor_info_baz2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_field.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_field__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_field.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_field__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ 100 errors gmake[3]: *** [/tmp/mmake.QRH0My:2411: float_field] Error 1 gmake[3]: Target 'float_field.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_field.log] Error 1 RUNNING TEST hard_coded/float_gv in grade java FAILED TEST hard_coded/float_ground_term in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_ground_term.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_ground_term Making Mercury/int3s/float_ground_term.int3 Making Mercury/ints/float_ground_term.int Making Mercury/javas/jmercury/float_ground_term.java Making Java class files Mercury/javas/jmercury/float_ground_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_list_of_mono_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_list_of_mono_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/float_ground_term.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_list_of_mono_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_list_of_mono_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/float_ground_term.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_list_of_mono_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_list_of_mono_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/float_ground_term.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_list_of_mono_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_mono_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_ground_term.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_mono_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_mono_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_mono_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_mono_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_mono_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_poly_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_ground_term.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_poly_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_poly_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_poly_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_poly_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_poly_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:243: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/float_ground_term.java:244: 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/float_ground_term.java:971: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_ground_term.java:246: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/float_ground_term.java:932: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_ground_term.java:988: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_ground_term.java:539: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_ground_term.java:608: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_ground_term.java:650: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/float_ground_term.java:648: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_ground_term.java:790: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/float_ground_term.java:829: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/float_ground_term.java:889: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/float_ground_term.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_ground_term"; ^ Mercury/javas/jmercury/float_ground_term.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_ground_term.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_ground_term.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_ground_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_ground_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_list_of_mono_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_list_of_mono_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/float_ground_term.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_list_of_mono_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_list_of_mono_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/float_ground_term.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_list_of_mono_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_list_of_mono_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/float_ground_term.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_list_of_mono_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_mono_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_ground_term.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_mono_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_mono_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_mono_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_mono_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_mono_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_ground_term__field_types_poly_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/float_ground_term.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_ground_term__du_functor_desc_poly_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_ground_term.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_stag_ordered_poly_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_ground_term__du_ptag_ordered_poly_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_ground_term.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_ground_term__du_name_ordered_poly_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_ground_term.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_ground_term__type_ctor_info_poly_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_ground_term.java:61: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:69: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:73: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) float_ground_term.float_ground_term__type_ctor_info_mono_0; ^ Mercury/javas/jmercury/float_ground_term.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) float_ground_term.float_ground_term__type_ctor_info_list_of_mono_0; ^ Mercury/javas/jmercury/float_ground_term.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/float_ground_term.java:98: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/float_ground_term.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/float_ground_term.java:124: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/float_ground_term.java:133: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/float_ground_term.java:133: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:138: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:146: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/float_ground_term.java:154: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:168: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/float_ground_term.java:173: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/float_ground_term.java:176: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/float_ground_term.java:185: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/float_ground_term.java:190: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:198: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:204: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/float_ground_term.java:206: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/float_ground_term.java:225: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/float_ground_term.java:228: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/float_ground_term.java:243: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/float_ground_term.java:244: 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/float_ground_term.java:246: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[30]; ^ Mercury/javas/jmercury/float_ground_term.java:253: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/float_ground_term.java:254: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class float_ground_term Mercury/javas/jmercury/float_ground_term.java:254: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/float_ground_term.java:255: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(float_ground_term.float_ground_term__type_ctor_info_mono_0))) ^ Mercury/javas/jmercury/float_ground_term.java:258: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/float_ground_term.java:259: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(float_ground_term.float_ground_term__type_ctor_info_poly_1))), ^ Mercury/javas/jmercury/float_ground_term.java:260: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class float_ground_term Note: Mercury/javas/jmercury/float_ground_term.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.i2Vz4I:2411: float_ground_term] Error 1 gmake[3]: Target 'float_ground_term.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_ground_term.log] Error 1 RUNNING TEST hard_coded/float_map in grade java FAILED TEST hard_coded/float_map in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_map.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_map Making Mercury/int3s/float_map.int3 Making Mercury/ints/float_map.int Making Mercury/javas/jmercury/float_map.java Making Java class files Mercury/javas/jmercury/float_map.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_map"; ^ Mercury/javas/jmercury/float_map.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_map.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_map.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_map Mercury/javas/jmercury/float_map.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_map Mercury/javas/jmercury/float_map.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_map.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_map Mercury/javas/jmercury/float_map.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_map Mercury/javas/jmercury/float_map.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_map Mercury/javas/jmercury/float_map.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_map Mercury/javas/jmercury/float_map.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_map.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/float_map.java:37: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class float_map Mercury/javas/jmercury/float_map.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/float_map.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/float_map.java:38: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class float_map Mercury/javas/jmercury/float_map.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/float_map.java:39: error: package tree234 does not exist tree234.Tree234_2 M1_4 = null; ^ Mercury/javas/jmercury/float_map.java:40: error: package tree234 does not exist tree234.Tree234_2 M2_5 = null; ^ Mercury/javas/jmercury/float_map.java:47: error: cannot find symbol M1_4 = map.init_1_p_0(TypeCtorInfo_15_15, TypeCtorInfo_16_16); ^ symbol: variable map location: class float_map Mercury/javas/jmercury/float_map.java:52: error: cannot find symbol M2_5 = map.det_insert_4_p_0(TypeCtorInfo_15_15, TypeCtorInfo_16_16, java.lang.Double.valueOf(Var_9), java.lang.Integer.valueOf(Var_10), M1_4); ^ symbol: variable map location: class float_map Mercury/javas/jmercury/float_map.java:56: error: cannot find symbol java.lang.Object [] result = map.search_3_p_0(TypeCtorInfo_15_15, TypeCtorInfo_16_16, M2_5, java.lang.Double.valueOf(Var_11)); ^ symbol: variable map location: class float_map Mercury/javas/jmercury/float_map.java:67: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class float_map Mercury/javas/jmercury/float_map.java:75: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class float_map 24 errors gmake[3]: *** [/tmp/mmake.AZbPW1:2411: float_map] Error 1 gmake[3]: Target 'float_map.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_map.log] Error 1 RUNNING TEST hard_coded/float_reg in grade java FAILED TEST hard_coded/float_gv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_gv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_gv Making Mercury/int3s/float_gv.int3 Making Mercury/ints/float_gv.int Making Mercury/javas/jmercury/float_gv.java Making Java class files Mercury/javas/jmercury/float_gv.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_gv__field_types_c_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/float_gv.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_gv__du_functor_desc_c_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_gv.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_gv__du_stag_ordered_c_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_gv.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_gv__du_ptag_ordered_c_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_gv.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_gv__du_name_ordered_c_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_gv.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_gv__type_ctor_info_c_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_gv.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_gv__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_gv.java:1243: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/float_gv.java:1016: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_gv.java:1084: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/float_gv.java:1183: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/float_gv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_gv"; ^ Mercury/javas/jmercury/float_gv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_gv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_gv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_gv Mercury/javas/jmercury/float_gv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_gv Mercury/javas/jmercury/float_gv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_gv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_gv.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] float_gv__field_types_c_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/float_gv.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc float_gv__du_functor_desc_c_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/float_gv.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_gv__du_stag_ordered_c_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_gv.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] float_gv__du_ptag_ordered_c_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/float_gv.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] float_gv__du_name_ordered_c_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/float_gv.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_gv__type_ctor_info_c_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_gv.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct float_gv__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/float_gv.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/float_gv.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:77: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/float_gv.java:77: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:82: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:90: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/float_gv.java:98: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/float_gv.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/float_gv.java:120: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/float_gv.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/float_gv.java:137: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/float_gv.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/float_gv.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/float_gv.java:284: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_73_73 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/float_gv.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_74_74 = null; ^ Mercury/javas/jmercury/float_gv.java:286: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_75_75 = null; ^ Mercury/javas/jmercury/float_gv.java:325: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_73_73, java.lang.Double.valueOf(GV1Init_4)); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:328: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:347: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_73_73, java.lang.Double.valueOf(GV1Final_5)); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:350: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:358: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:363: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_73_73, java.lang.Double.valueOf(GV2Init_6)); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:366: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:377: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_73_73, java.lang.Double.valueOf(GV2Final_7)); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:380: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:388: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:392: error: cannot find symbol TypeCtorInfo_74_74 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:392: error: package jmercury.runtime does not exist TypeCtorInfo_74_74 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/float_gv.java:394: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_74_74, ((java.lang.Object) (GV3Init_8))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:397: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:416: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_74_74, ((java.lang.Object) (GV3Final_9))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:419: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:427: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:432: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_74_74, ((java.lang.Object) (GV4Init_10))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:435: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:446: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_74_74, ((java.lang.Object) (GV4Final_11))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:449: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:457: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:505: error: package jmercury.runtime does not exist TypeCtorInfo_75_75 = jmercury.runtime.TypeInfo_Struct.maybe_new(float_gv.float_gv__type_ctor_info_c_0); ^ Mercury/javas/jmercury/float_gv.java:507: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_75_75, ((java.lang.Object) (Var_44))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:510: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:557: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_75_75, ((java.lang.Object) (Var_49))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:560: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:616: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:665: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_75_75, ((java.lang.Object) (Var_60))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:668: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:707: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_75_75, ((java.lang.Object) (Var_65))); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:710: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:766: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class float_gv Mercury/javas/jmercury/float_gv.java:1022: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/float_gv.java:1028: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/float_gv.java:1035: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/float_gv.java:1039: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/float_gv.java:1044: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/float_gv.java:1046: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/float_gv.java:1048: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/float_gv.java:1055: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/float_gv.java:1060: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/float_gv.java:1062: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/float_gv.java:1075: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/float_gv.java:1089: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/float_gv.java:1094: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:1105: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/float_gv.java:1163: error: cannot find symbol succeeded = builtin.__Unify____c_pointer_0_0(Cast_HeadVar1_3, Cast_HeadVar2_4); ^ symbol: variable builtin location: class float_gv Mercury/javas/jmercury/float_gv.java:1230: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 97 errors gmake[3]: *** [/tmp/mmake.vnTTq8:2411: float_gv] Error 1 gmake[3]: Target 'float_gv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_gv.log] Error 1 RUNNING TEST hard_coded/float_rounding_bug in grade java FAILED TEST hard_coded/float_reg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_reg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_reg Making Mercury/int3s/float_reg.int3 Making Mercury/ints/float_reg.int Making Mercury/javas/jmercury/float_reg.java Making Java class files Mercury/javas/jmercury/float_reg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_reg"; ^ Mercury/javas/jmercury/float_reg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_reg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_reg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_reg Mercury/javas/jmercury/float_reg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_reg Mercury/javas/jmercury/float_reg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_reg.java:44: error: cannot find symbol io.write_float_3_p_0(Var_6); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:48: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:52: error: cannot find symbol io.write_float_3_p_0(Var_10); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:56: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:60: error: cannot find symbol io.write_float_3_p_0(Var_14); ^ symbol: variable io location: class float_reg Mercury/javas/jmercury/float_reg.java:64: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class float_reg 17 errors gmake[3]: *** [/tmp/mmake.j4XcgZ:2411: float_reg] Error 1 gmake[3]: Target 'float_reg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_reg.log] Error 1 RUNNING TEST hard_coded/fold_days in grade java FAILED TEST hard_coded/float_rounding_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_rounding_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - float_rounding_bug Making Mercury/int3s/float_rounding_bug.int3 Making Mercury/ints/float_rounding_bug.int Making Mercury/javas/jmercury/float_rounding_bug.java Making Java class files Mercury/javas/jmercury/float_rounding_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "float_rounding_bug"; ^ Mercury/javas/jmercury/float_rounding_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/float_rounding_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/float_rounding_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/float_rounding_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/float_rounding_bug.java:40: error: cannot find symbol io.write_float_3_p_0(Var_6); ^ symbol: variable io location: class float_rounding_bug Mercury/javas/jmercury/float_rounding_bug.java:44: error: cannot find symbol io.write_char_3_p_0(Var_10); ^ symbol: variable io location: class float_rounding_bug 13 errors gmake[3]: *** [/tmp/mmake.nUqZbs:2411: float_rounding_bug] Error 1 gmake[3]: Target 'float_rounding_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: float_rounding_bug.log] Error 1 RUNNING TEST hard_coded/fold_tests in grade java FAILED TEST hard_coded/fold_days in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fold_days.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fold_days Making Mercury/int3s/fold_days.int3 Making Mercury/ints/fold_days.int Making Mercury/javas/jmercury/fold_days.java Making Java class files Mercury/javas/jmercury/fold_days.java:482: error: package calendar does not exist calendar.Date_0 Date_4) ^ Mercury/javas/jmercury/fold_days.java:502: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/fold_days.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "fold_days"; ^ Mercury/javas/jmercury/fold_days.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/fold_days.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/fold_days.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class fold_days Mercury/javas/jmercury/fold_days.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class fold_days Mercury/javas/jmercury/fold_days.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/fold_days.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/fold_days.java:41: error: cannot find symbol ((java.lang.Object) (calendar.calendar__type_ctor_info_date_0)), ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:41: error: illegal start of type ((java.lang.Object) (calendar.calendar__type_ctor_info_date_0)), ^ Mercury/javas/jmercury/fold_days.java:42: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:42: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_days.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_days.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_134_134 = null; ^ Mercury/javas/jmercury/fold_days.java:93: error: package calendar does not exist calendar.Date_0 Date1A_4 = null; ^ Mercury/javas/jmercury/fold_days.java:94: error: package calendar does not exist calendar.Date_0 Date1B_5 = null; ^ Mercury/javas/jmercury/fold_days.java:95: error: package calendar does not exist calendar.Date_0 Date2A_6 = null; ^ Mercury/javas/jmercury/fold_days.java:96: error: package calendar does not exist calendar.Date_0 Date2B_7 = null; ^ Mercury/javas/jmercury/fold_days.java:97: error: package calendar does not exist calendar.Date_0 Date3A_8 = null; ^ Mercury/javas/jmercury/fold_days.java:98: error: package calendar does not exist calendar.Date_0 Date3B_9 = null; ^ Mercury/javas/jmercury/fold_days.java:99: error: package calendar does not exist calendar.Date_0 Date4A_10 = null; ^ Mercury/javas/jmercury/fold_days.java:100: error: package calendar does not exist calendar.Date_0 Date4B_11 = null; ^ Mercury/javas/jmercury/fold_days.java:101: error: package calendar does not exist calendar.Date_0 Date5A_12 = null; ^ Mercury/javas/jmercury/fold_days.java:102: error: package calendar does not exist calendar.Date_0 Date5B_13 = null; ^ Mercury/javas/jmercury/fold_days.java:103: error: package calendar does not exist calendar.Date_0 Date6A_14 = null; ^ Mercury/javas/jmercury/fold_days.java:104: error: package calendar does not exist calendar.Date_0 Date6B_15 = null; ^ Mercury/javas/jmercury/fold_days.java:106: error: package calendar does not exist calendar.Month_0 Var_19 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:106: error: package calendar does not exist calendar.Month_0 Var_19 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:113: error: package calendar does not exist calendar.Month_0 Var_26 = null; ^ Mercury/javas/jmercury/fold_days.java:122: error: package calendar does not exist calendar.Month_0 Var_38 = null; ^ Mercury/javas/jmercury/fold_days.java:129: error: package calendar does not exist calendar.Month_0 Var_45 = null; ^ Mercury/javas/jmercury/fold_days.java:138: error: package calendar does not exist calendar.Month_0 Var_57 = null; ^ Mercury/javas/jmercury/fold_days.java:145: error: package calendar does not exist calendar.Month_0 Var_64 = null; ^ Mercury/javas/jmercury/fold_days.java:154: error: package calendar does not exist calendar.Month_0 Var_76 = null; ^ Mercury/javas/jmercury/fold_days.java:161: error: package calendar does not exist calendar.Month_0 Var_83 = null; ^ Mercury/javas/jmercury/fold_days.java:170: error: package calendar does not exist calendar.Month_0 Var_95 = null; ^ Mercury/javas/jmercury/fold_days.java:177: error: package calendar does not exist calendar.Month_0 Var_102 = null; ^ Mercury/javas/jmercury/fold_days.java:186: error: package calendar does not exist calendar.Month_0 Var_114 = null; ^ Mercury/javas/jmercury/fold_days.java:193: error: package calendar does not exist calendar.Month_0 Var_121 = null; ^ Mercury/javas/jmercury/fold_days.java:209: error: cannot find symbol Date1A_4 = calendar.det_init_date_7_f_0(Var_18, Var_19, Var_20, Var_21, Var_22, Var_23, Var_24); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:212: error: package calendar does not exist Var_26 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:219: error: cannot find symbol Date1B_5 = calendar.det_init_date_7_f_0(Var_25, Var_26, Var_27, Var_28, Var_29, Var_30, Var_31); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:223: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:226: error: cannot find symbol TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:226: error: package jmercury.runtime does not exist TypeCtorInfo_134_134 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/fold_days.java:228: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_35 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_34, Date1A_4, Date1B_5, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:231: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:234: error: package calendar does not exist Var_38 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:241: error: cannot find symbol Date2A_6 = calendar.det_init_date_7_f_0(Var_37, Var_38, Var_39, Var_40, Var_41, Var_42, Var_43); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:244: error: package calendar does not exist Var_45 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:251: error: cannot find symbol Date2B_7 = calendar.det_init_date_7_f_0(Var_44, Var_45, Var_46, Var_47, Var_48, Var_49, Var_50); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:255: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:259: error: cannot find symbol conv1_STATE_VARIABLE_IO_5_54 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_53, Date2A_6, Date2B_7, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:262: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:265: error: package calendar does not exist Var_57 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:272: error: cannot find symbol Date3A_8 = calendar.det_init_date_7_f_0(Var_56, Var_57, Var_58, Var_59, Var_60, Var_61, Var_62); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:275: error: package calendar does not exist Var_64 = calendar.Month_0.K2; ^ Mercury/javas/jmercury/fold_days.java:282: error: cannot find symbol Date3B_9 = calendar.det_init_date_7_f_0(Var_63, Var_64, Var_65, Var_66, Var_67, Var_68, Var_69); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:286: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:290: error: cannot find symbol conv2_STATE_VARIABLE_IO_8_73 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_72, Date3A_8, Date3B_9, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:293: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:296: error: package calendar does not exist Var_76 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:303: error: cannot find symbol Date4A_10 = calendar.det_init_date_7_f_0(Var_75, Var_76, Var_77, Var_78, Var_79, Var_80, Var_81); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:306: error: package calendar does not exist Var_83 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:313: error: cannot find symbol Date4B_11 = calendar.det_init_date_7_f_0(Var_82, Var_83, Var_84, Var_85, Var_86, Var_87, Var_88); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:317: error: cannot find symbol io.write_string_3_p_0(Var_89); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:321: error: cannot find symbol conv3_STATE_VARIABLE_IO_11_92 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_91, Date4A_10, Date4B_11, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:324: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:327: error: package calendar does not exist Var_95 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:334: error: cannot find symbol Date5A_12 = calendar.det_init_date_7_f_0(Var_94, Var_95, Var_96, Var_97, Var_98, Var_99, Var_100); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:337: error: package calendar does not exist Var_102 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:344: error: cannot find symbol Date5B_13 = calendar.det_init_date_7_f_0(Var_101, Var_102, Var_103, Var_104, Var_105, Var_106, Var_107); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:348: error: cannot find symbol io.write_string_3_p_0(Var_108); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:352: error: cannot find symbol conv4_STATE_VARIABLE_IO_14_111 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_110, Date5A_12, Date5B_13, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:355: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:358: error: package calendar does not exist Var_114 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:365: error: cannot find symbol Date6A_14 = calendar.det_init_date_7_f_0(Var_113, Var_114, Var_115, Var_116, Var_117, Var_118, Var_119); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:368: error: package calendar does not exist Var_121 = calendar.Month_0.K1; ^ Mercury/javas/jmercury/fold_days.java:375: error: cannot find symbol Date6B_15 = calendar.det_init_date_7_f_0(Var_120, Var_121, Var_122, Var_123, Var_124, Var_125, Var_126); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:379: error: cannot find symbol io.write_string_3_p_0(Var_127); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:383: error: cannot find symbol conv5_STATE_VARIABLE_IO_17_130 = calendar.foldl_days_5_p_2(TypeCtorInfo_134_134, Var_129, Date6A_14, Date6B_15, ((java.lang.Object) (0))); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:386: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:400: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:415: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:430: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:445: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:460: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:475: error: package calendar does not exist fold_days.write_date_3_p_0(((calendar.Date_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/fold_days.java:489: error: cannot find symbol Str_6 = calendar.date_to_string_1_f_0(Date_4); ^ symbol: variable calendar location: class fold_days Mercury/javas/jmercury/fold_days.java:493: error: cannot find symbol Var_9 = string.f_43_43_2_f_0(Str_6, Var_11); ^ symbol: variable string location: class fold_days Mercury/javas/jmercury/fold_days.java:496: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class fold_days Mercury/javas/jmercury/fold_days.java:568: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 98 errors gmake[3]: *** [/tmp/mmake.zfH1rO:2411: fold_days] Error 1 gmake[3]: Target 'fold_days.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: fold_days.log] Error 1 RUNNING TEST hard_coded/follow_code_bug_1 in grade java FAILED TEST hard_coded/fold_tests in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fold_tests.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - fold_tests Making Mercury/int3s/fold_tests.int3 Making Mercury/ints/fold_tests.int Making Mercury/javas/jmercury/fold_tests.java Making Java class files Mercury/javas/jmercury/fold_tests.java:326: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/fold_tests.java:368: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/fold_tests.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "fold_tests"; ^ Mercury/javas/jmercury/fold_tests.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/fold_tests.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/fold_tests.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class fold_tests Mercury/javas/jmercury/fold_tests.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class fold_tests Mercury/javas/jmercury/fold_tests.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/fold_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/fold_tests.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/fold_tests.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_tests.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_tests.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/fold_tests.java:52: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:52: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/fold_tests.java:53: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:53: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/fold_tests.java:60: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:60: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/fold_tests.java:61: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:61: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/fold_tests.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/fold_tests.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/fold_tests.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/fold_tests.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_54 = null; ^ Mercury/javas/jmercury/fold_tests.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_55 = null; ^ Mercury/javas/jmercury/fold_tests.java:117: error: package list does not exist list.List_1 TestList_4 = null; ^ Mercury/javas/jmercury/fold_tests.java:141: error: cannot find symbol TestList_4 = list.f_46_46_2_f_0(Var_9, Var_10); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:145: error: cannot find symbol TypeCtorInfo_24_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_24_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/fold_tests.java:146: error: cannot find symbol TypeCtorInfo_25_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:146: error: package jmercury.runtime does not exist TypeCtorInfo_25_55 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/fold_tests.java:148: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_45 = list.gap_foldl_5_p_0(TypeCtorInfo_24_54, TypeCtorInfo_25_55, Var_43, Var_44, TestList_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:151: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:156: error: cannot find symbol conv1_STATE_VARIABLE_IO_3_51 = list.last_gap_foldl_6_p_0(TypeCtorInfo_24_54, TypeCtorInfo_25_55, Var_48, Var_44, Var_50, TestList_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:159: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:163: error: cannot find symbol TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:163: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/fold_tests.java:164: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class fold_tests Mercury/javas/jmercury/fold_tests.java:164: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/fold_tests.java:166: error: cannot find symbol conv3_Str0_5 = list.foldl_4_p_0(TypeCtorInfo_30_30, TypeCtorInfo_31_31, Var_12, TestList_4, ((java.lang.Object) (Var_13))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:173: error: cannot find symbol conv5_Str1_6 = list.chunk_foldl_5_p_1(TypeCtorInfo_30_30, TypeCtorInfo_31_31, Var_14, Var_15, TestList_4, ((java.lang.Object) (Var_16))); ^ symbol: variable list location: class fold_tests Mercury/javas/jmercury/fold_tests.java:178: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:181: error: cannot find symbol io.write_string_3_p_0(Str0_5); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:185: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:189: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:192: error: cannot find symbol io.write_string_3_p_0(Str1_6); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:196: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:210: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:224: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:239: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:253: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3])); ^ symbol: variable io location: class fold_tests Mercury/javas/jmercury/fold_tests.java:302: error: cannot find symbol STATE_VARIABLE_Str_7 = string.int_to_string_1_f_0(N_4); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:311: error: cannot find symbol Var_10 = string.int_to_string_1_f_0(N_4); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:315: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(Var_12, STATE_VARIABLE_Str_0_6); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:318: error: cannot find symbol STATE_VARIABLE_Str_7 = string.f_43_43_2_f_0(Var_10, Var_11); ^ symbol: variable string location: class fold_tests Mercury/javas/jmercury/fold_tests.java:355: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/fold_tests.java:416: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 67 errors gmake[3]: *** [/tmp/mmake.F8IVQ4:2411: fold_tests] Error 1 gmake[3]: Target 'fold_tests.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: fold_tests.log] Error 1 RUNNING TEST hard_coded/follow_code_bug_2 in grade java FAILED TEST hard_coded/follow_code_bug_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - follow_code_bug_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - follow_code_bug_1 Making Mercury/int3s/follow_code_bug_1.int3 Making Mercury/ints/follow_code_bug_1.int Making Mercury/javas/jmercury/follow_code_bug_1.java Making Java class files Mercury/javas/jmercury/follow_code_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] follow_code_bug_1__field_types_data_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint follow_code_bug_1__exist_tc_constr_data_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] follow_code_bug_1__exist_tc_constrs_data_0_0 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] follow_code_bug_1__exist_locns_data_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo follow_code_bug_1__exist_info_data_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc follow_code_bug_1__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_1__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] follow_code_bug_1__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_1__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_ordinal_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_name_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_data_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] follow_code_bug_1__type_class_id_method_ids_data_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId follow_code_bug_1__type_class_id_data_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct follow_code_bug_1__type_class_decl_data_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:833: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_1.java:855: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/follow_code_bug_1.java:856: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_1.java:521: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_1.java:572: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_1.java:611: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_1.java:728: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/follow_code_bug_1.java:868: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/follow_code_bug_1.java:869: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "follow_code_bug_1"; ^ Mercury/javas/jmercury/follow_code_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/follow_code_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/follow_code_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/follow_code_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/follow_code_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] follow_code_bug_1__field_types_data_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint follow_code_bug_1__exist_tc_constr_data_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] follow_code_bug_1__exist_tc_constrs_data_0_0 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] follow_code_bug_1__exist_locns_data_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo follow_code_bug_1__exist_info_data_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc follow_code_bug_1__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_1__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] follow_code_bug_1__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_1__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_data_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_ordinal_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_name_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_data_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] follow_code_bug_1__type_class_id_method_ids_data_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/follow_code_bug_1.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId follow_code_bug_1__type_class_id_data_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct follow_code_bug_1__type_class_decl_data_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/follow_code_bug_1.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/follow_code_bug_1.java:73: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:93: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/follow_code_bug_1.java:97: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) follow_code_bug_1.follow_code_bug_1__exist_tc_constr_data_0_0_1; ^ Mercury/javas/jmercury/follow_code_bug_1.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/follow_code_bug_1.java:114: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/follow_code_bug_1.java:130: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/follow_code_bug_1.java:149: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_1.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_1.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/follow_code_bug_1.java:199: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_1.java:202: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_1.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/follow_code_bug_1.java:229: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_1.java:232: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_1.java:290: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:290: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/follow_code_bug_1.java:295: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:295: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/follow_code_bug_1.java:300: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(follow_code_bug_1.follow_code_bug_1__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/follow_code_bug_1.java:333: error: cannot find symbol switch (Type_3.MR_value) { ^ symbol: variable MR_value location: variable Type_3 of type Data_type_0 Mercury/javas/jmercury/follow_code_bug_1.java:333: error: illegal start of type switch (Type_3.MR_value) { ^ Mercury/javas/jmercury/follow_code_bug_1.java:344: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/follow_code_bug_1.java:369: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/follow_code_bug_1.java:371: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/follow_code_bug_1.java:373: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/follow_code_bug_1.java:381: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_data_14)[0])[5]); ^ Mercury/javas/jmercury/follow_code_bug_1.java:383: error: package jmercury.runtime does not exist conv1_Str_17 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_data_14))), ((java.lang.Object) (IntData_4)))); ^ Mercury/javas/jmercury/follow_code_bug_1.java:387: error: cannot find symbol io.write_string_3_p_0(Str_17); ^ symbol: variable io location: class follow_code_bug_1 Mercury/javas/jmercury/follow_code_bug_1.java:390: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class follow_code_bug_1 100 errors gmake[3]: *** [/tmp/mmake.tPbYjE:2411: follow_code_bug_1] Error 1 gmake[3]: Target 'follow_code_bug_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: follow_code_bug_1.log] Error 1 RUNNING TEST hard_coded/foreign_and_mercury in grade java FAILED TEST hard_coded/follow_code_bug_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - follow_code_bug_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - follow_code_bug_2 Making Mercury/int3s/follow_code_bug_2.int3 Making Mercury/ints/follow_code_bug_2.int Making Mercury/javas/jmercury/follow_code_bug_2.java Making Java class files Mercury/javas/jmercury/follow_code_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] follow_code_bug_2__field_types_data_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint follow_code_bug_2__exist_tc_constr_data_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] follow_code_bug_2__exist_tc_constrs_data_0_0 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] follow_code_bug_2__exist_locns_data_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo follow_code_bug_2__exist_info_data_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc follow_code_bug_2__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_2__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] follow_code_bug_2__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_2__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_ordinal_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_name_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_data_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] follow_code_bug_2__type_class_id_method_ids_data_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId follow_code_bug_2__type_class_id_data_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct follow_code_bug_2__type_class_decl_data_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:833: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_2.java:855: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/follow_code_bug_2.java:856: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_2.java:521: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_2.java:572: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_2.java:611: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/follow_code_bug_2.java:728: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/follow_code_bug_2.java:868: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/follow_code_bug_2.java:869: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/follow_code_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "follow_code_bug_2"; ^ Mercury/javas/jmercury/follow_code_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/follow_code_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/follow_code_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/follow_code_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/follow_code_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] follow_code_bug_2__field_types_data_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint follow_code_bug_2__exist_tc_constr_data_0_0_1 = new jmercury.runtime.TypeClassConstraint(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassConstraint[] follow_code_bug_2__exist_tc_constrs_data_0_0 = new jmercury.runtime.TypeClassConstraint[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] follow_code_bug_2__exist_locns_data_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo follow_code_bug_2__exist_info_data_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc follow_code_bug_2__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_2__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] follow_code_bug_2__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] follow_code_bug_2__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_data_type_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_ordinal_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_name_ordered_data_type_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_data_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc follow_code_bug_2__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] follow_code_bug_2__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct follow_code_bug_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] follow_code_bug_2__type_class_id_method_ids_data_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/follow_code_bug_2.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId follow_code_bug_2__type_class_id_data_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:61: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct follow_code_bug_2__type_class_decl_data_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/follow_code_bug_2.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/follow_code_bug_2.java:73: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:93: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/follow_code_bug_2.java:97: error: package jmercury.runtime does not exist (jmercury.runtime.TypeClassConstraint) follow_code_bug_2.follow_code_bug_2__exist_tc_constr_data_0_0_1; ^ Mercury/javas/jmercury/follow_code_bug_2.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/follow_code_bug_2.java:114: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/follow_code_bug_2.java:130: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/follow_code_bug_2.java:149: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_2.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_2.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/follow_code_bug_2.java:199: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_2.java:202: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_2.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/follow_code_bug_2.java:229: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/follow_code_bug_2.java:232: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/follow_code_bug_2.java:290: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:290: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/follow_code_bug_2.java:295: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:295: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/follow_code_bug_2.java:300: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(follow_code_bug_2.follow_code_bug_2__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/follow_code_bug_2.java:333: error: cannot find symbol switch (Type_3.MR_value) { ^ symbol: variable MR_value location: variable Type_3 of type Data_type_0 Mercury/javas/jmercury/follow_code_bug_2.java:333: error: illegal start of type switch (Type_3.MR_value) { ^ Mercury/javas/jmercury/follow_code_bug_2.java:344: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/follow_code_bug_2.java:369: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/follow_code_bug_2.java:371: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/follow_code_bug_2.java:373: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/follow_code_bug_2.java:381: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_data_14)[0])[5]); ^ Mercury/javas/jmercury/follow_code_bug_2.java:383: error: package jmercury.runtime does not exist conv1_Str_17 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_data_14))), ((java.lang.Object) (IntData_4)))); ^ Mercury/javas/jmercury/follow_code_bug_2.java:387: error: cannot find symbol io.write_string_3_p_0(Str_17); ^ symbol: variable io location: class follow_code_bug_2 Mercury/javas/jmercury/follow_code_bug_2.java:390: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class follow_code_bug_2 100 errors gmake[3]: *** [/tmp/mmake.jl0VC8:2411: follow_code_bug_2] Error 1 gmake[3]: Target 'follow_code_bug_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: follow_code_bug_2.log] Error 1 RUNNING TEST hard_coded/foreign_code_before_proc in grade java FAILED TEST hard_coded/foreign_and_mercury in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_and_mercury.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_and_mercury Making Mercury/int3s/foreign_and_mercury.int3 Making Mercury/ints/foreign_and_mercury.int Making Mercury/javas/jmercury/foreign_and_mercury.java Making Java class files Mercury/javas/jmercury/foreign_and_mercury.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_and_mercury"; ^ Mercury/javas/jmercury/foreign_and_mercury.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_and_mercury.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_and_mercury.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_and_mercury.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_and_mercury.java:40: error: cannot find symbol io.write_int_3_p_0(Y_4); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:43: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:47: error: cannot find symbol io.write_int_3_p_0(Z_5); ^ symbol: variable io location: class foreign_and_mercury Mercury/javas/jmercury/foreign_and_mercury.java:50: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_and_mercury 15 errors gmake[3]: *** [/tmp/mmake.tH96AL:2411: foreign_and_mercury] Error 1 gmake[3]: Target 'foreign_and_mercury.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_and_mercury.log] Error 1 RUNNING TEST hard_coded/foreign_enum_rtti in grade java FAILED TEST hard_coded/foreign_code_before_proc in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_code_before_proc.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_code_before_proc Making Mercury/int3s/foreign_code_before_proc.int3 Making Mercury/ints/foreign_code_before_proc.int Making Mercury/javas/jmercury/foreign_code_before_proc.java Making Java class files Mercury/javas/jmercury/foreign_code_before_proc.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_code_before_proc"; ^ Mercury/javas/jmercury/foreign_code_before_proc.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_code_before_proc.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_code_before_proc.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_code_before_proc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_code_before_proc.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/foreign_code_before_proc.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class foreign_code_before_proc Mercury/javas/jmercury/foreign_code_before_proc.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/foreign_code_before_proc.java:40: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_7_7, java.lang.Integer.valueOf(Var_6)); ^ symbol: variable io location: class foreign_code_before_proc 15 errors gmake[3]: *** [/tmp/mmake.Zp7uUQ:2411: foreign_code_before_proc] Error 1 gmake[3]: Target 'foreign_code_before_proc.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_code_before_proc.log] Error 1 RUNNING TEST hard_coded/foreign_enum_switch in grade java FAILED TEST hard_coded/foreign_enum_switch in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_enum_switch.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_enum_switch Making Mercury/int3s/foreign_enum_switch.int3 Making Mercury/ints/foreign_enum_switch.int Making Mercury/javas/jmercury/foreign_enum_switch.java Making Java class files Mercury/javas/jmercury/foreign_enum_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_switch__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_switch__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_switch.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:271: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/foreign_enum_switch.java:272: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_enum_switch.java:163: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_enum_switch.java:227: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_enum_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_enum_switch"; ^ Mercury/javas/jmercury/foreign_enum_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_enum_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_enum_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_enum_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_enum_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_switch__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_switch__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_switch__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_switch.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/foreign_enum_switch.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_enum_switch.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_enum_switch.java:114: error: cannot find symbol io.write_int_3_p_0(Out1_4); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:117: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:124: error: cannot find symbol io.write_int_3_p_0(Out2_5); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:127: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:134: error: cannot find symbol io.write_int_3_p_0(Out3_6); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:137: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_enum_switch Mercury/javas/jmercury/foreign_enum_switch.java:147: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type T_0 Mercury/javas/jmercury/foreign_enum_switch.java:147: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/foreign_enum_switch.java:158: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/foreign_enum_switch.java:169: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_enum_switch.java:170: 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 T_0 Mercury/javas/jmercury/foreign_enum_switch.java:171: 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 T_0 Mercury/javas/jmercury/foreign_enum_switch.java:175: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_enum_switch.java:180: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_enum_switch.java:182: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_enum_switch.java:193: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_enum_switch.java:207: 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 T_0 Mercury/javas/jmercury/foreign_enum_switch.java:207: 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 T_0 Mercury/javas/jmercury/foreign_enum_switch.java:256: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 49 errors gmake[3]: *** [/tmp/mmake.hWrgLT:2411: foreign_enum_switch] Error 1 gmake[3]: Target 'foreign_enum_switch.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_enum_switch.log] Error 1 RUNNING TEST hard_coded/foreign_import_module in grade java FAILED TEST hard_coded/foreign_enum_rtti in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_enum_rtti.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_enum_rtti Making Mercury/int3s/foreign_enum_rtti.int3 Making Mercury/ints/foreign_enum_rtti.int Making Mercury/javas/jmercury/foreign_enum_rtti.java Making Java class files Mercury/javas/jmercury/foreign_enum_rtti.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_rtti__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:100: 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/foreign_enum_rtti.java:101: 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[6]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:105: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_7 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:814: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/foreign_enum_rtti.java:815: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_enum_rtti.java:291: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:553: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_5, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:645: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:709: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:751: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_enum_rtti"; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc foreign_enum_rtti__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] foreign_enum_rtti__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_enum_rtti__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:100: 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/foreign_enum_rtti.java:101: 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[6]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:105: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_7 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:110: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:110: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:111: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:114: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:118: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:123: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:128: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:133: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:138: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:143: error: package list does not exist (list.List_1) foreign_enum_rtti.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/foreign_enum_rtti.java:150: error: cannot find symbol ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ symbol: variable type_desc location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:150: error: illegal start of type ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:152: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:152: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:161: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:161: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/foreign_enum_rtti.java:162: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:162: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/foreign_enum_rtti.java:171: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/foreign_enum_rtti.java:172: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:173: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:174: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:175: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/foreign_enum_rtti.java:176: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/foreign_enum_rtti.java:192: error: package univ does not exist univ.Univ_0 Univ_8 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:193: error: package list does not exist list.List_1 Var_11 = (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:193: error: package list does not exist list.List_1 Var_11 = (list.List_1) foreign_enum_rtti.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:196: error: cannot find symbol java.lang.Object [] result = construct.construct_4_p_0(TypeDesc_5, LexFunctorNum_6, Var_11); ^ symbol: variable construct location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:198: error: package univ does not exist Univ_8 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:206: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:208: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:208: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:210: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Univ_8))); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:218: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_enum_rtti.foreign_enum_rtti__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/foreign_enum_rtti.java:230: error: package list does not exist list.List_1 Args_8 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:231: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:231: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = deconstruct.Noncanon_handling_0.K0; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:236: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_41 = null; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:240: error: cannot find symbol java.lang.Object [] result = deconstruct.deconstruct_5_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Data_4)), Var_13); ^ symbol: variable deconstruct location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:243: error: package list does not exist Args_8 = (list.List_1) result[2]; ^ Mercury/javas/jmercury/foreign_enum_rtti.java:247: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:250: error: cannot find symbol io.write_string_3_p_0(Name_6); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:254: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class foreign_enum_rtti Mercury/javas/jmercury/foreign_enum_rtti.java:258: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class foreign_enum_rtti 100 errors gmake[3]: *** [/tmp/mmake.1fVOLH:2411: foreign_enum_rtti] Error 1 gmake[3]: Target 'foreign_enum_rtti.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_enum_rtti.log] Error 1 RUNNING TEST hard_coded/foreign_name_mutable in grade java FAILED TEST hard_coded/foreign_import_module in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_import_module.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_import_module Making Mercury/int3s/foreign_import_module.int3 Making Mercury/int3s/foreign_import_module_helper_1.int3 Making Mercury/ints/foreign_import_module_helper_1.int Making Mercury/ints/foreign_import_module.int Making Mercury/javas/jmercury/foreign_import_module.java Making Mercury/javas/jmercury/foreign_import_module_helper_1.java Making Java class files Mercury/javas/jmercury/foreign_import_module.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_import_module"; ^ Mercury/javas/jmercury/foreign_import_module.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_import_module.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_import_module.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_import_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_import_module.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/foreign_import_module.java:93: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:93: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/foreign_import_module.java:95: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, java.lang.Integer.valueOf(X_4)); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:110: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, java.lang.Integer.valueOf(Y_5)); ^ symbol: variable io location: class foreign_import_module 16 errors gmake[3]: *** [/tmp/mmake.qMOpMc:2411: foreign_import_module] Error 1 gmake[3]: Target 'foreign_import_module.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_import_module.log] Error 1 RUNNING TEST hard_coded/foreign_type_1 in grade java FAILED TEST hard_coded/foreign_name_mutable in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_name_mutable.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_name_mutable Making Mercury/int3s/foreign_name_mutable.int3 Making Mercury/ints/foreign_name_mutable.int Making Mercury/javas/jmercury/foreign_name_mutable.java Making Java class files Mercury/javas/jmercury/foreign_name_mutable.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_name_mutable"; ^ Mercury/javas/jmercury/foreign_name_mutable.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_name_mutable.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_name_mutable.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_name_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_name_mutable.java:87: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:90: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class foreign_name_mutable Mercury/javas/jmercury/foreign_name_mutable.java:93: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_name_mutable 14 errors gmake[3]: *** [/tmp/mmake.5X20e8:2411: foreign_name_mutable] Error 1 gmake[3]: Target 'foreign_name_mutable.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_name_mutable.log] Error 1 RUNNING TEST hard_coded/foreign_type_2 in grade java FAILED TEST hard_coded/foreign_type_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_1 Making Mercury/int3s/foreign_type_1.int3 Making Mercury/ints/foreign_type_1.int Making Mercury/javas/jmercury/foreign_type_1.java Making Java class files Mercury/javas/jmercury/foreign_type_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_1__field_types_coord_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_1__du_functor_desc_coord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_stag_ordered_coord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_1__du_ptag_ordered_coord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_name_ordered_coord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_1__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_1.java:438: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_type_1.java:287: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_1.java:396: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_type_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_type_1"; ^ Mercury/javas/jmercury/foreign_type_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_type_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_type_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_type_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_type_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_1__field_types_coord_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_1__du_functor_desc_coord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_stag_ordered_coord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_1__du_ptag_ordered_coord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_1__du_name_ordered_coord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_1__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_1.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_1.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_1.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:55: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/foreign_type_1.java:71: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/foreign_type_1.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_1.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_1.java:164: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:168: error: cannot find symbol io.write_int_3_p_0(Var_14); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:171: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:175: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:179: error: cannot find symbol io.write_int_3_p_0(Var_19); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:187: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:191: error: cannot find symbol io.write_int_3_p_0(Var_26); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:194: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:198: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:202: error: cannot find symbol io.write_int_3_p_0(Var_31); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:210: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:214: error: cannot find symbol io.write_int_3_p_0(Var_38); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:217: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:221: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:225: error: cannot find symbol io.write_int_3_p_0(Var_43); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:228: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:233: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:237: error: cannot find symbol io.write_int_3_p_0(Var_50); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:244: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:248: error: cannot find symbol io.write_int_3_p_0(Var_55); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_1 Mercury/javas/jmercury/foreign_type_1.java:293: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:299: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:306: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:310: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_1.java:315: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_1.java:317: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:319: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/foreign_type_1.java:326: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_1.java:331: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_1.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_1.java:346: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_1.java:425: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 73 errors gmake[3]: *** [/tmp/mmake.tG4epH:2411: foreign_type_1] Error 1 gmake[3]: Target 'foreign_type_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_type_1.log] Error 1 RUNNING TEST hard_coded/foreign_type_3 in grade java FAILED TEST hard_coded/foreign_type_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_2 Making Mercury/int3s/foreign_type_2.int3 Making Mercury/ints/foreign_type_2.int Making Mercury/javas/jmercury/foreign_type_2.java Making Java class files Mercury/javas/jmercury/foreign_type_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_2__field_types_coord_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_2__du_functor_desc_coord_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_2__du_stag_ordered_coord_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_2__du_ptag_ordered_coord_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_2__du_name_ordered_coord_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_2__type_ctor_info_coord_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_2.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:334: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/foreign_type_2.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/foreign_type_2.java:178: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_2.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/foreign_type_2.java:291: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/foreign_type_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_type_2"; ^ Mercury/javas/jmercury/foreign_type_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_type_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_type_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_type_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_type_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] foreign_type_2__field_types_coord_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/foreign_type_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc foreign_type_2__du_functor_desc_coord_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/foreign_type_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_2__du_stag_ordered_coord_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] foreign_type_2__du_ptag_ordered_coord_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] foreign_type_2__du_name_ordered_coord_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_2__type_ctor_info_coord_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_2.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_2.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/foreign_type_2.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:55: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/foreign_type_2.java:71: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/foreign_type_2.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_2.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_2.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/foreign_type_2.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/foreign_type_2.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_type_2.foreign_type_2__type_ctor_info_coord_1))), ^ Mercury/javas/jmercury/foreign_type_2.java:115: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/foreign_type_2.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/foreign_type_2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_22 = null; ^ Mercury/javas/jmercury/foreign_type_2.java:143: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:147: error: cannot find symbol io.write_int_3_p_0(Var_12); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:150: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:154: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:158: error: cannot find symbol io.write_int_3_p_0(Var_17); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:161: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:163: error: package jmercury.runtime does not exist TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(foreign_type_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/foreign_type_2.java:165: error: cannot find symbol Var_22 = type_desc.type_of_1_f_0(TypeInfo_24_24); ^ symbol: variable type_desc location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:168: error: cannot find symbol Var_20 = type_desc.type_name_1_f_0(Var_22); ^ symbol: variable type_desc location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:171: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:174: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class foreign_type_2 Mercury/javas/jmercury/foreign_type_2.java:185: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_2.java:191: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_2.java:198: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/foreign_type_2.java:202: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_2.java:207: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_2.java:209: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_2.java:211: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/foreign_type_2.java:218: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/foreign_type_2.java:223: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/foreign_type_2.java:225: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/foreign_type_2.java:239: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_2.java:242: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = foreign_type_2.__Compare____coord_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((foreign_type_2.Coord_1) wrapper_arg_3), ((foreign_type_2.Coord_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/foreign_type_2.java:284: error: package jmercury.runtime does not exist succeeded = foreign_type_2.__Unify____coord_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((foreign_type_2.Coord_1) wrapper_arg_2), ((foreign_type_2.Coord_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/foreign_type_2.java:321: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 72 errors gmake[3]: *** [/tmp/mmake.6SCZCl:2411: foreign_type_2] Error 1 gmake[3]: Target 'foreign_type_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_type_2.log] Error 1 RUNNING TEST hard_coded/format_term_nl in grade java FAILED TEST hard_coded/foreign_type_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - foreign_type_3 Making Mercury/int3s/foreign_type_3.int3 Making Mercury/ints/foreign_type_3.int Making Mercury/javas/jmercury/foreign_type_3.java Making Java class files Mercury/javas/jmercury/foreign_type_3.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_dir_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:190: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_3.java:220: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_3.java:250: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/foreign_type_3.java:366: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/foreign_type_3.java:30: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_type_3"; ^ Mercury/javas/jmercury/foreign_type_3.java:31: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_type_3.java:32: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_type_3.java:33: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:34: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:40: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_type_3.java:41: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:41: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:42: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:42: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:43: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_type_3.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_dir_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct foreign_type_3__type_ctor_info_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/foreign_type_3.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/foreign_type_3.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_3.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_3.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/foreign_type_3.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_3.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_3.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/foreign_type_3.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/foreign_type_3.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/foreign_type_3.java:127: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:195: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:200: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:211: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:225: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:230: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:241: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:255: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:260: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:271: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/foreign_type_3.java:290: error: cannot find symbol succeeded = builtin.__Unify____c_pointer_0_0(Cast_HeadVar1_3, Cast_HeadVar2_4); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:318: error: cannot find symbol succeeded = builtin.__Unify____c_pointer_0_0(Cast_HeadVar1_3, Cast_HeadVar2_4); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:346: error: cannot find symbol succeeded = builtin.__Unify____c_pointer_0_0(Cast_HeadVar1_3, Cast_HeadVar2_4); ^ symbol: variable builtin location: class foreign_type_3 Mercury/javas/jmercury/foreign_type_3.java:431: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors gmake[3]: *** [/tmp/mmake.DHotwn:2411: foreign_type_3] Error 1 gmake[3]: Target 'foreign_type_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: foreign_type_3.log] Error 1 RUNNING TEST hard_coded/frameopt_pragma_redirect in grade java FAILED TEST hard_coded/format_term_nl in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - format_term_nl.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - format_term_nl Making Mercury/int3s/format_term_nl.int3 Making Mercury/ints/format_term_nl.int Making Mercury/javas/jmercury/format_term_nl.java Making Java class files Mercury/javas/jmercury/format_term_nl.java:33: error: package term.Const_0 does not exist private static final term.Const_0.Atom_1[] MR_scalar_common_2 = new term.Const_0.Atom_1[2]; ^ Mercury/javas/jmercury/format_term_nl.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/format_term_nl.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "format_term_nl"; ^ Mercury/javas/jmercury/format_term_nl.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/format_term_nl.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/format_term_nl.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/format_term_nl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/format_term_nl.java:33: error: package term.Const_0 does not exist private static final term.Const_0.Atom_1[] MR_scalar_common_2 = new term.Const_0.Atom_1[2]; ^ Mercury/javas/jmercury/format_term_nl.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/format_term_nl.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__stream__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/format_term_nl.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/format_term_nl.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__output__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/format_term_nl.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/format_term_nl.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__writer__arity3__string__builder__handle__arity0__string__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/format_term_nl.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/format_term_nl.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/format_term_nl.java:59: error: package term.Const_0 does not exist new term.Const_0.Atom_1( ^ Mercury/javas/jmercury/format_term_nl.java:63: error: package term.Const_0 does not exist new term.Const_0.Atom_1( ^ Mercury/javas/jmercury/format_term_nl.java:67: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/format_term_nl.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/format_term_nl.java:80: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/format_term_nl.java:82: error: package varset does not exist varset.Varset_1 VarSet_4 = null; ^ Mercury/javas/jmercury/format_term_nl.java:83: error: package list does not exist list.List_1 Args_5 = null; ^ Mercury/javas/jmercury/format_term_nl.java:84: error: package term does not exist term.Term_1 Term_6 = null; ^ Mercury/javas/jmercury/format_term_nl.java:85: error: package string__builder does not exist string__builder.State_0 State0_7 = null; ^ Mercury/javas/jmercury/format_term_nl.java:86: error: package string__builder does not exist string__builder.State_0 State_8 = null; ^ Mercury/javas/jmercury/format_term_nl.java:88: error: package term does not exist term.Term_1 Var_13 = null; ^ Mercury/javas/jmercury/format_term_nl.java:89: error: package term does not exist term.Const_0 Var_14 = null; ^ Mercury/javas/jmercury/format_term_nl.java:90: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/format_term_nl.java:91: error: package term_context does not exist term_context.Term_context_0 Var_17 = null; ^ Mercury/javas/jmercury/format_term_nl.java:92: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/format_term_nl.java:93: error: package term does not exist term.Term_1 Var_19 = null; ^ Mercury/javas/jmercury/format_term_nl.java:95: error: package term_context does not exist term_context.Term_context_0 Var_21 = null; ^ Mercury/javas/jmercury/format_term_nl.java:96: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/format_term_nl.java:97: error: package term does not exist term.Const_0 Var_23 = null; ^ Mercury/javas/jmercury/format_term_nl.java:98: error: package term_context does not exist term_context.Term_context_0 Var_25 = null; ^ Mercury/javas/jmercury/format_term_nl.java:102: error: cannot find symbol VarSet_4 = varset.init_1_p_0(TypeCtorInfo_33_33); ^ symbol: variable varset location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:104: error: package term does not exist Var_14 = (term.Const_0) format_term_nl.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/format_term_nl.java:105: error: package list does not exist Var_16 = (list.List_1) format_term_nl.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/format_term_nl.java:107: error: cannot find symbol Var_17 = term_context.dummy_context_0_f_0(); ^ symbol: variable term_context location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:110: error: package term.Term_1 does not exist Var_13 = new term.Term_1.Functor_3( ^ Mercury/javas/jmercury/format_term_nl.java:118: error: cannot find symbol Var_21 = term_context.dummy_context_0_f_0(); ^ symbol: variable term_context location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:121: error: cannot find symbol Var_19 = term_int.int_to_decimal_term_2_f_0(TypeCtorInfo_33_33, Var_20, Var_21); ^ symbol: variable term_int location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:123: error: package list does not exist Var_22 = (list.List_1) format_term_nl.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/format_term_nl.java:125: error: package list.List_1 does not exist Var_18 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/format_term_nl.java:131: error: package list.List_1 does not exist Args_5 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/format_term_nl.java:136: error: package term does not exist Var_23 = (term.Const_0) format_term_nl.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/format_term_nl.java:138: error: cannot find symbol Var_25 = term_context.dummy_context_0_f_0(); ^ symbol: variable term_context location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:141: error: package term.Term_1 does not exist Term_6 = new term.Term_1.Functor_3( ^ Mercury/javas/jmercury/format_term_nl.java:148: error: cannot find symbol State0_7 = string__builder.init_0_f_0(); ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:152: error: cannot find symbol State_8 = term_io.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_102_111_114_109_97_116_95_116_101_114_109_95_110_108_95_95_91_83_116_114_101_97_109_32_61_32_115_116_114_105_110_103_46_98_117_105_108_100_101_114_46_104_97_110_100_108_101_44_32_83_116_97_116_101_32_61_32_115_116_114_105_110_103_46_98_117_105_108_100_101_114_46_115_116_97_116_101_93_95_48_95_49_5_p_0(TypeCtorInfo_33_33, TypeClassInfo_for_writer_34, VarSet_4, Term_6, State0_7); ^ symbol: variable term_io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:155: error: cannot find symbol String_9 = string__builder.to_string_1_f_0(State_8); ^ symbol: variable string__builder location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:159: error: cannot find symbol succeeded = string.suffix_2_p_0(String_9, Var_27); ^ symbol: variable string location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/format_term_nl.java:163: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/format_term_nl.java:167: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_35_35, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/format_term_nl.java:172: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/format_term_nl.java:176: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_30))); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:179: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (String_9))); ^ symbol: variable io location: class format_term_nl Mercury/javas/jmercury/format_term_nl.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class format_term_nl 80 errors gmake[3]: *** [/tmp/mmake.d2jFvp:2411: format_term_nl] Error 1 gmake[3]: Target 'format_term_nl.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: format_term_nl.log] Error 1 RUNNING TEST hard_coded/free_free_mode in grade java FAILED TEST hard_coded/free_free_mode in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - free_free_mode.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - free_free_mode Making Mercury/int3s/free_free_mode.int3 Making Mercury/ints/free_free_mode.int Making Mercury/javas/jmercury/free_free_mode.java Making Java class files Mercury/javas/jmercury/free_free_mode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "free_free_mode"; ^ Mercury/javas/jmercury/free_free_mode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/free_free_mode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/free_free_mode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/free_free_mode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/free_free_mode.java:50: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class free_free_mode Mercury/javas/jmercury/free_free_mode.java:54: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class free_free_mode 13 errors gmake[3]: *** [/tmp/mmake.lQHolA:2411: free_free_mode] Error 1 gmake[3]: Target 'free_free_mode.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: free_free_mode.log] Error 1 RUNNING TEST hard_coded/from_ground_term_bug in grade java FAILED TEST hard_coded/frameopt_pragma_redirect in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - frameopt_pragma_redirect.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - frameopt_pragma_redirect Making Mercury/int3s/frameopt_pragma_redirect.int3 Making Mercury/ints/frameopt_pragma_redirect.int Making Mercury/javas/jmercury/frameopt_pragma_redirect.java Making Java class files Mercury/javas/jmercury/frameopt_pragma_redirect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct frameopt_pragma_redirect__type_ctor_info_interval_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:72: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[6]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:150: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:148: error: package pair does not exist private static pair.Pair_2 ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:192: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:242: error: package pair does not exist pair.Pair_2 HeadVar__2_2, ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:243: error: package pair does not exist pair.Pair_2 HeadVar__3_3) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:240: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:273: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:274: error: package pair does not exist pair.Pair_2 HeadVar__2_2) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:302: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "frameopt_pragma_redirect"; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct frameopt_pragma_redirect__type_ctor_info_interval_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:38: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) frameopt_pragma_redirect.pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:72: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[6]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:73: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:74: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:84: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:89: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:94: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:99: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:104: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:109: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:114: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:117: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[1])), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:118: error: package list does not exist (list.List_1) frameopt_pragma_redirect.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:122: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[2])), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:123: error: package list does not exist (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:127: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[3])), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:128: error: package list does not exist (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:132: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[4])), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:133: error: package list does not exist (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:137: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[5])), ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:138: error: package list does not exist (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:152: error: package pair does not exist pair.Pair_2 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:155: error: package pair does not exist HeadVar__2_2 = (pair.Pair_2) frameopt_pragma_redirect.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:158: error: package pair does not exist pair.Pair_2 I_5 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:158: error: package pair does not exist pair.Pair_2 I_5 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:158: error: package list.List_1 does not exist pair.Pair_2 I_5 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:159: error: package list does not exist list.List_1 Is_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:159: error: package list.List_1 does not exist list.List_1 Is_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:160: error: package pair does not exist pair.Pair_2 SumI0_8 = null; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:174: error: package pair does not exist S1_9 = ((java.lang.Integer) (((pair.Pair_2) I_5).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:174: error: illegal start of type S1_9 = ((java.lang.Integer) (((pair.Pair_2) I_5).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:175: error: package pair does not exist E1_10 = ((java.lang.Integer) (((pair.Pair_2) I_5).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:175: error: illegal start of type E1_10 = ((java.lang.Integer) (((pair.Pair_2) I_5).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:176: error: package pair does not exist S2_11 = ((java.lang.Integer) (((pair.Pair_2) SumI0_8).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:176: error: illegal start of type S2_11 = ((java.lang.Integer) (((pair.Pair_2) SumI0_8).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:177: error: package pair does not exist E2_12 = ((java.lang.Integer) (((pair.Pair_2) SumI0_8).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:177: error: illegal start of type E2_12 = ((java.lang.Integer) (((pair.Pair_2) SumI0_8).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:181: error: package pair does not exist HeadVar__2_2 = new pair.Pair_2( ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:195: error: package pair does not exist int S_2 = ((java.lang.Integer) (((pair.Pair_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:195: error: illegal start of type int S_2 = ((java.lang.Integer) (((pair.Pair_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:196: error: package pair does not exist int E_3 = ((java.lang.Integer) (((pair.Pair_2) HeadVar__1_1).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:196: error: illegal start of type int E_3 = ((java.lang.Integer) (((pair.Pair_2) HeadVar__1_1).F2)).intValue(); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:205: error: cannot find symbol require.error_1_p_0(Var_4); ^ symbol: variable require location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:218: error: cannot find symbol require.error_1_p_0(Var_5); ^ symbol: variable require location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:228: error: package pair does not exist pair.Pair_2 I_4 = null; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:229: error: package list does not exist list.List_1 Var_7 = (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:229: error: package list does not exist list.List_1 Var_7 = (list.List_1) frameopt_pragma_redirect.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:234: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(frameopt_pragma_redirect.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/frameopt_pragma_redirect.java:236: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, ((java.lang.Object) (I_4))); ^ symbol: variable io location: class frameopt_pragma_redirect Mercury/javas/jmercury/frameopt_pragma_redirect.java:245: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.DmmfXa:2411: frameopt_pragma_redirect] Error 1 gmake[3]: Target 'frameopt_pragma_redirect.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: frameopt_pragma_redirect.log] Error 1 RUNNING TEST hard_coded/from_int_int16 in grade java FAILED TEST hard_coded/from_ground_term_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --from-ground-term-threshold=4 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_ground_term_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --from-ground-term-threshold=4 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_ground_term_bug Making Mercury/int3s/from_ground_term_bug.int3 Making Mercury/ints/from_ground_term_bug.int Making Mercury/javas/jmercury/from_ground_term_bug.java Making Java class files Mercury/javas/jmercury/from_ground_term_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_ground_term_bug"; ^ Mercury/javas/jmercury/from_ground_term_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_ground_term_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_ground_term_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_ground_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_ground_term_bug Mercury/javas/jmercury/from_ground_term_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_ground_term_bug.java:39: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class from_ground_term_bug 12 errors gmake[3]: *** [/tmp/mmake.4Lep0S:2411: from_ground_term_bug] Error 1 gmake[3]: Target 'from_ground_term_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_ground_term_bug.log] Error 1 RUNNING TEST hard_coded/from_int_int32 in grade java FAILED TEST hard_coded/from_int_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int16 Making Mercury/int3s/from_int_int16.int3 Making Mercury/ints/from_int_int16.int Making Mercury/javas/jmercury/from_int_int16.java Making Java class files Mercury/javas/jmercury/from_int_int16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_int16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int16.java:229: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_int16"; ^ Mercury/javas/jmercury/from_int_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_int16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_int16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int16.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/from_int_int16.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_int16.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_int16.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_int16.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:59: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_int16.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:64: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_int16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:69: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_int16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:74: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_int16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:79: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_int16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:84: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_int16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:89: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_int16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:94: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_int16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:99: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_int16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:104: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_int16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:109: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_int16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:114: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_int16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:119: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_int16.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int16.java:124: error: package list does not exist (list.List_1) from_int_int16.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_int16.java:127: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_int16.java:128: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_int16.java:129: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_int16.java:130: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_int16.java:131: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_int16.java:132: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_int16.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_int_int16.java:154: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:156: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_int_int16.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_int16.java:158: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Int_4); ^ symbol: variable string__format location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:161: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:165: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:168: error: cannot find symbol java.lang.Object [] result = int16.from_int_2_p_0(Int_4); ^ symbol: variable int16 location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:178: error: cannot find symbol Var_18 = string.int16_to_string_1_f_0(Int16_6); ^ symbol: variable string location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:181: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:185: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:193: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_int16.java:201: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_int16.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int16.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_int16 Mercury/javas/jmercury/from_int_int16.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int16.java:204: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int16.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_int16.java:204: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int16.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_int16.java:208: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_int16 79 errors gmake[3]: *** [/tmp/mmake.jmH3Hp:2411: from_int_int16] Error 1 gmake[3]: Target 'from_int_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_int16.log] Error 1 RUNNING TEST hard_coded/from_int_int64 in grade java FAILED TEST hard_coded/from_int_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int32 Making Mercury/int3s/from_int_int32.int3 Making Mercury/ints/from_int_int32.int Making Mercury/javas/jmercury/from_int_int32.java Making Java class files Mercury/javas/jmercury/from_int_int32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/from_int_int32.java:231: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_int32"; ^ Mercury/javas/jmercury/from_int_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_int32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/from_int_int32.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_int_int32.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_int32.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_int32.java:54: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_int32.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:58: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_int32.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:63: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_int32.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:68: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_int32.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:73: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_int32.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:78: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_int32.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:83: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_int32.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:88: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_int32.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:93: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_int32.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:98: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_int32.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:103: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_int32.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:108: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_int32.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:113: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_int32.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:118: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_int32.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:123: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_int32.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:128: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/from_int_int32.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int32.java:133: error: package list does not exist (list.List_1) from_int_int32.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/from_int_int32.java:154: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:157: error: cannot find symbol io.write_string_3_p_0(IntStr_4); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:161: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:164: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(IntStr_4); ^ symbol: variable string location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:170: error: cannot find symbol java.lang.Object [] result = int32.from_int_2_p_0(Int_6); ^ symbol: variable int32 location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:180: error: cannot find symbol Var_19 = string.int32_to_string_1_f_0(Int32_7); ^ symbol: variable string location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:183: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:187: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:195: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_int32.java:203: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_int32.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int32.java:204: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_int32 Mercury/javas/jmercury/from_int_int32.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int32.java:206: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int32.MR_scalar_common_4[15]; ^ Mercury/javas/jmercury/from_int_int32.java:206: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int32.MR_scalar_common_4[15]; ^ Mercury/javas/jmercury/from_int_int32.java:210: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_int32 73 errors gmake[3]: *** [/tmp/mmake.SpT3mg:2411: from_int_int32] Error 1 gmake[3]: Target 'from_int_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_int32.log] Error 1 RUNNING TEST hard_coded/from_int_int8 in grade java FAILED TEST hard_coded/from_int_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int64 Making Mercury/int3s/from_int_int64.int3 Making Mercury/ints/from_int_int64.int Making Mercury/javas/jmercury/from_int_int64.java Making Java class files Mercury/javas/jmercury/from_int_int64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_int64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int64.java:229: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_int64"; ^ Mercury/javas/jmercury/from_int_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_int64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_int64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int64.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_int_int64.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_int64.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_int64.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_int64.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:59: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_int64.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:64: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_int64.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:69: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_int64.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:74: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_int64.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:79: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_int64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:84: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_int64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:89: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_int64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:94: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_int64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:99: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_int64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:104: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_int64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:109: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_int64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:114: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_int64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:119: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_int64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int64.java:124: error: package list does not exist (list.List_1) from_int_int64.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_int64.java:127: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_int64.java:128: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_int64.java:129: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_int64.java:130: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_int64.java:131: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_int64.java:132: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_int64.java:152: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:155: error: cannot find symbol io.write_string_3_p_0(IntStr_4); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:159: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:162: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(IntStr_4); ^ symbol: variable string location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:170: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/from_int_int64.java:174: error: cannot find symbol Int64_7 = int64.from_int_1_f_0(Int_6); ^ symbol: variable int64 location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:176: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) from_int_int64.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_int64.java:178: error: cannot find symbol Var_26 = string__format.format_signed_int64_component_nowidth_noprec_3_p_0(Var_32, Int64_7); ^ symbol: variable string__format location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:181: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:185: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:193: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_int64.java:201: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_int64.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int64.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_int64 Mercury/javas/jmercury/from_int_int64.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int64.java:204: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int64.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_int64.java:204: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int64.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_int64.java:208: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_int64 79 errors gmake[3]: *** [/tmp/mmake.CdKprg:2411: from_int_int64] Error 1 gmake[3]: Target 'from_int_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_int64.log] Error 1 RUNNING TEST hard_coded/from_int_uint16 in grade java FAILED TEST hard_coded/from_int_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_int8 Making Mercury/int3s/from_int_int8.int3 Making Mercury/ints/from_int_int8.int Making Mercury/javas/jmercury/from_int_int8.java Making Java class files Mercury/javas/jmercury/from_int_int8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/from_int_int8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int8.java:219: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_int8"; ^ Mercury/javas/jmercury/from_int_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_int8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_int8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/from_int_int8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_int8.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/from_int_int8.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_int8.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_int8.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_int8.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:59: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_int8.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:64: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_int8.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:69: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_int8.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:74: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_int8.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:79: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_int8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:84: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_int8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:89: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_int8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:94: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_int8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:99: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_int8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:104: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_int8.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:109: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_int8.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_int8.java:114: error: package list does not exist (list.List_1) from_int_int8.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_int8.java:117: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_int8.java:118: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_int8.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_int8.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_int8.java:121: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_int8.java:122: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_int8.java:139: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_int_int8.java:144: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:146: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_int_int8.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_int8.java:148: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Int_4); ^ symbol: variable string__format location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:151: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:155: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:158: error: cannot find symbol java.lang.Object [] result = int8.from_int_2_p_0(Int_4); ^ symbol: variable int8 location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:168: error: cannot find symbol Var_18 = string.int8_to_string_1_f_0(Int8_6); ^ symbol: variable string location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:171: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:175: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:183: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_int8.java:191: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_int8.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int8.java:192: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_int8 Mercury/javas/jmercury/from_int_int8.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_int8.java:194: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int8.MR_scalar_common_4[11]; ^ Mercury/javas/jmercury/from_int_int8.java:194: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_int8.MR_scalar_common_4[11]; ^ Mercury/javas/jmercury/from_int_int8.java:198: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_int8 75 errors gmake[3]: *** [/tmp/mmake.NiyHZa:2411: from_int_int8] Error 1 gmake[3]: Target 'from_int_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_int8.log] Error 1 RUNNING TEST hard_coded/from_int_uint32 in grade java FAILED TEST hard_coded/from_int_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint16 Making Mercury/int3s/from_int_uint16.int3 Making Mercury/ints/from_int_uint16.int Making Mercury/javas/jmercury/from_int_uint16.java Making Java class files Mercury/javas/jmercury/from_int_uint16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/from_int_uint16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint16.java:239: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_uint16"; ^ Mercury/javas/jmercury/from_int_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_uint16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/from_int_uint16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint16.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/from_int_uint16.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_uint16.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_uint16.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_uint16.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:59: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_uint16.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:64: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_uint16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:69: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_uint16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:74: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_uint16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:79: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:84: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:89: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:94: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:99: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:104: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_uint16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:109: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_uint16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:114: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_uint16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:119: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_uint16.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:124: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_uint16.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:129: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/from_int_uint16.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint16.java:134: error: package list does not exist (list.List_1) from_int_uint16.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/from_int_uint16.java:137: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_uint16.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_uint16.java:139: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_uint16.java:140: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_uint16.java:141: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_uint16.java:142: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_uint16.java:159: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_int_uint16.java:164: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:166: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_int_uint16.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_uint16.java:168: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Int_4); ^ symbol: variable string__format location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:171: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:175: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:178: error: cannot find symbol java.lang.Object [] result = uint16.from_int_2_p_0(Int_4); ^ symbol: variable uint16 location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:188: error: cannot find symbol Var_18 = string.uint16_to_string_1_f_0(UInt16_6); ^ symbol: variable string location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:191: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:195: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:203: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_uint16.java:211: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_uint16.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint16.java:212: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_uint16 Mercury/javas/jmercury/from_int_uint16.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint16.java:214: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint16.MR_scalar_common_4[15]; ^ Mercury/javas/jmercury/from_int_uint16.java:214: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint16.MR_scalar_common_4[15]; ^ Mercury/javas/jmercury/from_int_uint16.java:218: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_uint16 83 errors gmake[3]: *** [/tmp/mmake.ubt65Y:2411: from_int_uint16] Error 1 gmake[3]: Target 'from_int_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_uint16.log] Error 1 RUNNING TEST hard_coded/from_int_uint64 in grade java FAILED TEST hard_coded/from_int_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint32 Making Mercury/int3s/from_int_uint32.int3 Making Mercury/ints/from_int_uint32.int Making Mercury/javas/jmercury/from_int_uint32.java Making Java class files Mercury/javas/jmercury/from_int_uint32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/from_int_uint32.java:241: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_uint32"; ^ Mercury/javas/jmercury/from_int_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_uint32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/from_int_uint32.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_int_uint32.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_uint32.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_uint32.java:54: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_uint32.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:58: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_uint32.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:63: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_uint32.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:68: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_uint32.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:73: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_uint32.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:78: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_uint32.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:83: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_uint32.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:88: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_uint32.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:93: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_uint32.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:98: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_uint32.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:103: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_uint32.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:108: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_uint32.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:113: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_uint32.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:118: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_uint32.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:123: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_uint32.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:128: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/from_int_uint32.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:133: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/from_int_uint32.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:138: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/from_int_uint32.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint32.java:143: error: package list does not exist (list.List_1) from_int_uint32.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/from_int_uint32.java:164: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:167: error: cannot find symbol io.write_string_3_p_0(IntStr_4); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:171: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:174: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(IntStr_4); ^ symbol: variable string location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:180: error: cannot find symbol java.lang.Object [] result = uint32.from_int_2_p_0(Int_6); ^ symbol: variable uint32 location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:190: error: cannot find symbol Var_19 = string.uint32_to_string_1_f_0(UInt32_7); ^ symbol: variable string location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:193: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:197: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:205: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_uint32.java:213: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_uint32.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint32.java:214: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_uint32 Mercury/javas/jmercury/from_int_uint32.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint32.java:216: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint32.MR_scalar_common_4[17]; ^ Mercury/javas/jmercury/from_int_uint32.java:216: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint32.MR_scalar_common_4[17]; ^ Mercury/javas/jmercury/from_int_uint32.java:220: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_uint32 77 errors gmake[3]: *** [/tmp/mmake.TScJbM:2411: from_int_uint32] Error 1 gmake[3]: Target 'from_int_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_uint32.log] Error 1 RUNNING TEST hard_coded/from_int_uint8 in grade java FAILED TEST hard_coded/from_int_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint64 Making Mercury/int3s/from_int_uint64.int3 Making Mercury/ints/from_int_uint64.int Making Mercury/javas/jmercury/from_int_uint64.java Making Java class files Mercury/javas/jmercury/from_int_uint64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_uint64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint64.java:232: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_uint64"; ^ Mercury/javas/jmercury/from_int_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_uint64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/from_int_uint64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint64.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_int_uint64.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_uint64.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_uint64.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_uint64.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:59: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_uint64.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:64: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_uint64.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:69: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_uint64.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:74: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_uint64.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:79: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_uint64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:84: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_uint64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:89: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_uint64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:94: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_uint64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:99: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_uint64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:104: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_uint64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:109: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_uint64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:114: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_uint64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:119: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_uint64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint64.java:124: error: package list does not exist (list.List_1) from_int_uint64.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_int_uint64.java:127: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_uint64.java:128: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_uint64.java:129: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_uint64.java:130: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_uint64.java:131: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_uint64.java:132: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_uint64.java:153: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:156: error: cannot find symbol io.write_string_3_p_0(IntStr_4); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:160: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:163: error: cannot find symbol java.lang.Object [] result = string.to_int_2_p_0(IntStr_4); ^ symbol: variable string location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:169: error: cannot find symbol java.lang.Object [] result = uint64.from_int_2_p_0(Int_6); ^ symbol: variable uint64 location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:175: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_26 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_int_uint64.java:175: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_26 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_int_uint64.java:177: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) from_int_uint64.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_uint64.java:177: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) from_int_uint64.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_uint64.java:181: error: cannot find symbol Var_27 = string__format.format_uint64_component_nowidth_noprec_4_p_0(Var_33, Var_26, UInt64_7); ^ symbol: variable string__format location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:184: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:188: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:196: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_uint64.java:204: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_int_uint64.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint64.java:205: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_uint64 Mercury/javas/jmercury/from_int_uint64.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint64.java:207: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint64.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_uint64.java:207: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint64.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/from_int_uint64.java:211: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_uint64 81 errors gmake[3]: *** [/tmp/mmake.CCRfiS:2411: from_int_uint64] Error 1 gmake[3]: Target 'from_int_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_uint64.log] Error 1 RUNNING TEST hard_coded/from_uint_uint16 in grade java FAILED TEST hard_coded/from_int_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_int_uint8 Making Mercury/int3s/from_int_uint8.int3 Making Mercury/ints/from_int_uint8.int Making Mercury/javas/jmercury/from_int_uint8.java Making Java class files Mercury/javas/jmercury/from_int_uint8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/from_int_uint8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint8.java:224: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_int_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_int_uint8"; ^ Mercury/javas/jmercury/from_int_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_int_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_int_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_int_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_int_uint8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_int_uint8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/from_int_uint8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_int_uint8.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/from_int_uint8.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_int_uint8.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_int_uint8.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_int_uint8.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:59: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_int_uint8.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:64: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_int_uint8.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:69: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_int_uint8.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:74: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_int_uint8.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:79: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_int_uint8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:84: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_int_uint8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:89: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_int_uint8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:94: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_int_uint8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:99: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_int_uint8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:104: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_int_uint8.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:109: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_int_uint8.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:114: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_int_uint8.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_int_uint8.java:119: error: package list does not exist (list.List_1) from_int_uint8.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_int_uint8.java:122: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_int_uint8.java:123: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_int_uint8.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_int_uint8.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_int_uint8.java:126: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_int_uint8.java:127: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_int_uint8.java:144: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_int_uint8.java:149: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:151: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_int_uint8.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_int_uint8.java:153: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, Int_4); ^ symbol: variable string__format location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:156: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:160: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:163: error: cannot find symbol java.lang.Object [] result = uint8.from_int_2_p_0(Int_4); ^ symbol: variable uint8 location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:173: error: cannot find symbol Var_18 = string.uint8_to_string_1_f_0(UInt8_6); ^ symbol: variable string location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:176: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:180: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:188: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_uint8.java:196: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/from_int_uint8.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint8.java:197: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_int_uint8 Mercury/javas/jmercury/from_int_uint8.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_int_uint8.java:199: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint8.MR_scalar_common_4[12]; ^ Mercury/javas/jmercury/from_int_uint8.java:199: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_int_uint8.MR_scalar_common_4[12]; ^ Mercury/javas/jmercury/from_int_uint8.java:203: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_int_uint8 77 errors gmake[3]: *** [/tmp/mmake.GkV653:2411: from_int_uint8] Error 1 gmake[3]: Target 'from_int_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_int_uint8.log] Error 1 RUNNING TEST hard_coded/from_uint_uint32 in grade java FAILED TEST hard_coded/from_uint_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint16 Making Mercury/int3s/from_uint_uint16.int3 Making Mercury/ints/from_uint_uint16.int Making Mercury/javas/jmercury/from_uint_uint16.java Making Java class files Mercury/javas/jmercury/from_uint_uint16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/from_uint_uint16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint16.java:242: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_uint_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_uint_uint16"; ^ Mercury/javas/jmercury/from_uint_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_uint_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_uint_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_uint_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_uint_uint16.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint16.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/from_uint_uint16.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint16.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/from_uint_uint16.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_uint_uint16.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_uint_uint16.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_uint_uint16.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:59: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_uint_uint16.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:64: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_uint_uint16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:69: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_uint_uint16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:74: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_uint_uint16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:79: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_uint_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:84: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_uint_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:89: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_uint_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:94: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_uint_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:99: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_uint_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:104: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_uint_uint16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:109: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_uint_uint16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:114: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_uint_uint16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:119: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_uint_uint16.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:124: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_uint_uint16.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint16.java:129: error: package list does not exist (list.List_1) from_uint_uint16.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/from_uint_uint16.java:132: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_uint_uint16.java:133: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_uint_uint16.java:134: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_uint_uint16.java:135: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_uint_uint16.java:136: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_uint_uint16.java:137: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_uint_uint16.java:153: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_23 = null; ^ Mercury/javas/jmercury/from_uint_uint16.java:155: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_uint_uint16.java:160: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:162: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_uint_uint16.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_uint_uint16.java:163: error: package string__parse_util does not exist Var_23 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint16.java:165: error: cannot find symbol Var_24 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_30, Var_23, UInt_4); ^ symbol: variable string__format location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:168: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:172: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:175: error: cannot find symbol java.lang.Object [] result = uint16.from_uint_2_p_0(UInt_4); ^ symbol: variable uint16 location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:181: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_33 = null; ^ Mercury/javas/jmercury/from_uint_uint16.java:187: error: cannot find symbol Var_34 = string__format.format_cast_uint16_to_uint_2_p_0(UInt16_6); ^ symbol: variable string__format location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:189: error: package string__parse_util does not exist Var_33 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint16.java:191: error: cannot find symbol Var_35 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_30, Var_33, Var_34); ^ symbol: variable string__format location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:194: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:198: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:206: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/from_uint_uint16.java:214: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/from_uint_uint16.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint16.java:215: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_uint_uint16 Mercury/javas/jmercury/from_uint_uint16.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint16.java:217: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint16.MR_scalar_common_4[14]; ^ Mercury/javas/jmercury/from_uint_uint16.java:217: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint16.MR_scalar_common_4[14]; ^ Mercury/javas/jmercury/from_uint_uint16.java:221: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_uint_uint16 86 errors gmake[3]: *** [/tmp/mmake.6JyKbF:2411: from_uint_uint16] Error 1 gmake[3]: Target 'from_uint_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_uint_uint16.log] Error 1 RUNNING TEST hard_coded/from_uint_uint64 in grade java FAILED TEST hard_coded/from_uint_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint32 Making Mercury/int3s/from_uint_uint32.int3 Making Mercury/ints/from_uint_uint32.int Making Mercury/javas/jmercury/from_uint_uint32.java Making Java class files Mercury/javas/jmercury/from_uint_uint32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/from_uint_uint32.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint32.java:233: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_uint_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_uint_uint32"; ^ Mercury/javas/jmercury/from_uint_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_uint_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_uint_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_uint_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_uint_uint32.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint32.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/from_uint_uint32.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint32.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_uint_uint32.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_uint_uint32.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_uint_uint32.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_uint_uint32.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:59: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_uint_uint32.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:64: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_uint_uint32.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:69: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_uint_uint32.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:74: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_uint_uint32.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:79: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_uint_uint32.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:84: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_uint_uint32.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:89: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_uint_uint32.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:94: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_uint_uint32.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:99: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_uint_uint32.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:104: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_uint_uint32.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:109: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_uint_uint32.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:114: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_uint_uint32.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint32.java:119: error: package list does not exist (list.List_1) from_uint_uint32.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_uint_uint32.java:122: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_uint_uint32.java:123: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_uint_uint32.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_uint_uint32.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_uint_uint32.java:126: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_uint_uint32.java:127: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_uint_uint32.java:148: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:151: error: cannot find symbol io.write_string_3_p_0(UIntStr_4); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:155: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:158: error: cannot find symbol java.lang.Object [] result = string.to_uint_2_p_0(UIntStr_4); ^ symbol: variable string location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:164: error: cannot find symbol java.lang.Object [] result = uint32.from_uint_2_p_0(UInt_6); ^ symbol: variable uint32 location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:170: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_26 = null; ^ Mercury/javas/jmercury/from_uint_uint32.java:173: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = null; ^ Mercury/javas/jmercury/from_uint_uint32.java:177: error: cannot find symbol Var_27 = string__format.format_cast_uint32_to_uint_2_p_0(UInt32_7); ^ symbol: variable string__format location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:179: error: package string__parse_util does not exist Var_34 = (string__parse_util.String_format_flags_0) from_uint_uint32.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_uint_uint32.java:180: error: package string__parse_util does not exist Var_26 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint32.java:182: error: cannot find symbol Var_28 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_34, Var_26, Var_27); ^ symbol: variable string__format location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:185: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:189: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:197: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_uint_uint32.java:205: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_uint_uint32.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint32.java:206: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_uint_uint32 Mercury/javas/jmercury/from_uint_uint32.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint32.java:208: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint32.MR_scalar_common_4[12]; ^ Mercury/javas/jmercury/from_uint_uint32.java:208: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint32.MR_scalar_common_4[12]; ^ Mercury/javas/jmercury/from_uint_uint32.java:212: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_uint_uint32 80 errors gmake[3]: *** [/tmp/mmake.ZkwaTx:2411: from_uint_uint32] Error 1 gmake[3]: Target 'from_uint_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_uint_uint32.log] Error 1 RUNNING TEST hard_coded/from_uint_uint8 in grade java FAILED TEST hard_coded/from_uint_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint64 Making Mercury/int3s/from_uint_uint64.int3 Making Mercury/ints/from_uint_uint64.int Making Mercury/javas/jmercury/from_uint_uint64.java Making Java class files Mercury/javas/jmercury/from_uint_uint64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/from_uint_uint64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint64.java:238: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_uint_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_uint_uint64"; ^ Mercury/javas/jmercury/from_uint_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_uint_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_uint_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_uint_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_uint_uint64.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint64.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/from_uint_uint64.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint64.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/from_uint_uint64.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_uint_uint64.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_uint_uint64.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_uint_uint64.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:59: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_uint_uint64.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:64: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_uint_uint64.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:69: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_uint_uint64.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:74: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_uint_uint64.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:79: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_uint_uint64.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:84: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_uint_uint64.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:89: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_uint_uint64.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:94: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_uint_uint64.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:99: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_uint_uint64.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:104: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_uint_uint64.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:109: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/from_uint_uint64.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:114: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/from_uint_uint64.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:119: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/from_uint_uint64.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:124: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/from_uint_uint64.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint64.java:129: error: package list does not exist (list.List_1) from_uint_uint64.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/from_uint_uint64.java:132: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_uint_uint64.java:133: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_uint_uint64.java:134: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_uint_uint64.java:135: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_uint_uint64.java:136: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_uint_uint64.java:137: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_uint_uint64.java:158: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:161: error: cannot find symbol io.write_string_3_p_0(UIntStr_4); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:165: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:168: error: cannot find symbol java.lang.Object [] result = string.to_uint_2_p_0(UIntStr_4); ^ symbol: variable string location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:175: error: cannot find symbol UInt64_7 = uint64.cast_from_uint_1_f_0(UInt_6); ^ symbol: variable uint64 location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:181: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_26 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint64.java:181: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_26 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint64.java:183: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) from_uint_uint64.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_uint_uint64.java:183: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = (string__parse_util.String_format_flags_0) from_uint_uint64.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_uint_uint64.java:187: error: cannot find symbol Var_27 = string__format.format_uint64_component_nowidth_noprec_4_p_0(Var_33, Var_26, UInt64_7); ^ symbol: variable string__format location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:190: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:194: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:202: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:210: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_uint_uint64.java:210: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:210: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/from_uint_uint64.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint64.java:211: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_uint_uint64 Mercury/javas/jmercury/from_uint_uint64.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint64.java:213: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint64.MR_scalar_common_4[14]; ^ Mercury/javas/jmercury/from_uint_uint64.java:213: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint64.MR_scalar_common_4[14]; ^ Mercury/javas/jmercury/from_uint_uint64.java:217: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_uint_uint64 83 errors gmake[3]: *** [/tmp/mmake.1CA6tG:2411: from_uint_uint64] Error 1 gmake[3]: Target 'from_uint_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_uint_uint64.log] Error 1 RUNNING TEST hard_coded/func_and_pred in grade java FAILED TEST hard_coded/from_uint_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - from_uint_uint8 Making Mercury/int3s/from_uint_uint8.int3 Making Mercury/ints/from_uint_uint8.int Making Mercury/javas/jmercury/from_uint_uint8.java Making Java class files Mercury/javas/jmercury/from_uint_uint8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/from_uint_uint8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint8.java:217: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/from_uint_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "from_uint_uint8"; ^ Mercury/javas/jmercury/from_uint_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/from_uint_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/from_uint_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/from_uint_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/from_uint_uint8.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/from_uint_uint8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/from_uint_uint8.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/from_uint_uint8.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/from_uint_uint8.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/from_uint_uint8.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/from_uint_uint8.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/from_uint_uint8.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:59: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/from_uint_uint8.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:64: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/from_uint_uint8.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:69: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/from_uint_uint8.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:74: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/from_uint_uint8.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:79: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/from_uint_uint8.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:84: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/from_uint_uint8.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:89: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/from_uint_uint8.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:94: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/from_uint_uint8.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:99: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/from_uint_uint8.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/from_uint_uint8.java:104: error: package list does not exist (list.List_1) from_uint_uint8.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/from_uint_uint8.java:107: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/from_uint_uint8.java:108: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/from_uint_uint8.java:109: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/from_uint_uint8.java:110: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/from_uint_uint8.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/from_uint_uint8.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/from_uint_uint8.java:128: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_23 = null; ^ Mercury/javas/jmercury/from_uint_uint8.java:130: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/from_uint_uint8.java:135: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:137: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) from_uint_uint8.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/from_uint_uint8.java:138: error: package string__parse_util does not exist Var_23 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint8.java:140: error: cannot find symbol Var_24 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_30, Var_23, UInt_4); ^ symbol: variable string__format location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:143: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:147: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:150: error: cannot find symbol java.lang.Object [] result = uint8.from_uint_2_p_0(UInt_4); ^ symbol: variable uint8 location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:156: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_33 = null; ^ Mercury/javas/jmercury/from_uint_uint8.java:162: error: cannot find symbol Var_34 = string__format.format_cast_uint8_to_uint_2_p_0(UInt8_6); ^ symbol: variable string__format location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:164: error: package string__parse_util does not exist Var_33 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/from_uint_uint8.java:166: error: cannot find symbol Var_35 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_30, Var_33, Var_34); ^ symbol: variable string__format location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:169: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:173: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:181: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/from_uint_uint8.java:189: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/from_uint_uint8.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint8.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class from_uint_uint8 Mercury/javas/jmercury/from_uint_uint8.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/from_uint_uint8.java:192: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint8.MR_scalar_common_4[9]; ^ Mercury/javas/jmercury/from_uint_uint8.java:192: error: package list does not exist list.List_1 Var_7 = (list.List_1) from_uint_uint8.MR_scalar_common_4[9]; ^ Mercury/javas/jmercury/from_uint_uint8.java:196: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_11_11, TypeCtorInfo_12_12, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class from_uint_uint8 76 errors gmake[3]: *** [/tmp/mmake.eUJXzS:2411: from_uint_uint8] Error 1 gmake[3]: Target 'from_uint_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: from_uint_uint8.log] Error 1 RUNNING TEST hard_coded/func_ctor_ambig in grade java FAILED TEST hard_coded/func_and_pred in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_and_pred.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_and_pred Making Mercury/int3s/func_and_pred.int3 Making Mercury/ints/func_and_pred.int Making Mercury/javas/jmercury/func_and_pred.java Making Java class files Mercury/javas/jmercury/func_and_pred.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/func_and_pred.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/func_and_pred.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_9, ^ Mercury/javas/jmercury/func_and_pred.java:114: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/func_and_pred.java:115: error: package list does not exist list.List_1 L_2) ^ Mercury/javas/jmercury/func_and_pred.java:111: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/func_and_pred.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_9, ^ Mercury/javas/jmercury/func_and_pred.java:175: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/func_and_pred.java:176: error: package list does not exist list.List_1 L_2) ^ Mercury/javas/jmercury/func_and_pred.java:172: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/func_and_pred.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_and_pred"; ^ Mercury/javas/jmercury/func_and_pred.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_and_pred.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_and_pred.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_and_pred.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_and_pred.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/func_and_pred.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[13]; ^ Mercury/javas/jmercury/func_and_pred.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/func_and_pred.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:41: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/func_and_pred.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:46: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/func_and_pred.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:51: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/func_and_pred.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:56: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/func_and_pred.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:61: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/func_and_pred.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:66: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/func_and_pred.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:71: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/func_and_pred.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:76: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/func_and_pred.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:81: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/func_and_pred.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:86: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/func_and_pred.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:91: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/func_and_pred.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:96: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/func_and_pred.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:101: error: package list does not exist (list.List_1) func_and_pred.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/func_and_pred.java:117: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/func_and_pred.java:123: error: package list.List_1 does not exist java.lang.Object E_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/func_and_pred.java:124: error: package list does not exist list.List_1 R_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func_and_pred.java:124: error: package list.List_1 does not exist list.List_1 R_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func_and_pred.java:125: error: package list does not exist list.List_1 Z_8 = null; ^ Mercury/javas/jmercury/func_and_pred.java:131: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/func_and_pred.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/func_and_pred.java:143: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/func_and_pred.java:144: error: package list does not exist list.List_1 Hello_4 = null; ^ Mercury/javas/jmercury/func_and_pred.java:145: error: package list does not exist list.List_1 World_5 = null; ^ Mercury/javas/jmercury/func_and_pred.java:147: error: package list does not exist list.List_1 Var_9 = (list.List_1) func_and_pred.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/func_and_pred.java:147: error: package list does not exist list.List_1 Var_9 = (list.List_1) func_and_pred.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/func_and_pred.java:148: error: package list does not exist list.List_1 Var_10 = (list.List_1) func_and_pred.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/func_and_pred.java:148: error: package list does not exist list.List_1 Var_10 = (list.List_1) func_and_pred.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/func_and_pred.java:149: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/func_and_pred.java:150: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/func_and_pred.java:151: error: package list does not exist list.List_1 Var_39 = null; ^ Mercury/javas/jmercury/func_and_pred.java:156: error: package list does not exist Var_23 = (list.List_1) func_and_pred.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/func_and_pred.java:157: error: package list does not exist Var_28 = (list.List_1) func_and_pred.MR_scalar_common_2[12]; ^ Mercury/javas/jmercury/func_and_pred.java:165: error: cannot find symbol HelloWorld_6 = string.from_char_list_2_p_0(Var_39); ^ symbol: variable string location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:168: error: cannot find symbol io.write_string_3_p_0(HelloWorld_6); ^ symbol: variable io location: class func_and_pred Mercury/javas/jmercury/func_and_pred.java:178: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/func_and_pred.java:184: error: package list.List_1 does not exist java.lang.Object E_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/func_and_pred.java:185: error: package list does not exist list.List_1 R_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func_and_pred.java:185: error: package list.List_1 does not exist list.List_1 R_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/func_and_pred.java:186: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/func_and_pred.java:192: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ 78 errors gmake[3]: *** [/tmp/mmake.m0J999:2411: func_and_pred] Error 1 gmake[3]: Target 'func_and_pred.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: func_and_pred.log] Error 1 RUNNING TEST hard_coded/func_exp in grade java FAILED TEST hard_coded/func_ctor_ambig in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_ctor_ambig.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_ctor_ambig Making Mercury/int3s/func_ctor_ambig.int3 Making Mercury/ints/func_ctor_ambig.int Making Mercury/javas/jmercury/func_ctor_ambig.java Making Java class files Mercury/javas/jmercury/func_ctor_ambig.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc func_ctor_ambig__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_ctor_ambig__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:150: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/func_ctor_ambig.java:196: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/func_ctor_ambig.java:240: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/func_ctor_ambig.java:241: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/func_ctor_ambig.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_ctor_ambig"; ^ Mercury/javas/jmercury/func_ctor_ambig.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_ctor_ambig.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_ctor_ambig.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_ctor_ambig.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc func_ctor_ambig__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] func_ctor_ambig__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/func_ctor_ambig.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct func_ctor_ambig__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/func_ctor_ambig.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/func_ctor_ambig.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/func_ctor_ambig.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/func_ctor_ambig.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:92: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:95: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:95: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:97: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(Var_8)); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:101: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:105: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_22_22, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:109: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:111: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(func_ctor_ambig.func_ctor_ambig__type_ctor_info_t_0); ^ Mercury/javas/jmercury/func_ctor_ambig.java:113: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (0))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:117: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_21_21, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:120: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_23_23, ((java.lang.Object) (0))); ^ symbol: variable io location: class func_ctor_ambig Mercury/javas/jmercury/func_ctor_ambig.java:153: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:153: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/func_ctor_ambig.java:164: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/func_ctor_ambig.java:225: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 46 errors gmake[3]: *** [/tmp/mmake.BKxyNE:2411: func_ctor_ambig] Error 1 gmake[3]: Target 'func_ctor_ambig.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: func_ctor_ambig.log] Error 1 RUNNING TEST hard_coded/func_test in grade java FAILED TEST hard_coded/func_exp in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_exp.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_exp Making Mercury/int3s/func_exp.int3 Making Mercury/ints/func_exp.int Making Mercury/javas/jmercury/func_exp.java Making Java class files Mercury/javas/jmercury/func_exp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/func_exp.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/func_exp.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/func_exp.java:280: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/func_exp.java:298: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/func_exp.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_exp"; ^ Mercury/javas/jmercury/func_exp.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_exp.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_exp.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_exp Mercury/javas/jmercury/func_exp.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_exp Mercury/javas/jmercury/func_exp.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_exp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_exp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/func_exp.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/func_exp.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/func_exp.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/func_exp.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/func_exp.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/func_exp.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/func_exp.java:62: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/func_exp.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/func_exp.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/func_exp.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/func_exp.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/func_exp.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/func_exp.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/func_exp.java:75: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:75: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/func_exp.java:83: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:83: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/func_exp.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/func_exp.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_exp.java:106: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_exp.java:112: error: cannot find symbol conv1_Result_30 = std_util.pow_3_f_0(TypeCtorInfo_23_23, Var_22, N_5, java.lang.Integer.valueOf(X_6)); ^ symbol: variable std_util location: class func_exp Mercury/javas/jmercury/func_exp.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_31_31 = null; ^ Mercury/javas/jmercury/func_exp.java:145: error: package exception does not exist exception.Exception_result_1 TryResult_19 = null; ^ Mercury/javas/jmercury/func_exp.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_43 = null; ^ Mercury/javas/jmercury/func_exp.java:155: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:157: error: package string__parse_util does not exist Var_43 = (string__parse_util.String_format_flags_0) func_exp.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/func_exp.java:159: error: cannot find symbol Var_37 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_43, N_5); ^ symbol: variable string__format location: class func_exp Mercury/javas/jmercury/func_exp.java:162: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:166: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:169: error: cannot find symbol Var_47 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_43, X_6); ^ symbol: variable string__format location: class func_exp Mercury/javas/jmercury/func_exp.java:172: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:176: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:187: error: package jmercury.runtime does not exist TypeInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(func_exp.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/func_exp.java:189: error: cannot find symbol TryResult_19 = exception.try_2_p_0(TypeInfo_31_31, TryLambda_29); ^ symbol: variable exception location: class func_exp Mercury/javas/jmercury/func_exp.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = null; ^ Mercury/javas/jmercury/func_exp.java:195: error: package univ does not exist univ.Univ_0 Var_20 = ((exception.Exception_result_1.Exception_1) TryResult_19).F1; ^ Mercury/javas/jmercury/func_exp.java:195: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_20 = ((exception.Exception_result_1.Exception_1) TryResult_19).F1; ^ Mercury/javas/jmercury/func_exp.java:198: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_20); ^ symbol: variable exception location: class func_exp Mercury/javas/jmercury/func_exp.java:199: error: package jmercury.runtime does not exist TypeInfo_27_27 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/func_exp.java:203: error: cannot find symbol io.print_line_3_p_0(TypeInfo_27_27, S_9); ^ symbol: variable io location: class func_exp Mercury/javas/jmercury/func_exp.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/func_exp.java:210: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_33 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_19).F1); ^ Mercury/javas/jmercury/func_exp.java:213: error: cannot find symbol TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class func_exp Mercury/javas/jmercury/func_exp.java:213: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/func_exp.java:215: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_26_26, java.lang.Integer.valueOf(Result_8)); ^ symbol: variable io location: class func_exp 69 errors gmake[3]: *** [/tmp/mmake.BSVu4B:2411: func_exp] Error 1 gmake[3]: Target 'func_exp.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: func_exp.log] Error 1 RUNNING TEST hard_coded/functor_ho_inst_1 in grade java FAILED TEST hard_coded/func_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - func_test Making Mercury/int3s/func_test.int3 Making Mercury/ints/func_test.int Making Mercury/javas/jmercury/func_test.java func_test.m:046: Inferred :- func test2 = int. Making Java class files Mercury/javas/jmercury/func_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "func_test"; ^ Mercury/javas/jmercury/func_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/func_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/func_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class func_test Mercury/javas/jmercury/func_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class func_test Mercury/javas/jmercury/func_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/func_test.java:48: error: cannot find symbol io.write_int_3_p_0(Var_6); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:52: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:56: error: cannot find symbol io.write_int_3_p_0(Var_18); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:60: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:64: error: cannot find symbol io.write_int_3_p_0(Var_22); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:68: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:72: error: cannot find symbol io.write_int_3_p_0(Var_28); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:76: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:80: error: cannot find symbol io.write_int_3_p_0(Var_32); ^ symbol: variable io location: class func_test Mercury/javas/jmercury/func_test.java:84: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class func_test 21 errors gmake[3]: *** [/tmp/mmake.rM30b8:2411: func_test] Error 1 gmake[3]: Target 'func_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: func_test.log] Error 1 RUNNING TEST hard_coded/functor_ho_inst_2 in grade java FAILED TEST hard_coded/functor_ho_inst_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_1 Making Mercury/int3s/functor_ho_inst_1.int3 Making Mercury/ints/functor_ho_inst_1.int Making Mercury/javas/jmercury/functor_ho_inst_1.java Making Java class files Mercury/javas/jmercury/functor_ho_inst_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3functor_ho_inst_1__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_1__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_1__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_1__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_1__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_1__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_1__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_1__enum_functor_desc_job_result_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_1__enum_functor_desc_job_result_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_1__enum_ordinal_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_1__enum_name_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_1__type_ctor_info_job_result_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:156: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:583: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_1.java:160: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:161: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:602: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/functor_ho_inst_1.java:603: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_1.java:343: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_1.java:384: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_1.java:485: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/functor_ho_inst_1.java:563: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/functor_ho_inst_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "functor_ho_inst_1"; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3functor_ho_inst_1__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_1__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_1__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_1__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_1__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_1__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_1__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_1__enum_functor_desc_job_result_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_1__enum_functor_desc_job_result_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_1__enum_ordinal_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_1__enum_name_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_1__type_ctor_info_job_result_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:50: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_1.functor_ho_inst_1__type_ctor_info_job_result_0), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:53: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:54: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ Mercury/javas/jmercury/functor_ho_inst_1.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_1.__vti_pred_3functor_ho_inst_1__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:63: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:79: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_1.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/functor_ho_inst_1.java:138: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:141: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:156: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:160: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:161: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:166: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:166: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:167: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_1.functor_ho_inst_1__type_ctor_info_job_result_0))), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:169: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:169: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/functor_ho_inst_1.java:177: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:177: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:178: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:178: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_1.java:186: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:186: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_1.java:187: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:187: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_1.java:216: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:220: error: package list does not exist (list.List_1) functor_ho_inst_1.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/functor_ho_inst_1.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_1.java:225: error: package list does not exist (list.List_1) functor_ho_inst_1.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/functor_ho_inst_1.java:254: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_1.functor_ho_inst_1__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:254: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_1.functor_ho_inst_1__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:255: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:255: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:255: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:256: error: package list does not exist list.List_1 Jobs_4 = (list.List_1) functor_ho_inst_1.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:256: error: package list does not exist list.List_1 Jobs_4 = (list.List_1) functor_ho_inst_1.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:261: error: cannot find symbol conv2_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_23_23, TypeCtorInfo_24_24, Var_13, Jobs_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class functor_ho_inst_1 Mercury/javas/jmercury/functor_ho_inst_1.java:324: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/functor_ho_inst_1.java:327: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:327: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:332: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_6))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:337: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_1.functor_ho_inst_1__type_ctor_info_job_result_0); ^ Mercury/javas/jmercury/functor_ho_inst_1.java:339: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (Result_7))); ^ symbol: variable io location: class functor_ho_inst_1 100 errors gmake[3]: *** [/tmp/mmake.881tQF:2411: functor_ho_inst_1] Error 1 gmake[3]: Target 'functor_ho_inst_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: functor_ho_inst_1.log] Error 1 RUNNING TEST hard_coded/functor_ho_inst_excp_1 in grade java FAILED TEST hard_coded/functor_ho_inst_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_2 Making Mercury/int3s/functor_ho_inst_2.int3 Making Mercury/ints/functor_ho_inst_2.int Making Mercury/javas/jmercury/functor_ho_inst_2.java Making Java class files Mercury/javas/jmercury/functor_ho_inst_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3functor_ho_inst_2__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_2__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_2__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_2__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_2__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_2__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_2__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_2__enum_functor_desc_job_result_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_2__enum_functor_desc_job_result_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_2__enum_ordinal_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_2__enum_name_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_2__type_ctor_info_job_result_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:158: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:612: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_2.java:162: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:163: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:634: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/functor_ho_inst_2.java:635: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_2.java:347: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_2.java:409: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_2.java:514: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/functor_ho_inst_2.java:592: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/functor_ho_inst_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "functor_ho_inst_2"; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3functor_ho_inst_2__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_2__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_2__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_2__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_2__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_2__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_2__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_2__enum_functor_desc_job_result_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc functor_ho_inst_2__enum_functor_desc_job_result_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_2__enum_ordinal_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] functor_ho_inst_2__enum_name_ordered_job_result_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_2__type_ctor_info_job_result_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:50: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_2.functor_ho_inst_2__type_ctor_info_job_result_0), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:53: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:54: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ Mercury/javas/jmercury/functor_ho_inst_2.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_2.__vti_pred_3functor_ho_inst_2__type_ctor_info_job_result_0io__type_ctor_info_state_0io__type_ctor_info_state_0; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:65: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:73: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:81: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_2.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/functor_ho_inst_2.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:158: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:162: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:163: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:169: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_2.functor_ho_inst_2__type_ctor_info_job_result_0))), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:170: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:170: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:171: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:171: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/functor_ho_inst_2.java:179: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:179: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:180: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:180: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_2.java:188: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:188: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_2.java:189: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:189: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_2.java:220: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:224: error: package list does not exist (list.List_1) functor_ho_inst_2.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/functor_ho_inst_2.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_2.java:229: error: package list does not exist (list.List_1) functor_ho_inst_2.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/functor_ho_inst_2.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_2.functor_ho_inst_2__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_2.functor_ho_inst_2__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:259: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:260: error: package list does not exist list.List_1 Jobs_4 = (list.List_1) functor_ho_inst_2.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:260: error: package list does not exist list.List_1 Jobs_4 = (list.List_1) functor_ho_inst_2.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:265: error: cannot find symbol conv2_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_25_25, TypeCtorInfo_26_26, Var_15, Jobs_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class functor_ho_inst_2 Mercury/javas/jmercury/functor_ho_inst_2.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = null; ^ Mercury/javas/jmercury/functor_ho_inst_2.java:331: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_7)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:331: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_7)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_2.java:336: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_7))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 100 errors gmake[3]: *** [/tmp/mmake.3bHjj6:2411: functor_ho_inst_2] Error 1 gmake[3]: Target 'functor_ho_inst_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: functor_ho_inst_2.log] Error 1 RUNNING TEST hard_coded/functor_ho_inst_excp_2 in grade java FAILED TEST hard_coded/functor_ho_inst_excp_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_1 Making Mercury/int3s/functor_ho_inst_excp_1.int3 Making Mercury/ints/functor_ho_inst_excp_1.int Making Mercury/javas/jmercury/functor_ho_inst_excp_1.java Making Java class files Mercury/javas/jmercury/functor_ho_inst_excp_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_excp_1__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_excp_1__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_1__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_excp_1__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_1__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_excp_1__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:112: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:483: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:332: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:463: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "functor_ho_inst_excp_1"; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_excp_1__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_excp_1__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_1__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_excp_1__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_1__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_excp_1__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:46: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:46: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_excp_1.__vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:56: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:72: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:112: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:118: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:118: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:119: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:119: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:127: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:127: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:128: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:128: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:142: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:142: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:143: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:143: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:152: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:167: error: package list does not exist list.List_1 Jobs_4 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:169: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_1.functor_ho_inst_excp_1__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_1.functor_ho_inst_excp_1__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_25 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:174: error: package univ does not exist univ.Univ_0 Var_16 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_17 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:177: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:178: error: package univ does not exist univ.Univ_0 Var_20 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:180: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:185: error: cannot find symbol Var_17 = type_desc.type_of_1_f_0(TypeCtorInfo_12_24); ^ symbol: variable type_desc location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:188: error: package jmercury.runtime does not exist TypeInfo_13_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:191: error: cannot find symbol Var_20 = univ.univ_1_f_1(TypeInfo_13_25, ((java.lang.Object) (Var_21))); ^ symbol: variable univ location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:193: error: package list does not exist Var_22 = (list.List_1) functor_ho_inst_excp_1.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:195: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:201: error: cannot find symbol java.lang.Object [] result = construct.construct_3_f_0(Var_17, Var_18, Var_19); ^ symbol: variable construct location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:203: error: package univ does not exist Var_16 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:208: error: cannot find symbol java.lang.Object [] result = univ.univ_to_type_2_p_0(TypeCtorInfo_12_24, Var_16); ^ symbol: variable univ location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:222: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:222: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:226: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_16_26, ((java.lang.Object) (Var_23))); ^ symbol: variable exception location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:229: error: package list does not exist Var_8 = (list.List_1) functor_ho_inst_excp_1.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:231: error: package list.List_1 does not exist Jobs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:237: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_1.functor_ho_inst_excp_1__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:238: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:238: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:240: error: cannot find symbol conv2_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_13_13, TypeCtorInfo_14_14, Var_9, Jobs_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:294: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:294: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:298: error: package jmercury.runtime does not exist conv1_Result_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_6))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:303: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:306: error: cannot find symbol io.write_string_3_p_0(Result_7); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:310: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class functor_ho_inst_excp_1 Mercury/javas/jmercury/functor_ho_inst_excp_1.java:338: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_1.java:344: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ 100 errors gmake[3]: *** [/tmp/mmake.L7AZS6:2411: functor_ho_inst_excp_1] Error 1 gmake[3]: Target 'functor_ho_inst_excp_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: functor_ho_inst_excp_1.log] Error 1 RUNNING TEST hard_coded/functor_ho_inst_float_reg in grade java FAILED TEST hard_coded/functor_ho_inst_excp_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_2 Making Mercury/int3s/functor_ho_inst_excp_2.int3 Making Mercury/ints/functor_ho_inst_excp_2.int Making Mercury/javas/jmercury/functor_ho_inst_excp_2.java Making Java class files Mercury/javas/jmercury/functor_ho_inst_excp_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_excp_2__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_excp_2__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_2__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_excp_2__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_2__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_excp_2__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:114: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:524: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:348: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:453: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:504: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "functor_ho_inst_excp_2"; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_excp_2__field_types_job_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_excp_2__du_functor_desc_job_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_2__du_stag_ordered_job_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_excp_2__du_ptag_ordered_job_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_excp_2__du_name_ordered_job_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_excp_2__type_ctor_info_job_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:46: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:46: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_excp_2.__vti_pred_2builtin__type_ctor_info_int_0builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:58: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:66: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:74: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:114: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:121: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:121: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:122: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:122: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:144: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:144: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:145: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:145: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:154: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:168: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:169: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_28 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:171: error: package list does not exist list.List_1 Jobs_4 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:173: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:175: error: package list does not exist list.List_1 Args_15 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:176: error: package univ does not exist univ.Univ_0 Var_17 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:178: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:179: error: package univ does not exist univ.Univ_0 Var_20 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:181: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_29 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:184: error: package univ does not exist univ.Univ_0 Var_23 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_24 = null; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:191: error: cannot find symbol Var_17 = univ.univ_1_f_1(TypeCtorInfo_15_27, java.lang.Integer.valueOf(Var_18)); ^ symbol: variable univ location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:193: error: package jmercury.runtime does not exist TypeInfo_16_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:196: error: cannot find symbol Var_20 = univ.univ_1_f_1(TypeInfo_16_28, ((java.lang.Object) (Var_21))); ^ symbol: variable univ location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:198: error: package list does not exist Var_22 = (list.List_1) functor_ho_inst_excp_2.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:200: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:206: error: package list.List_1 does not exist Args_15 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:211: error: package jmercury.runtime does not exist TypeCtorInfo_19_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_2.functor_ho_inst_excp_2__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:213: error: cannot find symbol Var_24 = type_desc.type_of_1_f_0(TypeCtorInfo_19_29); ^ symbol: variable type_desc location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:217: error: cannot find symbol java.lang.Object [] result = construct.construct_3_f_0(Var_24, Var_25, Args_15); ^ symbol: variable construct location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:219: error: package univ does not exist Var_23 = (univ.Univ_0) result[1]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:224: error: cannot find symbol java.lang.Object [] result = univ.univ_to_type_2_p_0(TypeCtorInfo_19_29, Var_23); ^ symbol: variable univ location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:238: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:242: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_20_30, ((java.lang.Object) (Var_26))); ^ symbol: variable exception location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:245: error: package list does not exist Var_8 = (list.List_1) functor_ho_inst_excp_2.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:247: error: package list.List_1 does not exist Jobs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:253: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_excp_2.functor_ho_inst_excp_2__type_ctor_info_job_0); ^ Mercury/javas/jmercury/functor_ho_inst_excp_2.java:254: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class functor_ho_inst_excp_2 Mercury/javas/jmercury/functor_ho_inst_excp_2.java:254: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.gQHJfb:2411: functor_ho_inst_excp_2] Error 1 gmake[3]: Target 'functor_ho_inst_excp_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: functor_ho_inst_excp_2.log] Error 1 RUNNING TEST hard_coded/getopt_maybe_option in grade java FAILED TEST hard_coded/functor_ho_inst_float_reg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_float_reg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - functor_ho_inst_float_reg Making Mercury/int3s/functor_ho_inst_float_reg.int3 Making Mercury/ints/functor_ho_inst_float_reg.int Making Mercury/javas/jmercury/functor_ho_inst_float_reg.java Making Java class files Mercury/javas/jmercury/functor_ho_inst_float_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct functor_ho_inst_float_reg__pti_job_generic_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_float_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_float_reg__field_types_job_float_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_float_reg__du_functor_desc_job_float_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_stag_ordered_job_float_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_float_reg__du_ptag_ordered_job_float_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_name_ordered_job_float_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_float_reg__type_ctor_info_job_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_float_reg__field_types_job_generic_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_float_reg__du_functor_desc_job_generic_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_stag_ordered_job_generic_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_float_reg__du_ptag_ordered_job_generic_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_name_ordered_job_generic_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_float_reg__type_ctor_info_job_generic_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:185: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:731: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:189: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:190: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:714: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:432: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:475: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:473: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:554: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:593: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:653: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "functor_ho_inst_float_reg"; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct functor_ho_inst_float_reg__pti_job_generic_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_float_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_float_reg__field_types_job_float_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_float_reg__du_functor_desc_job_float_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_stag_ordered_job_float_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_float_reg__du_ptag_ordered_job_float_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_name_ordered_job_float_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_float_reg__type_ctor_info_job_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] functor_ho_inst_float_reg__field_types_job_generic_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc functor_ho_inst_float_reg__du_functor_desc_job_generic_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_stag_ordered_job_generic_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] functor_ho_inst_float_reg__du_ptag_ordered_job_generic_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] functor_ho_inst_float_reg__du_name_ordered_job_generic_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct functor_ho_inst_float_reg__type_ctor_info_job_generic_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:55: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:56: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_float_reg.__vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:66: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:82: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:115: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:115: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:119: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:121: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:121: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:123: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) functor_ho_inst_float_reg.__vti_pred_3builtin__type_ctor_info_float_0io__type_ctor_info_state_0io__type_ctor_info_state_0; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:132: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:140: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_EXISTS, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:146: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:148: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:170: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:185: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:189: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:190: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:196: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(functor_ho_inst_float_reg.functor_ho_inst_float_reg__type_ctor_info_job_generic_1))), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:197: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:197: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:200: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:201: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:201: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:202: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:202: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:203: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:203: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:204: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class functor_ho_inst_float_reg Mercury/javas/jmercury/functor_ho_inst_float_reg.java:204: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/functor_ho_inst_float_reg.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)), ^ symbol: variable builtin location: class functor_ho_inst_float_reg 100 errors gmake[3]: *** [/tmp/mmake.QJxQws:2411: functor_ho_inst_float_reg] Error 1 gmake[3]: Target 'functor_ho_inst_float_reg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: functor_ho_inst_float_reg.log] Error 1 RUNNING TEST hard_coded/getopt_test in grade java FAILED TEST hard_coded/getopt_maybe_option in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - getopt_maybe_option.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - getopt_maybe_option Making Mercury/int3s/getopt_maybe_option.int3 Making Mercury/ints/getopt_maybe_option.int Making Mercury/javas/jmercury/getopt_maybe_option.java Making Java class files Mercury/javas/jmercury/getopt_maybe_option.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_maybe_option__enum_ordinal_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_maybe_option__enum_name_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_maybe_option__type_ctor_info_option_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2getopt_maybe_option__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_maybe_option__type_ctor_info_option_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:142: error: package getopt.Option_ops_1 does not exist private static final getopt.Option_ops_1.Option_ops_multi_3[] MR_scalar_common_4 = new getopt.Option_ops_1.Option_ops_multi_3[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:143: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:144: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:145: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_7 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:146: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Maybe_int_1[] MR_scalar_common_8 = new getopt.Option_data_0.Maybe_int_1[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:147: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Maybe_string_1[] MR_scalar_common_9 = new getopt.Option_data_0.Maybe_string_1[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:829: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/getopt_maybe_option.java:830: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/getopt_maybe_option.java:504: error: package getopt does not exist getopt.Option_data_0 arg2, ^ Mercury/javas/jmercury/getopt_maybe_option.java:519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/getopt_maybe_option.java:542: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/getopt_maybe_option.java:582: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/getopt_maybe_option.java:623: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2, ^ Mercury/javas/jmercury/getopt_maybe_option.java:624: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3) ^ Mercury/javas/jmercury/getopt_maybe_option.java:621: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/getopt_maybe_option.java:677: error: package tree234 does not exist tree234.Tree234_2 HeadVar__1_1, ^ Mercury/javas/jmercury/getopt_maybe_option.java:678: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2) ^ Mercury/javas/jmercury/getopt_maybe_option.java:266: error: package getopt does not exist public final getopt.Option_data_0 vct_10_f_1; ^ Mercury/javas/jmercury/getopt_maybe_option.java:271: error: package getopt does not exist getopt.Option_data_0 vct_10_f_1) ^ Mercury/javas/jmercury/getopt_maybe_option.java:706: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/getopt_maybe_option.java:784: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/getopt_maybe_option.java:847: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/getopt_maybe_option.java:852: error: package getopt does not exist public getopt.Option_data_0 conv2_HeadVar__2_2; ^ Mercury/javas/jmercury/getopt_maybe_option.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "getopt_maybe_option"; ^ Mercury/javas/jmercury/getopt_maybe_option.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/getopt_maybe_option.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/getopt_maybe_option.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/getopt_maybe_option.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/getopt_maybe_option.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_maybe_option__enum_functor_desc_option_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_maybe_option__enum_ordinal_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_maybe_option__enum_name_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_maybe_option__type_ctor_info_option_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2getopt_maybe_option__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_maybe_option__type_ctor_info_option_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/getopt_maybe_option.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/getopt_maybe_option.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/getopt_maybe_option.java:106: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_maybe_option.getopt_maybe_option__type_ctor_info_option_0), ^ Mercury/javas/jmercury/getopt_maybe_option.java:109: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0) ^ symbol: variable getopt location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0) ^ Mercury/javas/jmercury/getopt_maybe_option.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/getopt_maybe_option.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/getopt_maybe_option.java:124: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/getopt_maybe_option.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) getopt_maybe_option.tree234__ti_tree234_2getopt_maybe_option__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 ^ Mercury/javas/jmercury/getopt_maybe_option.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:142: error: package getopt.Option_ops_1 does not exist private static final getopt.Option_ops_1.Option_ops_multi_3[] MR_scalar_common_4 = new getopt.Option_ops_1.Option_ops_multi_3[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:143: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:144: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:145: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_7 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:146: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Maybe_int_1[] MR_scalar_common_8 = new getopt.Option_data_0.Maybe_int_1[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:147: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Maybe_string_1[] MR_scalar_common_9 = new getopt.Option_data_0.Maybe_string_1[1]; ^ Mercury/javas/jmercury/getopt_maybe_option.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/getopt_maybe_option.java:152: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:152: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/getopt_maybe_option.java:153: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:153: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/getopt_maybe_option.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/getopt_maybe_option.java:157: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:157: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/getopt_maybe_option.java:158: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:158: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/getopt_maybe_option.java:161: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/getopt_maybe_option.java:162: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:162: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/getopt_maybe_option.java:163: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_maybe_option.getopt_maybe_option__type_ctor_info_option_0))), ^ Mercury/javas/jmercury/getopt_maybe_option.java:164: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0))) ^ symbol: variable getopt location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:164: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0))) ^ Mercury/javas/jmercury/getopt_maybe_option.java:171: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:171: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/getopt_maybe_option.java:179: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:179: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/getopt_maybe_option.java:188: error: cannot find symbol ((java.lang.Object) (getopt.getopt__type_ctor_info_option_data_0)) ^ symbol: variable getopt location: class getopt_maybe_option Mercury/javas/jmercury/getopt_maybe_option.java:188: error: illegal start of type ((java.lang.Object) (getopt.getopt__type_ctor_info_option_data_0)) ^ Mercury/javas/jmercury/getopt_maybe_option.java:209: error: package getopt.Option_ops_1 does not exist new getopt.Option_ops_1.Option_ops_multi_3( ^ Mercury/javas/jmercury/getopt_maybe_option.java:215: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/getopt_maybe_option.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/getopt_maybe_option.java:219: error: package list does not exist (list.List_1) getopt_maybe_option.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/getopt_maybe_option.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/getopt_maybe_option.java:224: error: package list does not exist (list.List_1) getopt_maybe_option.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/getopt_maybe_option.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.r3NwPW:2411: getopt_maybe_option] Error 1 gmake[3]: Target 'getopt_maybe_option.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: getopt_maybe_option.log] Error 1 RUNNING TEST hard_coded/gh133 in grade java FAILED TEST hard_coded/getopt_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - getopt_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - getopt_test Making Mercury/int3s/getopt_test.int3 Making Mercury/ints/getopt_test.int Making Mercury/javas/jmercury/getopt_test.java Making Java class files Mercury/javas/jmercury/getopt_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_test__enum_functor_desc_option_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_test__enum_functor_desc_option_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_test__enum_ordinal_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/getopt_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_test__enum_name_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/getopt_test.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_test__type_ctor_info_option_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2getopt_test__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_test__type_ctor_info_option_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/getopt_test.java:118: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.String_1[] MR_scalar_common_2 = new getopt.Option_data_0.String_1[1]; ^ Mercury/javas/jmercury/getopt_test.java:119: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Bool_1[] MR_scalar_common_3 = new getopt.Option_data_0.Bool_1[1]; ^ Mercury/javas/jmercury/getopt_test.java:122: error: package getopt.Option_ops_1 does not exist private static final getopt.Option_ops_1.Option_ops_3[] MR_scalar_common_7 = new getopt.Option_ops_1.Option_ops_3[1]; ^ Mercury/javas/jmercury/getopt_test.java:123: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_8 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/getopt_test.java:124: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_9 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/getopt_test.java:766: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/getopt_test.java:767: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/getopt_test.java:412: error: package getopt does not exist getopt.Option_data_0 arg2, ^ Mercury/javas/jmercury/getopt_test.java:427: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/getopt_test.java:450: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/getopt_test.java:474: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/getopt_test.java:519: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/getopt_test.java:560: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2, ^ Mercury/javas/jmercury/getopt_test.java:561: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3) ^ Mercury/javas/jmercury/getopt_test.java:558: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/getopt_test.java:614: error: package tree234 does not exist tree234.Tree234_2 HeadVar__1_1, ^ Mercury/javas/jmercury/getopt_test.java:615: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2) ^ Mercury/javas/jmercury/getopt_test.java:211: error: package getopt does not exist public final getopt.Option_data_0 vct_4_f_1; ^ Mercury/javas/jmercury/getopt_test.java:216: error: package getopt does not exist getopt.Option_data_0 vct_4_f_1) ^ Mercury/javas/jmercury/getopt_test.java:643: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/getopt_test.java:721: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/getopt_test.java:782: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/getopt_test.java:787: error: package getopt does not exist public getopt.Option_data_0 conv2_Default_4; ^ Mercury/javas/jmercury/getopt_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "getopt_test"; ^ Mercury/javas/jmercury/getopt_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/getopt_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/getopt_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class getopt_test Mercury/javas/jmercury/getopt_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class getopt_test Mercury/javas/jmercury/getopt_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/getopt_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class getopt_test Mercury/javas/jmercury/getopt_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class getopt_test Mercury/javas/jmercury/getopt_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class getopt_test Mercury/javas/jmercury/getopt_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class getopt_test Mercury/javas/jmercury/getopt_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/getopt_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_test__enum_functor_desc_option_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc getopt_test__enum_functor_desc_option_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/getopt_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_test__enum_ordinal_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/getopt_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] getopt_test__enum_name_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/getopt_test.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_test__type_ctor_info_option_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2getopt_test__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct getopt_test__type_ctor_info_option_table_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/getopt_test.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/getopt_test.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/getopt_test.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/getopt_test.java:84: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class getopt_test Mercury/javas/jmercury/getopt_test.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_test.getopt_test__type_ctor_info_option_0), ^ Mercury/javas/jmercury/getopt_test.java:87: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0) ^ symbol: variable getopt location: class getopt_test Mercury/javas/jmercury/getopt_test.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0) ^ Mercury/javas/jmercury/getopt_test.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/getopt_test.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/getopt_test.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/getopt_test.java:103: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) getopt_test.tree234__ti_tree234_2getopt_test__type_ctor_info_option_0getopt__type_ctor_info_option_data_0 ^ Mercury/javas/jmercury/getopt_test.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/getopt_test.java:118: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.String_1[] MR_scalar_common_2 = new getopt.Option_data_0.String_1[1]; ^ Mercury/javas/jmercury/getopt_test.java:119: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Bool_1[] MR_scalar_common_3 = new getopt.Option_data_0.Bool_1[1]; ^ Mercury/javas/jmercury/getopt_test.java:122: error: package getopt.Option_ops_1 does not exist private static final getopt.Option_ops_1.Option_ops_3[] MR_scalar_common_7 = new getopt.Option_ops_1.Option_ops_3[1]; ^ Mercury/javas/jmercury/getopt_test.java:123: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_8 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/getopt_test.java:124: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_9 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/getopt_test.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/getopt_test.java:129: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class getopt_test Mercury/javas/jmercury/getopt_test.java:129: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/getopt_test.java:130: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class getopt_test Mercury/javas/jmercury/getopt_test.java:130: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/getopt_test.java:133: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/getopt_test.java:134: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class getopt_test Mercury/javas/jmercury/getopt_test.java:134: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/getopt_test.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_test.getopt_test__type_ctor_info_option_0))), ^ Mercury/javas/jmercury/getopt_test.java:136: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0))) ^ symbol: variable getopt location: class getopt_test Mercury/javas/jmercury/getopt_test.java:136: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(getopt.getopt__type_ctor_info_option_data_0))) ^ Mercury/javas/jmercury/getopt_test.java:139: error: package getopt.Option_data_0 does not exist new getopt.Option_data_0.String_1( ^ Mercury/javas/jmercury/getopt_test.java:143: error: package getopt.Option_data_0 does not exist new getopt.Option_data_0.Bool_1( ^ Mercury/javas/jmercury/getopt_test.java:144: error: package bool does not exist bool.Bool_0.K1 ^ Mercury/javas/jmercury/getopt_test.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class getopt_test Mercury/javas/jmercury/getopt_test.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/getopt_test.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class getopt_test Mercury/javas/jmercury/getopt_test.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/getopt_test.java:168: error: cannot find symbol ((java.lang.Object) (getopt.getopt__type_ctor_info_option_data_0)) ^ symbol: variable getopt location: class getopt_test Mercury/javas/jmercury/getopt_test.java:168: error: illegal start of type ((java.lang.Object) (getopt.getopt__type_ctor_info_option_data_0)) ^ Mercury/javas/jmercury/getopt_test.java:189: error: package getopt.Option_ops_1 does not exist new getopt.Option_ops_1.Option_ops_3( ^ Mercury/javas/jmercury/getopt_test.java:195: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/getopt_test.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/getopt_test.java:199: error: package list does not exist (list.List_1) getopt_test.MR_scalar_common_8[0] ^ Mercury/javas/jmercury/getopt_test.java:227: error: package getopt does not exist (getopt.Option_data_0) getopt_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/getopt_test.java:231: error: package getopt does not exist (getopt.Option_data_0) getopt_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/getopt_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_test.getopt_test__type_ctor_info_option_0); ^ Mercury/javas/jmercury/getopt_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(getopt_test.getopt_test__type_ctor_info_option_0); ^ Mercury/javas/jmercury/getopt_test.java:271: error: package getopt does not exist getopt.Option_ops_1 Ops_4 = (getopt.Option_ops_1) getopt_test.MR_scalar_common_7[0]; ^ Mercury/javas/jmercury/getopt_test.java:271: error: package getopt does not exist getopt.Option_ops_1 Ops_4 = (getopt.Option_ops_1) getopt_test.MR_scalar_common_7[0]; ^ Mercury/javas/jmercury/getopt_test.java:272: error: package list does not exist list.List_1 Left_5 = null; ^ Mercury/javas/jmercury/getopt_test.java:273: error: package getopt does not exist getopt.Maybe_option_table_se_1 MaybeOptionTable_6 = null; ^ Mercury/javas/jmercury/getopt_test.java:274: error: package list does not exist list.List_1 Var_15 = (list.List_1) getopt_test.MR_scalar_common_9[0]; ^ Mercury/javas/jmercury/getopt_test.java:274: error: package list does not exist list.List_1 Var_15 = (list.List_1) getopt_test.MR_scalar_common_9[0]; ^ 100 errors gmake[3]: *** [/tmp/mmake.UpZ1BO:2411: getopt_test] Error 1 gmake[3]: Target 'getopt_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: getopt_test.log] Error 1 RUNNING TEST hard_coded/gh72 in grade java FAILED TEST hard_coded/gh133 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh133.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh133 Making Mercury/int3s/gh133.int3 Making Mercury/ints/gh133.int Making Mercury/javas/jmercury/gh133.java Making Java class files Mercury/javas/jmercury/gh133.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_10 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_11 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh133__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/gh133.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh133__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh133.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh133__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[12]; ^ Mercury/javas/jmercury/gh133.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh133__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh133.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] gh133__exist_locns_foo_0_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/gh133.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo gh133__exist_info_foo_0_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/gh133.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_10 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_11 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_foo_0_12 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_foo_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh133__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/gh133.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh133__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh133.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh133__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/gh133.java:93: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh133__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh133.java:1718: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh133.java:845: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh133.java:875: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh133.java:1658: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/gh133.java:1940: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/gh133.java:1949: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/gh133.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "gh133"; ^ Mercury/javas/jmercury/gh133.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/gh133.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/gh133.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class gh133 Mercury/javas/jmercury/gh133.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class gh133 Mercury/javas/jmercury/gh133.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/gh133.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh133 Mercury/javas/jmercury/gh133.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh133 Mercury/javas/jmercury/gh133.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh133 Mercury/javas/jmercury/gh133.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh133 Mercury/javas/jmercury/gh133.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/gh133.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_10 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh133.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh133__du_functor_desc_bar_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh133.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh133__field_types_bar_0_11 = new jmercury.runtime.PseudoTypeInfo[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.njbhoG:2411: gh133] Error 1 gmake[3]: Target 'gh133.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: gh133.log] Error 1 RUNNING TEST hard_coded/gh72a in grade java FAILED TEST hard_coded/gh72 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72 Making Mercury/int3s/gh72.int3 Making Mercury/ints/gh72.int Making Mercury/javas/jmercury/gh72.java gh72.m:123: Warning: this disjunction further instantiates the already gh72.m:123: partially instantiated variable T. gh72.m:123: Since the memory cell of this variable is allocated *before* the gh72.m:123: disjunction, the different disjuncts will return their gh72.m:123: potentially different solutions for this variable in the same gh72.m:123: memory cell, which will cause any all-solutions predicate to gh72.m:123: think that the different solutions (since they are at the same gh72.m:123: address) are in fact all the same when invoked on the procedure. Making Java class files Mercury/javas/jmercury/gh72.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] gh72__type_class_id_method_ids_fxc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/gh72.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId gh72__type_class_id_fxc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/gh72.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct gh72__type_class_decl_fxc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/gh72.java:291: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/gh72.java:3506: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72.java:3526: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72.java:585: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:758: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:823: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:888: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1131: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1308: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1327: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1346: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1515: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1579: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1643: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1863: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1927: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:1991: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2116: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2307: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2326: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2495: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2559: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2623: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/gh72.java:2799: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72.java:2849: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72.java:3107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/gh72.java:3248: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/gh72.java:3462: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/gh72.java:3610: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3623: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3636: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3649: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3663: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3675: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3684: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3693: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3702: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3711: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3720: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3730: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3742: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3751: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:3760: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/gh72.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "gh72"; ^ Mercury/javas/jmercury/gh72.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/gh72.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/gh72.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class gh72 Mercury/javas/jmercury/gh72.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class gh72 Mercury/javas/jmercury/gh72.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/gh72.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72 Mercury/javas/jmercury/gh72.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/gh72.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/gh72.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] gh72__type_class_id_method_ids_fxc_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/gh72.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId gh72__type_class_id_fxc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/gh72.java:57: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct gh72__type_class_decl_fxc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/gh72.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72 Mercury/javas/jmercury/gh72.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ 100 errors gmake[3]: *** [/tmp/mmake.aJ9cd7:2411: gh72] Error 1 gmake[3]: Target 'gh72.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: gh72.log] Error 1 RUNNING TEST hard_coded/gh72b in grade java FAILED TEST hard_coded/gh72a in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72a.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72a Making Mercury/int3s/gh72a.int3 Making Mercury/ints/gh72a.int Making Mercury/javas/jmercury/gh72a.java Making Java class files Mercury/javas/jmercury/gh72a.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_maybe_reviewed_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72a.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_maybe_reviewed_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72a.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_maybe_reviewed_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_stag_ordered_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72a.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72a__du_ptag_ordered_maybe_reviewed_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72a.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_name_ordered_maybe_reviewed_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72a.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72a__type_ctor_info_maybe_reviewed_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72a.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72a.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72a.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72a__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72a.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72a.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72a__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72a.java:187: 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/gh72a.java:618: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72a.java:575: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72a.java:190: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/gh72a.java:311: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72a.java:367: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72a.java:515: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/gh72a.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "gh72a"; ^ Mercury/javas/jmercury/gh72a.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/gh72a.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/gh72a.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class gh72a Mercury/javas/jmercury/gh72a.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class gh72a Mercury/javas/jmercury/gh72a.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/gh72a.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/gh72a.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_maybe_reviewed_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72a.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_maybe_reviewed_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72a.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_maybe_reviewed_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_stag_ordered_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72a.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72a__du_ptag_ordered_maybe_reviewed_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72a.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_name_ordered_maybe_reviewed_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72a.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72a__type_ctor_info_maybe_reviewed_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72a.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72a__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72a.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72a__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72a.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72a.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72a__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72a.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72a__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72a.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72a__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72a.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) gh72a.gh72a__type_ctor_info_package_0; ^ Mercury/javas/jmercury/gh72a.java:57: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) gh72a.gh72a__type_ctor_info_package_0; ^ Mercury/javas/jmercury/gh72a.java:74: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/gh72a.java:92: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/gh72a.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/gh72a.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/gh72a.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72a.java:127: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72a.java:129: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:134: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:142: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:148: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/gh72a.java:150: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/gh72a.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/gh72a.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/gh72a.java:187: 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/gh72a.java:190: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/gh72a.java:194: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/gh72a.java:205: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/gh72a.java:207: error: package list does not exist (list.List_1) gh72a.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/gh72a.java:222: error: package list does not exist list.List_1 S_6 = null; ^ Mercury/javas/jmercury/gh72a.java:223: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/gh72a.java:232: error: package list does not exist S_6 = (list.List_1) gh72a.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/gh72a.java:236: error: package list.List_1 does not exist Var_12 = ((gh72a.Maybe_reviewed_0) ((list.List_1.F_cons_2) S_6).F1); ^ Mercury/javas/jmercury/gh72a.java:237: error: package list.List_1 does not exist Var_9 = ((list.List_1.F_cons_2) S_6).F2; ^ Mercury/javas/jmercury/gh72a.java:254: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:257: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class gh72a Mercury/javas/jmercury/gh72a.java:278: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(Var_4, Var_5); ^ symbol: variable string location: class gh72a Mercury/javas/jmercury/gh72a.java:291: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(Var_7, Var_8); ^ symbol: variable string location: class gh72a Mercury/javas/jmercury/gh72a.java:306: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(A_3, B_4); ^ symbol: variable string location: class gh72a Mercury/javas/jmercury/gh72a.java:317: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72a.java:323: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/gh72a.java:336: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/gh72a.java:339: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/gh72a.java:358: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72a.java:373: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72a.java:379: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/gh72a.java:386: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/gh72a.java:389: error: cannot find symbol SubResult1_6 = private_builtin.builtin_compare_string_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:391: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/gh72a.java:396: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX2_7, ArgY2_8); ^ symbol: variable private_builtin location: class gh72a Mercury/javas/jmercury/gh72a.java:408: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72a.java:562: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 96 errors gmake[3]: *** [/tmp/mmake.0ENmVQ:2411: gh72a] Error 1 gmake[3]: Target 'gh72a.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: gh72a.log] Error 1 RUNNING TEST hard_coded/ground_dd in grade java FAILED TEST hard_coded/gh72b in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72b.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - gh72b Making Mercury/int3s/gh72b.int3 Making Mercury/ints/gh72b.int Making Mercury/javas/jmercury/gh72b.java Making Java class files Mercury/javas/jmercury/gh72b.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_maybe_reviewed_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72b.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_maybe_reviewed_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72b.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_maybe_reviewed_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_stag_ordered_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72b.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72b__du_ptag_ordered_maybe_reviewed_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72b.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_name_ordered_maybe_reviewed_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72b.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72b__type_ctor_info_maybe_reviewed_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72b.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72b.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72b.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72b__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72b.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72b.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72b__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72b.java:593: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72b.java:550: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/gh72b.java:286: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72b.java:342: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/gh72b.java:490: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/gh72b.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "gh72b"; ^ Mercury/javas/jmercury/gh72b.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/gh72b.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/gh72b.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class gh72b Mercury/javas/jmercury/gh72b.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class gh72b Mercury/javas/jmercury/gh72b.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/gh72b.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/gh72b.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_maybe_reviewed_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72b.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_maybe_reviewed_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/gh72b.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_maybe_reviewed_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_stag_ordered_maybe_reviewed_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72b.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72b__du_ptag_ordered_maybe_reviewed_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72b.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_name_ordered_maybe_reviewed_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/gh72b.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72b__type_ctor_info_maybe_reviewed_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72b.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] gh72b__field_types_package_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/gh72b.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc gh72b__du_functor_desc_package_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/gh72b.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_stag_ordered_package_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72b.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] gh72b__du_ptag_ordered_package_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/gh72b.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] gh72b__du_name_ordered_package_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/gh72b.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct gh72b__type_ctor_info_package_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/gh72b.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) gh72b.gh72b__type_ctor_info_package_0; ^ Mercury/javas/jmercury/gh72b.java:57: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) gh72b.gh72b__type_ctor_info_package_0; ^ Mercury/javas/jmercury/gh72b.java:74: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/gh72b.java:92: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/gh72b.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/gh72b.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/gh72b.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72b.java:127: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/gh72b.java:129: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:134: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:142: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:148: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/gh72b.java:150: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/gh72b.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/gh72b.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/gh72b.java:230: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:233: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class gh72b Mercury/javas/jmercury/gh72b.java:253: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(Var_4, Var_5); ^ symbol: variable string location: class gh72b Mercury/javas/jmercury/gh72b.java:266: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(Var_7, Var_8); ^ symbol: variable string location: class gh72b Mercury/javas/jmercury/gh72b.java:281: error: cannot find symbol HeadVar__2_2 = string.f_43_43_2_f_0(A_3, B_4); ^ symbol: variable string location: class gh72b Mercury/javas/jmercury/gh72b.java:292: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72b.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/gh72b.java:311: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/gh72b.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/gh72b.java:333: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72b.java:348: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72b.java:354: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/gh72b.java:361: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/gh72b.java:364: error: cannot find symbol SubResult1_6 = private_builtin.builtin_compare_string_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:366: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/gh72b.java:371: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX2_7, ArgY2_8); ^ symbol: variable private_builtin location: class gh72b Mercury/javas/jmercury/gh72b.java:383: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/gh72b.java:537: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 84 errors gmake[3]: *** [/tmp/mmake.9xISCC:2411: gh72b] Error 1 gmake[3]: Target 'gh72b.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: gh72b.log] Error 1 RUNNING TEST hard_coded/ground_terms in grade java FAILED TEST hard_coded/ground_dd in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ground_dd.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ground_dd Making Mercury/int3s/ground_dd.int3 Making Mercury/ints/ground_dd.int Making Mercury/javas/jmercury/ground_dd.java Making Java class files Mercury/javas/jmercury/ground_dd.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc ground_dd__enum_functor_desc_disproof_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ground_dd__enum_ordinal_ordered_disproof_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ground_dd.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] ground_dd__enum_name_ordered_disproof_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/ground_dd.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_disproof_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_2_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/ground_dd.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_2_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/ground_dd.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_stag_ordered_node_2_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ground_dd.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_dd__du_ptag_ordered_node_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_dd.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_name_ordered_node_2 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ground_dd.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_node_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/ground_dd.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_stag_ordered_node_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ground_dd.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_dd__du_ptag_ordered_node_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_dd.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_name_ordered_node_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ground_dd.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_node_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/ground_dd.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_node_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_node_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_stag_ordered_node_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/ground_dd.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_dd__du_ptag_ordered_node_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_dd.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_name_ordered_node_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/ground_dd.java:68: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_proc_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__ti_term_1term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_dd.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1ground_dd__type_ctor_info_proof_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_dd.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ground_dd.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_dd__field_types_proof_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_dd.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_dd__du_functor_desc_proof_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_dd.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_stag_ordered_proof_0_0 = new jmercury.runtime.DuFunctorDesc[8]; ^ Mercury/javas/jmercury/ground_dd.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_dd__du_ptag_ordered_proof_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_dd.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_dd__du_name_ordered_proof_0 = new jmercury.runtime.DuFunctorDesc[8]; ^ Mercury/javas/jmercury/ground_dd.java:91: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_dd__type_ctor_info_proof_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_dd.java:673: 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/ground_dd.java:3049: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_dd.java:675: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ground_dd.java:2939: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_dd.java:2866: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_dd.java:680: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/ground_dd.java:792: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_20, ^ Mercury/javas/jmercury/ground_dd.java:793: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/ground_dd.java:794: error: package list does not exist list.List_1 Bs_2) ^ Mercury/javas/jmercury/ground_dd.java:926: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/ground_dd.java:1038: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/ground_dd.java:1135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/ground_dd.java:1136: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/ground_dd.java:1399: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:1422: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:1594: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/ground_dd.java:1592: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:1695: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_25, ^ Mercury/javas/jmercury/ground_dd.java:1696: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_26, ^ Mercury/javas/jmercury/ground_dd.java:2991: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_dd.java:1693: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:1812: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:1842: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_dd.java:2283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/ground_dd.java:2363: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_19, ^ Mercury/javas/jmercury/ground_dd.java:2364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_S_20, ^ Mercury/javas/jmercury/ground_dd.java:2945: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/ground_dd.java:2954: error: package list does not exist list.List_1 F1, ^ Mercury/javas/jmercury/ground_dd.java:2917: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/ground_dd.java:2918: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/ground_dd.java:2926: error: package list does not exist list.List_1 F1, ^ Mercury/javas/jmercury/ground_dd.java:2927: error: package list does not exist list.List_1 F2) ^ Mercury/javas/jmercury/ground_dd.java:2674: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ground_dd.java:2770: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ground_dd.java:2822: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/ground_dd.java:2872: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/ground_dd.java:2881: error: package list does not exist list.List_1 F1, ^ Mercury/javas/jmercury/ground_dd.java:2894: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/ground_dd.java:2895: error: package list does not exist public list.List_1 F3; ^ Mercury/javas/jmercury/ground_dd.java:2904: error: package list does not exist list.List_1 F2, ^ Mercury/javas/jmercury/ground_dd.java:2905: error: package list does not exist list.List_1 F3) ^ Mercury/javas/jmercury/ground_dd.java:2966: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/ground_dd.java:2967: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/ground_dd.java:2968: error: package list does not exist public list.List_1 F3; ^ Mercury/javas/jmercury/ground_dd.java:2976: error: package list does not exist list.List_1 F1, ^ 100 errors gmake[3]: *** [/tmp/mmake.r1QIjK:2411: ground_dd] Error 1 gmake[3]: Target 'ground_dd.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ground_dd.log] Error 1 RUNNING TEST hard_coded/hash_bug in grade java FAILED TEST hard_coded/ground_terms in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --from-ground-term-threshold=2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ground_terms.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --from-ground-term-threshold=2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ground_terms Making Mercury/int3s/ground_terms.int3 Making Mercury/ints/ground_terms.int Making Mercury/javas/jmercury/ground_terms.java Making Java class files Mercury/javas/jmercury/ground_terms.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ground_terms__ti_datag_3builtin__type_ctor_info_float_0maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_da_f_mb_ls_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_4builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ground_terms__ti_datag_3__vti_tuple_4builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_da_i_mb_ls_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_stag_ordered_datag_3_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/ground_terms.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_terms__du_ptag_ordered_datag_3 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_terms.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_name_ordered_datag_3 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/ground_terms.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_datag_3 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_notag_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_notag_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_stag_ordered_notag_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ground_terms.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_terms__du_ptag_ordered_notag_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_terms.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_name_ordered_notag_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ground_terms.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_notag_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:453: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[14]; ^ Mercury/javas/jmercury/ground_terms.java:454: 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/ground_terms.java:1977: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_terms.java:456: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.Yes_1[] MR_scalar_common_4 = new maybe.Maybe_1.Yes_1[6]; ^ Mercury/javas/jmercury/ground_terms.java:457: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[26]; ^ Mercury/javas/jmercury/ground_terms.java:458: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_6 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/ground_terms.java:1808: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ground_terms.java:863: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/ground_terms.java:989: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_terms.java:1020: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_terms.java:1053: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_24, ^ Mercury/javas/jmercury/ground_terms.java:1054: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_25, ^ Mercury/javas/jmercury/ground_terms.java:1055: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_26, ^ Mercury/javas/jmercury/ground_terms.java:1051: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_terms.java:1343: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/ground_terms.java:1341: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ground_terms.java:1447: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_23, ^ Mercury/javas/jmercury/ground_terms.java:1448: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_24, ^ Mercury/javas/jmercury/ground_terms.java:1449: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_25, ^ Mercury/javas/jmercury/ground_terms.java:1621: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/ground_terms.java:1660: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ground_terms.java:1720: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ground_terms.java:1763: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/ground_terms.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ground_terms"; ^ Mercury/javas/jmercury/ground_terms.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ground_terms.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ground_terms.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ground_terms Mercury/javas/jmercury/ground_terms.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ground_terms Mercury/javas/jmercury/ground_terms.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ground_terms.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ground_terms Mercury/javas/jmercury/ground_terms.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ground_terms Mercury/javas/jmercury/ground_terms.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ground_terms Mercury/javas/jmercury/ground_terms.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ground_terms Mercury/javas/jmercury/ground_terms.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ground_terms.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ground_terms__ti_datag_3builtin__type_ctor_info_float_0maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_da_f_mb_ls_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_4builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ground_terms__ti_datag_3__vti_tuple_4builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0maybe__ti_maybe_1__vti_tuple_3bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0bool__type_ctor_info_bool_0list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_da_i_mb_ls_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ground_terms.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ground_terms__field_types_datag_3_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ground_terms.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ground_terms__du_functor_desc_datag_3_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ground_terms.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_stag_ordered_datag_3_0 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/ground_terms.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ground_terms__du_ptag_ordered_datag_3 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ground_terms.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ground_terms__du_name_ordered_datag_3 = new jmercury.runtime.DuFunctorDesc[9]; ^ Mercury/javas/jmercury/ground_terms.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ground_terms__type_ctor_info_datag_3 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Note: Mercury/javas/jmercury/ground_terms.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.gPFrb3:2411: ground_terms] Error 1 gmake[3]: Target 'ground_terms.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ground_terms.log] Error 1 RUNNING TEST hard_coded/hash_init_bug in grade java FAILED TEST hard_coded/hash_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_bug Making Mercury/int3s/hash_bug.int3 Making Mercury/ints/hash_bug.int Making Mercury/javas/jmercury/hash_bug.java Making Java class files Mercury/javas/jmercury/hash_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__ti_hash_table_2hash_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_bug__type_ctor_info_name_ht_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_bug__field_types_sym_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/hash_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_bug__du_functor_desc_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_bug__field_types_sym_name_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/hash_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_bug__du_functor_desc_sym_name_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_bug__du_stag_ordered_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] hash_bug__du_ptag_ordered_sym_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/hash_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_bug__du_name_ordered_sym_name_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_bug__type_ctor_info_sym_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:157: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/hash_bug.java:158: 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/hash_bug.java:1155: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/hash_bug.java:161: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[60]; ^ Mercury/javas/jmercury/hash_bug.java:735: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/hash_bug.java:736: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2) ^ Mercury/javas/jmercury/hash_bug.java:733: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_bug.java:840: error: package list does not exist list.List_1 HeadVar__4_4) ^ Mercury/javas/jmercury/hash_bug.java:836: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/hash_bug.java:890: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/hash_bug.java:900: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2, ^ Mercury/javas/jmercury/hash_bug.java:901: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__3_3) ^ Mercury/javas/jmercury/hash_bug.java:898: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/hash_bug.java:929: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/hash_bug.java:997: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__1_1, ^ Mercury/javas/jmercury/hash_bug.java:998: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2) ^ Mercury/javas/jmercury/hash_bug.java:1086: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/hash_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hash_bug"; ^ Mercury/javas/jmercury/hash_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hash_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hash_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hash_bug Mercury/javas/jmercury/hash_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hash_bug Mercury/javas/jmercury/hash_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hash_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_bug Mercury/javas/jmercury/hash_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_bug Mercury/javas/jmercury/hash_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_bug Mercury/javas/jmercury/hash_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_bug Mercury/javas/jmercury/hash_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hash_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__ti_hash_table_2hash_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_bug__type_ctor_info_name_ht_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_bug__field_types_sym_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/hash_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_bug__du_functor_desc_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_bug__field_types_sym_name_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/hash_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_bug__du_functor_desc_sym_name_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_bug__du_stag_ordered_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] hash_bug__du_ptag_ordered_sym_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/hash_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_bug__du_name_ordered_sym_name_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_bug__type_ctor_info_sym_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_bug.java:47: error: cannot find symbol hash_table.hash_table__type_ctor_info_hash_table_2, ^ symbol: variable hash_table location: class hash_bug Mercury/javas/jmercury/hash_bug.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(hash_bug.hash_bug__type_ctor_info_sym_name_0), ^ Mercury/javas/jmercury/hash_bug.java:50: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/hash_bug.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/hash_bug.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/hash_bug.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/hash_bug.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) hash_bug.hash_table__ti_hash_table_2hash_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/hash_bug.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/hash_bug.java:74: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:79: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:87: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:91: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) hash_bug.hash_bug__type_ctor_info_sym_name_0; ^ Mercury/javas/jmercury/hash_bug.java:93: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/hash_bug.java:93: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:98: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:106: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/hash_bug.java:116: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/hash_bug.java:139: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/hash_bug.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/hash_bug.java:157: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/hash_bug.java:158: 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/hash_bug.java:161: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[60]; ^ Mercury/javas/jmercury/hash_bug.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_bug.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ symbol: variable hash_table location: class hash_bug Mercury/javas/jmercury/hash_bug.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ Mercury/javas/jmercury/hash_bug.java:169: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_bug.hash_bug__type_ctor_info_sym_name_0))), ^ Mercury/javas/jmercury/hash_bug.java:170: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_bug Mercury/javas/jmercury/hash_bug.java:170: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_bug.java:173: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/hash_bug.java:390: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:392: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/hash_bug.java:395: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:397: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/hash_bug.java:400: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:402: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/hash_bug.java:405: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:407: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/hash_bug.java:410: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:412: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[3] ^ Mercury/javas/jmercury/hash_bug.java:415: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:417: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/hash_bug.java:420: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:422: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[5] ^ Mercury/javas/jmercury/hash_bug.java:425: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:427: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[6] ^ Mercury/javas/jmercury/hash_bug.java:430: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:432: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[7] ^ Mercury/javas/jmercury/hash_bug.java:435: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_bug.java:437: error: package list does not exist (list.List_1) hash_bug.MR_scalar_common_5[8] ^ 100 errors gmake[3]: *** [/tmp/mmake.AvvXoO:2411: hash_bug] Error 1 gmake[3]: Target 'hash_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hash_bug.log] Error 1 RUNNING TEST hard_coded/hash_table_delete in grade java FAILED TEST hard_coded/hash_init_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_init_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_init_bug Making Mercury/int3s/hash_init_bug.int3 Making Mercury/ints/hash_init_bug.int Making Mercury/javas/jmercury/hash_init_bug.java Making Java class files Mercury/javas/jmercury/hash_init_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__ti_hash_table_2hash_init_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_init_bug__type_ctor_info_name_ht_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_init_bug__field_types_sym_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_init_bug__du_functor_desc_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_init_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_init_bug__field_types_sym_name_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_init_bug__du_functor_desc_sym_name_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_init_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_init_bug__du_stag_ordered_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] hash_init_bug__du_ptag_ordered_sym_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_init_bug__du_name_ordered_sym_name_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_init_bug__type_ctor_info_sym_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:157: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:648: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/hash_init_bug.java:161: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:162: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:238: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/hash_init_bug.java:239: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2) ^ Mercury/javas/jmercury/hash_init_bug.java:236: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_init_bug.java:341: error: package list does not exist list.List_1 HeadVar__4_4) ^ Mercury/javas/jmercury/hash_init_bug.java:337: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/hash_init_bug.java:393: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2, ^ Mercury/javas/jmercury/hash_init_bug.java:394: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__3_3) ^ Mercury/javas/jmercury/hash_init_bug.java:391: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/hash_init_bug.java:422: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/hash_init_bug.java:490: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__1_1, ^ Mercury/javas/jmercury/hash_init_bug.java:491: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_2) ^ Mercury/javas/jmercury/hash_init_bug.java:579: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/hash_init_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hash_init_bug"; ^ Mercury/javas/jmercury/hash_init_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hash_init_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hash_init_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hash_init_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hash_init_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__ti_hash_table_2hash_init_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_init_bug__type_ctor_info_name_ht_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_init_bug__field_types_sym_name_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_init_bug__du_functor_desc_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_init_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] hash_init_bug__field_types_sym_name_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc hash_init_bug__du_functor_desc_sym_name_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/hash_init_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_init_bug__du_stag_ordered_sym_name_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] hash_init_bug__du_ptag_ordered_sym_name_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] hash_init_bug__du_name_ordered_sym_name_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/hash_init_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct hash_init_bug__type_ctor_info_sym_name_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/hash_init_bug.java:47: error: cannot find symbol hash_table.hash_table__type_ctor_info_hash_table_2, ^ symbol: variable hash_table location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(hash_init_bug.hash_init_bug__type_ctor_info_sym_name_0), ^ Mercury/javas/jmercury/hash_init_bug.java:50: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/hash_init_bug.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/hash_init_bug.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/hash_init_bug.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/hash_init_bug.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) hash_init_bug.hash_table__ti_hash_table_2hash_init_bug__type_ctor_info_sym_name_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/hash_init_bug.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/hash_init_bug.java:74: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:79: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:87: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:91: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) hash_init_bug.hash_init_bug__type_ctor_info_sym_name_0; ^ Mercury/javas/jmercury/hash_init_bug.java:93: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/hash_init_bug.java:93: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:98: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:106: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/hash_init_bug.java:116: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/hash_init_bug.java:139: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/hash_init_bug.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/hash_init_bug.java:157: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:161: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:162: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/hash_init_bug.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_init_bug.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ symbol: variable hash_table location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ Mercury/javas/jmercury/hash_init_bug.java:169: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_init_bug.hash_init_bug__type_ctor_info_sym_name_0))), ^ Mercury/javas/jmercury/hash_init_bug.java:170: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:170: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_init_bug.java:178: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:178: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/hash_init_bug.java:195: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/hash_init_bug.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_init_bug.java:199: error: package list does not exist (list.List_1) hash_init_bug.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/hash_init_bug.java:221: error: package list does not exist list.List_1 Parts_16 = null; ^ Mercury/javas/jmercury/hash_init_bug.java:222: error: package list does not exist list.List_1 Var_17 = (list.List_1) hash_init_bug.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/hash_init_bug.java:222: error: package list does not exist list.List_1 Var_17 = (list.List_1) hash_init_bug.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/hash_init_bug.java:228: error: cannot find symbol Str_7 = string.append_list_2_p_0(Parts_16); ^ symbol: variable string location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:231: error: cannot find symbol LambdaHeadVar__2_14 = string.hash_1_f_0(Str_7); ^ symbol: variable string location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:243: error: package hash_table does not exist hash_table.Hash_table_2 HT_3 = null; ^ Mercury/javas/jmercury/hash_init_bug.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(hash_init_bug.hash_init_bug__type_ctor_info_sym_name_0); ^ Mercury/javas/jmercury/hash_init_bug.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(hash_init_bug.hash_init_bug__type_ctor_info_sym_name_0); ^ Mercury/javas/jmercury/hash_init_bug.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_init_bug.java:251: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_init_bug Mercury/javas/jmercury/hash_init_bug.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_init_bug.java:252: error: package list.List_1 does not exist hash_init_bug.Sym_name_0 K_5 = ((hash_init_bug.Sym_name_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/hash_init_bug.java:253: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/hash_init_bug.java:253: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/hash_init_bug.java:254: error: package hash_table does not exist hash_table.Hash_table_2 Var_9 = null; ^ Mercury/javas/jmercury/hash_init_bug.java:256: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/hash_init_bug.java:257: error: package hash_table does not exist hash_table.Hash_table_2 next_value_of_HeadVar__2_2 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.bkV2zV:2411: hash_init_bug] Error 1 gmake[3]: Target 'hash_init_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hash_init_bug.log] Error 1 RUNNING TEST hard_coded/hash_table_test in grade java FAILED TEST hard_coded/hash_table_delete in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_table_delete.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_table_delete Making Mercury/int3s/hash_table_delete.int3 Making Mercury/ints/hash_table_delete.int Making Mercury/javas/jmercury/hash_table_delete.java Making Java class files Mercury/javas/jmercury/hash_table_delete.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__pti_hash_table_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_table_delete.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/hash_table_delete.java:54: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/hash_table_delete.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/hash_table_delete.java:183: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__2_26) ^ Mercury/javas/jmercury/hash_table_delete.java:180: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_delete.java:198: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_6) ^ Mercury/javas/jmercury/hash_table_delete.java:195: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_delete.java:315: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/hash_table_delete.java:316: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_17, ^ Mercury/javas/jmercury/hash_table_delete.java:318: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/hash_table_delete.java:353: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/hash_table_delete.java:372: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/hash_table_delete.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hash_table_delete"; ^ Mercury/javas/jmercury/hash_table_delete.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hash_table_delete.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hash_table_delete.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hash_table_delete.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hash_table_delete.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__pti_hash_table_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_table_delete.java:37: error: cannot find symbol hash_table.hash_table__type_ctor_info_hash_table_2, ^ symbol: variable hash_table location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/hash_table_delete.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/hash_table_delete.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/hash_table_delete.java:54: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/hash_table_delete.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[12]; ^ Mercury/javas/jmercury/hash_table_delete.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_table_delete.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ symbol: variable hash_table location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ Mercury/javas/jmercury/hash_table_delete.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/hash_table_delete.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_table_delete.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_table_delete.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/hash_table_delete.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/hash_table_delete.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_table_delete.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_table_delete.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/hash_table_delete.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table_delete.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/hash_table_delete.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/hash_table_delete.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/hash_table_delete.java:94: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:94: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/hash_table_delete.java:111: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/hash_table_delete.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:115: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/hash_table_delete.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:120: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/hash_table_delete.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:125: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/hash_table_delete.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:130: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/hash_table_delete.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:135: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/hash_table_delete.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:140: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/hash_table_delete.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:145: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[5] ^ Mercury/javas/jmercury/hash_table_delete.java:148: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:150: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/hash_table_delete.java:153: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:155: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[7] ^ Mercury/javas/jmercury/hash_table_delete.java:158: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:160: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/hash_table_delete.java:163: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:165: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[9] ^ Mercury/javas/jmercury/hash_table_delete.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/hash_table_delete.java:170: error: package list does not exist (list.List_1) hash_table_delete.MR_scalar_common_6[10] ^ Mercury/javas/jmercury/hash_table_delete.java:185: error: package hash_table does not exist hash_table.Hash_table_2 HeadVar__3_27 = null; ^ Mercury/javas/jmercury/hash_table_delete.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/hash_table_delete.java:186: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/hash_table_delete.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_delete.java:187: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_delete.java:190: error: cannot find symbol HeadVar__3_27 = hash_table.delete_3_p_0(TypeCtorInfo_28_28, TypeCtorInfo_29_29, ((java.lang.Object) (HeadVar__1_25)), HeadVar__2_26); ^ symbol: variable hash_table location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:200: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_7 = null; ^ Mercury/javas/jmercury/hash_table_delete.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = null; ^ Mercury/javas/jmercury/hash_table_delete.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = null; ^ Mercury/javas/jmercury/hash_table_delete.java:206: error: cannot find symbol Var_8 = string.length_1_f_0(Key_4); ^ symbol: variable string location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:208: error: cannot find symbol TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:208: error: package jmercury.runtime does not exist TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/hash_table_delete.java:209: error: cannot find symbol TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:209: error: package jmercury.runtime does not exist TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_delete.java:211: error: cannot find symbol STATE_VARIABLE_HT_7 = hash_table.det_insert_4_p_0(TypeCtorInfo_9_9, TypeCtorInfo_10_10, ((java.lang.Object) (Key_4)), java.lang.Integer.valueOf(Var_8), STATE_VARIABLE_HT_0_6); ^ symbol: variable hash_table location: class hash_table_delete Mercury/javas/jmercury/hash_table_delete.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.PMpUuz:2411: hash_table_delete] Error 1 gmake[3]: Target 'hash_table_delete.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hash_table_delete.log] Error 1 RUNNING TEST hard_coded/heap_ref_mask_tag in grade java FAILED TEST hard_coded/hash_table_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_table_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - hash_table_test Making Mercury/int3s/hash_table_test.int3 Making Mercury/ints/hash_table_test.int Making Mercury/javas/jmercury/hash_table_test.java Making Java class files Mercury/javas/jmercury/hash_table_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__pti_hash_table_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_table_test.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/hash_table_test.java:132: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_6) ^ Mercury/javas/jmercury/hash_table_test.java:129: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_test.java:146: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_6) ^ Mercury/javas/jmercury/hash_table_test.java:143: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_test.java:160: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_7) ^ Mercury/javas/jmercury/hash_table_test.java:157: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_test.java:188: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_7) ^ Mercury/javas/jmercury/hash_table_test.java:185: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_test.java:218: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_0_6) ^ Mercury/javas/jmercury/hash_table_test.java:215: error: package hash_table does not exist private static hash_table.Hash_table_2 ^ Mercury/javas/jmercury/hash_table_test.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_16, ^ Mercury/javas/jmercury/hash_table_test.java:597: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/hash_table_test.java:616: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/hash_table_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "hash_table_test"; ^ Mercury/javas/jmercury/hash_table_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/hash_table_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/hash_table_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/hash_table_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/hash_table_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct hash_table__pti_hash_table_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/hash_table_test.java:37: error: cannot find symbol hash_table.hash_table__type_ctor_info_hash_table_2, ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/hash_table_test.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/hash_table_test.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/hash_table_test.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_table_test.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(hash_table.hash_table__type_ctor_info_hash_table_2))), ^ Mercury/javas/jmercury/hash_table_test.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/hash_table_test.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_table_test.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/hash_table_test.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/hash_table_test.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/hash_table_test.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/hash_table_test.java:73: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:73: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/hash_table_test.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/hash_table_test.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/hash_table_test.java:134: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_7 = null; ^ Mercury/javas/jmercury/hash_table_test.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:135: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:138: error: cannot find symbol STATE_VARIABLE_HT_7 = hash_table.delete_3_p_0(TypeCtorInfo_8_8, TypeCtorInfo_8_8, java.lang.Integer.valueOf(I_4), STATE_VARIABLE_HT_0_6); ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:148: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_7 = null; ^ Mercury/javas/jmercury/hash_table_test.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:149: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:152: error: cannot find symbol STATE_VARIABLE_HT_7 = hash_table.det_insert_4_p_0(TypeCtorInfo_9_9, TypeCtorInfo_9_9, java.lang.Integer.valueOf(I_4), java.lang.Integer.valueOf(I_4), STATE_VARIABLE_HT_0_6); ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:163: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_8 = null; ^ Mercury/javas/jmercury/hash_table_test.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:164: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:164: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:169: error: cannot find symbol conv0_V_6 = hash_table.lookup_2_f_0(TypeCtorInfo_10_10, TypeCtorInfo_10_10, STATE_VARIABLE_HT_0_7, java.lang.Integer.valueOf(I_4)); ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:178: error: cannot find symbol require.error_1_p_0(Var_9); ^ symbol: variable require location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:191: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_8 = null; ^ Mercury/javas/jmercury/hash_table_test.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:192: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:198: error: cannot find symbol conv0_V_6 = hash_table.lookup_2_f_0(TypeCtorInfo_10_10, TypeCtorInfo_10_10, STATE_VARIABLE_HT_0_7, java.lang.Integer.valueOf(I_4)); ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:208: error: cannot find symbol require.error_1_p_0(Var_9); ^ symbol: variable require location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:220: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_7 = null; ^ Mercury/javas/jmercury/hash_table_test.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:221: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/hash_table_test.java:225: error: cannot find symbol STATE_VARIABLE_HT_7 = hash_table.set_4_p_0(TypeCtorInfo_9_9, TypeCtorInfo_9_9, java.lang.Integer.valueOf(I_4), java.lang.Integer.valueOf(Var_8), STATE_VARIABLE_HT_0_6); ^ symbol: variable hash_table location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:249: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_6)[1]); ^ Mercury/javas/jmercury/hash_table_test.java:249: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_6)[1]); ^ Mercury/javas/jmercury/hash_table_test.java:254: error: package jmercury.runtime does not exist STATE_VARIABLE_A_1_12 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_6))), ((java.lang.Object) (java.lang.Integer.valueOf(Lo_7))), ((java.lang.Object) (STATE_VARIABLE_A_0_10)))); ^ Mercury/javas/jmercury/hash_table_test.java:275: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_74_74 = null; ^ Mercury/javas/jmercury/hash_table_test.java:276: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_80_80 = null; ^ Mercury/javas/jmercury/hash_table_test.java:277: error: package list does not exist list.List_1 Args_4 = null; ^ Mercury/javas/jmercury/hash_table_test.java:285: error: package list does not exist list.List_1 AL_15 = null; ^ Mercury/javas/jmercury/hash_table_test.java:286: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_1_22 = null; ^ Mercury/javas/jmercury/hash_table_test.java:293: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_2_30 = null; ^ Mercury/javas/jmercury/hash_table_test.java:299: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_3_39 = null; ^ Mercury/javas/jmercury/hash_table_test.java:306: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_4_50 = null; ^ Mercury/javas/jmercury/hash_table_test.java:312: error: package hash_table does not exist hash_table.Hash_table_2 STATE_VARIABLE_HT_5_61 = null; ^ Mercury/javas/jmercury/hash_table_test.java:323: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_87_87 = null; ^ Mercury/javas/jmercury/hash_table_test.java:329: error: cannot find symbol Args_4 = io.command_line_arguments_3_p_0(); ^ symbol: variable io location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:338: error: package list does not exist list.List_1 Var_96 = ((list.List_1.F_cons_2) Args_4).F2; ^ Mercury/javas/jmercury/hash_table_test.java:338: error: package list.List_1 does not exist list.List_1 Var_96 = ((list.List_1.F_cons_2) Args_4).F2; ^ Mercury/javas/jmercury/hash_table_test.java:339: error: package list.List_1 does not exist java.lang.String Var_97 = ((java.lang.String) ((list.List_1.F_cons_2) Args_4).F1); ^ Mercury/javas/jmercury/hash_table_test.java:349: error: package list.List_1 does not exist B_6 = ((java.lang.String) ((list.List_1.F_cons_2) Var_96).F1); ^ Mercury/javas/jmercury/hash_table_test.java:353: error: cannot find symbol Max_8 = string.det_to_int_1_f_0(A_5); ^ symbol: variable string location: class hash_table_test Mercury/javas/jmercury/hash_table_test.java:356: error: cannot find symbol MaxOccupancy_9 = string.det_to_float_1_f_0(B_6); ^ symbol: variable string location: class hash_table_test 100 errors gmake[3]: *** [/tmp/mmake.sw2SIA:2411: hash_table_test] Error 1 gmake[3]: Target 'hash_table_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: hash_table_test.log] Error 1 RUNNING TEST hard_coded/higher_order_func_test in grade java FAILED TEST hard_coded/heap_ref_mask_tag in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - heap_ref_mask_tag.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - heap_ref_mask_tag Making Mercury/int3s/heap_ref_mask_tag.int3 Making Mercury/ints/heap_ref_mask_tag.int Making Mercury/javas/jmercury/heap_ref_mask_tag.java Making Java class files Mercury/javas/jmercury/heap_ref_mask_tag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] heap_ref_mask_tag__du_stag_ordered_length_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] heap_ref_mask_tag__du_ptag_ordered_length_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] heap_ref_mask_tag__du_name_ordered_length_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct heap_ref_mask_tag__type_ctor_info_length_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:486: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:233: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:444: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "heap_ref_mask_tag"; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] heap_ref_mask_tag__field_types_length_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc heap_ref_mask_tag__du_functor_desc_length_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] heap_ref_mask_tag__du_stag_ordered_length_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] heap_ref_mask_tag__du_ptag_ordered_length_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] heap_ref_mask_tag__du_name_ordered_length_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct heap_ref_mask_tag__type_ctor_info_length_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:54: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:62: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:66: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:71: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:79: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:83: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:83: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:88: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:96: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:100: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:100: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:105: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:113: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:125: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:127: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:161: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:201: error: cannot find symbol io.write_float_3_p_0(F_5); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:204: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:228: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:239: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:245: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:256: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:263: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:266: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:272: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:280: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:286: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:289: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:296: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:304: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_8, ArgY1_9); ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:309: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:312: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:320: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:328: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_10, ArgY1_11); ^ symbol: variable private_builtin location: class heap_ref_mask_tag Mercury/javas/jmercury/heap_ref_mask_tag.java:333: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:337: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:348: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:424: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/heap_ref_mask_tag.java:473: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 82 errors gmake[3]: *** [/tmp/mmake.5hhZ52:2411: heap_ref_mask_tag] Error 1 gmake[3]: Target 'heap_ref_mask_tag.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: heap_ref_mask_tag.log] Error 1 RUNNING TEST hard_coded/higher_order_mutable in grade java FAILED TEST hard_coded/higher_order_func_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_func_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_func_test Making Mercury/int3s/higher_order_func_test.int3 Making Mercury/ints/higher_order_func_test.int Making Mercury/javas/jmercury/higher_order_func_test.java Making Java class files Mercury/javas/jmercury/higher_order_func_test.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/higher_order_func_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/higher_order_func_test.java:255: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_func_test.java:256: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_func_test.java:258: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_func_test.java:253: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/higher_order_func_test.java:290: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_func_test.java:341: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order_func_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_func_test"; ^ Mercury/javas/jmercury/higher_order_func_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_func_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_func_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_func_test.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/higher_order_func_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/higher_order_func_test.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order_func_test.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:45: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order_func_test.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:50: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/higher_order_func_test.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:55: error: package list does not exist (list.List_1) higher_order_func_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/higher_order_func_test.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:63: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:63: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/higher_order_func_test.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:90: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:90: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/higher_order_func_test.java:91: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:91: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/higher_order_func_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:111: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:113: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_func_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/higher_order_func_test.java:113: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_func_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/higher_order_func_test.java:114: error: package list does not exist list.List_1 L2_5 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:115: error: package list does not exist list.List_1 L3_8 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:116: error: package list does not exist list.List_1 L_11 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:135: error: cannot find symbol TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/higher_order_func_test.java:137: error: cannot find symbol conv3_STATE_VARIABLE_IO_1_34 = list.foldl_4_p_2(TypeCtorInfo_40_40, TypeCtorInfo_44_44, Var_33, L_11, ((java.lang.Object) (0))); ^ symbol: variable list location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:140: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:213: error: cannot find symbol io.write_int_3_p_0(N_6); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:216: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class higher_order_func_test Mercury/javas/jmercury/higher_order_func_test.java:260: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:263: error: package list does not exist HeadVar__3_3 = (list.List_1) higher_order_func_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order_func_test.java:266: error: package list.List_1 does not exist java.lang.Object H0_6 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/higher_order_func_test.java:267: error: package list does not exist list.List_1 T0_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_func_test.java:267: error: package list.List_1 does not exist list.List_1 T0_7 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/higher_order_func_test.java:269: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/higher_order_func_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/higher_order_func_test.java:270: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/higher_order_func_test.java:273: error: package jmercury.runtime does not exist Var_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_1))), ((java.lang.Object) (H0_6)))); ^ Mercury/javas/jmercury/higher_order_func_test.java:279: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_func_test.java:328: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 66 errors gmake[3]: *** [/tmp/mmake.oPLvCF:2411: higher_order_func_test] Error 1 gmake[3]: Target 'higher_order_func_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order_func_test.log] Error 1 RUNNING TEST hard_coded/higher_order_syntax_1 in grade java FAILED TEST hard_coded/higher_order_mutable in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_mutable.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_mutable Making Mercury/int3s/higher_order_mutable.int3 Making Mercury/ints/higher_order_mutable.int Making Mercury/javas/jmercury/higher_order_mutable.java Making Java class files Mercury/javas/jmercury/higher_order_mutable.java:36: 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/higher_order_mutable.java:389: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_mutable.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_mutable"; ^ Mercury/javas/jmercury/higher_order_mutable.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_mutable.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_mutable.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_mutable.java:36: 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/higher_order_mutable.java:42: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/higher_order_mutable.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/higher_order_mutable.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/higher_order_mutable.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/higher_order_mutable.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/higher_order_mutable.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/higher_order_mutable.java:54: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:54: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_mutable.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/higher_order_mutable.java:184: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:281: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/higher_order_mutable.java:292: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Numerals_6)[1]); ^ Mercury/javas/jmercury/higher_order_mutable.java:294: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Numerals_6))), ((java.lang.Object) (java.lang.Integer.valueOf(N_4))))); ^ Mercury/javas/jmercury/higher_order_mutable.java:307: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/higher_order_mutable.java:312: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:314: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) higher_order_mutable.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order_mutable.java:316: error: cannot find symbol Var_26 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_32, N_4); ^ symbol: variable string__format location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:319: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:323: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:326: error: cannot find symbol io.write_string_3_p_0(NStr_7); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:330: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:337: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_46 = null; ^ Mercury/javas/jmercury/higher_order_mutable.java:341: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:343: error: package string__parse_util does not exist Var_46 = (string__parse_util.String_format_flags_0) higher_order_mutable.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/higher_order_mutable.java:345: error: cannot find symbol Var_40 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_46, N_4); ^ symbol: variable string__format location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:348: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:352: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class higher_order_mutable Mercury/javas/jmercury/higher_order_mutable.java:418: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors gmake[3]: *** [/tmp/mmake.uJxoM6:2411: higher_order_mutable] Error 1 gmake[3]: Target 'higher_order_mutable.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order_mutable.log] Error 1 RUNNING TEST hard_coded/higher_order_syntax_2 in grade java FAILED TEST hard_coded/higher_order_syntax_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_syntax_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_syntax_1 Making Mercury/int3s/higher_order_syntax_1.int3 Making Mercury/ints/higher_order_syntax_1.int Making Mercury/javas/jmercury/higher_order_syntax_1.java Making Java class files Mercury/javas/jmercury/higher_order_syntax_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:49: 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/higher_order_syntax_1.java:50: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:177: error: package list does not exist list.List_1 L_12) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:396: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:397: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:399: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:394: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:431: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:432: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:434: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:484: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:485: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:487: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:488: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:566: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:579: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:580: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:582: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:583: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:661: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:707: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:708: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:710: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:705: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:742: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:743: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11, ^ Mercury/javas/jmercury/higher_order_syntax_1.java:745: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:795: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:813: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:918: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:965: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:966: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:968: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:970: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:971: error: package list does not exist public list.List_1 Xs_7; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:973: error: package list does not exist public list.List_1 Ys_9; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:979: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_10; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:980: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeInfo_for_Y_11; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:982: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:984: error: package list does not exist public list.List_1 HeadVar__3_3; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:985: error: package list does not exist public list.List_1 Xs_7; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:987: error: package list does not exist public list.List_1 Ys_9; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_syntax_1"; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/higher_order_syntax_1.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:49: 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/higher_order_syntax_1.java:50: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:57: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_syntax_1.java:61: error: package list does not exist (list.List_1) higher_order_syntax_1.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/higher_order_syntax_1.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_syntax_1.java:66: error: package list does not exist (list.List_1) higher_order_syntax_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/higher_order_syntax_1.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/higher_order_syntax_1.java:71: error: package list does not exist (list.List_1) higher_order_syntax_1.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/higher_order_syntax_1.java:78: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:78: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:79: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:79: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:112: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:112: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:137: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:137: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/higher_order_syntax_1.java:154: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:154: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/higher_order_syntax_1.java:179: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:179: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:179: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:180: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:185: error: cannot find symbol conv0_LambdaHeadVar__2_42 = list.foldl_4_p_2(TypeCtorInfo_63_63, TypeCtorInfo_64_64, Var_43, L_12, ((java.lang.Object) (0))); ^ symbol: variable list location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:199: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:208: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class higher_order_syntax_1 Mercury/javas/jmercury/higher_order_syntax_1.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_59_59 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_syntax_1.java:209: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_syntax_1.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/higher_order_syntax_1.java:209: error: package list does not exist list.List_1 L1_4 = (list.List_1) higher_order_syntax_1.MR_scalar_common_2[2]; ^ 100 errors gmake[3]: *** [/tmp/mmake.GoqlQJ:2411: higher_order_syntax_1] Error 1 gmake[3]: Target 'higher_order_syntax_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order_syntax_1.log] Error 1 RUNNING TEST hard_coded/higher_order_type_manip in grade java FAILED TEST hard_coded/higher_order_syntax_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_syntax_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_syntax_2 Making Mercury/int3s/higher_order_syntax_2.int3 Making Mercury/ints/higher_order_syntax_2.int Making Mercury/javas/jmercury/higher_order_syntax_2.java Making Java class files Mercury/javas/jmercury/higher_order_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__pseudo___vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:291: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_3_12, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:292: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_2_13, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:293: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_1_14, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:309: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_3_12, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:310: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_2_13, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:311: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_1_14, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:422: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_3_9, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:423: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_2_10, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:424: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T4_11, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:448: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:499: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_syntax_2"; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__pseudo___vpti_func_2__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:50: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:51: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:52: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K3 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:56: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:58: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:59: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K3 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:63: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:65: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/higher_order_syntax_2.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) higher_order_syntax_2.__vpti_func_2__pseudo_2__pseudo_3 ^ Mercury/javas/jmercury/higher_order_syntax_2.java:103: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:103: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:104: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:104: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:105: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:105: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/higher_order_syntax_2.java:131: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:131: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:132: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:132: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:133: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:133: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:143: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:143: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:144: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:144: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:145: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:145: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:156: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:156: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:157: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:157: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:158: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:158: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/higher_order_syntax_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = null; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = null; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:189: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_11)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:189: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_11)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:193: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_7 = null; ^ Mercury/javas/jmercury/higher_order_syntax_2.java:197: error: package jmercury.runtime does not exist conv3_Var_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_11))), ((java.lang.Object) (((java.lang.Object) (Var_12)))))); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:202: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_10)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:204: error: package jmercury.runtime does not exist conv5_Result_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_10))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_13))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_14))))); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:210: error: package jmercury.runtime does not exist func_7 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_15)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:212: error: package jmercury.runtime does not exist conv8_Result2_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_7).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_15))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_19))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_20))))); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:216: error: cannot find symbol TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:216: error: package jmercury.runtime does not exist TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:218: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_37_37, ((java.lang.Object) (Var_21))); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:220: error: cannot find symbol TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:220: error: package jmercury.runtime does not exist TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:222: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_38_38, java.lang.Integer.valueOf(Result_4)); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:225: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:229: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_37_37, ((java.lang.Object) (Var_25))); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:232: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_38_38, java.lang.Integer.valueOf(Result2_5)); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:235: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:283: error: cannot find symbol conv6_HeadVar__3_3 = mr_int.f_plus_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable mr_int location: class higher_order_syntax_2 Mercury/javas/jmercury/higher_order_syntax_2.java:299: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_3)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:299: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_3)[1]); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:302: error: package jmercury.runtime does not exist LambdaHeadVar__2_9 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_3))), ((java.lang.Object) (LambdaHeadVar__1_6)), ((java.lang.Object) (LambdaHeadVar__1_8)))); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:341: error: package jmercury.runtime does not exist wrapper_arg_2 = higher_order_syntax_2.IntroducedFrom__func__curry__15__1_6_f_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[5]), ((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[6]), ((java.lang.Object[]) closure)[7], wrapper_arg_1); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:341: error: package jmercury.runtime does not exist wrapper_arg_2 = higher_order_syntax_2.IntroducedFrom__func__curry__15__1_6_f_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[5]), ((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[6]), ((java.lang.Object[]) closure)[7], wrapper_arg_1); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:341: error: package jmercury.runtime does not exist wrapper_arg_2 = higher_order_syntax_2.IntroducedFrom__func__curry__15__1_6_f_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[5]), ((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[6]), ((java.lang.Object[]) closure)[7], wrapper_arg_1); ^ Mercury/javas/jmercury/higher_order_syntax_2.java:351: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.ZSP5Jp:2411: higher_order_syntax_2] Error 1 gmake[3]: Target 'higher_order_syntax_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order_syntax_2.log] Error 1 RUNNING TEST hard_coded/ho_array_ops in grade java FAILED TEST hard_coded/higher_order_type_manip in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_type_manip.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - higher_order_type_manip Making Mercury/int3s/higher_order_type_manip.int3 Making Mercury/ints/higher_order_type_manip.int Making Mercury/javas/jmercury/higher_order_type_manip.java Making Java class files Mercury/javas/jmercury/higher_order_type_manip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_type_desc__type_ctor_info_type_desc_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] higher_order_type_manip__field_types_container_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc higher_order_type_manip__du_functor_desc_container_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] higher_order_type_manip__du_stag_ordered_container_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] higher_order_type_manip__du_ptag_ordered_container_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] higher_order_type_manip__du_name_ordered_container_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct higher_order_type_manip__type_ctor_info_container_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[8]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:113: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:456: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/higher_order_type_manip.java:649: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/higher_order_type_manip.java:454: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/higher_order_type_manip.java:498: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/higher_order_type_manip.java:537: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/higher_order_type_manip.java:555: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/higher_order_type_manip.java:606: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/higher_order_type_manip.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "higher_order_type_manip"; ^ Mercury/javas/jmercury/higher_order_type_manip.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/higher_order_type_manip.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/higher_order_type_manip.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/higher_order_type_manip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/higher_order_type_manip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_type_desc__type_ctor_info_type_desc_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] higher_order_type_manip__field_types_container_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc higher_order_type_manip__du_functor_desc_container_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] higher_order_type_manip__du_stag_ordered_container_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] higher_order_type_manip__du_ptag_ordered_container_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] higher_order_type_manip__du_name_ordered_container_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct higher_order_type_manip__type_ctor_info_container_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/higher_order_type_manip.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) type_desc.type_desc__type_ctor_info_type_desc_0 ^ Mercury/javas/jmercury/higher_order_type_manip.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) type_desc.type_desc__type_ctor_info_type_desc_0 ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:50: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/higher_order_type_manip.java:55: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/higher_order_type_manip.java:71: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/higher_order_type_manip.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/higher_order_type_manip.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/higher_order_type_manip.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[8]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:113: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/higher_order_type_manip.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:118: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:118: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:119: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:119: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:124: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:124: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:125: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))) ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:125: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:129: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:129: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:130: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:130: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:131: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_ctor_desc_0))), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:131: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_ctor_desc_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(higher_order_type_manip.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:136: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:136: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:137: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:137: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:140: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:141: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:141: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:142: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:142: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:146: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(higher_order_type_manip.higher_order_type_manip__type_ctor_info_container_1))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:147: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(higher_order_type_manip.MR_scalar_common_1[4]))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:151: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:151: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:152: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:152: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:153: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:153: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/higher_order_type_manip.java:157: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(higher_order_type_manip.higher_order_type_manip__type_ctor_info_container_1))), ^ Mercury/javas/jmercury/higher_order_type_manip.java:158: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(higher_order_type_manip.MR_scalar_common_1[6]))) ^ Mercury/javas/jmercury/higher_order_type_manip.java:165: error: cannot find symbol ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:165: error: illegal start of type ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ Mercury/javas/jmercury/higher_order_type_manip.java:166: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:166: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/higher_order_type_manip.java:179: error: cannot find symbol ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:179: error: illegal start of type ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_desc_0)), ^ Mercury/javas/jmercury/higher_order_type_manip.java:180: error: cannot find symbol ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_ctor_desc_0)), ^ symbol: variable type_desc location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:180: error: illegal start of type ((java.lang.Object) (type_desc.type_desc__type_ctor_info_type_ctor_desc_0)), ^ Mercury/javas/jmercury/higher_order_type_manip.java:194: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class higher_order_type_manip Mercury/javas/jmercury/higher_order_type_manip.java:194: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ 100 errors gmake[3]: *** [/tmp/mmake.foJ1qT:2411: higher_order_type_manip] Error 1 gmake[3]: Target 'higher_order_type_manip.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: higher_order_type_manip.log] Error 1 RUNNING TEST hard_coded/ho_float_reg in grade java FAILED TEST hard_coded/ho_array_ops in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_array_ops.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_array_ops Making Mercury/int3s/ho_array_ops.int3 Making Mercury/ints/ho_array_ops.int Making Mercury/javas/jmercury/ho_array_ops.java Making Java class files Mercury/javas/jmercury/ho_array_ops.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ho_array_ops.java:64: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_array_ops.java:67: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/ho_array_ops.java:71: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_array_ops.java:869: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:1076: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:1116: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:1189: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:1990: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:2035: error: package list does not exist list.List_1 Elems_4) ^ Mercury/javas/jmercury/ho_array_ops.java:2233: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_array_ops.java:2527: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ho_array_ops.java:2570: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/ho_array_ops.java:2668: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/ho_array_ops.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_array_ops"; ^ Mercury/javas/jmercury/ho_array_ops.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_array_ops.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_array_ops.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_array_ops.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_array_ops.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_array_ops.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/ho_array_ops.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/ho_array_ops.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:46: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:50: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_array_ops.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ho_array_ops.java:64: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_array_ops.java:67: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/ho_array_ops.java:71: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_10 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_array_ops.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_array_ops.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/ho_array_ops.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/ho_array_ops.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_array_ops.java:83: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:83: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/ho_array_ops.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_array_ops.java:93: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:93: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:94: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:94: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_array_ops.java:101: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:101: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:102: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:102: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:103: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:103: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:104: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:104: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_array_ops.java:107: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ho_array_ops.java:114: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:114: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_array_ops.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:123: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:123: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_array_ops.java:124: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_array_ops Mercury/javas/jmercury/ho_array_ops.java:124: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_array_ops.java:131: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_array_ops.java:136: error: package list does not exist (list.List_1) ho_array_ops.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_array_ops.java:143: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_array_ops.java:148: error: package list does not exist (list.List_1) ho_array_ops.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_array_ops.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_array_ops.java:153: error: package list does not exist (list.List_1) ho_array_ops.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/ho_array_ops.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_array_ops.java:158: error: package list does not exist (list.List_1) ho_array_ops.MR_scalar_common_6[2] ^ Mercury/javas/jmercury/ho_array_ops.java:165: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[3])) ^ Mercury/javas/jmercury/ho_array_ops.java:172: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:179: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:186: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[3])) ^ Mercury/javas/jmercury/ho_array_ops.java:193: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:200: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:207: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[3])) ^ Mercury/javas/jmercury/ho_array_ops.java:214: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:221: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:228: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[3])) ^ Mercury/javas/jmercury/ho_array_ops.java:235: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:242: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[0])) ^ Mercury/javas/jmercury/ho_array_ops.java:249: error: package list does not exist ((java.lang.Object) ((list.List_1) ho_array_ops.MR_scalar_common_6[3])) ^ 100 errors gmake[3]: *** [/tmp/mmake.jY2zUd:2411: ho_array_ops] Error 1 gmake[3]: Target 'ho_array_ops.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_array_ops.log] Error 1 RUNNING TEST hard_coded/ho_func_default_inst in grade java FAILED TEST hard_coded/ho_float_reg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-overlapping-scopes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_float_reg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-overlapping-scopes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_float_reg Making Mercury/int3s/ho_float_reg.int3 Making Mercury/ints/ho_float_reg.int Making Mercury/javas/jmercury/ho_float_reg.java Making Java class files Mercury/javas/jmercury/ho_float_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo___vpti_pred_2__pseudo_1__pseudo_1__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__pseudo___vpti_pred_3__pseudo___vpti_pred_2__pseudo_1__pseudo_1__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ho_float_reg__pti_struct_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_existstruct_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] ho_float_reg__exist_locns_existstruct_1_0 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo ho_float_reg__exist_info_existstruct_1_0 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/ho_float_reg.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_existstruct_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_stag_ordered_existstruct_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_float_reg__du_ptag_ordered_existstruct_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_name_ordered_existstruct_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_float_reg__type_ctor_info_existstruct_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_recursive_type_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ho_float_reg__pti_recursive_type_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_recursive_type_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_recursive_type_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_stag_ordered_recursive_type_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_float_reg__du_ptag_ordered_recursive_type_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_name_ordered_recursive_type_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_float_reg__type_ctor_info_recursive_type_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_struct_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_struct_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_2builtin__type_ctor_info_float_0builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_struct_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_struct_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_stag_ordered_struct_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_float_reg__du_ptag_ordered_struct_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_name_ordered_struct_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:63: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_float_reg__type_ctor_info_struct_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_struct_both_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_float_reg__du_functor_desc_struct_both_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_float_reg.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_stag_ordered_struct_both_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_float_reg__du_ptag_ordered_struct_both_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_float_reg__du_name_ordered_struct_both_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_float_reg__type_ctor_info_struct_both_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] ho_float_reg__type_class_id_method_ids_tc_1 = new jmercury.runtime.TypeClassMethod[5]; ^ Mercury/javas/jmercury/ho_float_reg.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId ho_float_reg__type_class_id_tc_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/ho_float_reg.java:75: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct ho_float_reg__type_class_decl_tc_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/ho_float_reg.java:464: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ho_float_reg.java:470: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:3172: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_float_reg.java:3215: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_float_reg.java:475: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_12 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/ho_float_reg.java:3133: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_float_reg.java:818: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/ho_float_reg.java:907: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/ho_float_reg.java:922: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/ho_float_reg.java:969: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/ho_float_reg.java:984: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/ho_float_reg.java:1001: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/ho_float_reg.java:1002: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_9, ^ Mercury/javas/jmercury/ho_float_reg.java:1003: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/ho_float_reg.java:1018: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/ho_float_reg.java:1047: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/ho_float_reg.java:1108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/ho_float_reg.java:1174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/ho_float_reg.java:1209: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_2) ^ Mercury/javas/jmercury/ho_float_reg.java:1241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_2) ^ Mercury/javas/jmercury/ho_float_reg.java:1273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T1_2) ^ Mercury/javas/jmercury/ho_float_reg.java:1306: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/ho_float_reg.java:2205: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/ho_float_reg.java:2228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/ho_float_reg.java:2226: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/ho_float_reg.java:2340: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/ho_float_reg.java:3110: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_float_reg.java:2338: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_float_reg.java:2394: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/ho_float_reg.java:2392: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_float_reg.java:2465: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/ho_float_reg.java:2463: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_float_reg.java:2524: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/ho_float_reg.java:2522: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_float_reg.java:2580: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/ho_float_reg.java:2627: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/ho_float_reg.java:2692: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/ho_float_reg.java:2751: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/ho_float_reg.java:3112: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/ho_float_reg.java:3122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/ho_float_reg.java:2796: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/ho_float_reg.java:2846: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_float_reg.java:2924: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ho_float_reg.java:3057: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/ho_float_reg.java:3239: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/ho_float_reg.java:3249: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/ho_float_reg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_float_reg"; ^ Mercury/javas/jmercury/ho_float_reg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_float_reg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_float_reg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_float_reg Mercury/javas/jmercury/ho_float_reg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_float_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo___vpti_pred_2__pseudo_1__pseudo_1__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__pseudo___vpti_pred_3__pseudo___vpti_pred_2__pseudo_1__pseudo_1__pseudo_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ho_float_reg__pti_struct_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_float_reg.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_float_reg__field_types_existstruct_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Note: Mercury/javas/jmercury/ho_float_reg.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.dCYDaC:2411: ho_float_reg] Error 1 gmake[3]: Target 'ho_float_reg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_float_reg.log] Error 1 RUNNING TEST hard_coded/ho_func_reg in grade java FAILED TEST hard_coded/ho_func_default_inst in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_func_default_inst.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_func_default_inst Making Mercury/int3s/ho_func_default_inst.int3 Making Mercury/ints/ho_func_default_inst.int Making Mercury/javas/jmercury/ho_func_default_inst.java Making Java class files Mercury/javas/jmercury/ho_func_default_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_default_inst.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_default_inst__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_default_inst.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_func_default_inst.java:277: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_func_default_inst.java:333: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_func_default_inst.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_func_default_inst"; ^ Mercury/javas/jmercury/ho_func_default_inst.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_func_default_inst.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_func_default_inst.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_func_default_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_func_default_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_default_inst.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_default_inst__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_default_inst.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_func_default_inst.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/ho_func_default_inst.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/ho_func_default_inst.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_func_default_inst.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_func_default_inst.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_func_default_inst.__vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_func_default_inst.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_func_default_inst.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_func_default_inst.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/ho_func_default_inst.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_func_default_inst.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_func_default_inst.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_func_default_inst.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/ho_func_default_inst.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_func_default_inst.java:120: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_func_default_inst.java:121: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_default_inst.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_func_default_inst.java:121: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_default_inst.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_func_default_inst.java:122: error: package tree234 does not exist tree234.Tree234_2 Map_4 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:129: error: package tree234 does not exist tree234.Tree234_2 Var_17 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:132: error: package tree234 does not exist tree234.Tree234_2 Var_20 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:135: error: package tree234 does not exist tree234.Tree234_2 Var_23 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:142: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_5 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:144: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_7 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:148: error: cannot find symbol Var_23 = map.init_0_f_0(TypeCtorInfo_11_26, TypeInfo_12_27); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:153: error: cannot find symbol Var_20 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_101_108_101_109_32_58_61_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_f_0(TypeInfo_12_27, Var_25, Var_23, ((java.lang.Object) (Var_24))); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:158: error: cannot find symbol Var_17 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_101_108_101_109_32_58_61_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_f_0(TypeInfo_12_27, Var_22, Var_20, ((java.lang.Object) (Var_21))); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:163: error: cannot find symbol Map_4 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_101_108_101_109_32_58_61_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_f_0(TypeInfo_12_27, Var_19, Var_17, ((java.lang.Object) (Var_18))); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:166: error: package jmercury.runtime does not exist TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_func_default_inst.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_func_default_inst.java:168: error: cannot find symbol conv3_F1_5 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_100_101_116_95_101_108_101_109_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_2_f_0(TypeInfo_16_16, Var_9, Map_4); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:173: error: cannot find symbol conv4_F2_6 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_100_101_116_95_101_108_101_109_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_2_f_0(TypeInfo_16_16, Var_10, Map_4); ^ symbol: variable map location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:177: error: package jmercury.runtime does not exist func_5 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F1_5)[1]); ^ Mercury/javas/jmercury/ho_func_default_inst.java:179: error: package jmercury.runtime does not exist conv6_Var_11 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_5).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F1_5))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_13))))); ^ Mercury/javas/jmercury/ho_func_default_inst.java:183: error: cannot find symbol io.write_int_3_p_0(Var_11); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:186: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:189: error: package jmercury.runtime does not exist func_7 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F2_6)[1]); ^ Mercury/javas/jmercury/ho_func_default_inst.java:191: error: package jmercury.runtime does not exist conv8_Var_28 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_7).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F2_6))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_30))))); ^ Mercury/javas/jmercury/ho_func_default_inst.java:195: error: cannot find symbol io.write_int_3_p_0(Var_28); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:198: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:282: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:285: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:296: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_default_inst.java:313: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class ho_func_default_inst Mercury/javas/jmercury/ho_func_default_inst.java:389: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 71 errors gmake[3]: *** [/tmp/mmake.OjjJZZ:2411: ho_func_default_inst] Error 1 gmake[3]: Target 'ho_func_default_inst.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_func_default_inst.log] Error 1 RUNNING TEST hard_coded/ho_order_1 in grade java FAILED TEST hard_coded/ho_func_reg in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_func_reg.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_func_reg Making Mercury/int3s/ho_func_reg.int3 Making Mercury/ints/ho_func_reg.int Making Mercury/javas/jmercury/ho_func_reg.java Making Java class files Mercury/javas/jmercury/ho_func_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_reg.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_reg__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_reg.java:170: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_func_reg.java:226: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_func_reg.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_func_reg"; ^ Mercury/javas/jmercury/ho_func_reg.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_func_reg.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_func_reg.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_func_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_func_reg.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_reg.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_func_reg__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_func_reg.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_func_reg.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/ho_func_reg.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/ho_func_reg.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_func_reg.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_func_reg.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_func_reg.__vti_func_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_func_reg.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_func_reg.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/ho_func_reg.java:105: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/ho_func_reg.java:109: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:113: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_9)[1]); ^ Mercury/javas/jmercury/ho_func_reg.java:115: error: package jmercury.runtime does not exist conv2_Eight_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_9))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/ho_func_reg.java:119: error: cannot find symbol io.write_int_3_p_0(Eight_4); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:123: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:149: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/ho_func_reg.java:149: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/ho_func_reg.java:153: error: package jmercury.runtime does not exist conv1_HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_4))), ((java.lang.Object) (java.lang.Integer.valueOf(I_5))))); ^ Mercury/javas/jmercury/ho_func_reg.java:175: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_reg.java:178: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:189: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_func_reg.java:206: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class ho_func_reg Mercury/javas/jmercury/ho_func_reg.java:264: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors gmake[3]: *** [/tmp/mmake.DXk4im:2411: ho_func_reg] Error 1 gmake[3]: Target 'ho_func_reg.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_func_reg.log] Error 1 RUNNING TEST hard_coded/ho_order_2 in grade java FAILED TEST hard_coded/ho_order_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_order_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_order_1 Making Mercury/int3s/ho_order_1.int3 Making Mercury/ints/ho_order_1.int Making Mercury/javas/jmercury/ho_order_1.java Making Java class files Mercury/javas/jmercury/ho_order_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_order_1.java:58: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/ho_order_1.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/ho_order_1.java:62: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_6 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:152: error: package maybe does not exist maybe.Maybe_1 Keep_8, ^ Mercury/javas/jmercury/ho_order_1.java:153: error: package tree234 does not exist tree234.Tree234_2 Needed_9, ^ Mercury/javas/jmercury/ho_order_1.java:155: error: package tree234 does not exist tree234.Tree234_2 ProcTable0_11) ^ Mercury/javas/jmercury/ho_order_1.java:150: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/ho_order_1.java:208: error: package maybe does not exist maybe.Maybe_1 Var_22, ^ Mercury/javas/jmercury/ho_order_1.java:209: error: package tree234 does not exist tree234.Tree234_2 Var_23, ^ Mercury/javas/jmercury/ho_order_1.java:211: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/ho_order_1.java:212: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3) ^ Mercury/javas/jmercury/ho_order_1.java:206: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/ho_order_1.java:303: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/ho_order_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_order_1"; ^ Mercury/javas/jmercury/ho_order_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_order_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_order_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_order_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_order_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_1.java:38: error: cannot find symbol maybe.maybe__type_ctor_info_maybe_1, ^ symbol: variable maybe location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_order_1.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:44: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/ho_order_1.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_order_1.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_order_1.java:58: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/ho_order_1.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/ho_order_1.java:62: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_6 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/ho_order_1.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_order_1.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/ho_order_1.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_order_1.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_order_1.java:73: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/ho_order_1.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/ho_order_1.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/ho_order_1.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/ho_order_1.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/ho_order_1.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/ho_order_1.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ho_order_1.java:83: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_1.java:88: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_1.java:93: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_1.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:99: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_1.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/ho_order_1.java:100: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_1.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:104: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_1.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/ho_order_1.java:105: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_1.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:109: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_1.MR_scalar_common_4[2])), ^ Mercury/javas/jmercury/ho_order_1.java:110: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/ho_order_1.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:114: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_1.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/ho_order_1.java:115: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/ho_order_1.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:120: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_1.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_1.java:125: error: package list does not exist (list.List_1) ho_order_1.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/ho_order_1.java:128: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/ho_order_1.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_order_1.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_order_1.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_order_1.java:158: error: package tree234 does not exist tree234.Tree234_2 ProcTable_12 = null; ^ Mercury/javas/jmercury/ho_order_1.java:161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_order_1.java:161: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_order_1.java:165: error: cannot find symbol java.lang.Object [] result = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_115_101_97_114_99_104_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_p_0(TypeCtorInfo_23_23, Needed_9, ProcId_10); ^ symbol: variable map location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/ho_order_1.java:181: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = null; ^ Mercury/javas/jmercury/ho_order_1.java:185: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:187: error: package string__parse_util does not exist Var_34 = (string__parse_util.String_format_flags_0) ho_order_1.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/ho_order_1.java:189: error: cannot find symbol Var_28 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_34, ProcId_10); ^ symbol: variable string__format location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:192: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:196: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:198: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ho_order_1 Mercury/javas/jmercury/ho_order_1.java:198: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_order_1.java:200: error: cannot find symbol ProcTable_12 = map.delete_3_p_0(TypeCtorInfo_24_24, TypeCtorInfo_24_24, java.lang.Integer.valueOf(ProcId_10), ProcTable0_11); ^ symbol: variable map location: class ho_order_1 100 errors gmake[3]: *** [/tmp/mmake.9WuJlE:2411: ho_order_1] Error 1 gmake[3]: Target 'ho_order_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_order_1.log] Error 1 RUNNING TEST hard_coded/ho_solns in grade java FAILED TEST hard_coded/ho_order_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_order_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_order_2 Making Mercury/int3s/ho_order_2.int3 Making Mercury/ints/ho_order_2.int Making Mercury/javas/jmercury/ho_order_2.java Making Java class files Mercury/javas/jmercury/ho_order_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_order_2.java:58: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/ho_order_2.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/ho_order_2.java:62: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_6 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:165: error: package maybe does not exist maybe.Maybe_1 Keep_8, ^ Mercury/javas/jmercury/ho_order_2.java:166: error: package tree234 does not exist tree234.Tree234_2 Needed_9, ^ Mercury/javas/jmercury/ho_order_2.java:168: error: package tree234 does not exist tree234.Tree234_2 ProcTable0_11) ^ Mercury/javas/jmercury/ho_order_2.java:163: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/ho_order_2.java:221: error: package tree234 does not exist tree234.Tree234_2 Needed_8, ^ Mercury/javas/jmercury/ho_order_2.java:222: error: package maybe does not exist maybe.Maybe_1 Keep_9, ^ Mercury/javas/jmercury/ho_order_2.java:224: error: package tree234 does not exist tree234.Tree234_2 ProcTable0_11) ^ Mercury/javas/jmercury/ho_order_2.java:219: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/ho_order_2.java:277: error: package maybe does not exist maybe.Maybe_1 Var_28, ^ Mercury/javas/jmercury/ho_order_2.java:278: error: package tree234 does not exist tree234.Tree234_2 Var_29, ^ Mercury/javas/jmercury/ho_order_2.java:279: error: package tree234 does not exist tree234.Tree234_2 Var_30, ^ Mercury/javas/jmercury/ho_order_2.java:280: error: package maybe does not exist maybe.Maybe_1 Var_31, ^ Mercury/javas/jmercury/ho_order_2.java:283: error: package list does not exist list.List_1 HeadVar__3_3, ^ Mercury/javas/jmercury/ho_order_2.java:284: error: package tree234 does not exist tree234.Tree234_2 HeadVar__4_4) ^ Mercury/javas/jmercury/ho_order_2.java:275: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/ho_order_2.java:426: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/ho_order_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_order_2"; ^ Mercury/javas/jmercury/ho_order_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_order_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_order_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_order_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_order_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct maybe__pti_maybe_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_order_2.java:38: error: cannot find symbol maybe.maybe__type_ctor_info_maybe_1, ^ symbol: variable maybe location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_order_2.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:44: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/ho_order_2.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_order_2.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_order_2.java:58: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/ho_order_2.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/ho_order_2.java:62: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_6 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/ho_order_2.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_order_2.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/ho_order_2.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_order_2.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_order_2.java:73: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/ho_order_2.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/ho_order_2.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/ho_order_2.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/ho_order_2.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/ho_order_2.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/ho_order_2.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ho_order_2.java:83: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_2.java:88: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_2.java:93: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/ho_order_2.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:99: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_2.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/ho_order_2.java:100: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_2.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:104: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_2.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/ho_order_2.java:105: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_2.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:109: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_2.MR_scalar_common_4[2])), ^ Mercury/javas/jmercury/ho_order_2.java:110: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/ho_order_2.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:114: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) ho_order_2.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/ho_order_2.java:115: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/ho_order_2.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:120: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ho_order_2.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ho_order_2.java:125: error: package list does not exist (list.List_1) ho_order_2.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/ho_order_2.java:128: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/ho_order_2.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_order_2.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_order_2.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_order_2.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_order_2.java:152: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:152: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_order_2.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_order_2 Mercury/javas/jmercury/ho_order_2.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_order_2.java:171: error: package tree234 does not exist tree234.Tree234_2 ProcTable_12 = null; ^ Mercury/javas/jmercury/ho_order_2.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/ho_order_2.java:174: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class ho_order_2 100 errors gmake[3]: *** [/tmp/mmake.1ItJp6:2411: ho_order_2] Error 1 gmake[3]: Target 'ho_order_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_order_2.log] Error 1 RUNNING TEST hard_coded/ho_univ_to_type in grade java FAILED TEST hard_coded/ho_univ_to_type in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_univ_to_type.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_univ_to_type Making Mercury/int3s/ho_univ_to_type.int3 Making Mercury/ints/ho_univ_to_type.int Making Mercury/javas/jmercury/ho_univ_to_type.java Making Java class files Mercury/javas/jmercury/ho_univ_to_type.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_float_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_univ_to_type__field_types_fpred_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_univ_to_type__du_functor_desc_fpred_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_univ_to_type__du_stag_ordered_fpred_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_univ_to_type__du_ptag_ordered_fpred_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_univ_to_type__du_name_ordered_fpred_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_fpred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_mypred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_mypred2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:161: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:619: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/ho_univ_to_type.java:333: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_univ_to_type.java:374: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_univ_to_type.java:402: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_univ_to_type.java:521: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_univ_to_type.java:599: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ho_univ_to_type.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_univ_to_type"; ^ Mercury/javas/jmercury/ho_univ_to_type.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_univ_to_type.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_univ_to_type.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_univ_to_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_univ_to_type.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_float_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] ho_univ_to_type__field_types_fpred_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc ho_univ_to_type__du_functor_desc_fpred_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_univ_to_type__du_stag_ordered_fpred_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] ho_univ_to_type__du_ptag_ordered_fpred_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] ho_univ_to_type__du_name_ordered_fpred_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_fpred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_mypred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_univ_to_type__type_ctor_info_mypred2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_univ_to_type.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ Mercury/javas/jmercury/ho_univ_to_type.java:50: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_univ_to_type.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/ho_univ_to_type.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_univ_to_type.__vti_pred_3builtin__type_ctor_info_float_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/ho_univ_to_type.java:60: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:74: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/ho_univ_to_type.java:76: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/ho_univ_to_type.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_univ_to_type.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_univ_to_type.java:107: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:109: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_univ_to_type.java:110: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_univ_to_type.java:111: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/ho_univ_to_type.java:118: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/ho_univ_to_type.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_univ_to_type.java:126: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_univ_to_type.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_univ_to_type.__vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_univ_to_type.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/ho_univ_to_type.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_univ_to_type.java:146: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_univ_to_type.java:147: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_univ_to_type.__vti_pred_3builtin__type_ctor_info_float_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_univ_to_type.java:161: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ho_univ_to_type.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_univ_to_type.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:169: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:169: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:170: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:170: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:171: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:171: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_univ_to_type.java:174: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_univ_to_type.java:175: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:175: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:176: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:176: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:177: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:177: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_univ_to_type.java:178: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:178: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_univ_to_type.java:185: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:185: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_univ_to_type.java:186: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:186: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_univ_to_type.java:187: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:187: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/ho_univ_to_type.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_univ_to_type.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_univ_to_type.java:239: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_univ_to_type.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_univ_to_type.java:241: error: package univ does not exist univ.Univ_0 Univ_5 = null; ^ Mercury/javas/jmercury/ho_univ_to_type.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/ho_univ_to_type.java:247: error: cannot find symbol Univ_5 = univ.type_to_univ_2_p_1(TypeInfo_19_19, ((java.lang.Object) (Pred0_4))); ^ symbol: variable univ location: class ho_univ_to_type Mercury/javas/jmercury/ho_univ_to_type.java:249: error: package jmercury.runtime does not exist TypeInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_univ_to_type.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/ho_univ_to_type.java:251: error: cannot find symbol java.lang.Object [] result = univ.univ_to_type_2_p_0(TypeInfo_20_20, Univ_5); ^ symbol: variable univ location: class ho_univ_to_type 100 errors gmake[3]: *** [/tmp/mmake.CUgfbD:2411: ho_univ_to_type] Error 1 gmake[3]: Target 'ho_univ_to_type.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_univ_to_type.log] Error 1 RUNNING TEST hard_coded/if_then_else_expr_state_var in grade java FAILED TEST hard_coded/ho_solns in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_solns.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ho_solns Making Mercury/int3s/ho_solns.int3 Making Mercury/ints/ho_solns.int Making Mercury/javas/jmercury/ho_solns.java Making Java class files Mercury/javas/jmercury/ho_solns.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_solns__type_ctor_info_mypred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_solns.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/ho_solns.java:201: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/ho_solns.java:198: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/ho_solns.java:221: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/ho_solns.java:347: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/ho_solns.java:370: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/ho_solns.java:407: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/ho_solns.java:463: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_solns.java:514: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ho_solns.java:579: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/ho_solns.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_solns"; ^ Mercury/javas/jmercury/ho_solns.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_solns.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_solns.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_solns Mercury/javas/jmercury/ho_solns.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_solns Mercury/javas/jmercury/ho_solns.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_solns.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_solns.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct ho_solns__type_ctor_info_mypred_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/ho_solns.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/ho_solns.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/ho_solns.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_solns.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_solns.java:50: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:50: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/ho_solns.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/ho_solns.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/ho_solns.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/ho_solns.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/ho_solns.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) ho_solns.__vti_pred_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ho_solns.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/ho_solns.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ho_solns.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/ho_solns.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_solns.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/ho_solns.java:92: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:92: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/ho_solns.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_solns.java:113: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:113: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/ho_solns.java:114: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:114: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/ho_solns.java:203: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/ho_solns.java:206: error: package list does not exist list.List_1 L0; ^ Mercury/javas/jmercury/ho_solns.java:207: error: package list does not exist list.List_1 L; ^ Mercury/javas/jmercury/ho_solns.java:233: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (X_1)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/ho_solns.java:295: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_solns.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_solns.java:295: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(ho_solns.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/ho_solns.java:296: error: package list does not exist list.List_1 List0_4 = null; ^ Mercury/javas/jmercury/ho_solns.java:297: error: package list does not exist list.List_1 List_5 = null; ^ Mercury/javas/jmercury/ho_solns.java:301: error: cannot find symbol List0_4 = solutions.unsorted_solutions_2_p_0(TypeInfo_10_10, Var_8); ^ symbol: variable solutions location: class ho_solns Mercury/javas/jmercury/ho_solns.java:304: error: package list does not exist list.List_1 L0; ^ Mercury/javas/jmercury/ho_solns.java:305: error: package list does not exist list.List_1 L; ^ Mercury/javas/jmercury/ho_solns.java:327: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((ho_solns.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((ho_solns.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((ho_solns.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/ho_solns.java:377: error: package list.List_1 does not exist /* closure */ java.lang.Object[] P_7 = ((/* closure */ java.lang.Object[]) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/ho_solns.java:378: error: package list does not exist list.List_1 Ps_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/ho_solns.java:378: error: package list.List_1 does not exist list.List_1 Ps_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/ho_solns.java:383: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_7)[1]); ^ Mercury/javas/jmercury/ho_solns.java:383: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_7)[1]); ^ Mercury/javas/jmercury/ho_solns.java:385: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_solns.java:388: error: package jmercury.runtime does not exist conv1_X_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_7))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_13))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_14))))); ^ Mercury/javas/jmercury/ho_solns.java:392: error: cannot find symbol io.write_int_3_p_0(X_10); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:396: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class ho_solns Mercury/javas/jmercury/ho_solns.java:412: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_solns.java:415: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:426: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ho_solns.java:443: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class ho_solns Mercury/javas/jmercury/ho_solns.java:501: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/ho_solns.java:530: error: package jmercury.runtime does not exist ho_solns.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/ho_solns.java:562: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 90 errors gmake[3]: *** [/tmp/mmake.hvayqW:2411: ho_solns] Error 1 gmake[3]: Target 'ho_solns.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ho_solns.log] Error 1 RUNNING TEST hard_coded/impl_def_lex in grade java FAILED TEST hard_coded/impl_def_lex in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impl_def_lex.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impl_def_lex Making Mercury/int3s/impl_def_lex.int3 Making Mercury/ints/impl_def_lex.int Making Mercury/javas/jmercury/impl_def_lex.java Making Java class files Mercury/javas/jmercury/impl_def_lex.java:48: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 HeadVar__1_1) ^ Mercury/javas/jmercury/impl_def_lex.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impl_def_lex"; ^ Mercury/javas/jmercury/impl_def_lex.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impl_def_lex.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impl_def_lex.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impl_def_lex.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impl_def_lex.java:36: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 Tokens_4 = null; ^ Mercury/javas/jmercury/impl_def_lex.java:39: error: cannot find symbol Tokens_4 = mercury_term_lexer.get_token_list_3_p_0(); ^ symbol: variable mercury_term_lexer location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/impl_def_lex.java:55: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ symbol: variable mercury_term_lexer location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/impl_def_lex.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/impl_def_lex.java:57: error: package mercury_term_lexer does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/impl_def_lex.java:57: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/impl_def_lex.java:58: error: package mercury_term_lexer.Token_list_0 does not exist int Context_8 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/impl_def_lex.java:59: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/impl_def_lex.java:59: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/impl_def_lex.java:61: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/impl_def_lex.java:64: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Token_7))); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:68: error: cannot find symbol io.write_char_3_p_0(Var_14); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:70: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:70: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/impl_def_lex.java:72: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_19_19, java.lang.Integer.valueOf(Context_8)); ^ symbol: variable io location: class impl_def_lex Mercury/javas/jmercury/impl_def_lex.java:75: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class impl_def_lex 30 errors gmake[3]: *** [/tmp/mmake.AtGhVo:2411: impl_def_lex] Error 1 gmake[3]: Target 'impl_def_lex.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impl_def_lex.log] Error 1 RUNNING TEST hard_coded/impl_def_lex_string in grade java FAILED TEST hard_coded/if_then_else_expr_state_var in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - if_then_else_expr_state_var.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - if_then_else_expr_state_var Making Mercury/int3s/if_then_else_expr_state_var.int3 Making Mercury/ints/if_then_else_expr_state_var.int Making Mercury/javas/jmercury/if_then_else_expr_state_var.java Making Java class files Mercury/javas/jmercury/if_then_else_expr_state_var.java:32: 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/if_then_else_expr_state_var.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "if_then_else_expr_state_var"; ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:32: 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/if_then_else_expr_state_var.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_43 = null; ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:125: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:127: error: package string__parse_util does not exist Var_43 = (string__parse_util.String_format_flags_0) if_then_else_expr_state_var.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/if_then_else_expr_state_var.java:130: error: cannot find symbol Var_37 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_43, Var_44, InitX_5); ^ symbol: variable string__format location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:133: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:137: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:141: error: cannot find symbol Var_48 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_43, Var_55, FinalX_10); ^ symbol: variable string__format location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:144: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:148: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:152: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:156: error: cannot find symbol Var_60 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_43, Var_67, InitY_6); ^ symbol: variable string__format location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:159: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:163: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:167: error: cannot find symbol Var_71 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_43, Var_78, FinalY_11); ^ symbol: variable string__format location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:170: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:174: error: cannot find symbol io.write_string_3_p_0(Var_79); ^ symbol: variable io location: class if_then_else_expr_state_var Mercury/javas/jmercury/if_then_else_expr_state_var.java:177: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class if_then_else_expr_state_var 36 errors gmake[3]: *** [/tmp/mmake.OfT21b:2411: if_then_else_expr_state_var] Error 1 gmake[3]: Target 'if_then_else_expr_state_var.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: if_then_else_expr_state_var.log] Error 1 RUNNING TEST hard_coded/implication in grade java FAILED TEST hard_coded/impl_def_lex_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impl_def_lex_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impl_def_lex_string Making Mercury/int3s/impl_def_lex_string.int3 Making Mercury/ints/impl_def_lex_string.int Making Mercury/javas/jmercury/impl_def_lex_string.java Making Java class files Mercury/javas/jmercury/impl_def_lex_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:33: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_2 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impl_def_lex_string"; ^ Mercury/javas/jmercury/impl_def_lex_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impl_def_lex_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impl_def_lex_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impl_def_lex_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impl_def_lex_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:33: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_2 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/impl_def_lex_string.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/impl_def_lex_string.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_list_0))), ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_list_0))), ^ Mercury/javas/jmercury/impl_def_lex_string.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_posn_0))) ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_posn_0))) ^ Mercury/javas/jmercury/impl_def_lex_string.java:43: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/impl_def_lex_string.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_44_44 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:60: error: package io does not exist io.Posn_0 InitialPos_4 = (io.Posn_0) impl_def_lex_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:60: error: package io does not exist io.Posn_0 InitialPos_4 = (io.Posn_0) impl_def_lex_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:61: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensA_5 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:62: error: package io does not exist io.Posn_0 FinalPosA_6 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:63: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensB_7 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:64: error: package io does not exist io.Posn_0 FinalPosB_8 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:65: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensC_9 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:66: error: package io does not exist io.Posn_0 FinalPosC_10 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:67: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensD_11 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:68: error: package io does not exist io.Posn_0 FinalPosD_12 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:69: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensE_13 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:70: error: package io does not exist io.Posn_0 FinalPosE_14 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:71: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensF_15 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:72: error: package io does not exist io.Posn_0 FinalPosF_16 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:73: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensG_17 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:74: error: package io does not exist io.Posn_0 FinalPosG_18 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:91: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_24, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:92: error: package mercury_term_lexer does not exist TokensA_5 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:93: error: package io does not exist FinalPosA_6 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:101: error: package jmercury.runtime does not exist TypeInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(impl_def_lex_string.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/impl_def_lex_string.java:103: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_25))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:107: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_27, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:108: error: package mercury_term_lexer does not exist TokensB_7 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:109: error: package io does not exist FinalPosB_8 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:118: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:122: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_30, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:123: error: package mercury_term_lexer does not exist TokensC_9 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:124: error: package io does not exist FinalPosC_10 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:133: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_31))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:137: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_33, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:138: error: package mercury_term_lexer does not exist TokensD_11 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:139: error: package io does not exist FinalPosD_12 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:148: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_34))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:152: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_36, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:153: error: package mercury_term_lexer does not exist TokensE_13 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:154: error: package io does not exist FinalPosE_14 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:163: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_37))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:167: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_39, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:168: error: package mercury_term_lexer does not exist TokensF_15 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:169: error: package io does not exist FinalPosF_16 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:178: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_40))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:182: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_42, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:183: error: package mercury_term_lexer does not exist TokensG_17 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:184: error: package io does not exist FinalPosG_18 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:193: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_43))); ^ symbol: variable io location: class impl_def_lex_string 69 errors gmake[3]: *** [/tmp/mmake.IxD2Gf:2411: impl_def_lex_string] Error 1 gmake[3]: Target 'impl_def_lex_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impl_def_lex_string.log] Error 1 RUNNING TEST hard_coded/impossible_unify in grade java FAILED TEST hard_coded/implication in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - implication.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - implication Making Mercury/int3s/implication.int3 Making Mercury/ints/implication.int Making Mercury/javas/jmercury/implication.java Making Java class files Mercury/javas/jmercury/implication.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "implication"; ^ Mercury/javas/jmercury/implication.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/implication.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/implication.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class implication Mercury/javas/jmercury/implication.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class implication Mercury/javas/jmercury/implication.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/implication.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/implication.java:43: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:46: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:51: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:61: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:69: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:73: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:78: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:88: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:96: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:100: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:105: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:115: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:123: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:127: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:132: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:142: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:150: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:155: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:158: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:163: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:173: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:181: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:185: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:190: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:200: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:208: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:212: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:217: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:227: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:235: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:239: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:244: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:254: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:262: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:267: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:270: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:275: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:283: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:288: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:299: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:307: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:311: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:316: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:324: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:329: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:340: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:348: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:352: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:357: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:365: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:370: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:381: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:389: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:393: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:398: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:406: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:411: error: cannot find symbol succeeded = builtin.semidet_false_0_p_0(); ^ symbol: variable builtin location: class implication Mercury/javas/jmercury/implication.java:422: error: cannot find symbol io.write_string_3_p_0(Var_59); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:430: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class implication Mercury/javas/jmercury/implication.java:435: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class implication 71 errors gmake[3]: *** [/tmp/mmake.7cKO2R:2411: implication] Error 1 gmake[3]: Target 'implication.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: implication.log] Error 1 RUNNING TEST hard_coded/impure_foreign in grade java FAILED TEST hard_coded/impossible_unify in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impossible_unify.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impossible_unify Making Mercury/int3s/impossible_unify.int3 Making Mercury/ints/impossible_unify.int Making Mercury/javas/jmercury/impossible_unify.java impossible_unify.m:016: Warning: the negated goal cannot succeed. impossible_unify.m:022: In clause for `bar(in)': impossible_unify.m:022: in argument 2 of call to predicate impossible_unify.m:022: `impossible_unify.foo'/2: impossible_unify.m:022: warning: unification of `V_3' and `V_4' cannot impossible_unify.m:022: succeed. impossible_unify.m:022: `V_3' has instantiatedness `unique(yes)', impossible_unify.m:022: `V_4' has instantiatedness `bound(no)'. Making Java class files Mercury/javas/jmercury/impossible_unify.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impossible_unify"; ^ Mercury/javas/jmercury/impossible_unify.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impossible_unify.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impossible_unify.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impossible_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impossible_unify.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/impossible_unify.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class impossible_unify Mercury/javas/jmercury/impossible_unify.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/impossible_unify.java:40: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_8_8, ((java.lang.Object) (Var_7))); ^ symbol: variable io location: class impossible_unify 15 errors gmake[3]: *** [/tmp/mmake.d1Clwx:2411: impossible_unify] Error 1 gmake[3]: Target 'impossible_unify.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impossible_unify.log] Error 1 RUNNING TEST hard_coded/impure_init_and_final in grade java FAILED TEST hard_coded/impure_foreign in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_foreign.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_foreign Making Mercury/int3s/impure_foreign.int3 Making Mercury/ints/impure_foreign.int Making Mercury/javas/jmercury/impure_foreign.java Making Java class files Mercury/javas/jmercury/impure_foreign.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impure_foreign"; ^ Mercury/javas/jmercury/impure_foreign.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impure_foreign.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impure_foreign.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impure_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impure_foreign.java:86: error: cannot find symbol io.write_int_3_p_0(Val0_4); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:89: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:125: error: cannot find symbol io.write_int_3_p_0(Val_8); ^ symbol: variable io location: class impure_foreign Mercury/javas/jmercury/impure_foreign.java:128: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class impure_foreign 15 errors gmake[3]: *** [/tmp/mmake.tODiO0:2411: impure_foreign] Error 1 gmake[3]: Target 'impure_foreign.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impure_foreign.log] Error 1 RUNNING TEST hard_coded/impure_prune in grade java FAILED TEST hard_coded/impure_init_and_final in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_init_and_final.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_init_and_final Making Mercury/int3s/impure_init_and_final.int3 Making Mercury/ints/impure_init_and_final.int Making Mercury/javas/jmercury/impure_init_and_final.java Making Java class files Mercury/javas/jmercury/impure_init_and_final.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impure_init_and_final"; ^ Mercury/javas/jmercury/impure_init_and_final.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impure_init_and_final.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impure_init_and_final.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impure_init_and_final.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impure_init_and_final.java:71: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class impure_init_and_final Mercury/javas/jmercury/impure_init_and_final.java:109: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.register_finaliser( ^ 13 errors gmake[3]: *** [/tmp/mmake.6biJHZ:2411: impure_init_and_final] Error 1 gmake[3]: Target 'impure_init_and_final.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impure_init_and_final.log] Error 1 RUNNING TEST hard_coded/init_excp in grade java FAILED TEST hard_coded/impure_prune in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_prune.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - impure_prune Making Mercury/int3s/impure_prune.int3 Making Mercury/ints/impure_prune.int Making Mercury/javas/jmercury/impure_prune.java impure_prune.m:018: Warning: the condition of this if-then-else cannot succeed. impure_prune.m:018: Warning: the negated goal cannot succeed. Making Java class files Mercury/javas/jmercury/impure_prune.java:225: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/impure_prune.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impure_prune"; ^ Mercury/javas/jmercury/impure_prune.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impure_prune.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impure_prune.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impure_prune Mercury/javas/jmercury/impure_prune.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impure_prune Mercury/javas/jmercury/impure_prune.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impure_prune.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impure_prune.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/impure_prune.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = null; ^ Mercury/javas/jmercury/impure_prune.java:156: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/impure_prune.java:170: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class impure_prune Mercury/javas/jmercury/impure_prune.java:170: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/impure_prune.java:172: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:174: error: cannot find symbol TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class impure_prune Mercury/javas/jmercury/impure_prune.java:174: error: package jmercury.runtime does not exist TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/impure_prune.java:176: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_12_12, java.lang.Integer.valueOf(X_4)); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:179: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class impure_prune Mercury/javas/jmercury/impure_prune.java:190: error: package jmercury.runtime does not exist ((impure_prune.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 23 errors gmake[3]: *** [/tmp/mmake.k64z5w:2411: impure_prune] Error 1 gmake[3]: Target 'impure_prune.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: impure_prune.log] Error 1 RUNNING TEST hard_coded/initialise_decl in grade java FAILED TEST hard_coded/initialise_decl in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - initialise_decl.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - initialise_decl Making Mercury/int3s/initialise_decl.int3 Making Mercury/ints/initialise_decl.int Making Mercury/javas/jmercury/initialise_decl.java Making Java class files Mercury/javas/jmercury/initialise_decl.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "initialise_decl"; ^ Mercury/javas/jmercury/initialise_decl.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/initialise_decl.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/initialise_decl.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/initialise_decl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/initialise_decl.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:40: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:47: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:51: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:58: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class initialise_decl Mercury/javas/jmercury/initialise_decl.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/initialise_decl.java:62: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class initialise_decl 23 errors gmake[3]: *** [/tmp/mmake.Hfw8W9:2411: initialise_decl] Error 1 gmake[3]: Target 'initialise_decl.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: initialise_decl.log] Error 1 RUNNING TEST hard_coded/inst_alias in grade java FAILED TEST hard_coded/init_excp in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - init_excp.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - init_excp Making Mercury/int3s/init_excp.int3 Making Mercury/ints/init_excp.int Making Mercury/javas/jmercury/init_excp.java Making Java class files Mercury/javas/jmercury/init_excp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc init_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/init_excp.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] init_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/init_excp.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] init_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/init_excp.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct init_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/init_excp.java:218: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/init_excp.java:264: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/init_excp.java:282: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/init_excp.java:326: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/init_excp.java:327: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/init_excp.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "init_excp"; ^ Mercury/javas/jmercury/init_excp.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/init_excp.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/init_excp.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class init_excp Mercury/javas/jmercury/init_excp.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class init_excp Mercury/javas/jmercury/init_excp.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/init_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/init_excp.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc init_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/init_excp.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] init_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/init_excp.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] init_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/init_excp.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct init_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/init_excp.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/init_excp.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/init_excp.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/init_excp.java:86: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class init_excp Mercury/javas/jmercury/init_excp.java:86: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/init_excp.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class init_excp Mercury/javas/jmercury/init_excp.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/init_excp.java:110: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = null; ^ Mercury/javas/jmercury/init_excp.java:125: error: package jmercury.runtime does not exist TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(init_excp.init_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/init_excp.java:127: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_6_6, ((java.lang.Object) (0))); ^ symbol: variable exception location: class init_excp Mercury/javas/jmercury/init_excp.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/init_excp.java:139: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/init_excp.java:144: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:147: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class init_excp Mercury/javas/jmercury/init_excp.java:147: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/init_excp.java:149: error: cannot find symbol Result_4 = exception.try_2_p_0(TypeCtorInfo_17_17, Var_11); ^ symbol: variable exception location: class init_excp Mercury/javas/jmercury/init_excp.java:156: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:164: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:168: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = null; ^ Mercury/javas/jmercury/init_excp.java:192: error: package jmercury.runtime does not exist TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(init_excp.init_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/init_excp.java:194: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_10_10, ((java.lang.Object) (0))); ^ symbol: variable exception location: class init_excp Mercury/javas/jmercury/init_excp.java:204: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:214: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class init_excp Mercury/javas/jmercury/init_excp.java:221: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/init_excp.java:221: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/init_excp.java:232: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/init_excp.java:311: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/init_excp.java:368: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.register_finaliser( ^ 54 errors gmake[3]: *** [/tmp/mmake.hUx749:2411: init_excp] Error 1 gmake[3]: Target 'init_excp.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: init_excp.log] Error 1 RUNNING TEST hard_coded/int16_from_bytes in grade java FAILED TEST hard_coded/int16_from_bytes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int16_from_bytes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int16_from_bytes Making Mercury/int3s/int16_from_bytes.int3 Making Mercury/ints/int16_from_bytes.int Making Mercury/javas/jmercury/int16_from_bytes.java Making Java class files Mercury/javas/jmercury/int16_from_bytes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int16_from_bytes"; ^ Mercury/javas/jmercury/int16_from_bytes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int16_from_bytes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int16_from_bytes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int16_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int16_from_bytes.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/int16_from_bytes.java:51: error: cannot find symbol Test1_4 = int16.from_bytes_le_2_f_0(Var_10, Var_11); ^ symbol: variable int16 location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:53: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:53: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/int16_from_bytes.java:55: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test1_4)); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:60: error: cannot find symbol Test2_5 = int16.from_bytes_le_2_f_0(Var_13, Var_14); ^ symbol: variable int16 location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:63: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test2_5)); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:68: error: cannot find symbol Test3_6 = int16.from_bytes_be_2_f_0(Var_16, Var_17); ^ symbol: variable int16 location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:71: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test3_6)); ^ symbol: variable io location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:76: error: cannot find symbol Test4_7 = int16.from_bytes_be_2_f_0(Var_19, Var_20); ^ symbol: variable int16 location: class int16_from_bytes Mercury/javas/jmercury/int16_from_bytes.java:79: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test4_7)); ^ symbol: variable io location: class int16_from_bytes 22 errors gmake[3]: *** [/tmp/mmake.zLXiMw:2411: int16_from_bytes] Error 1 gmake[3]: Target 'int16_from_bytes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int16_from_bytes.log] Error 1 RUNNING TEST hard_coded/int32_from_bytes in grade java FAILED TEST hard_coded/inst_alias in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - inst_alias.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - inst_alias Making Mercury/int3s/inst_alias.int3 Making Mercury/ints/inst_alias.int Making Mercury/javas/jmercury/inst_alias.java Making Java class files Mercury/javas/jmercury/inst_alias.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inst_alias__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/inst_alias.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inst_alias__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inst_alias.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inst_alias__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/inst_alias.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inst_alias__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inst_alias.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inst_alias__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/inst_alias.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] inst_alias__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/inst_alias.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inst_alias__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/inst_alias.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct inst_alias__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/inst_alias.java:313: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/inst_alias.java:152: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/inst_alias.java:271: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/inst_alias.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "inst_alias"; ^ Mercury/javas/jmercury/inst_alias.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/inst_alias.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/inst_alias.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class inst_alias Mercury/javas/jmercury/inst_alias.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class inst_alias Mercury/javas/jmercury/inst_alias.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/inst_alias.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/inst_alias.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inst_alias__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/inst_alias.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inst_alias__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inst_alias.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inst_alias__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/inst_alias.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inst_alias__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inst_alias.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inst_alias__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/inst_alias.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] inst_alias__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/inst_alias.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inst_alias__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/inst_alias.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct inst_alias__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/inst_alias.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/inst_alias.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/inst_alias.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/inst_alias.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/inst_alias.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/inst_alias.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/inst_alias.java:135: error: cannot find symbol S1_5 = string.int_to_string_2_p_0(N_15); ^ symbol: variable string location: class inst_alias Mercury/javas/jmercury/inst_alias.java:138: error: cannot find symbol io.write_string_3_p_0(S1_5); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:141: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:145: error: cannot find symbol io.write_string_3_p_0(S2_7); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:148: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class inst_alias Mercury/javas/jmercury/inst_alias.java:158: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/inst_alias.java:164: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/inst_alias.java:174: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/inst_alias.java:179: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/inst_alias.java:181: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/inst_alias.java:185: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/inst_alias.java:188: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/inst_alias.java:195: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class inst_alias Mercury/javas/jmercury/inst_alias.java:207: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/inst_alias.java:300: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 58 errors gmake[3]: *** [/tmp/mmake.tGmWn3:2411: inst_alias] Error 1 gmake[3]: Target 'inst_alias.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: inst_alias.log] Error 1 RUNNING TEST hard_coded/int32_int16_casts in grade java FAILED TEST hard_coded/int32_from_bytes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_from_bytes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_from_bytes Making Mercury/int3s/int32_from_bytes.int3 Making Mercury/ints/int32_from_bytes.int Making Mercury/javas/jmercury/int32_from_bytes.java Making Java class files Mercury/javas/jmercury/int32_from_bytes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int32_from_bytes"; ^ Mercury/javas/jmercury/int32_from_bytes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int32_from_bytes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int32_from_bytes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int32_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int32_from_bytes.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = null; ^ Mercury/javas/jmercury/int32_from_bytes.java:79: error: cannot find symbol Test1_4 = int32.from_bytes_le_4_f_0(Var_14, Var_15, Var_16, Var_17); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:81: error: cannot find symbol TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:81: error: package jmercury.runtime does not exist TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ Mercury/javas/jmercury/int32_from_bytes.java:83: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test1_4)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:90: error: cannot find symbol Test2_5 = int32.from_bytes_le_4_f_0(Var_19, Var_20, Var_21, Var_22); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:93: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test2_5)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:100: error: cannot find symbol Test3_6 = int32.from_bytes_le_4_f_0(Var_24, Var_25, Var_26, Var_27); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:103: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test3_6)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:110: error: cannot find symbol Test4_7 = int32.from_bytes_le_4_f_0(Var_29, Var_30, Var_31, Var_32); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:113: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test4_7)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:120: error: cannot find symbol Test5_8 = int32.from_bytes_be_4_f_0(Var_34, Var_35, Var_36, Var_37); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:123: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test5_8)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:130: error: cannot find symbol Test6_9 = int32.from_bytes_be_4_f_0(Var_39, Var_40, Var_41, Var_42); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:133: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test6_9)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:140: error: cannot find symbol Test7_10 = int32.from_bytes_be_4_f_0(Var_44, Var_45, Var_46, Var_47); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:143: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test7_10)); ^ symbol: variable io location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:150: error: cannot find symbol Test8_11 = int32.from_bytes_be_4_f_0(Var_49, Var_50, Var_51, Var_52); ^ symbol: variable int32 location: class int32_from_bytes Mercury/javas/jmercury/int32_from_bytes.java:153: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_53_53, java.lang.Integer.valueOf(Test8_11)); ^ symbol: variable io location: class int32_from_bytes 30 errors gmake[3]: *** [/tmp/mmake.nwVRb0:2411: int32_from_bytes] Error 1 gmake[3]: Target 'int32_from_bytes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int32_from_bytes.log] Error 1 RUNNING TEST hard_coded/int32_int8_casts in grade java FAILED TEST hard_coded/int32_int16_casts in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_int16_casts.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_int16_casts Making Mercury/int3s/int32_int16_casts.int3 Making Mercury/ints/int32_int16_casts.int Making Mercury/javas/jmercury/int32_int16_casts.java Making Java class files Mercury/javas/jmercury/int32_int16_casts.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int32_int16_casts.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[37]; ^ Mercury/javas/jmercury/int32_int16_casts.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int32_int16_casts.java:431: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/int32_int16_casts.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int32_int16_casts"; ^ Mercury/javas/jmercury/int32_int16_casts.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int32_int16_casts.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int32_int16_casts.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int32_int16_casts.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int32_int16_casts.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int32_int16_casts.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[37]; ^ Mercury/javas/jmercury/int32_int16_casts.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int32_int16_casts.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/int32_int16_casts.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int32_int16_casts.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int32_int16_casts.java:53: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:53: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/int32_int16_casts.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int32_int16_casts.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int32_int16_casts Mercury/javas/jmercury/int32_int16_casts.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int32_int16_casts.java:70: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/int32_int16_casts.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:74: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/int32_int16_casts.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:79: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/int32_int16_casts.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:84: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/int32_int16_casts.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:89: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/int32_int16_casts.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:94: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/int32_int16_casts.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:99: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/int32_int16_casts.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:104: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/int32_int16_casts.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:109: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/int32_int16_casts.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:114: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/int32_int16_casts.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:119: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/int32_int16_casts.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:124: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/int32_int16_casts.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:129: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/int32_int16_casts.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:134: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/int32_int16_casts.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:139: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/int32_int16_casts.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:144: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/int32_int16_casts.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:149: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/int32_int16_casts.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:154: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/int32_int16_casts.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:159: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/int32_int16_casts.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:164: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/int32_int16_casts.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:169: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[18] ^ Mercury/javas/jmercury/int32_int16_casts.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:174: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[19] ^ Mercury/javas/jmercury/int32_int16_casts.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:179: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[20] ^ Mercury/javas/jmercury/int32_int16_casts.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:184: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[21] ^ Mercury/javas/jmercury/int32_int16_casts.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:189: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[22] ^ Mercury/javas/jmercury/int32_int16_casts.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:194: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[23] ^ Mercury/javas/jmercury/int32_int16_casts.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:199: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[24] ^ Mercury/javas/jmercury/int32_int16_casts.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:204: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[25] ^ Mercury/javas/jmercury/int32_int16_casts.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:209: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[26] ^ Mercury/javas/jmercury/int32_int16_casts.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:214: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[27] ^ Mercury/javas/jmercury/int32_int16_casts.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:219: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[28] ^ Mercury/javas/jmercury/int32_int16_casts.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:224: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[29] ^ Mercury/javas/jmercury/int32_int16_casts.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:229: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[30] ^ Mercury/javas/jmercury/int32_int16_casts.java:232: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:234: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[31] ^ Mercury/javas/jmercury/int32_int16_casts.java:237: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int16_casts.java:239: error: package list does not exist (list.List_1) int32_int16_casts.MR_scalar_common_4[32] ^ Mercury/javas/jmercury/int32_int16_casts.java:242: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.4bAkeo:2411: int32_int16_casts] Error 1 gmake[3]: Target 'int32_int16_casts.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int32_int16_casts.log] Error 1 RUNNING TEST hard_coded/int64_from_bytes in grade java FAILED TEST hard_coded/int32_int8_casts in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_int8_casts.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int32_int8_casts Making Mercury/int3s/int32_int8_casts.int3 Making Mercury/ints/int32_int8_casts.int Making Mercury/javas/jmercury/int32_int8_casts.java Making Java class files Mercury/javas/jmercury/int32_int8_casts.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int32_int8_casts.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[32]; ^ Mercury/javas/jmercury/int32_int8_casts.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int32_int8_casts.java:406: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/int32_int8_casts.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int32_int8_casts"; ^ Mercury/javas/jmercury/int32_int8_casts.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int32_int8_casts.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int32_int8_casts.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int32_int8_casts.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int32_int8_casts.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int32_int8_casts.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[32]; ^ Mercury/javas/jmercury/int32_int8_casts.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int32_int8_casts.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/int32_int8_casts.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int32_int8_casts.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int32_int8_casts.java:53: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:53: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/int32_int8_casts.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int32_int8_casts.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int32_int8_casts Mercury/javas/jmercury/int32_int8_casts.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int32_int8_casts.java:70: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/int32_int8_casts.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:74: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/int32_int8_casts.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:79: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/int32_int8_casts.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:84: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/int32_int8_casts.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:89: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/int32_int8_casts.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:94: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/int32_int8_casts.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:99: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/int32_int8_casts.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:104: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/int32_int8_casts.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:109: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/int32_int8_casts.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:114: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/int32_int8_casts.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:119: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/int32_int8_casts.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:124: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/int32_int8_casts.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:129: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/int32_int8_casts.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:134: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/int32_int8_casts.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:139: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/int32_int8_casts.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:144: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/int32_int8_casts.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:149: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/int32_int8_casts.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:154: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/int32_int8_casts.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:159: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/int32_int8_casts.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:164: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[17] ^ Mercury/javas/jmercury/int32_int8_casts.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:169: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[18] ^ Mercury/javas/jmercury/int32_int8_casts.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:174: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[19] ^ Mercury/javas/jmercury/int32_int8_casts.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:179: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[20] ^ Mercury/javas/jmercury/int32_int8_casts.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:184: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[21] ^ Mercury/javas/jmercury/int32_int8_casts.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:189: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[22] ^ Mercury/javas/jmercury/int32_int8_casts.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:194: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[23] ^ Mercury/javas/jmercury/int32_int8_casts.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:199: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[24] ^ Mercury/javas/jmercury/int32_int8_casts.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:204: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[25] ^ Mercury/javas/jmercury/int32_int8_casts.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:209: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[26] ^ Mercury/javas/jmercury/int32_int8_casts.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:214: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[27] ^ Mercury/javas/jmercury/int32_int8_casts.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:219: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[28] ^ Mercury/javas/jmercury/int32_int8_casts.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:224: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[29] ^ Mercury/javas/jmercury/int32_int8_casts.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int32_int8_casts.java:229: error: package list does not exist (list.List_1) int32_int8_casts.MR_scalar_common_4[30] ^ Mercury/javas/jmercury/int32_int8_casts.java:232: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/int32_int8_casts.java:233: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/int32_int8_casts.java:234: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/int32_int8_casts.java:235: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/int32_int8_casts.java:236: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ 100 errors gmake[3]: *** [/tmp/mmake.Pwid92:2411: int32_int8_casts] Error 1 gmake[3]: Target 'int32_int8_casts.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int32_int8_casts.log] Error 1 RUNNING TEST hard_coded/int8_static_data in grade java FAILED TEST hard_coded/int64_from_bytes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int64_from_bytes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int64_from_bytes Making Mercury/int3s/int64_from_bytes.int3 Making Mercury/ints/int64_from_bytes.int Making Mercury/javas/jmercury/int64_from_bytes.java Making Java class files Mercury/javas/jmercury/int64_from_bytes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int64_from_bytes"; ^ Mercury/javas/jmercury/int64_from_bytes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int64_from_bytes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int64_from_bytes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int64_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int64_from_bytes.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_165_165 = null; ^ Mercury/javas/jmercury/int64_from_bytes.java:183: error: cannot find symbol Test1_4 = int64.from_bytes_le_8_f_0(Var_22, Var_23, Var_24, Var_25, Var_26, Var_27, Var_28, Var_29); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:185: error: cannot find symbol TypeCtorInfo_165_165 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ symbol: variable builtin location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:185: error: package jmercury.runtime does not exist TypeCtorInfo_165_165 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ Mercury/javas/jmercury/int64_from_bytes.java:187: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test1_4)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:198: error: cannot find symbol Test2_5 = int64.from_bytes_le_8_f_0(Var_31, Var_32, Var_33, Var_34, Var_35, Var_36, Var_37, Var_38); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:201: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test2_5)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:212: error: cannot find symbol Test3_6 = int64.from_bytes_le_8_f_0(Var_40, Var_41, Var_42, Var_43, Var_44, Var_45, Var_46, Var_47); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:215: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test3_6)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:226: error: cannot find symbol Test4_7 = int64.from_bytes_le_8_f_0(Var_49, Var_50, Var_51, Var_52, Var_53, Var_54, Var_55, Var_56); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:229: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test4_7)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:240: error: cannot find symbol Test5_8 = int64.from_bytes_le_8_f_0(Var_58, Var_59, Var_60, Var_61, Var_62, Var_63, Var_64, Var_65); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:243: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test5_8)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:254: error: cannot find symbol Test6_9 = int64.from_bytes_le_8_f_0(Var_67, Var_68, Var_69, Var_70, Var_71, Var_72, Var_73, Var_74); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:257: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test6_9)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:268: error: cannot find symbol Test7_10 = int64.from_bytes_le_8_f_0(Var_76, Var_77, Var_78, Var_79, Var_80, Var_81, Var_82, Var_83); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:271: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test7_10)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:282: error: cannot find symbol Test8_11 = int64.from_bytes_le_8_f_0(Var_85, Var_86, Var_87, Var_88, Var_89, Var_90, Var_91, Var_92); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:285: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test8_11)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:296: error: cannot find symbol Test9_12 = int64.from_bytes_be_8_f_0(Var_94, Var_95, Var_96, Var_97, Var_98, Var_99, Var_100, Var_101); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:299: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test9_12)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:310: error: cannot find symbol Test10_13 = int64.from_bytes_be_8_f_0(Var_103, Var_104, Var_105, Var_106, Var_107, Var_108, Var_109, Var_110); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:313: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test10_13)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:324: error: cannot find symbol Test11_14 = int64.from_bytes_be_8_f_0(Var_112, Var_113, Var_114, Var_115, Var_116, Var_117, Var_118, Var_119); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:327: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test11_14)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:338: error: cannot find symbol Test12_15 = int64.from_bytes_be_8_f_0(Var_121, Var_122, Var_123, Var_124, Var_125, Var_126, Var_127, Var_128); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:341: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test12_15)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:352: error: cannot find symbol Test13_16 = int64.from_bytes_be_8_f_0(Var_130, Var_131, Var_132, Var_133, Var_134, Var_135, Var_136, Var_137); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:355: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test13_16)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:366: error: cannot find symbol Test14_17 = int64.from_bytes_be_8_f_0(Var_139, Var_140, Var_141, Var_142, Var_143, Var_144, Var_145, Var_146); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:369: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test14_17)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:380: error: cannot find symbol Test15_18 = int64.from_bytes_be_8_f_0(Var_148, Var_149, Var_150, Var_151, Var_152, Var_153, Var_154, Var_155); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:383: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test15_18)); ^ symbol: variable io location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:394: error: cannot find symbol Test16_19 = int64.from_bytes_be_8_f_0(Var_157, Var_158, Var_159, Var_160, Var_161, Var_162, Var_163, Var_164); ^ symbol: variable int64 location: class int64_from_bytes Mercury/javas/jmercury/int64_from_bytes.java:397: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_165_165, java.lang.Long.valueOf(Test16_19)); ^ symbol: variable io location: class int64_from_bytes 46 errors gmake[3]: *** [/tmp/mmake.Dsjyyl:2411: int64_from_bytes] Error 1 gmake[3]: Target 'int64_from_bytes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int64_from_bytes.log] Error 1 RUNNING TEST hard_coded/int_fold_up_down in grade java FAILED TEST hard_coded/int8_static_data in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int8_static_data.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int8_static_data Making Mercury/int3s/int8_static_data.int3 Making Mercury/ints/int8_static_data.int Making Mercury/javas/jmercury/int8_static_data.java Making Java class files Mercury/javas/jmercury/int8_static_data.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/int8_static_data.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/int8_static_data.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int8_static_data.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/int8_static_data.java:53: error: package exception does not exist private static final exception.Software_error_0[] MR_scalar_common_5 = new exception.Software_error_0[1]; ^ Mercury/javas/jmercury/int8_static_data.java:108: error: package list does not exist list.List_1 As_4) ^ Mercury/javas/jmercury/int8_static_data.java:237: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/int8_static_data.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int8_static_data"; ^ Mercury/javas/jmercury/int8_static_data.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int8_static_data.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int8_static_data.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int8_static_data.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int8_static_data.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/int8_static_data.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ Mercury/javas/jmercury/int8_static_data.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0 ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/int8_static_data.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/int8_static_data.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/int8_static_data.java:53: error: package exception does not exist private static final exception.Software_error_0[] MR_scalar_common_5 = new exception.Software_error_0[1]; ^ Mercury/javas/jmercury/int8_static_data.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/int8_static_data.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/int8_static_data.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0))) ^ Mercury/javas/jmercury/int8_static_data.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/int8_static_data.java:70: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/int8_static_data.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/int8_static_data.java:74: error: package list does not exist (list.List_1) int8_static_data.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/int8_static_data.java:77: error: package exception does not exist new exception.Software_error_0( ^ Mercury/javas/jmercury/int8_static_data.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/int8_static_data.java:115: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/int8_static_data.java:118: error: package list.List_1 does not exist A_6 = ((java.lang.Byte) (((list.List_1.F_cons_2) As_4).F1)).byteValue(); ^ Mercury/javas/jmercury/int8_static_data.java:118: error: illegal start of type A_6 = ((java.lang.Byte) (((list.List_1.F_cons_2) As_4).F1)).byteValue(); ^ Mercury/javas/jmercury/int8_static_data.java:127: error: package jmercury.runtime does not exist TypeInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(int8_static_data.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/int8_static_data.java:129: error: cannot find symbol TryResult_13 = exception.try_2_p_0(TypeInfo_21_21, TryLambda_19); ^ symbol: variable exception location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:133: error: package univ does not exist univ.Univ_0 Var_14 = null; ^ Mercury/javas/jmercury/int8_static_data.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/int8_static_data.java:137: error: package exception.Exception_result_1 does not exist Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/int8_static_data.java:139: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_14); ^ symbol: variable exception location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:140: error: package jmercury.runtime does not exist TypeInfo_17_17 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/int8_static_data.java:150: error: package exception.Exception_result_1 does not exist OutputTuple_23 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_13).F1); ^ Mercury/javas/jmercury/int8_static_data.java:153: error: cannot find symbol ResultStr_9 = string.int8_to_string_1_f_0(Result0_8); ^ symbol: variable string location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:157: error: cannot find symbol io.write_string_3_p_0(ResultStr_9); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:160: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:184: error: package list does not exist list.List_1 As_4 = null; ^ Mercury/javas/jmercury/int8_static_data.java:186: error: package list does not exist As_4 = (list.List_1) int8_static_data.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/int8_static_data.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = null; ^ Mercury/javas/jmercury/int8_static_data.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = null; ^ Mercury/javas/jmercury/int8_static_data.java:217: error: package exception does not exist exception.Software_error_0 Var_4 = null; ^ Mercury/javas/jmercury/int8_static_data.java:220: error: cannot find symbol TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_software_error_0); ^ symbol: variable exception location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:220: error: package jmercury.runtime does not exist TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_software_error_0); ^ Mercury/javas/jmercury/int8_static_data.java:221: error: cannot find symbol TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:221: error: package jmercury.runtime does not exist TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/int8_static_data.java:222: error: package exception does not exist Var_4 = (exception.Software_error_0) int8_static_data.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/int8_static_data.java:224: error: cannot find symbol conv0_HeadVar__2_2 = exception.throw_1_f_0(TypeCtorInfo_6_6, TypeCtorInfo_7_7, ((java.lang.Object) (Var_4))); ^ symbol: variable exception location: class int8_static_data Mercury/javas/jmercury/int8_static_data.java:230: error: cannot find symbol HeadVar__2_2 = int8.unchecked_abs_1_f_0(Num_3); ^ symbol: variable int8 location: class int8_static_data 64 errors gmake[3]: *** [/tmp/mmake.0dt6yq:2411: int8_static_data] Error 1 gmake[3]: Target 'int8_static_data.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int8_static_data.log] Error 1 RUNNING TEST hard_coded/int_impl_imports in grade java FAILED TEST hard_coded/int_fold_up_down in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_fold_up_down.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_fold_up_down Making Mercury/int3s/int_fold_up_down.int3 Making Mercury/ints/int_fold_up_down.int Making Mercury/javas/jmercury/int_fold_up_down.java Making Java class files Mercury/javas/jmercury/int_fold_up_down.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int_fold_up_down.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:265: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:313: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:368: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:976: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:1040: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:1272: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_fold_up_down.java:1591: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/int_fold_up_down.java:1669: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/int_fold_up_down.java:1820: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/int_fold_up_down.java:1864: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/int_fold_up_down.java:1913: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:1922: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:1931: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:1940: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:1949: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:1958: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_fold_up_down.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int_fold_up_down"; ^ Mercury/javas/jmercury/int_fold_up_down.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int_fold_up_down.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int_fold_up_down.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int_fold_up_down.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int_fold_up_down.java:36: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int_fold_up_down.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/int_fold_up_down.java:53: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:53: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int_fold_up_down.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:63: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:63: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:64: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:64: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/int_fold_up_down.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:97: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:97: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:98: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:98: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/int_fold_up_down.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/int_fold_up_down.java:130: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:130: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/int_fold_up_down.java:193: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/int_fold_up_down.java:194: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/int_fold_up_down.java:195: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/int_fold_up_down.java:196: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/int_fold_up_down.java:197: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/int_fold_up_down.java:198: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/int_fold_up_down.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_168_168 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:223: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_168_168 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_168_168 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:230: error: cannot find symbol mr_int.fold_up_5_p_7(TypeCtorInfo_168_168, Var_80, Var_81, Var_82, ((java.lang.Object) (Var_83)), new AddrOf2_0(3), env_ptr); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:243: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_3_env_0) env_ptr).wrapper_arg_3)), ((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/int_fold_up_down.java:294: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_79)), ((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__49__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/int_fold_up_down.java:326: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_175_175 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:326: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_175_175 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:326: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_175_175 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:333: error: cannot find symbol mr_int.fold_down_5_p_7(TypeCtorInfo_175_175, Var_89, Var_90, Var_91, ((java.lang.Object) (Var_92)), new AddrOf2_0(1), env_ptr); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:346: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_3_env_0) env_ptr).wrapper_arg_3)), ((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/int_fold_up_down.java:397: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_88)), ((java.lang.Object) (((int_fold_up_down.introducedFrom__pred__main__58__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/int_fold_up_down.java:418: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_135_135 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:418: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_135_135 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:418: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_135_135 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_fold_up_down.java:419: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_161_161 = null; ^ Mercury/javas/jmercury/int_fold_up_down.java:427: error: package list does not exist list.List_1 NondetSolnsUp_12 = null; ^ Mercury/javas/jmercury/int_fold_up_down.java:429: error: package list does not exist list.List_1 NondetSolnsDown_14 = null; ^ Mercury/javas/jmercury/int_fold_up_down.java:518: error: cannot find symbol conv1_Var_23 = mr_int.fold_up_4_f_0(TypeCtorInfo_135_135, Var_24, Var_25, Var_26, ((java.lang.Object) (Var_27))); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:523: error: cannot find symbol Var_21 = string.f_43_43_2_f_0(Var_23, Var_28); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:526: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:533: error: cannot find symbol conv3_Var_31 = mr_int.fold_down_4_f_0(TypeCtorInfo_135_135, Var_32, Var_33, Var_34, ((java.lang.Object) (Var_35))); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:538: error: cannot find symbol Var_29 = string.f_43_43_2_f_0(Var_31, Var_36); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:541: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:548: error: cannot find symbol conv5_FoldUpRes_4 = mr_int.fold_up_5_p_0(TypeCtorInfo_135_135, Var_37, Var_38, Var_39, ((java.lang.Object) (Var_40))); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:553: error: cannot find symbol Var_41 = string.f_43_43_2_f_0(FoldUpRes_4, Var_43); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:556: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:563: error: cannot find symbol conv7_FoldDownRes_5 = mr_int.fold_down_5_p_0(TypeCtorInfo_135_135, Var_44, Var_45, Var_46, ((java.lang.Object) (Var_47))); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:568: error: cannot find symbol Var_48 = string.f_43_43_2_f_0(FoldDownRes_5, Var_50); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:571: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:579: error: cannot find symbol java.lang.Object [] result = mr_int.fold_up2_7_p_0(TypeCtorInfo_135_135, TypeCtorInfo_135_135, Var_51, Var_52, Var_53, ((java.lang.Object) (Var_54)), ((java.lang.Object) (Var_55))); ^ symbol: variable mr_int location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:587: error: cannot find symbol Var_58 = string.f_43_43_2_f_0(FoldUp2Acc2_7, Var_59); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:590: error: cannot find symbol Var_56 = string.f_43_43_2_f_0(FoldUp2Acc1_6, Var_58); ^ symbol: variable string location: class int_fold_up_down Mercury/javas/jmercury/int_fold_up_down.java:593: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class int_fold_up_down 100 errors gmake[3]: *** [/tmp/mmake.f08KE3:2411: int_fold_up_down] Error 1 gmake[3]: Target 'int_fold_up_down.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int_fold_up_down.log] Error 1 RUNNING TEST hard_coded/int_range_ops in grade java FAILED TEST hard_coded/int_impl_imports in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_impl_imports.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_impl_imports Making Mercury/int3s/int_impl_imports.int3 Making Mercury/int3s/int_impl_imports_2.int3 Making Mercury/ints/int_impl_imports_2.int Making Mercury/ints/int_impl_imports.int Making Mercury/javas/jmercury/int_impl_imports.java Making Mercury/javas/jmercury/int_impl_imports_2.java Making Java class files Mercury/javas/jmercury/int_impl_imports.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct int_impl_imports__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/int_impl_imports.java:97: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/int_impl_imports.java:164: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/int_impl_imports_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct int_impl_imports_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/int_impl_imports_2.java:65: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/int_impl_imports_2.java:132: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/int_impl_imports.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int_impl_imports"; ^ Mercury/javas/jmercury/int_impl_imports.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int_impl_imports.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int_impl_imports.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int_impl_imports.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int_impl_imports.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct int_impl_imports__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/int_impl_imports.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/int_impl_imports.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/int_impl_imports.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/int_impl_imports.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/int_impl_imports.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:81: error: cannot find symbol io.write_int_3_p_0(Var_6); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:84: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:93: error: cannot find symbol io.write_int_3_p_0(Foo_4); ^ symbol: variable io location: class int_impl_imports Mercury/javas/jmercury/int_impl_imports.java:103: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/int_impl_imports.java:109: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/int_impl_imports.java:114: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/int_impl_imports.java:116: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/int_impl_imports.java:127: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/int_impl_imports.java:193: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/int_impl_imports_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct int_impl_imports_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/int_impl_imports_2.java:23: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/int_impl_imports_2.java:28: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/int_impl_imports_2.java:31: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/int_impl_imports_2.java:32: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/int_impl_imports_2.java:32: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class int_impl_imports_2 Mercury/javas/jmercury/int_impl_imports_2.java:71: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/int_impl_imports_2.java:77: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/int_impl_imports_2.java:82: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/int_impl_imports_2.java:84: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/int_impl_imports_2.java:95: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/int_impl_imports_2.java:161: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors gmake[3]: *** [/tmp/mmake.X6EJsx:2411: int_impl_imports] Error 1 gmake[3]: Target 'int_impl_imports.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int_impl_imports.log] Error 1 RUNNING TEST hard_coded/int_uenum in grade java FAILED TEST hard_coded/int_range_ops in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_range_ops.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_range_ops Making Mercury/int3s/int_range_ops.int3 Making Mercury/ints/int_range_ops.int Making Mercury/javas/jmercury/int_range_ops.java Making Java class files Mercury/javas/jmercury/int_range_ops.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/int_range_ops.java:364: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_range_ops.java:413: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_range_ops.java:462: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/int_range_ops.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/int_range_ops.java:628: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/int_range_ops.java:684: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_range_ops.java:693: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_range_ops.java:702: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/int_range_ops.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int_range_ops"; ^ Mercury/javas/jmercury/int_range_ops.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int_range_ops.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int_range_ops.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int_range_ops.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int_range_ops.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/int_range_ops.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/int_range_ops.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/int_range_ops.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/int_range_ops.java:49: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:49: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/int_range_ops.java:50: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:50: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/int_range_ops.java:51: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:51: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/int_range_ops.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/int_range_ops.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_76_76 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/int_range_ops.java:131: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_76_76 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_76_76 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/int_range_ops.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_77_77 = null; ^ Mercury/javas/jmercury/int_range_ops.java:133: error: package list does not exist list.List_1 EmptyRangeResult_4 = null; ^ Mercury/javas/jmercury/int_range_ops.java:134: error: package list does not exist list.List_1 SingletonRangeResult_5 = null; ^ Mercury/javas/jmercury/int_range_ops.java:135: error: package list does not exist list.List_1 ManyRangeResult_6 = null; ^ Mercury/javas/jmercury/int_range_ops.java:163: error: cannot find symbol EmptyRangeResult_4 = solutions.solutions_2_p_1(TypeCtorInfo_76_76, Var_11); ^ symbol: variable solutions location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:167: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:169: error: package jmercury.runtime does not exist TypeInfo_77_77 = jmercury.runtime.TypeInfo_Struct.maybe_new(int_range_ops.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/int_range_ops.java:171: error: cannot find symbol io.print_line_3_p_0(TypeInfo_77_77, ((java.lang.Object) (EmptyRangeResult_4))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:175: error: cannot find symbol SingletonRangeResult_5 = solutions.solutions_2_p_1(TypeCtorInfo_76_76, Var_17); ^ symbol: variable solutions location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:179: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:182: error: cannot find symbol io.print_line_3_p_0(TypeInfo_77_77, ((java.lang.Object) (SingletonRangeResult_5))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:186: error: cannot find symbol ManyRangeResult_6 = solutions.solutions_2_p_1(TypeCtorInfo_76_76, Var_23); ^ symbol: variable solutions location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:190: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:193: error: cannot find symbol io.print_line_3_p_0(TypeInfo_77_77, ((java.lang.Object) (ManyRangeResult_6))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:197: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:203: error: cannot find symbol succeeded = mr_int.all_true_in_range_3_p_0(Var_31, Var_32, Var_33); ^ symbol: variable mr_int location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_81_81 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:207: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_81_81 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_81_81 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:211: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_81_81, ((java.lang.Object) (Var_34))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_82_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:216: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_82_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_82_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:220: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_82_82, ((java.lang.Object) (Var_36))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:225: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:231: error: cannot find symbol succeeded = mr_int.all_true_in_range_3_p_0(Var_40, Var_41, Var_42); ^ symbol: variable mr_int location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_84_84 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:235: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_84_84 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_84_84 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:239: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_84_84, ((java.lang.Object) (Var_43))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_85_85 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:244: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_85_85 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_85_85 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:248: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_85_85, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:253: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:259: error: cannot find symbol succeeded = mr_int.all_true_in_range_3_p_0(Var_49, Var_50, Var_51); ^ symbol: variable mr_int location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_87_87 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:263: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_87_87 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_87_87 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:267: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_87_87, ((java.lang.Object) (Var_52))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_88_88 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:272: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_88_88 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_88_88 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:276: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_88_88, ((java.lang.Object) (Var_54))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:282: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:287: error: cannot find symbol succeeded = mr_int.all_true_in_range_3_p_0(LessThan10_7, Var_60, Var_61); ^ symbol: variable mr_int location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:291: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_89_89 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:291: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_89_89 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:291: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_89_89 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:295: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_89_89, ((java.lang.Object) (Var_62))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:300: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_90_90 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:300: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_90_90 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:300: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_90_90 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:304: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_90_90, ((java.lang.Object) (Var_64))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:309: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:314: error: cannot find symbol succeeded = mr_int.all_true_in_range_3_p_0(LessThan10_7, Var_68, Var_69); ^ symbol: variable mr_int location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_91_91 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:318: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_91_91 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_91_91 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:322: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_91_91, ((java.lang.Object) (Var_70))); ^ symbol: variable io location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:327: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/int_range_ops.java:327: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class int_range_ops Mercury/javas/jmercury/int_range_ops.java:327: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.9zu2sE:2411: int_range_ops] Error 1 gmake[3]: Target 'int_range_ops.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int_range_ops.log] Error 1 RUNNING TEST hard_coded/integer_int16_conv in grade java FAILED TEST hard_coded/int_uenum in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_uenum.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - int_uenum Making Mercury/int3s/int_uenum.int3 Making Mercury/ints/int_uenum.int Making Mercury/javas/jmercury/int_uenum.java Making Java class files Mercury/javas/jmercury/int_uenum.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int_uenum.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "int_uenum"; ^ Mercury/javas/jmercury/int_uenum.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/int_uenum.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/int_uenum.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class int_uenum Mercury/javas/jmercury/int_uenum.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class int_uenum Mercury/javas/jmercury/int_uenum.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/int_uenum.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/int_uenum.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/int_uenum.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) mr_int.base_typeclass_info_enum__uenum__arity1__int__arity0__)), ^ symbol: variable mr_int location: class int_uenum Mercury/javas/jmercury/int_uenum.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class int_uenum Mercury/javas/jmercury/int_uenum.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/int_uenum.java:42: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/int_uenum.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/int_uenum.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/int_uenum.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/int_uenum.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/int_uenum.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/int_uenum.java:104: error: cannot find symbol Var_22 = mr_int.min_int_0_f_0(); ^ symbol: variable mr_int location: class int_uenum Mercury/javas/jmercury/int_uenum.java:112: error: cannot find symbol Var_24 = mr_int.min_int_0_f_0(); ^ symbol: variable mr_int location: class int_uenum Mercury/javas/jmercury/int_uenum.java:118: error: cannot find symbol Var_28 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class int_uenum Mercury/javas/jmercury/int_uenum.java:126: error: cannot find symbol Var_30 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class int_uenum Mercury/javas/jmercury/int_uenum.java:145: error: cannot find symbol U_6 = mr_enum.to_uint_1_f_0(TypeClassInfo_for_uenum_47, java.lang.Integer.valueOf(I_4)); ^ symbol: variable mr_enum location: class int_uenum Mercury/javas/jmercury/int_uenum.java:149: error: cannot find symbol java.lang.Object [] result = mr_enum.from_uint_2_p_0(TypeClassInfo_for_uenum_48, U_6); ^ symbol: variable mr_enum location: class int_uenum Mercury/javas/jmercury/int_uenum.java:164: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_56 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:164: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_56 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:166: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_60 = null; ^ Mercury/javas/jmercury/int_uenum.java:170: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_72 = null; ^ Mercury/javas/jmercury/int_uenum.java:173: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_83 = null; ^ Mercury/javas/jmercury/int_uenum.java:178: error: cannot find symbol Var_50 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_56, I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:181: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:185: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:188: error: cannot find symbol Var_61 = string__format.format_cast_int_to_uint_2_p_0(I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:190: error: package string__parse_util does not exist Var_60 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:192: error: cannot find symbol Var_62 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_56, Var_60, Var_61); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:195: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:199: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:201: error: package string__parse_util does not exist Var_72 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/int_uenum.java:203: error: cannot find symbol Var_73 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_56, Var_72, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:206: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:210: error: cannot find symbol io.write_string_3_p_0(Var_81); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:212: error: package string__parse_util does not exist Var_83 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:214: error: cannot find symbol Var_84 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_56, Var_83, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:217: error: cannot find symbol io.write_string_3_p_0(Var_84); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:221: error: cannot find symbol io.write_string_3_p_0(Var_91); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:227: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_99 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:227: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_99 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:229: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_103 = null; ^ Mercury/javas/jmercury/int_uenum.java:233: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_115 = null; ^ Mercury/javas/jmercury/int_uenum.java:236: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_126 = null; ^ Mercury/javas/jmercury/int_uenum.java:241: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_147 = null; ^ Mercury/javas/jmercury/int_uenum.java:247: error: cannot find symbol Var_93 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_99, I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:250: error: cannot find symbol io.write_string_3_p_0(Var_93); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:254: error: cannot find symbol io.write_string_3_p_0(Var_101); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:257: error: cannot find symbol Var_104 = string__format.format_cast_int_to_uint_2_p_0(I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:259: error: package string__parse_util does not exist Var_103 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:261: error: cannot find symbol Var_105 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_99, Var_103, Var_104); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:264: error: cannot find symbol io.write_string_3_p_0(Var_105); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:268: error: cannot find symbol io.write_string_3_p_0(Var_113); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:270: error: package string__parse_util does not exist Var_115 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/int_uenum.java:272: error: cannot find symbol Var_116 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_99, Var_115, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:275: error: cannot find symbol io.write_string_3_p_0(Var_116); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:279: error: cannot find symbol io.write_string_3_p_0(Var_124); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:281: error: package string__parse_util does not exist Var_126 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:283: error: cannot find symbol Var_127 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_99, Var_126, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:286: error: cannot find symbol io.write_string_3_p_0(Var_127); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:290: error: cannot find symbol io.write_string_3_p_0(Var_135); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:293: error: cannot find symbol Var_137 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_99, I2_7); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:296: error: cannot find symbol io.write_string_3_p_0(Var_137); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:300: error: cannot find symbol io.write_string_3_p_0(Var_145); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:303: error: cannot find symbol Var_148 = string__format.format_cast_int_to_uint_2_p_0(I2_7); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:305: error: package string__parse_util does not exist Var_147 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:307: error: cannot find symbol Var_149 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_99, Var_147, Var_148); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:310: error: cannot find symbol io.write_string_3_p_0(Var_149); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:314: error: cannot find symbol io.write_string_3_p_0(Var_156); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:321: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_164 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:321: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_164 = (string__parse_util.String_format_flags_0) int_uenum.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/int_uenum.java:323: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_168 = null; ^ Mercury/javas/jmercury/int_uenum.java:327: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_180 = null; ^ Mercury/javas/jmercury/int_uenum.java:330: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_191 = null; ^ Mercury/javas/jmercury/int_uenum.java:335: error: cannot find symbol Var_158 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_164, I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:338: error: cannot find symbol io.write_string_3_p_0(Var_158); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:342: error: cannot find symbol io.write_string_3_p_0(Var_166); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:345: error: cannot find symbol Var_169 = string__format.format_cast_int_to_uint_2_p_0(I_4); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:347: error: package string__parse_util does not exist Var_168 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:349: error: cannot find symbol Var_170 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_164, Var_168, Var_169); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:352: error: cannot find symbol io.write_string_3_p_0(Var_170); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:356: error: cannot find symbol io.write_string_3_p_0(Var_178); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:358: error: package string__parse_util does not exist Var_180 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/int_uenum.java:360: error: cannot find symbol Var_181 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_164, Var_180, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:363: error: cannot find symbol io.write_string_3_p_0(Var_181); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:367: error: cannot find symbol io.write_string_3_p_0(Var_189); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:369: error: package string__parse_util does not exist Var_191 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/int_uenum.java:371: error: cannot find symbol Var_192 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_164, Var_191, U_6); ^ symbol: variable string__format location: class int_uenum Mercury/javas/jmercury/int_uenum.java:374: error: cannot find symbol io.write_string_3_p_0(Var_192); ^ symbol: variable io location: class int_uenum Mercury/javas/jmercury/int_uenum.java:378: error: cannot find symbol io.write_string_3_p_0(Var_199); ^ symbol: variable io location: class int_uenum 100 errors gmake[3]: *** [/tmp/mmake.WkQf69:2411: int_uenum] Error 1 gmake[3]: Target 'int_uenum.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: int_uenum.log] Error 1 RUNNING TEST hard_coded/integer_int32_conv in grade java FAILED TEST hard_coded/integer_int16_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int16_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int16_conv Making Mercury/int3s/integer_int16_conv.int3 Making Mercury/ints/integer_int16_conv.int Making Mercury/javas/jmercury/integer_int16_conv.java Making Java class files Mercury/javas/jmercury/integer_int16_conv.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/integer_int16_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[19]; ^ Mercury/javas/jmercury/integer_int16_conv.java:175: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_int16_conv.java:320: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_int16_conv.java:603: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_int16_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_int16_conv"; ^ Mercury/javas/jmercury/integer_int16_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_int16_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_int16_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_int16_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_int16_conv.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/integer_int16_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[19]; ^ Mercury/javas/jmercury/integer_int16_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_int16_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ symbol: variable builtin location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int16_0)), ^ Mercury/javas/jmercury/integer_int16_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int16_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int16_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_int16_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int16_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int16_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:73: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_int16_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:78: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_int16_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:83: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_int16_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:88: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_int16_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:93: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_int16_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:98: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_int16_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:103: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_int16_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:108: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_int16_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:113: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_int16_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:118: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_int16_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:123: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_int16_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:128: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_int16_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:133: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_int16_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:138: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_int16_conv.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:143: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/integer_int16_conv.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:148: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/integer_int16_conv.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:153: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/integer_int16_conv.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:158: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/integer_int16_conv.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int16_conv.java:163: error: package list does not exist (list.List_1) integer_int16_conv.MR_scalar_common_4[17] ^ Mercury/javas/jmercury/integer_int16_conv.java:178: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:184: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:186: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:186: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int16_conv.java:188: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:192: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:195: error: cannot find symbol java.lang.Object [] result = integer.to_int16_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:201: error: cannot find symbol io.write_int16_3_p_0(U_6); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:208: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:212: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:221: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:226: error: cannot find symbol Integer_6 = integer.from_int16_1_f_0(U_4); ^ symbol: variable integer location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:230: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:233: error: cannot find symbol io.write_int16_3_p_0(U_4); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:237: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:239: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:239: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int16_conv.java:241: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:244: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:252: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:253: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:256: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:259: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_int16_conv.java:264: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:267: error: package list does not exist Var_9 = (list.List_1) integer_int16_conv.MR_scalar_common_4[18]; ^ Mercury/javas/jmercury/integer_int16_conv.java:268: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:268: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/integer_int16_conv.java:269: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class integer_int16_conv Mercury/javas/jmercury/integer_int16_conv.java:269: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.fYBsER:2411: integer_int16_conv] Error 1 gmake[3]: Target 'integer_int16_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_int16_conv.log] Error 1 RUNNING TEST hard_coded/integer_int64_conv in grade java FAILED TEST hard_coded/integer_int32_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int32_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int32_conv Making Mercury/int3s/integer_int32_conv.int3 Making Mercury/ints/integer_int32_conv.int Making Mercury/javas/jmercury/integer_int32_conv.java Making Java class files Mercury/javas/jmercury/integer_int32_conv.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/integer_int32_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[21]; ^ Mercury/javas/jmercury/integer_int32_conv.java:185: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_int32_conv.java:330: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_int32_conv.java:639: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_int32_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_int32_conv"; ^ Mercury/javas/jmercury/integer_int32_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_int32_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_int32_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_int32_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_int32_conv.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/integer_int32_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[21]; ^ Mercury/javas/jmercury/integer_int32_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_int32_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ symbol: variable builtin location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int32_0)), ^ Mercury/javas/jmercury/integer_int32_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int32_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int32_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_int32_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int32_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int32_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:73: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_int32_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:78: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_int32_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:83: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_int32_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:88: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_int32_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:93: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_int32_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:98: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_int32_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:103: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_int32_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:108: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_int32_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:113: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_int32_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:118: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_int32_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:123: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_int32_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:128: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_int32_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:133: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_int32_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:138: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_int32_conv.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:143: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/integer_int32_conv.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:148: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/integer_int32_conv.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:153: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/integer_int32_conv.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:158: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/integer_int32_conv.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:163: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[17] ^ Mercury/javas/jmercury/integer_int32_conv.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:168: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[18] ^ Mercury/javas/jmercury/integer_int32_conv.java:171: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int32_conv.java:173: error: package list does not exist (list.List_1) integer_int32_conv.MR_scalar_common_4[19] ^ Mercury/javas/jmercury/integer_int32_conv.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:194: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:196: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:196: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int32_conv.java:198: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:202: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:205: error: cannot find symbol java.lang.Object [] result = integer.to_int32_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:211: error: cannot find symbol io.write_int32_3_p_0(U_6); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:218: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:222: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:231: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:236: error: cannot find symbol Integer_6 = integer.from_int32_1_f_0(U_4); ^ symbol: variable integer location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:240: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:243: error: cannot find symbol io.write_int32_3_p_0(U_4); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:247: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:249: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:249: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int32_conv.java:251: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:254: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:261: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:262: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:266: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:269: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_int32_conv.java:274: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_int32_conv Mercury/javas/jmercury/integer_int32_conv.java:277: error: package list does not exist Var_9 = (list.List_1) integer_int32_conv.MR_scalar_common_4[20]; ^ 100 errors gmake[3]: *** [/tmp/mmake.jpYRHa:2411: integer_int32_conv] Error 1 gmake[3]: Target 'integer_int32_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_int32_conv.log] Error 1 RUNNING TEST hard_coded/integer_int8_conv in grade java FAILED TEST hard_coded/integer_int64_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int64_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int64_conv Making Mercury/int3s/integer_int64_conv.int3 Making Mercury/ints/integer_int64_conv.int Making Mercury/javas/jmercury/integer_int64_conv.java Making Java class files Mercury/javas/jmercury/integer_int64_conv.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/integer_int64_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[23]; ^ Mercury/javas/jmercury/integer_int64_conv.java:195: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_int64_conv.java:337: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_int64_conv.java:659: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_int64_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_int64_conv"; ^ Mercury/javas/jmercury/integer_int64_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_int64_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_int64_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_int64_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_int64_conv.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/integer_int64_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[23]; ^ Mercury/javas/jmercury/integer_int64_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_int64_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ symbol: variable builtin location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int64_0)), ^ Mercury/javas/jmercury/integer_int64_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int64_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int64_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_int64_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int64_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int64_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:73: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_int64_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:78: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_int64_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:83: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_int64_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:88: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_int64_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:93: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_int64_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:98: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_int64_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:103: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_int64_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:108: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_int64_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:113: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_int64_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:118: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_int64_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:123: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_int64_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:128: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_int64_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:133: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_int64_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:138: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_int64_conv.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:143: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/integer_int64_conv.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:148: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/integer_int64_conv.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:153: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/integer_int64_conv.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:158: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/integer_int64_conv.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:163: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[17] ^ Mercury/javas/jmercury/integer_int64_conv.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:168: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[18] ^ Mercury/javas/jmercury/integer_int64_conv.java:171: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:173: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[19] ^ Mercury/javas/jmercury/integer_int64_conv.java:176: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:178: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[20] ^ Mercury/javas/jmercury/integer_int64_conv.java:181: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int64_conv.java:183: error: package list does not exist (list.List_1) integer_int64_conv.MR_scalar_common_4[21] ^ Mercury/javas/jmercury/integer_int64_conv.java:198: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:204: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:206: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:206: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int64_conv.java:208: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:212: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:215: error: cannot find symbol java.lang.Object [] result = integer.to_int64_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:221: error: cannot find symbol io.write_int64_3_p_0(U_6); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:228: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:232: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:241: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:246: error: cannot find symbol Integer_6 = integer.from_int64_1_f_0(U_4); ^ symbol: variable integer location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:250: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:253: error: cannot find symbol io.write_int64_3_p_0(U_4); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:257: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:259: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:259: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int64_conv.java:261: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_int64_conv Mercury/javas/jmercury/integer_int64_conv.java:268: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:269: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:270: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_int64_conv.java:273: error: package list does not exist list.List_1 Var_9 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.ppop4k:2411: integer_int64_conv] Error 1 gmake[3]: Target 'integer_int64_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_int64_conv.log] Error 1 RUNNING TEST hard_coded/integer_test in grade java FAILED TEST hard_coded/integer_int8_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int8_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_int8_conv Making Mercury/int3s/integer_int8_conv.int3 Making Mercury/ints/integer_int8_conv.int Making Mercury/javas/jmercury/integer_int8_conv.java Making Java class files Mercury/javas/jmercury/integer_int8_conv.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/integer_int8_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/integer_int8_conv.java:150: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_int8_conv.java:292: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_int8_conv.java:549: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_int8_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_int8_conv"; ^ Mercury/javas/jmercury/integer_int8_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_int8_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_int8_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_int8_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_int8_conv.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/integer_int8_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/integer_int8_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_int8_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ symbol: variable builtin location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int8_0)), ^ Mercury/javas/jmercury/integer_int8_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int8_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int8_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_int8_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_int8_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_int8_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:73: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_int8_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:78: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_int8_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:83: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_int8_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:88: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_int8_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:93: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_int8_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:98: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_int8_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:103: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_int8_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:108: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_int8_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:113: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_int8_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:118: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_int8_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:123: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_int8_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:128: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_int8_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:133: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_int8_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_int8_conv.java:138: error: package list does not exist (list.List_1) integer_int8_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_int8_conv.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:159: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:161: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int8_conv.java:163: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:167: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:170: error: cannot find symbol java.lang.Object [] result = integer.to_int8_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:176: error: cannot find symbol io.write_int8_3_p_0(U_6); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:183: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:187: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:196: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:201: error: cannot find symbol Integer_6 = integer.from_int8_1_f_0(U_4); ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:205: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:208: error: cannot find symbol io.write_int8_3_p_0(U_4); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:212: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:214: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:214: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int8_conv.java:216: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:228: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:231: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:236: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:239: error: package list does not exist Var_9 = (list.List_1) integer_int8_conv.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/integer_int8_conv.java:240: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:240: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/integer_int8_conv.java:241: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:241: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/integer_int8_conv.java:243: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:246: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:250: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:256: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:256: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_int8_conv.java:258: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_24_24, TypeCtorInfo_20_20, Var_14, Var_15, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_int8_conv Mercury/javas/jmercury/integer_int8_conv.java:287: error: package integer does not exist integer_int8_conv.do_from_integer_test_3_p_0(((integer.Integer_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/integer_int8_conv.java:295: error: package list does not exist list.List_1 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:296: error: package integer does not exist integer.Integer_0 Var_2 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:298: error: package list does not exist list.List_1 Var_4 = null; ^ Mercury/javas/jmercury/integer_int8_conv.java:299: error: package integer does not exist integer.Integer_0 Var_5 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.hLV9d9:2411: integer_int8_conv] Error 1 gmake[3]: Target 'integer_int8_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_int8_conv.log] Error 1 RUNNING TEST hard_coded/integer_uint16_conv in grade java FAILED TEST hard_coded/integer_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_test Making Mercury/int3s/integer_test.int3 Making Mercury/ints/integer_test.int Making Mercury/javas/jmercury/integer_test.java Making Java class files Mercury/javas/jmercury/integer_test.java:35: error: package integer does not exist integer.Integer_0 X_3) ^ Mercury/javas/jmercury/integer_test.java:33: error: package integer does not exist private static integer.Integer_0 ^ Mercury/javas/jmercury/integer_test.java:101: error: package integer does not exist integer.Integer_0 X_6, ^ Mercury/javas/jmercury/integer_test.java:102: error: package integer does not exist integer.Integer_0 Y_7, ^ Mercury/javas/jmercury/integer_test.java:103: error: package integer does not exist integer.Integer_0 Z_8) ^ Mercury/javas/jmercury/integer_test.java:634: error: package integer does not exist integer.Integer_0 X_4) ^ Mercury/javas/jmercury/integer_test.java:649: error: package integer does not exist integer.Integer_0 Int_6) ^ Mercury/javas/jmercury/integer_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_test"; ^ Mercury/javas/jmercury/integer_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_test Mercury/javas/jmercury/integer_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_test Mercury/javas/jmercury/integer_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_test.java:38: error: package integer does not exist integer.Integer_0 F_4 = null; ^ Mercury/javas/jmercury/integer_test.java:39: error: package integer does not exist integer.Integer_0 Var_6 = null; ^ Mercury/javas/jmercury/integer_test.java:42: error: cannot find symbol Var_6 = integer.zero_0_f_0(); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:45: error: cannot find symbol succeeded = integer.f_less_or_equal_2_p_0(X_3, Var_6); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:49: error: cannot find symbol F_4 = integer.one_0_f_0(); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:53: error: package integer does not exist integer.Integer_0 F1_5 = null; ^ Mercury/javas/jmercury/integer_test.java:54: error: package integer does not exist integer.Integer_0 Var_7 = null; ^ Mercury/javas/jmercury/integer_test.java:55: error: package integer does not exist integer.Integer_0 Var_8 = null; ^ Mercury/javas/jmercury/integer_test.java:58: error: cannot find symbol Var_8 = integer.one_0_f_0(); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:61: error: cannot find symbol Var_7 = integer.f_minus_2_f_0(X_3, Var_8); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:67: error: cannot find symbol F_4 = integer.f_times_2_f_0(F1_5, X_3); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:76: error: package integer does not exist integer.Integer_0 X_4 = null; ^ Mercury/javas/jmercury/integer_test.java:77: error: package integer does not exist integer.Integer_0 Y_5 = null; ^ Mercury/javas/jmercury/integer_test.java:78: error: package integer does not exist integer.Integer_0 Z_6 = null; ^ Mercury/javas/jmercury/integer_test.java:84: error: cannot find symbol X_4 = integer.det_from_string_1_f_0(Var_9); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:88: error: cannot find symbol Y_5 = integer.det_from_string_1_f_0(Var_10); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:92: error: cannot find symbol Z_6 = integer.integer_1_f_0(Var_11); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:106: error: package integer does not exist integer.Integer_0 Plus_10 = null; ^ Mercury/javas/jmercury/integer_test.java:107: error: package integer does not exist integer.Integer_0 Times_11 = null; ^ Mercury/javas/jmercury/integer_test.java:108: error: package integer does not exist integer.Integer_0 Minus_12 = null; ^ Mercury/javas/jmercury/integer_test.java:109: error: package integer does not exist integer.Integer_0 Div_13 = null; ^ Mercury/javas/jmercury/integer_test.java:110: error: package integer does not exist integer.Integer_0 Rem_14 = null; ^ Mercury/javas/jmercury/integer_test.java:111: error: package integer does not exist integer.Integer_0 Pow_15 = null; ^ Mercury/javas/jmercury/integer_test.java:112: error: package integer does not exist integer.Integer_0 Fac_16 = null; ^ Mercury/javas/jmercury/integer_test.java:113: error: package integer does not exist integer.Integer_0 X0_17 = null; ^ Mercury/javas/jmercury/integer_test.java:114: error: package integer does not exist integer.Integer_0 X1_18 = null; ^ Mercury/javas/jmercury/integer_test.java:130: error: package integer does not exist integer.Integer_0 Var_50 = null; ^ Mercury/javas/jmercury/integer_test.java:132: error: package integer does not exist integer.Integer_0 Var_54 = null; ^ Mercury/javas/jmercury/integer_test.java:133: error: package integer does not exist integer.Integer_0 Var_57 = null; ^ Mercury/javas/jmercury/integer_test.java:136: error: package integer does not exist integer.Integer_0 Var_64 = null; ^ Mercury/javas/jmercury/integer_test.java:137: error: package integer does not exist integer.Integer_0 Var_66 = null; ^ Mercury/javas/jmercury/integer_test.java:139: error: package integer does not exist integer.Integer_0 Var_69 = null; ^ Mercury/javas/jmercury/integer_test.java:140: error: package integer does not exist integer.Integer_0 Var_71 = null; ^ Mercury/javas/jmercury/integer_test.java:142: error: package integer does not exist integer.Integer_0 Var_76 = null; ^ Mercury/javas/jmercury/integer_test.java:144: error: package integer does not exist integer.Integer_0 Var_80 = null; ^ Mercury/javas/jmercury/integer_test.java:145: error: package integer does not exist integer.Integer_0 Var_82 = null; ^ Mercury/javas/jmercury/integer_test.java:147: error: package integer does not exist integer.Integer_0 Var_85 = null; ^ Mercury/javas/jmercury/integer_test.java:148: error: package integer does not exist integer.Integer_0 Var_87 = null; ^ Mercury/javas/jmercury/integer_test.java:149: error: package integer does not exist integer.Integer_0 Var_89 = null; ^ Mercury/javas/jmercury/integer_test.java:151: error: package integer does not exist integer.Integer_0 Var_93 = null; ^ Mercury/javas/jmercury/integer_test.java:153: error: package integer does not exist integer.Integer_0 Var_97 = null; ^ Mercury/javas/jmercury/integer_test.java:154: error: package integer does not exist integer.Integer_0 Var_99 = null; ^ Mercury/javas/jmercury/integer_test.java:155: error: package integer does not exist integer.Integer_0 Var_100 = null; ^ Mercury/javas/jmercury/integer_test.java:157: error: package integer does not exist integer.Integer_0 Var_103 = null; ^ Mercury/javas/jmercury/integer_test.java:158: error: package integer does not exist integer.Integer_0 Var_105 = null; ^ Mercury/javas/jmercury/integer_test.java:159: error: package integer does not exist integer.Integer_0 Var_106 = null; ^ Mercury/javas/jmercury/integer_test.java:162: error: package integer does not exist integer.Integer_0 Var_114 = null; ^ Mercury/javas/jmercury/integer_test.java:164: error: package integer does not exist integer.Integer_0 Var_118 = null; ^ Mercury/javas/jmercury/integer_test.java:165: error: package integer does not exist integer.Integer_0 Var_121 = null; ^ Mercury/javas/jmercury/integer_test.java:168: error: package integer does not exist integer.Integer_0 Var_128 = null; ^ Mercury/javas/jmercury/integer_test.java:169: error: package integer does not exist integer.Integer_0 Var_130 = null; ^ Mercury/javas/jmercury/integer_test.java:171: error: package integer does not exist integer.Integer_0 Var_133 = null; ^ Mercury/javas/jmercury/integer_test.java:172: error: package integer does not exist integer.Integer_0 Var_135 = null; ^ Mercury/javas/jmercury/integer_test.java:174: error: package integer does not exist integer.Integer_0 Var_140 = null; ^ Mercury/javas/jmercury/integer_test.java:176: error: package integer does not exist integer.Integer_0 Var_144 = null; ^ Mercury/javas/jmercury/integer_test.java:177: error: package integer does not exist integer.Integer_0 Var_146 = null; ^ Mercury/javas/jmercury/integer_test.java:179: error: package integer does not exist integer.Integer_0 Var_149 = null; ^ Mercury/javas/jmercury/integer_test.java:180: error: package integer does not exist integer.Integer_0 Var_151 = null; ^ Mercury/javas/jmercury/integer_test.java:181: error: package integer does not exist integer.Integer_0 Var_153 = null; ^ Mercury/javas/jmercury/integer_test.java:183: error: package integer does not exist integer.Integer_0 Var_157 = null; ^ Mercury/javas/jmercury/integer_test.java:185: error: package integer does not exist integer.Integer_0 Var_161 = null; ^ Mercury/javas/jmercury/integer_test.java:186: error: package integer does not exist integer.Integer_0 Var_163 = null; ^ Mercury/javas/jmercury/integer_test.java:187: error: package integer does not exist integer.Integer_0 Var_164 = null; ^ Mercury/javas/jmercury/integer_test.java:189: error: package integer does not exist integer.Integer_0 Var_167 = null; ^ Mercury/javas/jmercury/integer_test.java:190: error: package integer does not exist integer.Integer_0 Var_169 = null; ^ Mercury/javas/jmercury/integer_test.java:191: error: package integer does not exist integer.Integer_0 Var_170 = null; ^ Mercury/javas/jmercury/integer_test.java:192: error: package integer does not exist integer.Integer_0 Var_172 = null; ^ Mercury/javas/jmercury/integer_test.java:193: error: package integer does not exist integer.Integer_0 Var_173 = null; ^ Mercury/javas/jmercury/integer_test.java:197: error: cannot find symbol Plus_10 = integer.f_plus_2_f_0(X_6, Y_7); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:200: error: cannot find symbol Times_11 = integer.f_times_2_f_0(X_6, Y_7); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:203: error: cannot find symbol Minus_12 = integer.f_minus_2_f_0(X_6, Y_7); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:206: error: cannot find symbol Div_13 = integer.f_47_47_2_f_0(Y_7, X_6); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:209: error: cannot find symbol Rem_14 = integer.rem_2_f_0(Y_7, X_6); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:212: error: cannot find symbol Pow_15 = integer.pow_2_f_0(X_6, Z_8); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:259: error: cannot find symbol X0_17 = integer.integer_1_f_0(Var_42); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:263: error: cannot find symbol X1_18 = integer.integer_1_f_0(Var_43); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:270: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:277: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:280: error: cannot find symbol Var_50 = integer.div_2_f_0(X0_17, X1_18); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:287: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class integer_test Mercury/javas/jmercury/integer_test.java:290: error: cannot find symbol Var_54 = integer.mod_2_f_0(X0_17, X1_18); ^ symbol: variable integer location: class integer_test Mercury/javas/jmercury/integer_test.java:296: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_test 100 errors gmake[3]: *** [/tmp/mmake.8CmZjr:2411: integer_test] Error 1 gmake[3]: Target 'integer_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_test.log] Error 1 RUNNING TEST hard_coded/integer_uint32_conv in grade java FAILED TEST hard_coded/integer_uint16_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint16_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint16_conv Making Mercury/int3s/integer_uint16_conv.int3 Making Mercury/ints/integer_uint16_conv.int Making Mercury/javas/jmercury/integer_uint16_conv.java Making Java class files Mercury/javas/jmercury/integer_uint16_conv.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/integer_uint16_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/integer_uint16_conv.java:150: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_uint16_conv.java:292: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_uint16_conv.java:575: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_uint16_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_uint16_conv"; ^ Mercury/javas/jmercury/integer_uint16_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_uint16_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_uint16_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_uint16_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_uint16_conv.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/integer_uint16_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[14]; ^ Mercury/javas/jmercury/integer_uint16_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_uint16_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/integer_uint16_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint16_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint16_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_uint16_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint16_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint16_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:73: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_uint16_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:78: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_uint16_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:83: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_uint16_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:88: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_uint16_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:93: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_uint16_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:98: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_uint16_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:103: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_uint16_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:108: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_uint16_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:113: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_uint16_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:118: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_uint16_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:123: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_uint16_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:128: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_uint16_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:133: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_uint16_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint16_conv.java:138: error: package list does not exist (list.List_1) integer_uint16_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_uint16_conv.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:159: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:161: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint16_conv.java:163: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:167: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:170: error: cannot find symbol java.lang.Object [] result = integer.to_uint16_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:176: error: cannot find symbol io.write_uint16_3_p_0(U_6); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:183: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:187: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:196: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:201: error: cannot find symbol Integer_6 = integer.from_uint16_1_f_0(U_4); ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:205: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:208: error: cannot find symbol io.write_uint16_3_p_0(U_4); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:212: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:214: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:214: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint16_conv.java:216: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:228: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:231: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:236: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:239: error: package list does not exist Var_9 = (list.List_1) integer_uint16_conv.MR_scalar_common_4[13]; ^ Mercury/javas/jmercury/integer_uint16_conv.java:240: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:240: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/integer_uint16_conv.java:241: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:241: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/integer_uint16_conv.java:243: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:246: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:250: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:256: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:256: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint16_conv.java:258: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_24_24, TypeCtorInfo_20_20, Var_14, Var_15, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_uint16_conv Mercury/javas/jmercury/integer_uint16_conv.java:287: error: package integer does not exist integer_uint16_conv.do_from_integer_test_3_p_0(((integer.Integer_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/integer_uint16_conv.java:295: error: package list does not exist list.List_1 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:296: error: package integer does not exist integer.Integer_0 Var_2 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:298: error: package list does not exist list.List_1 Var_4 = null; ^ Mercury/javas/jmercury/integer_uint16_conv.java:299: error: package integer does not exist integer.Integer_0 Var_5 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.k1m44l:2411: integer_uint16_conv] Error 1 gmake[3]: Target 'integer_uint16_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_uint16_conv.log] Error 1 RUNNING TEST hard_coded/integer_uint64_conv in grade java FAILED TEST hard_coded/integer_uint32_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint32_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint32_conv Making Mercury/int3s/integer_uint32_conv.int3 Making Mercury/ints/integer_uint32_conv.int Making Mercury/javas/jmercury/integer_uint32_conv.java Making Java class files Mercury/javas/jmercury/integer_uint32_conv.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/integer_uint32_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/integer_uint32_conv.java:160: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_uint32_conv.java:302: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_uint32_conv.java:559: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_uint32_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_uint32_conv"; ^ Mercury/javas/jmercury/integer_uint32_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_uint32_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_uint32_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_uint32_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_uint32_conv.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/integer_uint32_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[16]; ^ Mercury/javas/jmercury/integer_uint32_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_uint32_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/integer_uint32_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint32_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint32_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_uint32_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint32_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint32_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:73: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_uint32_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:78: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_uint32_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:83: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_uint32_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:88: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_uint32_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:93: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_uint32_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:98: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_uint32_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:103: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_uint32_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:108: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_uint32_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:113: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_uint32_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:118: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_uint32_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:123: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_uint32_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:128: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_uint32_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:133: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_uint32_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:138: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_uint32_conv.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:143: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/integer_uint32_conv.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint32_conv.java:148: error: package list does not exist (list.List_1) integer_uint32_conv.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/integer_uint32_conv.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:169: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:171: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:171: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint32_conv.java:173: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:177: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:180: error: cannot find symbol java.lang.Object [] result = integer.to_uint32_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:186: error: cannot find symbol io.write_uint32_3_p_0(U_6); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:193: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:197: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:206: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:211: error: cannot find symbol Integer_6 = integer.from_uint32_1_f_0(U_4); ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:215: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:218: error: cannot find symbol io.write_uint32_3_p_0(U_4); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:222: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:224: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:224: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint32_conv.java:226: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:234: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:238: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:241: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_uint32_conv.java:246: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:249: error: package list does not exist Var_9 = (list.List_1) integer_uint32_conv.MR_scalar_common_4[15]; ^ Mercury/javas/jmercury/integer_uint32_conv.java:250: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:250: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/integer_uint32_conv.java:251: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/integer_uint32_conv.java:253: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:256: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:260: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:266: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint32_conv.java:268: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_24_24, TypeCtorInfo_20_20, Var_14, Var_15, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_uint32_conv Mercury/javas/jmercury/integer_uint32_conv.java:297: error: package integer does not exist integer_uint32_conv.do_from_integer_test_3_p_0(((integer.Integer_0) wrapper_arg_1)); ^ 100 errors gmake[3]: *** [/tmp/mmake.PPLY6T:2411: integer_uint32_conv] Error 1 gmake[3]: Target 'integer_uint32_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_uint32_conv.log] Error 1 RUNNING TEST hard_coded/integer_uint8_conv in grade java FAILED TEST hard_coded/integer_uint64_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint64_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint64_conv Making Mercury/int3s/integer_uint64_conv.int3 Making Mercury/ints/integer_uint64_conv.int Making Mercury/javas/jmercury/integer_uint64_conv.java Making Java class files Mercury/javas/jmercury/integer_uint64_conv.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/integer_uint64_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/integer_uint64_conv.java:170: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_uint64_conv.java:312: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_uint64_conv.java:569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_uint64_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_uint64_conv"; ^ Mercury/javas/jmercury/integer_uint64_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_uint64_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_uint64_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_uint64_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_uint64_conv.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/integer_uint64_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/integer_uint64_conv.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_uint64_conv.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/integer_uint64_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint64_conv.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint64_conv.java:54: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:54: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_uint64_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint64_conv.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint64_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:73: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/integer_uint64_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:78: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_uint64_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:83: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_uint64_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:88: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_uint64_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:93: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_uint64_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:98: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_uint64_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:103: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_uint64_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:108: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_uint64_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:113: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_uint64_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:118: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_uint64_conv.java:121: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:123: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/integer_uint64_conv.java:126: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:128: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/integer_uint64_conv.java:131: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:133: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/integer_uint64_conv.java:136: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:138: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/integer_uint64_conv.java:141: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:143: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/integer_uint64_conv.java:146: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:148: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/integer_uint64_conv.java:151: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:153: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[15] ^ Mercury/javas/jmercury/integer_uint64_conv.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint64_conv.java:158: error: package list does not exist (list.List_1) integer_uint64_conv.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/integer_uint64_conv.java:173: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:179: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:181: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:181: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint64_conv.java:183: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:187: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:190: error: cannot find symbol java.lang.Object [] result = integer.to_uint64_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:196: error: cannot find symbol io.write_uint64_3_p_0(U_6); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:203: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:207: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:216: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:221: error: cannot find symbol Integer_6 = integer.from_uint64_1_f_0(U_4); ^ symbol: variable integer location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:225: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:228: error: cannot find symbol io.write_uint64_3_p_0(U_4); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:232: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:234: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:234: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint64_conv.java:236: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:245: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:248: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:251: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_uint64_conv.java:256: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:259: error: package list does not exist Var_9 = (list.List_1) integer_uint64_conv.MR_scalar_common_4[17]; ^ Mercury/javas/jmercury/integer_uint64_conv.java:260: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:260: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/integer_uint64_conv.java:261: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:261: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/integer_uint64_conv.java:263: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:266: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint64_conv Mercury/javas/jmercury/integer_uint64_conv.java:270: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint64_conv 100 errors gmake[3]: *** [/tmp/mmake.TxizWh:2411: integer_uint64_conv] Error 1 gmake[3]: Target 'integer_uint64_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_uint64_conv.log] Error 1 RUNNING TEST hard_coded/integer_uint_conv in grade java FAILED TEST hard_coded/integer_uint8_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint8_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint8_conv Making Mercury/int3s/integer_uint8_conv.int3 Making Mercury/ints/integer_uint8_conv.int Making Mercury/javas/jmercury/integer_uint8_conv.java Making Java class files Mercury/javas/jmercury/integer_uint8_conv.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/integer_uint8_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/integer_uint8_conv.java:130: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_uint8_conv.java:454: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_uint8_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_uint8_conv"; ^ Mercury/javas/jmercury/integer_uint8_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_uint8_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_uint8_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_uint8_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_uint8_conv.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/integer_uint8_conv.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/integer_uint8_conv.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/integer_uint8_conv.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint8_conv.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint8_conv.java:52: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:52: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_uint8_conv.java:53: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:53: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint8_conv.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint8_conv.java:69: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_uint8_conv.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:73: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/integer_uint8_conv.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:78: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/integer_uint8_conv.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:83: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/integer_uint8_conv.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:88: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/integer_uint8_conv.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:93: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/integer_uint8_conv.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:98: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/integer_uint8_conv.java:101: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:103: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/integer_uint8_conv.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:108: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/integer_uint8_conv.java:111: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:113: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/integer_uint8_conv.java:116: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint8_conv.java:118: error: package list does not exist (list.List_1) integer_uint8_conv.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/integer_uint8_conv.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:139: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:141: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:141: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint8_conv.java:143: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:147: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:150: error: cannot find symbol java.lang.Object [] result = integer.to_uint8_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:156: error: cannot find symbol io.write_uint8_3_p_0(U_6); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:163: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:167: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:176: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:181: error: cannot find symbol Integer_6 = integer.from_uint8_1_f_0(U_4); ^ symbol: variable integer location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:185: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:188: error: cannot find symbol io.write_uint8_3_p_0(U_4); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:192: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:194: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:194: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint8_conv.java:196: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_uint8_conv Mercury/javas/jmercury/integer_uint8_conv.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:208: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:211: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:212: error: package integer does not exist integer.Integer_0 Var_45 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:214: error: package list does not exist list.List_1 Var_47 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:215: error: package integer does not exist integer.Integer_0 Var_48 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:217: error: package list does not exist list.List_1 Var_50 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:218: error: package integer does not exist integer.Integer_0 Var_51 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:220: error: package list does not exist list.List_1 Var_53 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:221: error: package integer does not exist integer.Integer_0 Var_54 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:223: error: package list does not exist list.List_1 Var_56 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:224: error: package integer does not exist integer.Integer_0 Var_57 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:226: error: package list does not exist list.List_1 Var_59 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:227: error: package integer does not exist integer.Integer_0 Var_60 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:229: error: package list does not exist list.List_1 Var_62 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:230: error: package integer does not exist integer.Integer_0 Var_63 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:232: error: package list does not exist list.List_1 Var_65 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:233: error: package integer does not exist integer.Integer_0 Var_66 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:235: error: package list does not exist list.List_1 Var_68 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:236: error: package integer does not exist integer.Integer_0 Var_69 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:238: error: package list does not exist list.List_1 Var_71 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:239: error: package integer does not exist integer.Integer_0 Var_72 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:241: error: package list does not exist list.List_1 Var_74 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:242: error: package integer does not exist integer.Integer_0 Var_75 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:244: error: package list does not exist list.List_1 Var_77 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:245: error: package integer does not exist integer.Integer_0 Var_78 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:247: error: package list does not exist list.List_1 Var_80 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:248: error: package integer does not exist integer.Integer_0 Var_81 = null; ^ Mercury/javas/jmercury/integer_uint8_conv.java:250: error: package list does not exist list.List_1 Var_83 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.3OWUBZ:2411: integer_uint8_conv] Error 1 gmake[3]: Target 'integer_uint8_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_uint8_conv.log] Error 1 RUNNING TEST hard_coded/intermod_c_code in grade java FAILED TEST hard_coded/integer_uint_conv in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint_conv.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - integer_uint_conv Making Mercury/int3s/integer_uint_conv.int3 Making Mercury/ints/integer_uint_conv.int Making Mercury/javas/jmercury/integer_uint_conv.java Making Java class files Mercury/javas/jmercury/integer_uint_conv.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/integer_uint_conv.java:79: error: package integer does not exist integer.Integer_0 Integer_4) ^ Mercury/javas/jmercury/integer_uint_conv.java:452: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/integer_uint_conv.java:709: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/integer_uint_conv.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "integer_uint_conv"; ^ Mercury/javas/jmercury/integer_uint_conv.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/integer_uint_conv.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/integer_uint_conv.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/integer_uint_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/integer_uint_conv.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/integer_uint_conv.java:38: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/integer_uint_conv.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/integer_uint_conv.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint_conv.java:46: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:46: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint_conv.java:53: error: cannot find symbol ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ symbol: variable integer location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:53: error: illegal start of type ((java.lang.Object) (integer.integer__type_ctor_info_integer_0)), ^ Mercury/javas/jmercury/integer_uint_conv.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/integer_uint_conv.java:55: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:55: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/integer_uint_conv.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:88: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:90: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:90: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint_conv.java:92: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Integer_4))); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:96: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:99: error: cannot find symbol java.lang.Object [] result = integer.to_uint_2_p_0(Integer_4); ^ symbol: variable integer location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:105: error: cannot find symbol io.write_uint_3_p_0(U_6); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:112: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:116: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:125: error: package integer does not exist integer.Integer_0 Integer_6 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:130: error: cannot find symbol Integer_6 = integer.from_uint_1_f_0(U_4); ^ symbol: variable integer location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:134: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:137: error: cannot find symbol io.write_uint_3_p_0(U_4); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:141: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:143: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:143: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/integer_uint_conv.java:145: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Integer_6))); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:157: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:160: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:163: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:166: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:169: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:172: error: package list does not exist list.List_1 Var_36 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:175: error: package list does not exist list.List_1 Var_39 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:178: error: package list does not exist list.List_1 Var_42 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:181: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:184: error: package list does not exist list.List_1 Var_48 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:187: error: package list does not exist list.List_1 Var_51 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:190: error: package list does not exist list.List_1 Var_54 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:193: error: package list does not exist list.List_1 Var_57 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:196: error: package list does not exist list.List_1 Var_60 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:199: error: package list does not exist list.List_1 Var_63 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:202: error: package list does not exist list.List_1 Var_66 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:205: error: package list does not exist list.List_1 Var_69 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:211: error: package list does not exist list.List_1 Var_75 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:213: error: package list does not exist list.List_1 Var_77 = null; ^ Mercury/javas/jmercury/integer_uint_conv.java:218: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:223: error: cannot find symbol Var_25 = uint.cast_from_int_1_f_0(Var_26); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:227: error: cannot find symbol Var_28 = uint.cast_from_int_1_f_0(Var_29); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:231: error: cannot find symbol Var_31 = uint.cast_from_int_1_f_0(Var_32); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:235: error: cannot find symbol Var_34 = uint.cast_from_int_1_f_0(Var_35); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:239: error: cannot find symbol Var_37 = uint.cast_from_int_1_f_0(Var_38); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:243: error: cannot find symbol Var_40 = uint.cast_from_int_1_f_0(Var_41); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:247: error: cannot find symbol Var_43 = uint.cast_from_int_1_f_0(Var_44); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:251: error: cannot find symbol Var_46 = uint.cast_from_int_1_f_0(Var_47); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:255: error: cannot find symbol Var_49 = uint.cast_from_int_1_f_0(Var_50); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:259: error: cannot find symbol Var_52 = uint.cast_from_int_1_f_0(Var_53); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:263: error: cannot find symbol Var_55 = uint.cast_from_int_1_f_0(Var_56); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:267: error: cannot find symbol Var_58 = uint.cast_from_int_1_f_0(Var_59); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:271: error: cannot find symbol Var_61 = uint.cast_from_int_1_f_0(Var_62); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:275: error: cannot find symbol Var_64 = uint.cast_from_int_1_f_0(Var_65); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:278: error: cannot find symbol Var_68 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:281: error: cannot find symbol Var_67 = uint.cast_from_int_1_f_0(Var_68); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:284: error: cannot find symbol Var_72 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:287: error: cannot find symbol Var_71 = uint.cast_from_int_1_f_0(Var_72); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:291: error: cannot find symbol Var_73 = uint.cast_from_int_1_f_0(Var_74); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:295: error: cannot find symbol Var_76 = uint.max_uint_0_f_0(); ^ symbol: variable uint location: class integer_uint_conv Mercury/javas/jmercury/integer_uint_conv.java:297: error: package list does not exist Var_77 = (list.List_1) integer_uint_conv.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/integer_uint_conv.java:299: error: package list.List_1 does not exist Var_75 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:305: error: package list.List_1 does not exist Var_69 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:311: error: package list.List_1 does not exist Var_66 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:317: error: package list.List_1 does not exist Var_63 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:323: error: package list.List_1 does not exist Var_60 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:329: error: package list.List_1 does not exist Var_57 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:335: error: package list.List_1 does not exist Var_54 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/integer_uint_conv.java:341: error: package list.List_1 does not exist Var_51 = new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.HID3rp:2411: integer_uint_conv] Error 1 gmake[3]: Target 'integer_uint_conv.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: integer_uint_conv.log] Error 1 RUNNING TEST hard_coded/intermod_foreign_type in grade java FAILED TEST hard_coded/intermod_c_code in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_c_code.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_c_code Making Mercury/int3s/intermod_c_code.int3 Making Mercury/int3s/intermod_c_code_helper_1.int3 Making Mercury/ints/intermod_c_code_helper_1.int Making Mercury/ints/intermod_c_code.int Making Mercury/opts/intermod_c_code_helper_1.opt Making Mercury/opts/intermod_c_code.opt Making Mercury/javas/jmercury/intermod_c_code.java Making Mercury/javas/jmercury/intermod_c_code_helper_1.java Making Java class files Mercury/javas/jmercury/intermod_c_code.java:33: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/intermod_c_code.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_c_code"; ^ Mercury/javas/jmercury/intermod_c_code.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_c_code.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_c_code.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_c_code.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_c_code.java:33: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_c_code.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_c_code.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code.java:58: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/intermod_c_code.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_c_code.java:72: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_c_code.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:77: error: package io does not exist io.Text_output_stream_0 Var_10 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:78: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_12 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:79: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_14 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:80: error: package univ does not exist univ.Univ_0 Var_16 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:81: error: package ops does not exist ops.Priority_0 Var_17 = null; ^ Mercury/javas/jmercury/intermod_c_code.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T; ^ Mercury/javas/jmercury/intermod_c_code.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_In_1; ^ Mercury/javas/jmercury/intermod_c_code.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U; ^ Mercury/javas/jmercury/intermod_c_code.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_Out_1; ^ Mercury/javas/jmercury/intermod_c_code.java:104: error: cannot find symbol Var_12 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:107: error: package io does not exist Var_10 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_c_code.java:111: error: package deconstruct does not exist Var_14 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/intermod_c_code.java:114: error: cannot find symbol Var_16 = univ.type_to_univ_2_p_1(TypeInfo_9_9, Y_4); ^ symbol: variable univ location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:116: error: package ops does not exist Var_17 = (ops.Priority_0) intermod_c_code.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/intermod_c_code.java:118: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_15, Var_10, Var_14, Var_16, Var_17); ^ symbol: variable stream__string_writer location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code.java:122: error: cannot find symbol io.write_char_4_p_0(Var_10, Var_19); ^ symbol: variable io location: class intermod_c_code Mercury/javas/jmercury/intermod_c_code_helper_1.java:20: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:21: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:21: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:22: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:22: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:26: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:28: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:28: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:29: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:29: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:33: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:35: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:35: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:36: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:36: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_c_code_helper_1 Mercury/javas/jmercury/intermod_c_code_helper_1.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_5 = null; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_In_1; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_Out_1; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_3 = null; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_In_1; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U; ^ Mercury/javas/jmercury/intermod_c_code_helper_1.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_Out_1; ^ 80 errors gmake[3]: *** [/tmp/mmake.EakldI:2411: intermod_c_code] Error 1 gmake[3]: Target 'intermod_c_code.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_c_code.log] Error 1 RUNNING TEST hard_coded/intermod_may_export_body in grade java FAILED TEST hard_coded/intermod_foreign_type in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_foreign_type.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_foreign_type Making Mercury/int3s/intermod_foreign_type.int3 Making Mercury/int3s/intermod_foreign_type_helper_1.int3 Making Mercury/ints/intermod_foreign_type_helper_1.int Making Mercury/ints/intermod_foreign_type.int Making Mercury/opts/intermod_foreign_type_helper_1.opt Making Mercury/opts/intermod_foreign_type.opt Making Mercury/javas/jmercury/intermod_foreign_type.java Making Mercury/javas/jmercury/intermod_foreign_type_helper_1.java Making Java class files Mercury/javas/jmercury/intermod_foreign_type.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_foreign_type__field_types_coord2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_foreign_type__du_functor_desc_coord2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_foreign_type.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type__du_stag_ordered_coord2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_foreign_type__du_ptag_ordered_coord2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type__du_name_ordered_coord2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_foreign_type__type_ctor_info_coord2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:308: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_foreign_type.java:431: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_foreign_type.java:106: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:280: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_foreign_type_helper_1__field_types_coord_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_foreign_type_helper_1__du_functor_desc_coord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type_helper_1__du_stag_ordered_coord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_foreign_type_helper_1__du_ptag_ordered_coord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type_helper_1__du_name_ordered_coord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_foreign_type_helper_1__type_ctor_info_coord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:157: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_foreign_type.java:389: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_foreign_type_helper_1.java:266: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_foreign_type.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_foreign_type"; ^ Mercury/javas/jmercury/intermod_foreign_type.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_foreign_type.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_foreign_type.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_foreign_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_foreign_type.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] intermod_foreign_type__field_types_coord2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc intermod_foreign_type__du_functor_desc_coord2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/intermod_foreign_type.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type__du_stag_ordered_coord2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] intermod_foreign_type__du_ptag_ordered_coord2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] intermod_foreign_type__du_name_ordered_coord2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_foreign_type__type_ctor_info_coord2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_foreign_type.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/intermod_foreign_type.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/intermod_foreign_type.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:50: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/intermod_foreign_type.java:66: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/intermod_foreign_type.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/intermod_foreign_type.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/intermod_foreign_type.java:106: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_foreign_type.java:111: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:112: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:112: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_foreign_type.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_foreign_type.java:117: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:119: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:119: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_foreign_type.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_foreign_type.java:124: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:126: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:126: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_foreign_type.java:127: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:127: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_foreign_type.java:128: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:128: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_foreign_type.java:141: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:155: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:163: error: package io does not exist io.Text_output_stream_0 Var_24 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:164: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_26 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:165: error: package io does not exist io.Text_output_stream_0 Var_28 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:166: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_30 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:168: error: package io does not exist io.Text_output_stream_0 Var_32 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:169: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_34 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:170: error: package io does not exist io.Text_output_stream_0 Var_35 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:171: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_37 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:172: error: package io does not exist io.Text_output_stream_0 Var_39 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:173: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_41 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:175: error: package io does not exist io.Text_output_stream_0 Var_43 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:176: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_45 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:177: error: package io does not exist io.Text_output_stream_0 Var_46 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:178: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_48 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:179: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_50 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:180: error: package univ does not exist univ.Univ_0 Var_52 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:181: error: package ops does not exist ops.Priority_0 Var_53 = null; ^ Mercury/javas/jmercury/intermod_foreign_type.java:185: error: cannot find symbol Var_26 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:188: error: package io does not exist Var_24 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:193: error: cannot find symbol io.write_string_4_p_0(Var_24, Var_9); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:197: error: cannot find symbol Var_30 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:200: error: package io does not exist Var_28 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:205: error: cannot find symbol io.write_int_4_p_0(Var_28, Var_11); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:209: error: cannot find symbol Var_34 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:212: error: package io does not exist Var_32 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:217: error: cannot find symbol io.write_char_4_p_0(Var_32, Var_31); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:221: error: cannot find symbol Var_37 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:224: error: package io does not exist Var_35 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:229: error: cannot find symbol io.write_string_4_p_0(Var_35, Var_14); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:233: error: cannot find symbol Var_41 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:236: error: package io does not exist Var_39 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_foreign_type.java:241: error: cannot find symbol io.write_int_4_p_0(Var_39, Var_16); ^ symbol: variable io location: class intermod_foreign_type Mercury/javas/jmercury/intermod_foreign_type.java:245: error: cannot find symbol Var_45 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_foreign_type 100 errors gmake[3]: *** [/tmp/mmake.hWlP2m:2411: intermod_foreign_type] Error 1 gmake[3]: Target 'intermod_foreign_type.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_foreign_type.log] Error 1 RUNNING TEST hard_coded/intermod_multimode in grade java FAILED TEST hard_coded/intermod_may_export_body in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_may_export_body.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_may_export_body Making Mercury/int3s/intermod_may_export_body.int3 Making Mercury/int3s/intermod_may_export_body_helper_1.int3 Making Mercury/ints/intermod_may_export_body_helper_1.int Making Mercury/ints/intermod_may_export_body.int Making Mercury/opts/intermod_may_export_body.opt Making Mercury/opts/intermod_may_export_body_helper_1.opt Making Mercury/javas/jmercury/intermod_may_export_body_helper_1.java Making Mercury/javas/jmercury/intermod_may_export_body.java Making Java class files Mercury/javas/jmercury/intermod_may_export_body.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_may_export_body"; ^ Mercury/javas/jmercury/intermod_may_export_body.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_may_export_body.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_may_export_body.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_may_export_body.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_may_export_body.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_may_export_body.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_may_export_body.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_may_export_body.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_may_export_body.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/intermod_may_export_body.java:83: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:83: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_may_export_body.java:85: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, java.lang.Integer.valueOf(A_4)); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body.java:88: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, java.lang.Integer.valueOf(B_5)); ^ symbol: variable io location: class intermod_may_export_body Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:25: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:26: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:26: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:27: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:27: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:31: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:33: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:33: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:34: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:34: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_may_export_body_helper_1 Mercury/javas/jmercury/intermod_may_export_body_helper_1.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Note: Mercury/javas/jmercury/intermod_may_export_body_helper_1.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 50 errors gmake[3]: *** [/tmp/mmake.LusawD:2411: intermod_may_export_body] Error 1 gmake[3]: Target 'intermod_may_export_body.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_may_export_body.log] Error 1 RUNNING TEST hard_coded/intermod_poly_mode in grade java FAILED TEST hard_coded/intermod_multimode in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_multimode.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_multimode Making Mercury/int3s/intermod_multimode.int3 Making Mercury/int3s/intermod_multimode_helper_1.int3 Making Mercury/ints/intermod_multimode_helper_1.int Making Mercury/ints/intermod_multimode.int Making Mercury/opts/intermod_multimode.opt Making Mercury/opts/intermod_multimode_helper_1.opt Making Mercury/javas/jmercury/intermod_multimode_helper_1.java Making Mercury/javas/jmercury/intermod_multimode.java Making Java class files Mercury/javas/jmercury/intermod_multimode_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] intermod_multimode_helper_1__enum_ordinal_ordered_determinism_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] intermod_multimode_helper_1__enum_name_ordered_determinism_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct intermod_multimode_helper_1__type_ctor_info_determinism_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:580: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:581: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:472: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:536: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_multimode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_multimode"; ^ Mercury/javas/jmercury/intermod_multimode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_multimode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_multimode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_multimode.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_multimode.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_multimode.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_multimode.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_multimode.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_multimode.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_multimode.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_multimode.java:79: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_multimode.java:79: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:79: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_multimode.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_45_45 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:91: error: package io does not exist io.Text_output_stream_0 Var_47 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:92: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_49 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:94: error: package io does not exist io.Text_output_stream_0 Var_52 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:95: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_54 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:97: error: package io does not exist io.Text_output_stream_0 Var_57 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:98: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_59 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:100: error: package io does not exist io.Text_output_stream_0 Var_69 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:101: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_71 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:103: error: package io does not exist io.Text_output_stream_0 Var_81 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:104: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_83 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:106: error: package io does not exist io.Text_output_stream_0 Var_93 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:107: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_95 = null; ^ Mercury/javas/jmercury/intermod_multimode.java:115: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_19))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:119: error: cannot find symbol Var_49 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:122: error: package io does not exist Var_47 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:127: error: cannot find symbol io.write_char_4_p_0(Var_47, Var_46); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:131: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:135: error: cannot find symbol Var_54 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:138: error: package io does not exist Var_52 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:143: error: cannot find symbol io.write_char_4_p_0(Var_52, Var_51); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:147: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_25))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:151: error: cannot find symbol Var_59 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:154: error: package io does not exist Var_57 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:159: error: cannot find symbol io.write_char_4_p_0(Var_57, Var_56); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:163: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:167: error: cannot find symbol Var_71 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:170: error: package io does not exist Var_69 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:175: error: cannot find symbol io.write_char_4_p_0(Var_69, Var_68); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:179: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_31))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:183: error: cannot find symbol Var_83 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:186: error: package io does not exist Var_81 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:191: error: cannot find symbol io.write_char_4_p_0(Var_81, Var_80); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:195: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_34))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:199: error: cannot find symbol Var_95 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:202: error: package io does not exist Var_93 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_multimode.java:207: error: cannot find symbol io.write_char_4_p_0(Var_93, Var_92); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:211: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_43_43, ((java.lang.Object) (Var_37))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:214: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode.java:240: error: package jmercury.runtime does not exist TypeCtorInfo_45_45 = jmercury.runtime.TypeInfo_Struct.maybe_new(intermod_multimode_helper_1.intermod_multimode_helper_1__type_ctor_info_determinism_0); ^ Mercury/javas/jmercury/intermod_multimode.java:242: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_45_45, ((java.lang.Object) (Det_16))); ^ symbol: variable io location: class intermod_multimode Mercury/javas/jmercury/intermod_multimode_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/intermod_multimode_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc intermod_multimode_helper_1__enum_functor_desc_determinism_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ 100 errors gmake[3]: *** [/tmp/mmake.lJ1rTh:2411: intermod_multimode] Error 1 gmake[3]: Target 'intermod_multimode.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_multimode.log] Error 1 RUNNING TEST hard_coded/intermod_pragma_clause in grade java FAILED TEST hard_coded/intermod_poly_mode in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_poly_mode.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_poly_mode Making Mercury/int3s/intermod_poly_mode.int3 Making Mercury/int3s/intermod_poly_mode_helper_1.int3 Making Mercury/ints/intermod_poly_mode.int Making Mercury/ints/intermod_poly_mode_helper_1.int Making Mercury/opts/intermod_poly_mode_helper_1.opt Making Mercury/opts/intermod_poly_mode.opt Making Mercury/javas/jmercury/intermod_poly_mode.java Making Mercury/javas/jmercury/intermod_poly_mode_helper_1.java Making Java class files Mercury/javas/jmercury/intermod_poly_mode.java:33: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/intermod_poly_mode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_poly_mode"; ^ Mercury/javas/jmercury/intermod_poly_mode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_poly_mode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_poly_mode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_poly_mode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_poly_mode.java:33: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_poly_mode.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_poly_mode.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_poly_mode.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_poly_mode.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_poly_mode.java:58: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/intermod_poly_mode.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_poly_mode.java:72: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_poly_mode.java:76: error: package io does not exist io.Text_output_stream_0 Var_9 = null; ^ Mercury/javas/jmercury/intermod_poly_mode.java:77: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_11 = null; ^ Mercury/javas/jmercury/intermod_poly_mode.java:78: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_13 = null; ^ Mercury/javas/jmercury/intermod_poly_mode.java:79: error: package univ does not exist univ.Univ_0 Var_15 = null; ^ Mercury/javas/jmercury/intermod_poly_mode.java:80: error: package ops does not exist ops.Priority_0 Var_16 = null; ^ Mercury/javas/jmercury/intermod_poly_mode.java:97: error: cannot find symbol Var_11 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:100: error: package io does not exist Var_9 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_poly_mode.java:104: error: package deconstruct does not exist Var_13 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/intermod_poly_mode.java:107: error: cannot find symbol Var_15 = univ.type_to_univ_2_p_1(TypeCtorInfo_8_8, java.lang.Integer.valueOf(New_4)); ^ symbol: variable univ location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:109: error: package ops does not exist Var_16 = (ops.Priority_0) intermod_poly_mode.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/intermod_poly_mode.java:111: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_14, Var_9, Var_13, Var_15, Var_16); ^ symbol: variable stream__string_writer location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode.java:115: error: cannot find symbol io.write_char_4_p_0(Var_9, Var_18); ^ symbol: variable io location: class intermod_poly_mode Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:20: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:21: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:21: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:22: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:22: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:26: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:28: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:28: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:29: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:29: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:33: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:35: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:35: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:36: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:36: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_poly_mode_helper_1 Mercury/javas/jmercury/intermod_poly_mode_helper_1.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ 64 errors gmake[3]: *** [/tmp/mmake.jKy04F:2411: intermod_poly_mode] Error 1 gmake[3]: Target 'intermod_poly_mode.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_poly_mode.log] Error 1 RUNNING TEST hard_coded/intermod_try_goal in grade java FAILED TEST hard_coded/intermod_pragma_clause in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_pragma_clause.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_pragma_clause Making Mercury/int3s/intermod_pragma_clause.int3 Making Mercury/int3s/intermod_pragma_clause_helper_1.int3 Making Mercury/ints/intermod_pragma_clause.int Making Mercury/ints/intermod_pragma_clause_helper_1.int Making Mercury/opts/intermod_pragma_clause_helper_1.opt Making Mercury/opts/intermod_pragma_clause.opt Making Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java Making Mercury/javas/jmercury/intermod_pragma_clause.java Making Java class files Mercury/javas/jmercury/intermod_pragma_clause.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_pragma_clause"; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_pragma_clause.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_pragma_clause.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_pragma_clause.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_pragma_clause.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_pragma_clause.java:69: error: package io does not exist io.Text_output_stream_0 Var_11 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:70: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_13 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:72: error: package io does not exist io.Text_output_stream_0 Var_15 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:73: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_17 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:74: error: package io does not exist io.Text_output_stream_0 Var_18 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:75: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_20 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:77: error: package io does not exist io.Text_output_stream_0 Var_22 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:78: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_24 = null; ^ Mercury/javas/jmercury/intermod_pragma_clause.java:81: error: cannot find symbol Var_13 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:84: error: package io does not exist Var_11 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_pragma_clause.java:89: error: cannot find symbol io.write_int_4_p_0(Var_11, X_4); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:93: error: cannot find symbol Var_17 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:96: error: package io does not exist Var_15 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_pragma_clause.java:101: error: cannot find symbol io.write_char_4_p_0(Var_15, Var_14); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:105: error: cannot find symbol Var_20 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:108: error: package io does not exist Var_18 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_pragma_clause.java:113: error: cannot find symbol io.write_int_4_p_0(Var_18, Y_5); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:117: error: cannot find symbol Var_24 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause.java:120: error: package io does not exist Var_22 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_pragma_clause.java:125: error: cannot find symbol io.write_char_4_p_0(Var_22, Var_21); ^ symbol: variable io location: class intermod_pragma_clause Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:20: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:21: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:21: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:22: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:22: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:26: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:28: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:28: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:29: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:29: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:33: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:35: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:35: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:36: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:36: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_pragma_clause_helper_1 Mercury/javas/jmercury/intermod_pragma_clause_helper_1.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ 65 errors gmake[3]: *** [/tmp/mmake.aNjhH5:2411: intermod_pragma_clause] Error 1 gmake[3]: Target 'intermod_pragma_clause.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_pragma_clause.log] Error 1 RUNNING TEST hard_coded/intermod_type_qual in grade java FAILED TEST hard_coded/intermod_try_goal in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_try_goal.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_try_goal Making Mercury/int3s/intermod_try_goal.int3 Making Mercury/int3s/intermod_try_goal_helper_1.int3 Making Mercury/ints/intermod_try_goal_helper_1.int Making Mercury/ints/intermod_try_goal.int Making Mercury/opts/intermod_try_goal.opt Making Mercury/opts/intermod_try_goal_helper_1.opt Making Mercury/javas/jmercury/intermod_try_goal.java Making Mercury/javas/jmercury/intermod_try_goal_helper_1.java intermod_try_goal.m:023: In predicate `thrower'/2: intermod_try_goal.m:023: warning: the first argument and the second argument, intermod_try_goal.m:023: represented by the state variable `!IO', could be intermod_try_goal.m:023: deleted, because they are not used, and because the intermod_try_goal.m:023: final value is always the same as the initial value. Making Java class files Mercury/javas/jmercury/intermod_try_goal.java:132: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__pseudo_1__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_4 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:319: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:337: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_try_goal.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_try_goal"; ^ Mercury/javas/jmercury/intermod_try_goal.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_try_goal.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_try_goal.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_try_goal.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_try_goal.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_try_goal.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal.java:63: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:63: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/intermod_try_goal.java:64: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:64: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/intermod_try_goal.java:85: error: package io does not exist io.Text_output_stream_0 Var_9 = null; ^ Mercury/javas/jmercury/intermod_try_goal.java:86: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_11 = null; ^ Mercury/javas/jmercury/intermod_try_goal.java:93: error: cannot find symbol Var_11 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:96: error: package io does not exist Var_9 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_try_goal.java:101: error: cannot find symbol io.write_string_4_p_0(Var_9, Var_8); ^ symbol: variable io location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_try_goal.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/intermod_try_goal.java:126: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_7_7, ((java.lang.Object) (Var_6))); ^ symbol: variable exception location: class intermod_try_goal Mercury/javas/jmercury/intermod_try_goal_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__pseudo_1__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:23: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:25: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:25: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:26: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:26: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:30: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:34: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:36: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:37: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:37: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:38: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:38: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:42: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:44: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_4 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:65: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) ops.base_typeclass_info_ops__op_table__arity1__ops__mercury_op_table__arity0__)), ^ symbol: variable ops location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ops.ops__type_ctor_info_mercury_op_table_0))) ^ symbol: variable ops location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ops.ops__type_ctor_info_mercury_op_table_0))) ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:70: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:76: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:83: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:96: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:96: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:97: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:97: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:109: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:109: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/intermod_try_goal_helper_1.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class intermod_try_goal_helper_1 Mercury/javas/jmercury/intermod_try_goal_helper_1.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ 100 errors gmake[3]: *** [/tmp/mmake.CriDV9:2411: intermod_try_goal] Error 1 gmake[3]: Target 'intermod_try_goal.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_try_goal.log] Error 1 RUNNING TEST hard_coded/intermod_unused_args in grade java FAILED TEST hard_coded/intermod_type_qual in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_type_qual.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_type_qual Making Mercury/int3s/intermod_type_qual.int3 Making Mercury/int3s/intermod_type_qual_helper_1.int3 Making Mercury/ints/intermod_type_qual_helper_1.int Making Mercury/ints/intermod_type_qual.int Making Mercury/opts/intermod_type_qual.opt Making Mercury/opts/intermod_type_qual_helper_1.opt Making Mercury/javas/jmercury/intermod_type_qual_helper_1.java Making Mercury/javas/jmercury/intermod_type_qual.java Making Java class files Mercury/javas/jmercury/intermod_type_qual.java:33: 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/intermod_type_qual.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[1]; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:16: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:55: error: package list does not exist list.List_1 L_4) ^ Mercury/javas/jmercury/intermod_type_qual.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_type_qual"; ^ Mercury/javas/jmercury/intermod_type_qual.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_type_qual.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_type_qual.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_type_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_type_qual.java:33: 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/intermod_type_qual.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[1]; ^ Mercury/javas/jmercury/intermod_type_qual.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual.java:45: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual.java:52: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_type_qual.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual.java:59: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/intermod_type_qual.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/intermod_type_qual.java:63: error: package list does not exist (list.List_1) intermod_type_qual.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/intermod_type_qual.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_type_qual.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class intermod_type_qual Mercury/javas/jmercury/intermod_type_qual.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_type_qual.java:77: error: package list does not exist list.List_1 Var_6 = (list.List_1) intermod_type_qual.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/intermod_type_qual.java:77: error: package list does not exist list.List_1 Var_6 = (list.List_1) intermod_type_qual.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:16: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_2 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:21: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:22: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:22: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:23: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:23: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:27: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:29: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:29: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:30: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:30: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:34: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:36: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:36: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:41: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:62: error: package io does not exist io.Text_output_stream_0 Var_13 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:63: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_15 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:64: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_17 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:65: error: package univ does not exist univ.Univ_0 Var_19 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:66: error: package ops does not exist ops.Priority_0 Var_20 = null; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:70: error: cannot find symbol Var_11 = list.ulength_acc_3_p_0(TypeInfo_for_T_9, L_4, Var_12); ^ symbol: variable list location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:83: error: cannot find symbol TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:83: error: package jmercury.runtime does not exist TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:85: error: cannot find symbol Var_15 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:88: error: package io does not exist Var_13 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:92: error: package deconstruct does not exist Var_17 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:95: error: cannot find symbol Var_19 = univ.type_to_univ_2_p_1(TypeCtorInfo_10_10, java.lang.Integer.valueOf(Var_8)); ^ symbol: variable univ location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:97: error: package ops does not exist Var_20 = (ops.Priority_0) intermod_type_qual_helper_1.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/intermod_type_qual_helper_1.java:99: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_18, Var_13, Var_17, Var_19, Var_20); ^ symbol: variable stream__string_writer location: class intermod_type_qual_helper_1 Mercury/javas/jmercury/intermod_type_qual_helper_1.java:103: error: cannot find symbol io.write_char_4_p_0(Var_13, Var_22); ^ symbol: variable io location: class intermod_type_qual_helper_1 78 errors gmake[3]: *** [/tmp/mmake.c0Slhk:2411: intermod_type_qual] Error 1 gmake[3]: Target 'intermod_type_qual.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_type_qual.log] Error 1 RUNNING TEST hard_coded/io_globals_deadlock in grade java FAILED TEST hard_coded/io_globals_deadlock in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_globals_deadlock.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - io_globals_deadlock Making Mercury/int3s/io_globals_deadlock.int3 Making Mercury/ints/io_globals_deadlock.int Making Mercury/javas/jmercury/io_globals_deadlock.java Making Java class files Mercury/javas/jmercury/io_globals_deadlock.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:171: error: package univ does not exist univ.Univ_0 STATE_VARIABLE_Univ_0_5) ^ Mercury/javas/jmercury/io_globals_deadlock.java:169: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/io_globals_deadlock.java:252: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/io_globals_deadlock.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "io_globals_deadlock"; ^ Mercury/javas/jmercury/io_globals_deadlock.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/io_globals_deadlock.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/io_globals_deadlock.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/io_globals_deadlock.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/io_globals_deadlock.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:43: error: cannot find symbol ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ symbol: variable unit location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:43: error: illegal start of type ((java.lang.Object) (unit.unit__type_ctor_info_unit_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:45: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:45: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/io_globals_deadlock.java:58: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:58: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ Mercury/javas/jmercury/io_globals_deadlock.java:59: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:59: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ Mercury/javas/jmercury/io_globals_deadlock.java:68: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/io_globals_deadlock.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/io_globals_deadlock.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/io_globals_deadlock.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:86: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:88: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:89: error: package univ does not exist univ.Univ_0 Globals_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:91: error: package univ does not exist univ.Univ_0 Var_10 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_40 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:101: error: cannot find symbol Var_10 = univ.univ_1_f_1(TypeCtorInfo_26_26, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:104: error: cannot find symbol io.set_globals_3_p_0(Var_10); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:107: error: cannot find symbol TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ symbol: variable unit location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:107: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(unit.unit__type_ctor_info_unit_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:109: error: cannot find symbol Result_4 = exception.try_io_4_p_0(TypeCtorInfo_30_30, Var_13); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:116: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:124: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:128: error: cannot find symbol Globals_6 = io.get_globals_3_p_0(); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:131: error: cannot find symbol conv0_FinalValue_7 = univ.det_univ_to_type_2_p_0(TypeCtorInfo_26_26, Globals_6); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:136: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:138: error: package string__parse_util does not exist Var_40 = (string__parse_util.String_format_flags_0) io_globals_deadlock.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/io_globals_deadlock.java:140: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_40, FinalValue_7); ^ symbol: variable string__format location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:143: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:147: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:174: error: package univ does not exist univ.Univ_0 STATE_VARIABLE_Univ_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:176: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:180: error: cannot find symbol java.lang.Object [] result = univ.univ_to_type_2_p_0(TypeCtorInfo_11_11, STATE_VARIABLE_Univ_0_5); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:198: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_7))); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:203: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:207: error: cannot find symbol STATE_VARIABLE_Univ_6 = univ.univ_1_f_1(TypeCtorInfo_13_13, java.lang.Integer.valueOf(Var_9)); ^ symbol: variable univ location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:213: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/io_globals_deadlock.java:217: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Var_10))); ^ symbol: variable exception location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:230: error: cannot find symbol io.update_globals_3_p_0(Var_7); ^ symbol: variable io location: class io_globals_deadlock Mercury/javas/jmercury/io_globals_deadlock.java:241: error: package univ does not exist univ.Univ_0 conv0_STATE_VARIABLE_Univ_6 = null; ^ Mercury/javas/jmercury/io_globals_deadlock.java:244: error: package univ does not exist conv0_STATE_VARIABLE_Univ_6 = io_globals_deadlock.update_1_2_p_0(((univ.Univ_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/io_globals_deadlock.java:281: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 75 errors gmake[3]: *** [/tmp/mmake.2tD7ME:2411: io_globals_deadlock] Error 1 gmake[3]: Target 'io_globals_deadlock.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: io_globals_deadlock.log] Error 1 RUNNING TEST hard_coded/java_print_foreign in grade java FAILED TEST hard_coded/java_print_foreign in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_print_foreign.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_print_foreign Making Mercury/int3s/java_print_foreign.int3 Making Mercury/ints/java_print_foreign.int Making Mercury/javas/jmercury/java_print_foreign.java Making Java class files Mercury/javas/jmercury/java_print_foreign.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_bool_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_long_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_local_date_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_uuid_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:533: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:563: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:593: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:623: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:653: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:683: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:713: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:743: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_print_foreign.java:999: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/java_print_foreign.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "java_print_foreign"; ^ Mercury/javas/jmercury/java_print_foreign.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/java_print_foreign.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/java_print_foreign.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/java_print_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/java_print_foreign.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_bool_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_foreign_long_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_local_date_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_print_foreign__type_ctor_info_uuid_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_print_foreign.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/java_print_foreign.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_print_foreign.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_print_foreign.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:217: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:242: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_bool_0); ^ Mercury/javas/jmercury/java_print_foreign.java:244: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_25_25, java.lang.Boolean.valueOf(Var_6)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:255: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_char_0); ^ Mercury/javas/jmercury/java_print_foreign.java:257: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_26_26, java.lang.Character.valueOf(Var_8)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:268: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_int_0); ^ Mercury/javas/jmercury/java_print_foreign.java:270: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_27_27, java.lang.Integer.valueOf(Var_10)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:281: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_long_0); ^ Mercury/javas/jmercury/java_print_foreign.java:283: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, java.lang.Long.valueOf(Var_12)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:294: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_float_0); ^ Mercury/javas/jmercury/java_print_foreign.java:296: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Float.valueOf(Var_14)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:307: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_foreign_double_0); ^ Mercury/javas/jmercury/java_print_foreign.java:309: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_30_30, java.lang.Double.valueOf(Var_16)); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:320: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_uuid_0); ^ Mercury/javas/jmercury/java_print_foreign.java:322: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:334: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:345: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_print_foreign.java_print_foreign__type_ctor_info_local_date_0); ^ Mercury/javas/jmercury/java_print_foreign.java:347: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:359: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:538: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:543: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:554: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:568: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:573: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:584: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:598: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:603: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:614: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:628: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:633: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign Mercury/javas/jmercury/java_print_foreign.java:644: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:658: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/java_print_foreign.java:663: error: cannot find symbol HeadVar__1_1 = builtin.__Compare____c_pointer_0_0(Cast_HeadVar1_4, Cast_HeadVar2_5); ^ symbol: variable builtin location: class java_print_foreign 100 errors gmake[3]: *** [/tmp/mmake.DnuQ6d:2411: java_print_foreign] Error 1 gmake[3]: Target 'java_print_foreign.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: java_print_foreign.log] Error 1 RUNNING TEST hard_coded/java_rtti_bug in grade java FAILED TEST hard_coded/intermod_unused_args in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-intermodule-optimization --intermodule-analysis --optimise-unused-args '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_unused_args.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-intermodule-optimization --intermodule-analysis --optimise-unused-args '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - intermod_unused_args Making Mercury/int3s/intermod_unused_args.int3 Making Mercury/int3s/intermod_unused_args_helper_1.int3 Making Mercury/ints/intermod_unused_args_helper_1.int Making Mercury/ints/intermod_unused_args.int Making Mercury/opts/intermod_unused_args_helper_1.opt Making Mercury/opts/intermod_unused_args.opt Making Mercury/analyses/intermod_unused_args_helper_1.analysis Making Mercury/analyses/intermod_unused_args.analysis Making Mercury/javas/jmercury/intermod_unused_args.java Making Mercury/javas/jmercury/intermod_unused_args_helper_1.java Making Java class files Mercury/javas/jmercury/intermod_unused_args.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_unused_args"; ^ Mercury/javas/jmercury/intermod_unused_args.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_unused_args.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_unused_args.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_unused_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_unused_args.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_unused_args.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_unused_args.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_unused_args.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_unused_args.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = null; ^ Mercury/javas/jmercury/intermod_unused_args.java:70: error: package io does not exist io.Text_output_stream_0 Var_11 = null; ^ Mercury/javas/jmercury/intermod_unused_args.java:71: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_13 = null; ^ Mercury/javas/jmercury/intermod_unused_args.java:72: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_15 = null; ^ Mercury/javas/jmercury/intermod_unused_args.java:78: error: cannot find symbol TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:78: error: package jmercury.runtime does not exist TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/intermod_unused_args.java:80: error: cannot find symbol Var_13 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:83: error: package io does not exist Var_11 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_unused_args.java:87: error: package deconstruct does not exist Var_15 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/intermod_unused_args.java:90: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_112_114_105_110_116_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_5_p_1(TypeCtorInfo_10_10, TypeClassInfo_for_writer_16, Var_11, Var_15, java.lang.Integer.valueOf(X_4)); ^ symbol: variable stream__string_writer location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args.java:94: error: cannot find symbol io.write_char_4_p_0(Var_11, Var_17); ^ symbol: variable io location: class intermod_unused_args Mercury/javas/jmercury/intermod_unused_args_helper_1.java:20: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:21: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:21: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:22: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:22: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:26: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:28: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:28: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:29: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:29: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:33: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:35: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:35: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:36: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:36: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_unused_args_helper_1.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_unused_args_helper_1 Mercury/javas/jmercury/intermod_unused_args_helper_1.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ 56 errors gmake[3]: *** [/tmp/mmake.2ZWUVc:2411: intermod_unused_args] Error 1 gmake[3]: Target 'intermod_unused_args.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: intermod_unused_args.log] Error 1 RUNNING TEST hard_coded/java_test in grade java FAILED TEST hard_coded/java_rtti_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_rtti_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_rtti_bug Making Mercury/int3s/java_rtti_bug.int3 Making Mercury/ints/java_rtti_bug.int Making Mercury/javas/jmercury/java_rtti_bug.java Making Java class files Mercury/javas/jmercury/java_rtti_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_bar_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_bar_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_baz_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_baz_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_baz_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_baz_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_baz_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_baz_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct java_rtti_bug__ti_bar_1java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:233: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/java_rtti_bug.java:643: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/java_rtti_bug.java:626: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/java_rtti_bug.java:660: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/java_rtti_bug.java:282: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/java_rtti_bug.java:280: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_rtti_bug.java:324: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/java_rtti_bug.java:322: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_rtti_bug.java:364: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/java_rtti_bug.java:407: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/java_rtti_bug.java:446: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/java_rtti_bug.java:523: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/java_rtti_bug.java:565: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/java_rtti_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "java_rtti_bug"; ^ Mercury/javas/jmercury/java_rtti_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/java_rtti_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/java_rtti_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/java_rtti_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/java_rtti_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_bar_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_bar_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_baz_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_baz_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_baz_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_baz_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_baz_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_baz_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct java_rtti_bug__ti_bar_1java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] java_rtti_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc java_rtti_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/java_rtti_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] java_rtti_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] java_rtti_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/java_rtti_bug.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct java_rtti_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/java_rtti_bug.java:59: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/java_rtti_bug.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:72: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:80: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/java_rtti_bug.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_rtti_bug.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:111: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/java_rtti_bug.java:116: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:124: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:132: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/java_rtti_bug.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_rtti_bug.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:165: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/java_rtti_bug.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(java_rtti_bug.java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/java_rtti_bug.java:175: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) java_rtti_bug.java_rtti_bug__ti_bar_1java_rtti_bug__ti_baz_1builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/java_rtti_bug.java:180: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:188: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:196: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:210: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/java_rtti_bug.java:215: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/java_rtti_bug.java:218: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/java_rtti_bug.java:233: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/java_rtti_bug.java:240: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/java_rtti_bug.java:241: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(java_rtti_bug.java_rtti_bug__type_ctor_info_baz_1))), ^ Mercury/javas/jmercury/java_rtti_bug.java:242: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class java_rtti_bug Mercury/javas/jmercury/java_rtti_bug.java:242: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/java_rtti_bug.java:245: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/java_rtti_bug.java:246: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(java_rtti_bug.java_rtti_bug__type_ctor_info_bar_1))), ^ Mercury/javas/jmercury/java_rtti_bug.java:247: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(java_rtti_bug.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/java_rtti_bug.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(java_rtti_bug.java_rtti_bug__type_ctor_info_foo_0); ^ Note: Mercury/javas/jmercury/java_rtti_bug.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.sHY3T1:2411: java_rtti_bug] Error 1 gmake[3]: Target 'java_rtti_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: java_rtti_bug.log] Error 1 RUNNING TEST hard_coded/join_list in grade java FAILED TEST hard_coded/java_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - java_test Making Mercury/int3s/java_test.int3 Making Mercury/ints/java_test.int Making Mercury/javas/jmercury/java_test.java Making Java class files Mercury/javas/jmercury/java_test.java:21: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "java_test"; ^ Mercury/javas/jmercury/java_test.java:22: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/java_test.java:23: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/java_test.java:24: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class java_test Mercury/javas/jmercury/java_test.java:25: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class java_test Mercury/javas/jmercury/java_test.java:31: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/java_test.java:32: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_test Mercury/javas/jmercury/java_test.java:32: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class java_test Mercury/javas/jmercury/java_test.java:33: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_test Mercury/javas/jmercury/java_test.java:33: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class java_test Mercury/javas/jmercury/java_test.java:34: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ 11 errors gmake[3]: *** [/tmp/mmake.VZZtPJ:2411: java_test] Error 1 gmake[3]: Target 'java_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: java_test.log] Error 1 RUNNING TEST hard_coded/lco_double in grade java FAILED TEST hard_coded/join_list in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - join_list.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - join_list Making Mercury/int3s/join_list.int3 Making Mercury/ints/join_list.int Making Mercury/javas/jmercury/join_list.java Making Java class files Mercury/javas/jmercury/join_list.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/join_list.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/join_list.java:258: error: package list does not exist list.List_1 Pieces_4) ^ Mercury/javas/jmercury/join_list.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "join_list"; ^ Mercury/javas/jmercury/join_list.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/join_list.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/join_list.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class join_list Mercury/javas/jmercury/join_list.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class join_list Mercury/javas/jmercury/join_list.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/join_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class join_list Mercury/javas/jmercury/join_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class join_list Mercury/javas/jmercury/join_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class join_list Mercury/javas/jmercury/join_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class join_list Mercury/javas/jmercury/join_list.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/join_list.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/join_list.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/join_list.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/join_list.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:41: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:46: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/join_list.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:51: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:56: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/join_list.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:61: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/join_list.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:66: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/join_list.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:71: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/join_list.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:76: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:81: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/join_list.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:86: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/join_list.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:91: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:96: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/join_list.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:101: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/join_list.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:106: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/join_list.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:111: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[13] ^ Mercury/javas/jmercury/join_list.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:116: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[14] ^ Mercury/javas/jmercury/join_list.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:121: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[15] ^ Mercury/javas/jmercury/join_list.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:126: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[16] ^ Mercury/javas/jmercury/join_list.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:131: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[17] ^ Mercury/javas/jmercury/join_list.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:136: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:141: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[19] ^ Mercury/javas/jmercury/join_list.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:146: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[20] ^ Mercury/javas/jmercury/join_list.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:151: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[21] ^ Mercury/javas/jmercury/join_list.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:156: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[22] ^ Mercury/javas/jmercury/join_list.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:161: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[23] ^ Mercury/javas/jmercury/join_list.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:166: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[24] ^ Mercury/javas/jmercury/join_list.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:171: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[25] ^ Mercury/javas/jmercury/join_list.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:176: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[26] ^ Mercury/javas/jmercury/join_list.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:181: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[27] ^ Mercury/javas/jmercury/join_list.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:186: error: package list does not exist (list.List_1) join_list.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/join_list.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:191: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[29] ^ Mercury/javas/jmercury/join_list.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:196: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[30] ^ Mercury/javas/jmercury/join_list.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/join_list.java:201: error: package list does not exist (list.List_1) join_list.MR_scalar_common_2[31] ^ Mercury/javas/jmercury/join_list.java:214: error: package list does not exist list.List_1 Var_6 = (list.List_1) join_list.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/join_list.java:214: error: package list does not exist list.List_1 Var_6 = (list.List_1) join_list.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/join_list.java:215: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/join_list.java:216: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/join_list.java:217: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/join_list.java:218: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/join_list.java:219: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/join_list.java:220: error: package list does not exist list.List_1 Var_58 = null; ^ Mercury/javas/jmercury/join_list.java:221: error: package list does not exist list.List_1 Var_80 = null; ^ Mercury/javas/jmercury/join_list.java:226: error: package list does not exist Var_8 = (list.List_1) join_list.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/join_list.java:230: error: package list does not exist Var_14 = (list.List_1) join_list.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/join_list.java:234: error: package list does not exist Var_22 = (list.List_1) join_list.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/join_list.java:238: error: package list does not exist Var_30 = (list.List_1) join_list.MR_scalar_common_2[9]; ^ Mercury/javas/jmercury/join_list.java:242: error: package list does not exist Var_38 = (list.List_1) join_list.MR_scalar_common_2[18]; ^ Mercury/javas/jmercury/join_list.java:246: error: package list does not exist Var_58 = (list.List_1) join_list.MR_scalar_common_2[28]; ^ Mercury/javas/jmercury/join_list.java:250: error: package list does not exist Var_80 = (list.List_1) join_list.MR_scalar_common_2[32]; ^ Mercury/javas/jmercury/join_list.java:274: error: cannot find symbol Joined1_6 = string.join_list_2_f_0(Var_12, Pieces_4); ^ symbol: variable string location: class join_list 100 errors gmake[3]: *** [/tmp/mmake.qvz2EN:2411: join_list] Error 1 gmake[3]: Target 'join_list.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: join_list.log] Error 1 RUNNING TEST hard_coded/lco_mday_bug_1 in grade java FAILED TEST hard_coded/lco_double in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_double.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_double Making Mercury/int3s/lco_double.int3 Making Mercury/ints/lco_double.int Making Mercury/javas/jmercury/lco_double.java Making Java class files Mercury/javas/jmercury/lco_double.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_double__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_double.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_double__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_double.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_double__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_double.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_double__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/lco_double.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_double__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_double__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_double__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_double.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_double__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_double.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_double__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_double.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_double__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_double.java:625: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_double.java:187: 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/lco_double.java:188: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/lco_double.java:189: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/lco_double.java:236: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_double.java:284: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/lco_double.java:672: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_double.java:673: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_double.java:332: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_double.java:371: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_double.java:565: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_double.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_double"; ^ Mercury/javas/jmercury/lco_double.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_double.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_double.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_double Mercury/javas/jmercury/lco_double.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_double Mercury/javas/jmercury/lco_double.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_double.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_double Mercury/javas/jmercury/lco_double.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_double Mercury/javas/jmercury/lco_double.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_double Mercury/javas/jmercury/lco_double.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_double Mercury/javas/jmercury/lco_double.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_double.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_double__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_double__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_double.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_double__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_double.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_double__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_double.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_double__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/lco_double.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_double__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_double__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_double.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_double__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_double.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_double__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_double.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_double__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_double.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_double__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_double.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_double.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_double.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_double.java:101: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_double.lco_double__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_double.java:103: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_double.lco_double__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_double.java:105: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_double.lco_double__type_ctor_info_thing_0; ^ Mercury/javas/jmercury/lco_double.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/lco_double.java:107: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:112: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:120: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:127: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:135: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_double.java:145: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_double Mercury/javas/jmercury/lco_double.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_double.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_double.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_double.java:187: 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/lco_double.java:188: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/lco_double.java:189: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/lco_double.java:195: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_double.java:197: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lco_double.java:202: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lco_double.java:207: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lco_double.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_double.java:213: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) lco_double.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/lco_double.java:214: error: package list does not exist (list.List_1) lco_double.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_double.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_double.java:218: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) lco_double.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/lco_double.java:219: error: package list does not exist (list.List_1) lco_double.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/lco_double.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_double.java:223: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) lco_double.MR_scalar_common_3[2])), ^ Mercury/javas/jmercury/lco_double.java:224: error: package list does not exist (list.List_1) lco_double.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/lco_double.java:252: error: package list does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_double.java:252: error: package list.List_1 does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_double.java:253: error: package pair does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:253: error: package pair does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:253: error: package list.List_1 does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:256: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_double.java:259: error: package pair does not exist E_3 = ((lco_double.Enum_0) ((pair.Pair_2) Var_8).F1); ^ Mercury/javas/jmercury/lco_double.java:260: error: package pair does not exist F_4 = ((java.lang.Double) (((pair.Pair_2) Var_8).F2)).doubleValue(); ^ Mercury/javas/jmercury/lco_double.java:260: error: illegal start of type F_4 = ((java.lang.Double) (((pair.Pair_2) Var_8).F2)).doubleValue(); ^ Mercury/javas/jmercury/lco_double.java:294: error: package list does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_double.java:294: error: package list.List_1 does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_double.java:295: error: package pair does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:295: error: package pair does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:295: error: package list.List_1 does not exist pair.Pair_2 Var_8 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_double.java:298: error: package pair does not exist E_3 = ((lco_double.Enum_0) ((pair.Pair_2) Var_8).F1); ^ Mercury/javas/jmercury/lco_double.java:299: error: package pair does not exist F_4 = ((java.lang.Double) (((pair.Pair_2) Var_8).F2)).doubleValue(); ^ Mercury/javas/jmercury/lco_double.java:299: error: illegal start of type F_4 = ((java.lang.Double) (((pair.Pair_2) Var_8).F2)).doubleValue(); ^ Mercury/javas/jmercury/lco_double.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/lco_double.java:321: error: package list does not exist list.List_1 Var_7 = (list.List_1) lco_double.MR_scalar_common_4[2]; ^ 100 errors gmake[3]: *** [/tmp/mmake.aqTTOm:2411: lco_double] Error 1 gmake[3]: Target 'lco_double.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_double.log] Error 1 RUNNING TEST hard_coded/lco_mday_bug_2 in grade java FAILED TEST hard_coded/lco_mday_bug_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_mday_bug_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_mday_bug_1 Making Mercury/int3s/lco_mday_bug_1.int3 Making Mercury/ints/lco_mday_bug_1.int Making Mercury/javas/jmercury/lco_mday_bug_1.java Making Java class files Mercury/javas/jmercury/lco_mday_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_1__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:520: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_1.java:565: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_mday_bug_1.java:566: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_1.java:279: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:343: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_mday_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_mday_bug_1"; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_1__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_1__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_1__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_1__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_1__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_1__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_1__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:91: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_mday_bug_1.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_mday_bug_1.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:157: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_1.java:198: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:198: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/lco_mday_bug_1.java:206: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:228: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_mday_bug_1.lco_mday_bug_1__type_ctor_info_number_0); ^ Mercury/javas/jmercury/lco_mday_bug_1.java:230: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:242: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:245: error: cannot find symbol io.write_float_3_p_0(F_7); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:248: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:257: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:260: error: cannot find symbol io.write_int_3_p_0(I_6); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:263: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:267: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Res_5))); ^ symbol: variable io location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:285: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:291: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:300: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class lco_mday_bug_1 Mercury/javas/jmercury/lco_mday_bug_1.java:304: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:307: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:320: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:322: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:334: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:349: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:350: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:351: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:355: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:360: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:362: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:373: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_1.java:440: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:440: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_1.java:507: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 91 errors gmake[3]: *** [/tmp/mmake.eW7rqf:2411: lco_mday_bug_1] Error 1 gmake[3]: Target 'lco_mday_bug_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_mday_bug_1.log] Error 1 RUNNING TEST hard_coded/lco_no_inline in grade java FAILED TEST hard_coded/lco_mday_bug_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_mday_bug_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_mday_bug_2 Making Mercury/int3s/lco_mday_bug_2.int3 Making Mercury/ints/lco_mday_bug_2.int Making Mercury/javas/jmercury/lco_mday_bug_2.java Making Java class files Mercury/javas/jmercury/lco_mday_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_2__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_2__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_2__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_2__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_2__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_2__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_2__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_2__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_2__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_2__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_2__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_2__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_2__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:468: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_2.java:513: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_mday_bug_2.java:514: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_mday_bug_2.java:227: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_2.java:291: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_mday_bug_2.java:408: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_mday_bug_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_mday_bug_2"; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_2__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_2__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_mday_bug_2__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_mday_bug_2__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_2__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_mday_bug_2__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_mday_bug_2__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_2__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_2__enum_functor_desc_standard_func_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_mday_bug_2__enum_functor_desc_standard_func_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_2__enum_ordinal_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_mday_bug_2__enum_name_ordered_standard_func_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_mday_bug_2__type_ctor_info_standard_func_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:56: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:64: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:68: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:73: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:81: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_mday_bug_2.java:91: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_mday_bug_2.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_2.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_2.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_mday_bug_2.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_mday_bug_2.java:157: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_mday_bug_2.java:198: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_2.java:198: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/lco_mday_bug_2.java:206: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = null; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:221: error: package jmercury.runtime does not exist TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_mday_bug_2.lco_mday_bug_2__type_ctor_info_number_0); ^ Mercury/javas/jmercury/lco_mday_bug_2.java:223: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_8_8, ((java.lang.Object) (Res_4))); ^ symbol: variable io location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:233: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:239: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:248: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class lco_mday_bug_2 Mercury/javas/jmercury/lco_mday_bug_2.java:252: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:255: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:263: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:268: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:270: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:282: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:297: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:298: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_2.java:299: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_2.java:303: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:308: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:310: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:321: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_mday_bug_2.java:388: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_2.java:388: 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 Standard_func_0 Mercury/javas/jmercury/lco_mday_bug_2.java:455: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 84 errors gmake[3]: *** [/tmp/mmake.5UIzzJ:2411: lco_mday_bug_2] Error 1 gmake[3]: Target 'lco_mday_bug_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_mday_bug_2.log] Error 1 RUNNING TEST hard_coded/lco_pack_args_1 in grade java FAILED TEST hard_coded/lco_no_inline in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call --no-inline-builtins '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_no_inline.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call --no-inline-builtins '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_no_inline Making Mercury/int3s/lco_no_inline.int3 Making Mercury/ints/lco_no_inline.int Making Mercury/javas/jmercury/lco_no_inline.java Making Java class files Mercury/javas/jmercury/lco_no_inline.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lco_no_inline.java:33: 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/lco_no_inline.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[2]; ^ Mercury/javas/jmercury/lco_no_inline.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/lco_no_inline.java:75: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_no_inline.java:76: error: package list does not exist list.List_1 AddrOfHeadVar__2_15) ^ Mercury/javas/jmercury/lco_no_inline.java:175: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/lco_no_inline.java:173: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/lco_no_inline.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_no_inline"; ^ Mercury/javas/jmercury/lco_no_inline.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_no_inline.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_no_inline.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_no_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_no_inline.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lco_no_inline.java:33: 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/lco_no_inline.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[2]; ^ Mercury/javas/jmercury/lco_no_inline.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/lco_no_inline.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lco_no_inline.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/lco_no_inline.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/lco_no_inline.java:44: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_no_inline.java:46: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lco_no_inline.java:51: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lco_no_inline.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_no_inline.java:57: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) lco_no_inline.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/lco_no_inline.java:58: error: package list does not exist (list.List_1) lco_no_inline.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_no_inline.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_no_inline.java:62: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) lco_no_inline.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/lco_no_inline.java:63: error: package list does not exist (list.List_1) lco_no_inline.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/lco_no_inline.java:85: error: package list does not exist list.List_1 HeadVar__2_2 = (list.List_1) lco_no_inline.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_no_inline.java:85: error: package list does not exist list.List_1 HeadVar__2_2 = (list.List_1) lco_no_inline.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_no_inline.java:87: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__2_15).F2 = HeadVar__2_2; ^ Mercury/javas/jmercury/lco_no_inline.java:93: error: package list does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_no_inline.java:93: error: package list.List_1 does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_no_inline.java:94: error: package pair does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:94: error: package pair does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:94: error: package list.List_1 does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:97: error: package pair does not exist X_3 = ((java.lang.String) ((pair.Pair_2) Var_9).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:98: error: package pair does not exist Int_4 = ((java.lang.Integer) (((pair.Pair_2) Var_9).F2)).intValue(); ^ Mercury/javas/jmercury/lco_no_inline.java:98: error: illegal start of type Int_4 = ((java.lang.Integer) (((pair.Pair_2) Var_9).F2)).intValue(); ^ Mercury/javas/jmercury/lco_no_inline.java:101: error: cannot find symbol succeeded = mr_int.f_less_or_equal_2_p_0(Int_4, Var_10); ^ symbol: variable mr_int location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:105: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = Xs_5; ^ Mercury/javas/jmercury/lco_no_inline.java:115: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:116: error: package pair does not exist pair.Pair_2 Var_13 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:117: error: package list does not exist list.List_1 AddrOut0_14 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:118: error: package list does not exist list.List_1 HeadVar__2_18 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:119: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:120: error: package list does not exist list.List_1 next_value_of_AddrOfHeadVar__2_15 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:123: error: cannot find symbol NewInt_7 = mr_int.f_minus_2_f_0(Int_4, Var_11); ^ symbol: variable mr_int location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:126: error: package pair does not exist Var_13 = new pair.Pair_2( ^ Mercury/javas/jmercury/lco_no_inline.java:132: error: package list.List_1 does not exist Var_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_no_inline.java:138: error: package list.List_1 does not exist HeadVar__2_18 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_no_inline.java:144: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfHeadVar__2_15).F2 = HeadVar__2_18; ^ Mercury/javas/jmercury/lco_no_inline.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:161: error: package list does not exist list.List_1 AL_4 = (list.List_1) lco_no_inline.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/lco_no_inline.java:161: error: package list does not exist list.List_1 AL_4 = (list.List_1) lco_no_inline.MR_scalar_common_4[1]; ^ Mercury/javas/jmercury/lco_no_inline.java:162: error: package list does not exist list.List_1 L_5 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:167: error: package jmercury.runtime does not exist TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_no_inline.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/lco_no_inline.java:169: error: cannot find symbol io.write_line_3_p_0(TypeInfo_16_16, ((java.lang.Object) (L_5))); ^ symbol: variable io location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:180: error: package list does not exist list.List_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:184: error: package list does not exist HeadVar__2_2 = (list.List_1) lco_no_inline.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_no_inline.java:189: error: package list does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_no_inline.java:189: error: package list.List_1 does not exist list.List_1 Xs_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_no_inline.java:190: error: package pair does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:190: error: package pair does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:190: error: package list.List_1 does not exist pair.Pair_2 Var_9 = ((pair.Pair_2) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:193: error: package pair does not exist X_3 = ((java.lang.String) ((pair.Pair_2) Var_9).F1); ^ Mercury/javas/jmercury/lco_no_inline.java:194: error: package pair does not exist Int_4 = ((java.lang.Integer) (((pair.Pair_2) Var_9).F2)).intValue(); ^ Mercury/javas/jmercury/lco_no_inline.java:194: error: illegal start of type Int_4 = ((java.lang.Integer) (((pair.Pair_2) Var_9).F2)).intValue(); ^ Mercury/javas/jmercury/lco_no_inline.java:197: error: cannot find symbol succeeded = mr_int.f_less_or_equal_2_p_0(Int_4, Var_10); ^ symbol: variable mr_int location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:201: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = Xs_5; ^ Mercury/javas/jmercury/lco_no_inline.java:211: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:212: error: package pair does not exist pair.Pair_2 Var_13 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:213: error: package list does not exist list.List_1 AddrOut0_14 = null; ^ Mercury/javas/jmercury/lco_no_inline.java:216: error: cannot find symbol NewInt_7 = mr_int.f_minus_2_f_0(Int_4, Var_11); ^ symbol: variable mr_int location: class lco_no_inline Mercury/javas/jmercury/lco_no_inline.java:219: error: package pair does not exist Var_13 = new pair.Pair_2( ^ Mercury/javas/jmercury/lco_no_inline.java:225: error: package list.List_1 does not exist Var_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_no_inline.java:231: error: package list.List_1 does not exist HeadVar__2_2 = new list.List_1.F_cons_2( ^ 86 errors gmake[3]: *** [/tmp/mmake.lptOwM:2411: lco_no_inline] Error 1 gmake[3]: Target 'lco_no_inline.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_no_inline.log] Error 1 RUNNING TEST hard_coded/lco_pack_args_2 in grade java FAILED TEST hard_coded/lco_pack_args_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_1 Making Mercury/int3s/lco_pack_args_1.int3 Making Mercury/ints/lco_pack_args_1.int Making Mercury/javas/jmercury/lco_pack_args_1.java Making Java class files Mercury/javas/jmercury/lco_pack_args_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_1__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_1__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_1__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_1__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_1__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_1__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_1__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_1__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_1__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_1__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:648: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_1.java:189: 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/lco_pack_args_1.java:190: 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/lco_pack_args_1.java:222: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_pack_args_1.java:267: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/lco_pack_args_1.java:698: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_pack_args_1.java:699: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_1.java:312: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_1.java:351: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_1.java:588: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_pack_args_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_pack_args_1"; ^ Mercury/javas/jmercury/lco_pack_args_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_pack_args_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_pack_args_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_pack_args_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_1__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_1__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_1__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_1__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_1__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_1__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_1__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_1__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_1__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_1__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_1__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_pack_args_1.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_1.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_1.java:101: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_1.lco_pack_args_1__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:103: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_1.lco_pack_args_1__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:105: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_1.lco_pack_args_1__type_ctor_info_thing_0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_1.lco_pack_args_1__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_1.lco_pack_args_1__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:114: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:129: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:137: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_pack_args_1.java:147: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_pack_args_1.java:170: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_1.java:173: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_1.java:189: 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/lco_pack_args_1.java:190: 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/lco_pack_args_1.java:196: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_pack_args_1.java:198: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_1.java:200: error: package list does not exist (list.List_1) lco_pack_args_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_pack_args_1.java:203: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_1.java:205: error: package list does not exist (list.List_1) lco_pack_args_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/lco_pack_args_1.java:208: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_1.java:210: error: package list does not exist (list.List_1) lco_pack_args_1.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/lco_pack_args_1.java:236: error: package list.List_1 does not exist lco_pack_args_1.Enum_0 E_3 = ((lco_pack_args_1.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_1.java:237: error: package list does not exist list.List_1 Es_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:237: error: package list.List_1 does not exist list.List_1 Es_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:240: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:275: error: package list.List_1 does not exist lco_pack_args_1.Enum_0 E_3 = ((lco_pack_args_1.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_1.java:276: error: package list does not exist list.List_1 Es_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:276: error: package list.List_1 does not exist list.List_1 Es_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:299: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:301: error: package list does not exist list.List_1 Var_7 = (list.List_1) lco_pack_args_1.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:301: error: package list does not exist list.List_1 Var_7 = (list.List_1) lco_pack_args_1.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_1.java:306: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_pack_args_1.lco_pack_args_1__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/lco_pack_args_1.java:308: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (T_4))); ^ symbol: variable io location: class lco_pack_args_1 Mercury/javas/jmercury/lco_pack_args_1.java:318: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:319: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_1.java:320: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_1.java:324: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_pack_args_1.java:329: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:331: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:342: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:357: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:363: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:367: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_1.java:369: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_pack_args_1.java:372: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_pack_args_1.java:385: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/lco_pack_args_1.java:386: error: cannot find symbol int Var_25 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Enum_0 Mercury/javas/jmercury/lco_pack_args_1.java:387: error: cannot find symbol int Var_26 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Enum_0 100 errors gmake[3]: *** [/tmp/mmake.puQM2d:2411: lco_pack_args_1] Error 1 gmake[3]: Target 'lco_pack_args_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_pack_args_1.log] Error 1 RUNNING TEST hard_coded/lco_pack_args_3 in grade java FAILED TEST hard_coded/lco_pack_args_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_2 Making Mercury/int3s/lco_pack_args_2.int3 Making Mercury/ints/lco_pack_args_2.int Making Mercury/javas/jmercury/lco_pack_args_2.java Making Java class files Mercury/javas/jmercury/lco_pack_args_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_2__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_2__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_2__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_2__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_2__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_2__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_2__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_2__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_2__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_2__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:694: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_2.java:211: 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/lco_pack_args_2.java:212: 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/lco_pack_args_2.java:244: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_pack_args_2.java:300: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/lco_pack_args_2.java:744: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_pack_args_2.java:745: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_2.java:358: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_2.java:397: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_2.java:634: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_pack_args_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_pack_args_2"; ^ Mercury/javas/jmercury/lco_pack_args_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_pack_args_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_pack_args_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_pack_args_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_2__enum_functor_desc_enum_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_2__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_2__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_2__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_2__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_2__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_2__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_2__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_2__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_2__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_2__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_pack_args_2.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_2.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_2.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_2.lco_pack_args_2__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_2.lco_pack_args_2__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_2.lco_pack_args_2__type_ctor_info_thing_0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_2.lco_pack_args_2__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_2.lco_pack_args_2__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:136: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:144: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:151: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:159: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_pack_args_2.java:169: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_pack_args_2.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_2.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_2.java:211: 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/lco_pack_args_2.java:212: 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/lco_pack_args_2.java:218: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_pack_args_2.java:220: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_2.java:222: error: package list does not exist (list.List_1) lco_pack_args_2.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_pack_args_2.java:225: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_2.java:227: error: package list does not exist (list.List_1) lco_pack_args_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/lco_pack_args_2.java:230: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_2.java:232: error: package list does not exist (list.List_1) lco_pack_args_2.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/lco_pack_args_2.java:262: error: package list.List_1 does not exist lco_pack_args_2.Enum_0 E_4 = ((lco_pack_args_2.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_2.java:263: error: package list does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_2.java:263: error: package list.List_1 does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_2.java:268: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_2.java:312: error: package list.List_1 does not exist lco_pack_args_2.Enum_0 E_4 = ((lco_pack_args_2.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_2.java:313: error: package list does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_2.java:313: error: package list.List_1 does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_2.java:342: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/lco_pack_args_2.java:344: error: package list does not exist list.List_1 Var_8 = (list.List_1) lco_pack_args_2.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:344: error: package list does not exist list.List_1 Var_8 = (list.List_1) lco_pack_args_2.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_2.java:352: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_pack_args_2.lco_pack_args_2__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/lco_pack_args_2.java:354: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (T_5))); ^ symbol: variable io location: class lco_pack_args_2 Mercury/javas/jmercury/lco_pack_args_2.java:364: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_2.java:365: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_2.java:366: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_2.java:370: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_pack_args_2.java:375: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_pack_args_2.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:388: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_2.java:403: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_2.java:409: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:413: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_2.java:415: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors gmake[3]: *** [/tmp/mmake.G4Eg5D:2411: lco_pack_args_2] Error 1 gmake[3]: Target 'lco_pack_args_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_pack_args_2.log] Error 1 RUNNING TEST hard_coded/lco_reorder in grade java FAILED TEST hard_coded/lco_pack_args_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_pack_args_3 Making Mercury/int3s/lco_pack_args_3.int3 Making Mercury/ints/lco_pack_args_3.int Making Mercury/javas/jmercury/lco_pack_args_3.java Making Java class files Mercury/javas/jmercury/lco_pack_args_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_3__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_3__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_3__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_3__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_3__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_3__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_3__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_3__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_3__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_3__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:718: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_3.java:213: 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/lco_pack_args_3.java:214: 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/lco_pack_args_3.java:246: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_pack_args_3.java:303: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/lco_pack_args_3.java:771: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lco_pack_args_3.java:772: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lco_pack_args_3.java:362: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_3.java:401: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lco_pack_args_3.java:658: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lco_pack_args_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_pack_args_3"; ^ Mercury/javas/jmercury/lco_pack_args_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_pack_args_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_pack_args_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_pack_args_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lco_pack_args_3__enum_functor_desc_enum_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_3__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lco_pack_args_3__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_3__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lco_pack_args_3__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_3__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lco_pack_args_3__du_functor_desc_thing_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_3__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lco_pack_args_3__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lco_pack_args_3__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lco_pack_args_3__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lco_pack_args_3.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_3.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_3.java:123: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_3.lco_pack_args_3__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:125: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_3.lco_pack_args_3__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:127: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_3.lco_pack_args_3__type_ctor_info_thing_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_3.lco_pack_args_3__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:133: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lco_pack_args_3.lco_pack_args_3__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:138: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:146: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:161: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lco_pack_args_3.java:171: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lco_pack_args_3.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lco_pack_args_3.java:197: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lco_pack_args_3.java:213: 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/lco_pack_args_3.java:214: 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/lco_pack_args_3.java:220: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_pack_args_3.java:222: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_3.java:224: error: package list does not exist (list.List_1) lco_pack_args_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_pack_args_3.java:227: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_3.java:229: error: package list does not exist (list.List_1) lco_pack_args_3.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/lco_pack_args_3.java:232: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_pack_args_3.java:234: error: package list does not exist (list.List_1) lco_pack_args_3.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/lco_pack_args_3.java:264: error: package list.List_1 does not exist lco_pack_args_3.Enum_0 E_4 = ((lco_pack_args_3.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_3.java:265: error: package list does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_3.java:265: error: package list.List_1 does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_3.java:270: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_3.java:315: error: package list.List_1 does not exist lco_pack_args_3.Enum_0 E_4 = ((lco_pack_args_3.Enum_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/lco_pack_args_3.java:316: error: package list does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_3.java:316: error: package list.List_1 does not exist list.List_1 Es_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_pack_args_3.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/lco_pack_args_3.java:348: error: package list does not exist list.List_1 Var_8 = (list.List_1) lco_pack_args_3.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:348: error: package list does not exist list.List_1 Var_8 = (list.List_1) lco_pack_args_3.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lco_pack_args_3.java:356: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_pack_args_3.lco_pack_args_3__type_ctor_info_thing_0); ^ Mercury/javas/jmercury/lco_pack_args_3.java:358: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (T_5))); ^ symbol: variable io location: class lco_pack_args_3 Mercury/javas/jmercury/lco_pack_args_3.java:368: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_3.java:369: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_3.java:370: 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 Enum_0 Mercury/javas/jmercury/lco_pack_args_3.java:374: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lco_pack_args_3.java:379: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lco_pack_args_3.java:381: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lco_pack_args_3.java:392: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_3.java:407: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lco_pack_args_3.java:413: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ 100 errors gmake[3]: *** [/tmp/mmake.MMtBqO:2411: lco_pack_args_3] Error 1 gmake[3]: Target 'lco_pack_args_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_pack_args_3.log] Error 1 RUNNING TEST hard_coded/lexer_bigint in grade java FAILED TEST hard_coded/lexer_bigint in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_bigint.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_bigint Making Mercury/int3s/lexer_bigint.int3 Making Mercury/ints/lexer_bigint.int Making Mercury/javas/jmercury/lexer_bigint.java Making Java class files Mercury/javas/jmercury/lexer_bigint.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_bigint.java:116: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 HeadVar__1_1) ^ Mercury/javas/jmercury/lexer_bigint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lexer_bigint"; ^ Mercury/javas/jmercury/lexer_bigint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lexer_bigint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lexer_bigint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lexer_bigint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lexer_bigint.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_bigint.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/lexer_bigint.java:52: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 Tokens_4 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:53: error: package io does not exist io.Res_1 OpenRes_5 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:57: error: cannot find symbol Tokens_4 = mercury_term_lexer.get_token_list_3_p_0(); ^ symbol: variable mercury_term_lexer location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:63: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:67: error: cannot find symbol OpenRes_5 = io.open_input_4_p_0(Var_19); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_bigint.java:71: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_bigint.java:72: error: package io does not exist io.Error_0 Error_28 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_bigint.java:72: error: package io.Res_1 does not exist io.Error_0 Error_28 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_bigint.java:75: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Error_28))); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_bigint.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_bigint.java:80: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_bigint.java:81: error: package io does not exist io.Maybe_partial_res_1 ReadRes_7 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:84: error: cannot find symbol ReadRes_7 = io.read_file_as_string_4_p_0(Stream_6); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_bigint.java:88: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_bigint.java:89: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_bigint.java:89: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_bigint.java:92: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_29_29, ((java.lang.Object) (Error_13))); ^ symbol: variable io location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:97: error: package io.Maybe_partial_res_1 does not exist java.lang.String String_8 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) ReadRes_7).F1); ^ Mercury/javas/jmercury/lexer_bigint.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_bigint.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_bigint.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_bigint.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_bigint.java:99: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 StringTokens_10 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:100: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:103: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(String_8, Posn0_9); ^ symbol: variable mercury_term_lexer location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:104: error: package mercury_term_lexer does not exist StringTokens_10 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/lexer_bigint.java:105: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/lexer_bigint.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/lexer_bigint.java:123: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ symbol: variable mercury_term_lexer location: class lexer_bigint Mercury/javas/jmercury/lexer_bigint.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/lexer_bigint.java:124: error: package mercury_term_lexer does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_bigint.java:124: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_bigint.java:125: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_bigint.java:125: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_bigint.java:126: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lexer_bigint.java:129: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Token_7))); ^ symbol: variable io location: class lexer_bigint 54 errors gmake[3]: *** [/tmp/mmake.sJN1dF:2411: lexer_bigint] Error 1 gmake[3]: Target 'lexer_bigint.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lexer_bigint.log] Error 1 RUNNING TEST hard_coded/lexer_ints in grade java FAILED TEST hard_coded/lco_reorder in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_reorder.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-constructor-last-call '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lco_reorder Making Mercury/int3s/lco_reorder.int3 Making Mercury/ints/lco_reorder.int Making Mercury/javas/jmercury/lco_reorder.java Making Java class files Mercury/javas/jmercury/lco_reorder.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lco_reorder.java:33: 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/lco_reorder.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[10]; ^ Mercury/javas/jmercury/lco_reorder.java:105: error: package list does not exist list.List_1 AddrOfXs_31) ^ Mercury/javas/jmercury/lco_reorder.java:154: error: package list does not exist list.List_1 AddrOfXs_11) ^ Mercury/javas/jmercury/lco_reorder.java:255: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/lco_reorder.java:289: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/lco_reorder.java:325: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/lco_reorder.java:326: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/lco_reorder.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lco_reorder"; ^ Mercury/javas/jmercury/lco_reorder.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lco_reorder.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lco_reorder.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lco_reorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lco_reorder.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lco_reorder.java:33: 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/lco_reorder.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[10]; ^ Mercury/javas/jmercury/lco_reorder.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lco_reorder.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/lco_reorder.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/lco_reorder.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/lco_reorder.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:47: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/lco_reorder.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:52: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/lco_reorder.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:57: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/lco_reorder.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:62: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/lco_reorder.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:67: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/lco_reorder.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:72: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/lco_reorder.java:75: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:77: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/lco_reorder.java:80: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:82: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/lco_reorder.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:87: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/lco_reorder.java:90: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:92: error: package list does not exist (list.List_1) lco_reorder.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/lco_reorder.java:116: error: package list does not exist list.List_1 GT_6 = null; ^ Mercury/javas/jmercury/lco_reorder.java:119: error: package list does not exist list.List_1 Xs_4 = null; ^ Mercury/javas/jmercury/lco_reorder.java:120: error: package list does not exist list.List_1 AddrXs0_30 = null; ^ Mercury/javas/jmercury/lco_reorder.java:122: error: package list does not exist list.List_1 next_value_of_AddrOfXs_31 = null; ^ Mercury/javas/jmercury/lco_reorder.java:125: error: package list does not exist GT_6 = (list.List_1) lco_reorder.MR_scalar_common_3[9]; ^ Mercury/javas/jmercury/lco_reorder.java:127: error: package list.List_1 does not exist Xs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:133: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfXs_31).F2 = Xs_4; ^ Mercury/javas/jmercury/lco_reorder.java:143: error: package list does not exist list.List_1 Xs_34 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:143: error: package list does not exist list.List_1 Xs_34 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:145: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfXs_31).F2 = Xs_34; ^ Mercury/javas/jmercury/lco_reorder.java:168: error: package list does not exist list.List_1 Xs_4 = null; ^ Mercury/javas/jmercury/lco_reorder.java:169: error: package list does not exist list.List_1 AddrXs0_10 = null; ^ Mercury/javas/jmercury/lco_reorder.java:171: error: package list does not exist list.List_1 next_value_of_AddrOfXs_11 = null; ^ Mercury/javas/jmercury/lco_reorder.java:176: error: package list.List_1 does not exist Xs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:182: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfXs_11).F2 = Xs_4; ^ Mercury/javas/jmercury/lco_reorder.java:192: error: package list does not exist list.List_1 Xs_14 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:192: error: package list does not exist list.List_1 Xs_14 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:194: error: package list.List_1 does not exist ((list.List_1.F_cons_2) AddrOfXs_11).F2 = Xs_14; ^ Mercury/javas/jmercury/lco_reorder.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/lco_reorder.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/lco_reorder.java:205: error: package list does not exist list.List_1 Cs_4 = null; ^ Mercury/javas/jmercury/lco_reorder.java:206: error: package list does not exist list.List_1 GTs_5 = null; ^ Mercury/javas/jmercury/lco_reorder.java:221: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:223: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:223: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/lco_reorder.java:229: error: cannot find symbol io.write_int_3_p_0(Var_11); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:232: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:240: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:242: error: package jmercury.runtime does not exist TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(lco_reorder.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/lco_reorder.java:248: error: cannot find symbol io.write_int_3_p_0(Var_18); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lco_reorder Mercury/javas/jmercury/lco_reorder.java:260: error: package list does not exist list.List_1 Xs_4 = null; ^ Mercury/javas/jmercury/lco_reorder.java:266: error: package list does not exist list.List_1 GT_6 = null; ^ Mercury/javas/jmercury/lco_reorder.java:269: error: package list does not exist list.List_1 AddrXs0_30 = null; ^ Mercury/javas/jmercury/lco_reorder.java:272: error: package list does not exist GT_6 = (list.List_1) lco_reorder.MR_scalar_common_3[9]; ^ Mercury/javas/jmercury/lco_reorder.java:274: error: package list.List_1 does not exist Xs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:285: error: package list does not exist Xs_4 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:294: error: package list does not exist list.List_1 Xs_4 = null; ^ Mercury/javas/jmercury/lco_reorder.java:303: error: package list does not exist list.List_1 AddrXs0_10 = null; ^ Mercury/javas/jmercury/lco_reorder.java:308: error: package list.List_1 does not exist Xs_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/lco_reorder.java:319: error: package list does not exist Xs_4 = (list.List_1) lco_reorder.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lco_reorder.java:338: error: package list does not exist list.List_1 Xs_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_reorder.java:338: error: package list.List_1 does not exist list.List_1 Xs_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lco_reorder.java:341: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ 93 errors gmake[3]: *** [/tmp/mmake.2wrutG:2411: lco_reorder] Error 1 gmake[3]: Target 'lco_reorder.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lco_reorder.log] Error 1 RUNNING TEST hard_coded/lexer_zero in grade java FAILED TEST hard_coded/lexer_zero in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_zero.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_zero Making Mercury/int3s/lexer_zero.int3 Making Mercury/ints/lexer_zero.int Making Mercury/javas/jmercury/lexer_zero.java Making Java class files Mercury/javas/jmercury/lexer_zero.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_zero.java:119: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 HeadVar__1_1) ^ Mercury/javas/jmercury/lexer_zero.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lexer_zero"; ^ Mercury/javas/jmercury/lexer_zero.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lexer_zero.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lexer_zero.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lexer_zero.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lexer_zero.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_zero.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/lexer_zero.java:52: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 Tokens_4 = null; ^ Mercury/javas/jmercury/lexer_zero.java:53: error: package io does not exist io.Res_1 OpenRes_5 = null; ^ Mercury/javas/jmercury/lexer_zero.java:57: error: cannot find symbol Tokens_4 = mercury_term_lexer.get_token_list_3_p_0(); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:63: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:67: error: cannot find symbol OpenRes_5 = io.open_input_4_p_0(Var_19); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:71: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:72: error: package io does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_zero.java:72: error: package io.Res_1 does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_zero.java:75: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Error_29))); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:80: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:81: error: package io does not exist io.Maybe_partial_res_1 ReadRes_7 = null; ^ Mercury/javas/jmercury/lexer_zero.java:84: error: cannot find symbol ReadRes_7 = io.read_file_as_string_4_p_0(Stream_6); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:88: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:89: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_zero.java:89: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_zero.java:92: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Error_13))); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:97: error: package io.Maybe_partial_res_1 does not exist java.lang.String String_8 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) ReadRes_7).F1); ^ Mercury/javas/jmercury/lexer_zero.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_zero.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_zero.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_zero.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_zero.java:99: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 StringTokens_10 = null; ^ Mercury/javas/jmercury/lexer_zero.java:100: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/lexer_zero.java:103: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(String_8, Posn0_9); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:104: error: package mercury_term_lexer does not exist StringTokens_10 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/lexer_zero.java:105: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/lexer_zero.java:112: error: cannot find symbol io.close_input_3_p_0(Stream_6); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/lexer_zero.java:127: error: package mercury_term_lexer does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_zero.java:127: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_zero.java:128: error: package mercury_term_lexer.Token_list_0 does not exist int Context_8 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lexer_zero.java:129: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_zero.java:129: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_zero.java:131: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lexer_zero.java:134: error: cannot find symbol io.write_int_3_p_0(Context_8); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:138: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:140: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/lexer_zero.java:142: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Token_7))); ^ symbol: variable io location: class lexer_zero 58 errors gmake[3]: *** [/tmp/mmake.dxOoEV:2411: lexer_zero] Error 1 gmake[3]: Target 'lexer_zero.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lexer_zero.log] Error 1 FAILED TEST hard_coded/lexer_ints in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_ints.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lexer_ints Making Mercury/int3s/lexer_ints.int3 Making Mercury/ints/lexer_ints.int Making Mercury/javas/jmercury/lexer_ints.java Making Java class files Mercury/javas/jmercury/lexer_ints.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_ints.java:119: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 HeadVar__1_1) ^ Mercury/javas/jmercury/lexer_ints.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lexer_ints"; ^ Mercury/javas/jmercury/lexer_ints.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lexer_ints.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lexer_ints.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lexer_ints.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lexer_ints.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_ints.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/lexer_ints.java:52: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 Tokens_4 = null; ^ Mercury/javas/jmercury/lexer_ints.java:53: error: package io does not exist io.Res_1 OpenRes_5 = null; ^ Mercury/javas/jmercury/lexer_ints.java:57: error: cannot find symbol Tokens_4 = mercury_term_lexer.get_token_list_3_p_0(); ^ symbol: variable mercury_term_lexer location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:63: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:67: error: cannot find symbol OpenRes_5 = io.open_input_4_p_0(Var_19); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_ints.java:71: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_ints.java:72: error: package io does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_ints.java:72: error: package io.Res_1 does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_ints.java:75: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Error_29))); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_ints.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_ints.java:80: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_ints.java:81: error: package io does not exist io.Maybe_partial_res_1 ReadRes_7 = null; ^ Mercury/javas/jmercury/lexer_ints.java:84: error: cannot find symbol ReadRes_7 = io.read_file_as_string_4_p_0(Stream_6); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_ints.java:88: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_ints.java:89: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_ints.java:89: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_ints.java:92: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Error_13))); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:97: error: package io.Maybe_partial_res_1 does not exist java.lang.String String_8 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) ReadRes_7).F1); ^ Mercury/javas/jmercury/lexer_ints.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_ints.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_ints.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_ints.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_ints.java:99: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 StringTokens_10 = null; ^ Mercury/javas/jmercury/lexer_ints.java:100: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/lexer_ints.java:103: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(String_8, Posn0_9); ^ symbol: variable mercury_term_lexer location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:104: error: package mercury_term_lexer does not exist StringTokens_10 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/lexer_ints.java:105: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/lexer_ints.java:112: error: cannot find symbol io.close_input_3_p_0(Stream_6); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/lexer_ints.java:127: error: package mercury_term_lexer does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_ints.java:127: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Raw_token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_ints.java:128: error: package mercury_term_lexer.Token_list_0 does not exist int Context_8 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lexer_ints.java:129: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_ints.java:129: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_ints.java:131: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lexer_ints.java:134: error: cannot find symbol io.write_int_3_p_0(Context_8); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:138: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:140: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ symbol: variable mercury_term_lexer location: class lexer_ints Mercury/javas/jmercury/lexer_ints.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/lexer_ints.java:142: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Token_7))); ^ symbol: variable io location: class lexer_ints 58 errors gmake[3]: *** [/tmp/mmake.dNTcte:2411: lexer_ints] Error 1 gmake[3]: Target 'lexer_ints.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lexer_ints.log] Error 1 RUNNING TEST hard_coded/list_series_int in grade java RUNNING TEST hard_coded/list_split_take_drop in grade java FAILED TEST hard_coded/list_series_int in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - list_series_int.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - list_series_int Making Mercury/int3s/list_series_int.int3 Making Mercury/ints/list_series_int.int Making Mercury/javas/jmercury/list_series_int.java Making Java class files Mercury/javas/jmercury/list_series_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/list_series_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "list_series_int"; ^ Mercury/javas/jmercury/list_series_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/list_series_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/list_series_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class list_series_int Mercury/javas/jmercury/list_series_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class list_series_int Mercury/javas/jmercury/list_series_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/list_series_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/list_series_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/list_series_int.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/list_series_int.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/list_series_int.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class list_series_int Mercury/javas/jmercury/list_series_int.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/list_series_int.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_40_40 = null; ^ Mercury/javas/jmercury/list_series_int.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = null; ^ Mercury/javas/jmercury/list_series_int.java:53: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/list_series_int.java:56: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/list_series_int.java:59: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/list_series_int.java:62: error: package list does not exist list.List_1 Var_24 = null; ^ Mercury/javas/jmercury/list_series_int.java:65: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/list_series_int.java:68: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/list_series_int.java:69: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/list_series_int.java:72: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/list_series_int.java:77: error: cannot find symbol Var_6 = list.f_46_46_2_f_0(Var_8, Var_9); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:79: error: package jmercury.runtime does not exist TypeInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(list_series_int.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/list_series_int.java:81: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:86: error: cannot find symbol Var_10 = list.f_46_46_2_f_0(Var_12, Var_13); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:89: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:94: error: cannot find symbol Var_14 = list.f_46_46_2_f_0(Var_16, Var_19); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:97: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:102: error: cannot find symbol Var_24 = list.f_46_46_2_f_0(Var_26, Var_27); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:105: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:110: error: cannot find symbol Var_28 = list.f_46_46_2_f_0(Var_30, Var_31); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:113: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class list_series_int Mercury/javas/jmercury/list_series_int.java:115: error: cannot find symbol TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class list_series_int Mercury/javas/jmercury/list_series_int.java:115: error: package jmercury.runtime does not exist TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/list_series_int.java:119: error: cannot find symbol Var_34 = list.f_46_46_2_f_0(Var_35, Var_36); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:124: error: cannot find symbol Var_37 = list.f_46_46_2_f_0(Var_38, Var_39); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:127: error: cannot find symbol Var_32 = list.f_43_43_2_f_0(TypeCtorInfo_41_41, Var_34, Var_37); ^ symbol: variable list location: class list_series_int Mercury/javas/jmercury/list_series_int.java:130: error: cannot find symbol io.write_line_3_p_0(TypeInfo_40_40, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class list_series_int 45 errors gmake[3]: *** [/tmp/mmake.zbDY6B:2411: list_series_int] Error 1 gmake[3]: Target 'list_series_int.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: list_series_int.log] Error 1 RUNNING TEST hard_coded/local_args in grade java FAILED TEST hard_coded/list_split_take_drop in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - list_split_take_drop.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - list_split_take_drop Making Mercury/int3s/list_split_take_drop.int3 Making Mercury/ints/list_split_take_drop.int Making Mercury/javas/jmercury/list_split_take_drop.java Making Java class files Mercury/javas/jmercury/list_split_take_drop.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/list_split_take_drop.java:33: 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_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/list_split_take_drop.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/list_split_take_drop.java:58: 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/list_split_take_drop.java:59: 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[6]; ^ Mercury/javas/jmercury/list_split_take_drop.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[13]; ^ Mercury/javas/jmercury/list_split_take_drop.java:63: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_7 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/list_split_take_drop.java:240: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/list_split_take_drop.java:561: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/list_split_take_drop.java:807: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/list_split_take_drop.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "list_split_take_drop"; ^ Mercury/javas/jmercury/list_split_take_drop.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/list_split_take_drop.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/list_split_take_drop.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/list_split_take_drop.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/list_split_take_drop.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/list_split_take_drop.java:33: 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_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/list_split_take_drop.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/list_split_take_drop.java:44: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/list_split_take_drop.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) list_split_take_drop.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/list_split_take_drop.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/list_split_take_drop.java:58: 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/list_split_take_drop.java:59: 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[6]; ^ Mercury/javas/jmercury/list_split_take_drop.java:60: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[13]; ^ Mercury/javas/jmercury/list_split_take_drop.java:63: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_7 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/list_split_take_drop.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/list_split_take_drop.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/list_split_take_drop.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/list_split_take_drop.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/list_split_take_drop.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/list_split_take_drop.java:74: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/list_split_take_drop.java:75: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list_split_take_drop.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/list_split_take_drop.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/list_split_take_drop.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ symbol: variable maybe location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))), ^ Mercury/javas/jmercury/list_split_take_drop.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list_split_take_drop.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/list_split_take_drop.java:83: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/list_split_take_drop.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:87: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/list_split_take_drop.java:90: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:92: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/list_split_take_drop.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:97: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/list_split_take_drop.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:102: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/list_split_take_drop.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:107: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/list_split_take_drop.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:112: error: package list does not exist (list.List_1) list_split_take_drop.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/list_split_take_drop.java:115: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:117: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:120: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:122: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:125: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:127: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/list_split_take_drop.java:130: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:132: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:135: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:137: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:140: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:142: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/list_split_take_drop.java:145: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:147: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:150: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:152: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:155: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:157: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/list_split_take_drop.java:160: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:162: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:165: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:167: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/list_split_take_drop.java:170: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:172: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/list_split_take_drop.java:175: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/list_split_take_drop.java:177: error: package list does not exist ((java.lang.Object) ((list.List_1) list_split_take_drop.MR_scalar_common_3[5])) ^ Mercury/javas/jmercury/list_split_take_drop.java:185: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:185: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/list_split_take_drop.java:186: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:186: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/list_split_take_drop.java:195: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/list_split_take_drop.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/list_split_take_drop.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = null; ^ Mercury/javas/jmercury/list_split_take_drop.java:210: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/list_split_take_drop.java:216: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(list_split_take_drop.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/list_split_take_drop.java:217: error: cannot find symbol TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class list_split_take_drop Mercury/javas/jmercury/list_split_take_drop.java:217: error: package jmercury.runtime does not exist TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.bLWL1T:2411: list_split_take_drop] Error 1 gmake[3]: Target 'list_split_take_drop.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: list_split_take_drop.log] Error 1 RUNNING TEST hard_coded/lookup_disj in grade java FAILED TEST hard_coded/local_args in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - local_args.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - local_args Making Mercury/int3s/local_args.int3 Making Mercury/ints/local_args.int Making Mercury/javas/jmercury/local_args.java Making Java class files Mercury/javas/jmercury/local_args.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/local_args.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/local_args.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] local_args__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/local_args.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/local_args.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct local_args__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/local_args.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/local_args.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/local_args.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/local_args.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] local_args__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/local_args.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/local_args.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct local_args__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/local_args.java:789: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/local_args.java:821: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/local_args.java:305: error: package bool does not exist bool.Bool_0 N_4, ^ Mercury/javas/jmercury/local_args.java:328: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/local_args.java:491: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/local_args.java:791: error: package bool does not exist public bool.Bool_0 t1; ^ Mercury/javas/jmercury/local_args.java:792: error: package bool does not exist public bool.Bool_0 t2; ^ Mercury/javas/jmercury/local_args.java:794: error: package bool does not exist public bool.Bool_0 t4; ^ Mercury/javas/jmercury/local_args.java:795: error: package bool does not exist public bool.Bool_0 t5; ^ Mercury/javas/jmercury/local_args.java:796: error: package bool does not exist public bool.Bool_0 t6; ^ Mercury/javas/jmercury/local_args.java:804: error: package bool does not exist bool.Bool_0 t1, ^ Mercury/javas/jmercury/local_args.java:805: error: package bool does not exist bool.Bool_0 t2, ^ Mercury/javas/jmercury/local_args.java:807: error: package bool does not exist bool.Bool_0 t4, ^ Mercury/javas/jmercury/local_args.java:808: error: package bool does not exist bool.Bool_0 t5, ^ Mercury/javas/jmercury/local_args.java:809: error: package bool does not exist bool.Bool_0 t6) ^ Mercury/javas/jmercury/local_args.java:729: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/local_args.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "local_args"; ^ Mercury/javas/jmercury/local_args.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/local_args.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/local_args.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class local_args Mercury/javas/jmercury/local_args.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class local_args Mercury/javas/jmercury/local_args.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/local_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class local_args Mercury/javas/jmercury/local_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class local_args Mercury/javas/jmercury/local_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class local_args Mercury/javas/jmercury/local_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class local_args Mercury/javas/jmercury/local_args.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/local_args.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_thing_0_0 = new jmercury.runtime.PseudoTypeInfo[6]; ^ Mercury/javas/jmercury/local_args.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_thing_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_stag_ordered_thing_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/local_args.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] local_args__du_ptag_ordered_thing_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/local_args.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_name_ordered_thing_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/local_args.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct local_args__type_ctor_info_thing_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/local_args.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/local_args.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] local_args__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/local_args.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc local_args__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/local_args.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/local_args.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] local_args__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/local_args.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] local_args__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/local_args.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct local_args__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/local_args.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/local_args.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class local_args Mercury/javas/jmercury/local_args.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/local_args.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class local_args Mercury/javas/jmercury/local_args.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0; ^ Mercury/javas/jmercury/local_args.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int8_0; ^ symbol: variable builtin location: class local_args Mercury/javas/jmercury/local_args.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/local_args.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class local_args Mercury/javas/jmercury/local_args.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/local_args.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class local_args Mercury/javas/jmercury/local_args.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/local_args.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class local_args Mercury/javas/jmercury/local_args.java:80: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/local_args.java:96: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/local_args.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/local_args.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/local_args.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) local_args.local_args__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/local_args.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) local_args.local_args__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/local_args.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) local_args.local_args__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/local_args.java:136: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:144: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:148: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) local_args.local_args__type_ctor_info_thing_0; ^ Mercury/javas/jmercury/local_args.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:161: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:169: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/local_args.java:171: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class local_args Mercury/javas/jmercury/local_args.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/local_args.java:194: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/local_args.java:197: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/local_args.java:219: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/local_args.java:220: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/local_args.java:222: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/local_args.java:223: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/local_args.java:224: error: package bool does not exist bool.Bool_0.K1 ^ Mercury/javas/jmercury/local_args.java:228: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/local_args.java:229: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/local_args.java:231: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/local_args.java:232: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/local_args.java:233: error: package bool does not exist bool.Bool_0.K0 ^ Mercury/javas/jmercury/local_args.java:237: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/local_args.java:238: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/local_args.java:240: error: package bool does not exist bool.Bool_0.K0, ^ 100 errors gmake[3]: *** [/tmp/mmake.UoDrJO:2411: local_args] Error 1 gmake[3]: Target 'local_args.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: local_args.log] Error 1 RUNNING TEST hard_coded/lookup_switch_simple in grade java FAILED TEST hard_coded/lookup_disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_disj Making Mercury/int3s/lookup_disj.int3 Making Mercury/ints/lookup_disj.int Making Mercury/javas/jmercury/lookup_disj.java Making Java class files Mercury/javas/jmercury/lookup_disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_p_soln_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/lookup_disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_p_soln_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_p_soln_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_p_soln_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_p_soln_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_p_soln_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_q_soln_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lookup_disj.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_q_soln_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_q_soln_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_q_soln_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_q_soln_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_q_soln_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lookup_disj.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lookup_disj.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/lookup_disj.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/lookup_disj.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:332: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_disj.java:336: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_5 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/lookup_disj.java:1915: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lookup_disj.java:342: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_12 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_disj.java:1860: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lookup_disj.java:664: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_disj.java:1886: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lookup_disj.java:728: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_disj.java:766: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_disj.java:850: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_disj.java:1165: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lookup_disj.java:1250: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lookup_disj.java:1356: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lookup_disj.java:463: error: package pair does not exist public final pair.Pair_2 vct_11_f_0; ^ Mercury/javas/jmercury/lookup_disj.java:470: error: package pair does not exist pair.Pair_2 vct_11_f_0, ^ Mercury/javas/jmercury/lookup_disj.java:517: error: package pair does not exist public final pair.Pair_2 vct_13_f_0; ^ Mercury/javas/jmercury/lookup_disj.java:523: error: package pair does not exist pair.Pair_2 vct_13_f_0, ^ Mercury/javas/jmercury/lookup_disj.java:1862: error: package pair does not exist public pair.Pair_2 F1; ^ Mercury/javas/jmercury/lookup_disj.java:1873: error: package pair does not exist pair.Pair_2 F1, ^ Mercury/javas/jmercury/lookup_disj.java:1888: error: package pair does not exist public pair.Pair_2 F1; ^ Mercury/javas/jmercury/lookup_disj.java:1900: error: package pair does not exist pair.Pair_2 F1, ^ Mercury/javas/jmercury/lookup_disj.java:1703: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lookup_disj.java:1799: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/lookup_disj.java:1995: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/lookup_disj.java:2004: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/lookup_disj.java:2013: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/lookup_disj.java:2016: error: package pair does not exist public pair.Pair_2 Pair_3; ^ Mercury/javas/jmercury/lookup_disj.java:2027: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/lookup_disj.java:2030: error: package pair does not exist public pair.Pair_2 Pair_3; ^ Mercury/javas/jmercury/lookup_disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_disj"; ^ Mercury/javas/jmercury/lookup_disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_p_soln_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/lookup_disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_p_soln_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_p_soln_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_p_soln_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_p_soln_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_p_soln_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_q_soln_0_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/lookup_disj.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_q_soln_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_q_soln_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_q_soln_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_q_soln_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_disj.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_q_soln_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lookup_disj.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_disj__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/lookup_disj.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_disj__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_disj.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/lookup_disj.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_disj__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_disj.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_disj__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/lookup_disj.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_disj__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_disj.java:63: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:65: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ symbol: variable builtin location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0), ^ Mercury/javas/jmercury/lookup_disj.java:66: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/lookup_disj.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lookup_disj.pair__ti_pair_2builtin__type_ctor_info_float_0builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/lookup_disj.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/lookup_disj.java:72: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lookup_disj.lookup_disj__type_ctor_info_t_0; ^ Mercury/javas/jmercury/lookup_disj.java:76: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/lookup_disj.java:76: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class lookup_disj Mercury/javas/jmercury/lookup_disj.java:81: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class lookup_disj 100 errors gmake[3]: *** [/tmp/mmake.9Sl2uM:2411: lookup_disj] Error 1 gmake[3]: Target 'lookup_disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_disj.log] Error 1 RUNNING TEST hard_coded/lookup_switch_simple_bitvec in grade java FAILED TEST hard_coded/lookup_switch_simple in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple Making Mercury/int3s/lookup_switch_simple.int3 Making Mercury/ints/lookup_switch_simple.int Making Mercury/javas/jmercury/lookup_switch_simple.java Making Java class files Mercury/javas/jmercury/lookup_switch_simple.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_switch_simple"; ^ Mercury/javas/jmercury/lookup_switch_simple.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_switch_simple.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_switch_simple.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_switch_simple.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_switch_simple.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lookup_switch_simple.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/lookup_switch_simple.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/lookup_switch_simple.java:44: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple.java:49: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple.java:54: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple.java:59: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple.java:64: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/lookup_switch_simple.java:65: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/lookup_switch_simple.java:112: error: package pair does not exist pair.Pair_2 D_9 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:120: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:129: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:138: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:147: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:158: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:166: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:170: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:172: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) lookup_switch_simple.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:174: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, N_4); ^ symbol: variable string__format location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:177: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:181: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:183: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:183: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/lookup_switch_simple.java:185: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(A_6)); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:189: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:191: error: cannot find symbol TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:191: error: package jmercury.runtime does not exist TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/lookup_switch_simple.java:193: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_35_35, java.lang.Double.valueOf(B_7)); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:197: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:199: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:199: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/lookup_switch_simple.java:201: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (C_8))); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:205: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:207: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/lookup_switch_simple.java:209: error: cannot find symbol io.write_3_p_0(TypeInfo_37_37, ((java.lang.Object) (D_9))); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:213: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:220: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_58 = null; ^ Mercury/javas/jmercury/lookup_switch_simple.java:224: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:226: error: package string__parse_util does not exist Var_58 = (string__parse_util.String_format_flags_0) lookup_switch_simple.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple.java:228: error: cannot find symbol Var_52 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_58, N_4); ^ symbol: variable string__format location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:231: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class lookup_switch_simple Mercury/javas/jmercury/lookup_switch_simple.java:235: error: cannot find symbol io.write_string_3_p_0(Var_59); ^ symbol: variable io location: class lookup_switch_simple 70 errors gmake[3]: *** [/tmp/mmake.c2yBuJ:2411: lookup_switch_simple] Error 1 gmake[3]: Target 'lookup_switch_simple.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_switch_simple.log] Error 1 RUNNING TEST hard_coded/lookup_switch_simple_cond in grade java FAILED TEST hard_coded/lookup_switch_simple_bitvec in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_bitvec.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_bitvec Making Mercury/int3s/lookup_switch_simple_bitvec.int3 Making Mercury/ints/lookup_switch_simple_bitvec.int Making Mercury/javas/jmercury/lookup_switch_simple_bitvec.java Making Java class files Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_switch_simple_bitvec"; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:44: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:49: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:54: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:59: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:64: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:69: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:132: error: package pair does not exist pair.Pair_2 D_9 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:140: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_bitvec.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:149: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_bitvec.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:158: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_bitvec.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:167: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_bitvec.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:176: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_bitvec.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:195: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:199: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:201: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) lookup_switch_simple_bitvec.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:203: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, N_4); ^ symbol: variable string__format location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:206: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:210: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:212: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:212: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:214: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(A_6)); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:218: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:220: error: cannot find symbol TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:220: error: package jmercury.runtime does not exist TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:222: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_35_35, java.lang.Double.valueOf(B_7)); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:226: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:228: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:228: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:230: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (C_8))); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:234: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:236: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple_bitvec.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:238: error: cannot find symbol io.write_3_p_0(TypeInfo_37_37, ((java.lang.Object) (D_9))); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:242: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:249: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_58 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:253: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:255: error: package string__parse_util does not exist Var_58 = (string__parse_util.String_format_flags_0) lookup_switch_simple_bitvec.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:257: error: cannot find symbol Var_52 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_58, N_4); ^ symbol: variable string__format location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:260: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class lookup_switch_simple_bitvec Mercury/javas/jmercury/lookup_switch_simple_bitvec.java:264: error: cannot find symbol io.write_string_3_p_0(Var_59); ^ symbol: variable io location: class lookup_switch_simple_bitvec 72 errors gmake[3]: *** [/tmp/mmake.FpcIMc:2411: lookup_switch_simple_bitvec] Error 1 gmake[3]: Target 'lookup_switch_simple_bitvec.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_switch_simple_bitvec.log] Error 1 RUNNING TEST hard_coded/lookup_switch_simple_non in grade java FAILED TEST hard_coded/lookup_switch_simple_cond in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_cond.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_cond Making Mercury/int3s/lookup_switch_simple_cond.int3 Making Mercury/ints/lookup_switch_simple_cond.int Making Mercury/javas/jmercury/lookup_switch_simple_cond.java Making Java class files Mercury/javas/jmercury/lookup_switch_simple_cond.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_switch_simple_cond"; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:52: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:57: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:62: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:67: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:116: error: package pair does not exist pair.Pair_2 D_9 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:119: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:121: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) lookup_switch_simple_cond.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:123: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, N_4); ^ symbol: variable string__format location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:126: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:130: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:138: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_cond.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:147: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_cond.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:156: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_cond.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:165: error: package pair does not exist D_9 = (pair.Pair_2) lookup_switch_simple_cond.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:174: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:184: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(A_6)); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:188: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:190: error: cannot find symbol TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:190: error: package jmercury.runtime does not exist TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:192: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_35_35, java.lang.Double.valueOf(B_7)); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:196: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:198: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:198: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:200: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (C_8))); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:204: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:206: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple_cond.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/lookup_switch_simple_cond.java:208: error: cannot find symbol io.write_3_p_0(TypeInfo_37_37, ((java.lang.Object) (D_9))); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:212: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:222: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:225: error: cannot find symbol Var_52 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, N_4); ^ symbol: variable string__format location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:228: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class lookup_switch_simple_cond Mercury/javas/jmercury/lookup_switch_simple_cond.java:232: error: cannot find symbol io.write_string_3_p_0(Var_59); ^ symbol: variable io location: class lookup_switch_simple_cond 68 errors gmake[3]: *** [/tmp/mmake.Cnxdnh:2411: lookup_switch_simple_cond] Error 1 gmake[3]: Target 'lookup_switch_simple_cond.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_switch_simple_cond.log] Error 1 RUNNING TEST hard_coded/lookup_switch_simple_opt in grade java FAILED TEST hard_coded/lookup_switch_simple_non in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_non.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_non Making Mercury/int3s/lookup_switch_simple_non.int3 Making Mercury/ints/lookup_switch_simple_non.int Making Mercury/javas/jmercury/lookup_switch_simple_non.java Making Java class files Mercury/javas/jmercury/lookup_switch_simple_non.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_5__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_string_0__plain_pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:63: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:66: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_6 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:250: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:289: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:430: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:449: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:496: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_switch_simple_non"; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_5__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_string_0__plain_pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:38: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0, ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lookup_switch_simple_non.pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:63: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:66: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_6 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple_non.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:93: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:106: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:106: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:107: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:107: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:116: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:121: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:126: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:131: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:173: error: package list does not exist list.List_1 Solns_6 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:184: error: package jmercury.runtime does not exist TypeInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple_non.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:186: error: cannot find symbol Solns_6 = solutions.solutions_2_p_1(TypeInfo_20_20, Var_11); ^ symbol: variable solutions location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:192: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:196: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:198: error: package string__parse_util does not exist Var_34 = (string__parse_util.String_format_flags_0) lookup_switch_simple_non.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:200: error: cannot find symbol Var_28 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_34, N_4); ^ symbol: variable string__format location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:203: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:207: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:212: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:217: error: cannot find symbol conv1_STATE_VARIABLE_IO_10 = list.foldl_4_p_2(TypeInfo_20_20, TypeCtorInfo_24_24, Var_12, Solns_6, ((java.lang.Object) (0))); ^ symbol: variable list location: class lookup_switch_simple_non Mercury/javas/jmercury/lookup_switch_simple_non.java:230: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((lookup_switch_simple_non.Test_3_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((lookup_switch_simple_non.Test_3_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((lookup_switch_simple_non.Test_3_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:297: error: package pair does not exist pair.Pair_2 D_7 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:305: error: package pair does not exist D_7 = (pair.Pair_2) lookup_switch_simple_non.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:314: error: package pair does not exist D_7 = (pair.Pair_2) lookup_switch_simple_non.MR_scalar_common_6[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:323: error: package pair does not exist D_7 = (pair.Pair_2) lookup_switch_simple_non.MR_scalar_common_6[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:332: error: package pair does not exist D_7 = (pair.Pair_2) lookup_switch_simple_non.MR_scalar_common_6[3]; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:354: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:362: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:363: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_non.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.x0BUh4:2411: lookup_switch_simple_non] Error 1 gmake[3]: Target 'lookup_switch_simple_non.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_switch_simple_non.log] Error 1 RUNNING TEST hard_coded/loop_inv_test_1 in grade java FAILED TEST hard_coded/lookup_switch_simple_opt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_opt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - lookup_switch_simple_opt Making Mercury/int3s/lookup_switch_simple_opt.int3 Making Mercury/ints/lookup_switch_simple_opt.int Making Mercury/javas/jmercury/lookup_switch_simple_opt.java Making Java class files Mercury/javas/jmercury/lookup_switch_simple_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lookup_switch_simple_opt__enum_ordinal_ordered_e_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lookup_switch_simple_opt__enum_name_ordered_e_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_switch_simple_opt__type_ctor_info_e_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_switch_simple_opt__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_switch_simple_opt__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_switch_simple_opt__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_switch_simple_opt__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_switch_simple_opt__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_switch_simple_opt__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:575: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:597: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:598: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:342: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:381: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:515: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lookup_switch_simple_opt"; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc lookup_switch_simple_opt__enum_functor_desc_e_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lookup_switch_simple_opt__enum_ordinal_ordered_e_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] lookup_switch_simple_opt__enum_name_ordered_e_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_switch_simple_opt__type_ctor_info_e_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] lookup_switch_simple_opt__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc lookup_switch_simple_opt__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_switch_simple_opt__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] lookup_switch_simple_opt__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] lookup_switch_simple_opt__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct lookup_switch_simple_opt__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:144: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) lookup_switch_simple_opt.lookup_switch_simple_opt__type_ctor_info_e_0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:146: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:146: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:151: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:159: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:167: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:186: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:189: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:294: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:300: error: cannot find symbol switch (E_15.MR_value) { ^ symbol: variable MR_value location: variable E_15 of type E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:300: error: illegal start of type switch (E_15.MR_value) { ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:323: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:325: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(lookup_switch_simple_opt.lookup_switch_simple_opt__type_ctor_info_t_0); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:327: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (T_4))); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:331: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:334: error: cannot find symbol io.write_int_3_p_0(N_6); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:338: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class lookup_switch_simple_opt Mercury/javas/jmercury/lookup_switch_simple_opt.java:348: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:349: 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 E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:350: 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 E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:354: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:359: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:372: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:387: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:393: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:400: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:401: error: cannot find symbol int Var_13 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:402: error: cannot find symbol int Var_14 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:406: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:411: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:413: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:415: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:422: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:427: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:429: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:442: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lookup_switch_simple_opt.java:456: 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 E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:456: 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 E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:493: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgX1_3 of type E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:493: error: cannot find symbol succeeded = (ArgX1_3.MR_value == ArgY1_4.MR_value); ^ symbol: variable MR_value location: variable ArgY1_4 of type E_0 Mercury/javas/jmercury/lookup_switch_simple_opt.java:562: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 96 errors gmake[3]: *** [/tmp/mmake.YWIwhb:2411: lookup_switch_simple_opt] Error 1 gmake[3]: Target 'lookup_switch_simple_opt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: lookup_switch_simple_opt.log] Error 1 RUNNING TEST hard_coded/loop_inv_test_2 in grade java FAILED TEST hard_coded/loop_inv_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_1 Making Mercury/int3s/loop_inv_test_1.int3 Making Mercury/ints/loop_inv_test_1.int Making Mercury/javas/jmercury/loop_inv_test_1.java Making Java class files Mercury/javas/jmercury/loop_inv_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test_1"; ^ Mercury/javas/jmercury/loop_inv_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test_1.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test_1.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test_1.java:191: error: package io does not exist io.Result_1 Res1_4 = null; ^ Mercury/javas/jmercury/loop_inv_test_1.java:192: error: package io does not exist io.Result_1 Res2_5 = null; ^ Mercury/javas/jmercury/loop_inv_test_1.java:198: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:201: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:204: error: cannot find symbol Res1_4 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:207: error: cannot find symbol Res2_5 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:212: error: package io.Result_1 does not exist L1_6 = ((java.lang.String) ((io.Result_1.Ok_1) Res1_4).F1); ^ Mercury/javas/jmercury/loop_inv_test_1.java:215: error: package io.Result_1 does not exist L2_7 = ((java.lang.String) ((io.Result_1.Ok_1) Res2_5).F1); ^ Mercury/javas/jmercury/loop_inv_test_1.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/loop_inv_test_1.java:230: error: cannot find symbol Var_19 = string.chomp_1_f_0(L1_6); ^ symbol: variable string location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:233: error: cannot find symbol N1_8 = string.det_to_int_1_f_0(Var_19); ^ symbol: variable string location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:236: error: cannot find symbol Var_20 = string.chomp_1_f_0(L2_7); ^ symbol: variable string location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:239: error: cannot find symbol N2_9 = string.det_to_int_1_f_0(Var_20); ^ symbol: variable string location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:249: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_21))); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:251: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:251: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/loop_inv_test_1.java:253: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Integer.valueOf(R1_10)); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:257: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:260: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_29_29, java.lang.Integer.valueOf(R2_11)); ^ symbol: variable io location: class loop_inv_test_1 Mercury/javas/jmercury/loop_inv_test_1.java:268: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Var_27))); ^ symbol: variable io location: class loop_inv_test_1 34 errors gmake[3]: *** [/tmp/mmake.RU4LIA:2411: loop_inv_test_1] Error 1 gmake[3]: Target 'loop_inv_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: loop_inv_test_1.log] Error 1 RUNNING TEST hard_coded/loop_inv_test_3 in grade java FAILED TEST hard_coded/loop_inv_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants --trace-optimized '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_2 Making Mercury/int3s/loop_inv_test_2.int3 Making Mercury/ints/loop_inv_test_2.int Making Mercury/javas/jmercury/loop_inv_test_2.java Making Java class files Mercury/javas/jmercury/loop_inv_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test_2"; ^ Mercury/javas/jmercury/loop_inv_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test_2.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test_2.java:196: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/loop_inv_test_2.java:197: error: package io does not exist io.Result_1 Res1_4 = null; ^ Mercury/javas/jmercury/loop_inv_test_2.java:198: error: package io does not exist io.Result_1 Res2_5 = null; ^ Mercury/javas/jmercury/loop_inv_test_2.java:199: error: package io does not exist io.Result_1 Res3_6 = null; ^ Mercury/javas/jmercury/loop_inv_test_2.java:206: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:209: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:212: error: cannot find symbol Res1_4 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:215: error: cannot find symbol Res2_5 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:218: error: cannot find symbol Res3_6 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:223: error: package io.Result_1 does not exist L1_7 = ((java.lang.String) ((io.Result_1.Ok_1) Res1_4).F1); ^ Mercury/javas/jmercury/loop_inv_test_2.java:227: error: package io.Result_1 does not exist L2_8 = ((java.lang.String) ((io.Result_1.Ok_1) Res2_5).F1); ^ Mercury/javas/jmercury/loop_inv_test_2.java:230: error: package io.Result_1 does not exist L3_9 = ((java.lang.String) ((io.Result_1.Ok_1) Res3_6).F1); ^ Mercury/javas/jmercury/loop_inv_test_2.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/loop_inv_test_2.java:248: error: cannot find symbol Var_23 = string.chomp_1_f_0(L1_7); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:251: error: cannot find symbol N1_10 = string.det_to_int_1_f_0(Var_23); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:254: error: cannot find symbol Var_24 = string.chomp_1_f_0(L2_8); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:257: error: cannot find symbol N2_11 = string.det_to_int_1_f_0(Var_24); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:260: error: cannot find symbol Var_25 = string.chomp_1_f_0(L3_9); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:263: error: cannot find symbol N3_12 = string.det_to_int_1_f_0(Var_25); ^ symbol: variable string location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:273: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:275: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:275: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/loop_inv_test_2.java:277: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(R1_13)); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:281: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:284: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(R2_14)); ^ symbol: variable io location: class loop_inv_test_2 Mercury/javas/jmercury/loop_inv_test_2.java:292: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class loop_inv_test_2 39 errors gmake[3]: *** [/tmp/mmake.lxEtgm:2411: loop_inv_test_2] Error 1 gmake[3]: Target 'loop_inv_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: loop_inv_test_2.log] Error 1 RUNNING TEST hard_coded/loop_inv_test_4 in grade java FAILED TEST hard_coded/loop_inv_test_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_3 Making Mercury/int3s/loop_inv_test_3.int3 Making Mercury/ints/loop_inv_test_3.int Making Mercury/javas/jmercury/loop_inv_test_3.java Making Java class files Mercury/javas/jmercury/loop_inv_test_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/loop_inv_test_3.java:33: 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/loop_inv_test_3.java:64: error: package list does not exist list.List_1 L0_7) ^ Mercury/javas/jmercury/loop_inv_test_3.java:60: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/loop_inv_test_3.java:106: error: package list does not exist list.List_1 L0_7, ^ Mercury/javas/jmercury/loop_inv_test_3.java:102: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/loop_inv_test_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test_3"; ^ Mercury/javas/jmercury/loop_inv_test_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/loop_inv_test_3.java:33: 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/loop_inv_test_3.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/loop_inv_test_3.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/loop_inv_test_3.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/loop_inv_test_3.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/loop_inv_test_3.java:67: error: package list does not exist list.List_1 L_8 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:82: error: package list does not exist list.List_1 L1_11 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:88: error: package list.List_1 does not exist L1_11 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/loop_inv_test_3.java:113: error: package list does not exist list.List_1 L_8 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:125: error: package list does not exist list.List_1 L1_11 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:129: error: package list does not exist list.List_1 next_value_of_L0_7 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:132: error: package list.List_1 does not exist L1_11 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/loop_inv_test_3.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:154: error: package list does not exist list.List_1 L_4 = null; ^ Mercury/javas/jmercury/loop_inv_test_3.java:157: error: package list does not exist list.List_1 Var_9 = (list.List_1) loop_inv_test_3.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/loop_inv_test_3.java:157: error: package list does not exist list.List_1 Var_9 = (list.List_1) loop_inv_test_3.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/loop_inv_test_3.java:162: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(loop_inv_test_3.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/loop_inv_test_3.java:164: error: cannot find symbol io.write_3_p_0(TypeInfo_11_11, ((java.lang.Object) (L_4))); ^ symbol: variable io location: class loop_inv_test_3 Mercury/javas/jmercury/loop_inv_test_3.java:167: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class loop_inv_test_3 39 errors gmake[3]: *** [/tmp/mmake.8ambqJ:2411: loop_inv_test_3] Error 1 gmake[3]: Target 'loop_inv_test_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: loop_inv_test_3.log] Error 1 RUNNING TEST hard_coded/map_fold in grade java FAILED TEST hard_coded/loop_inv_test_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --loop-invariants '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - loop_inv_test_4 Making Mercury/int3s/loop_inv_test_4.int3 Making Mercury/ints/loop_inv_test_4.int Making Mercury/javas/jmercury/loop_inv_test_4.java Making Java class files Mercury/javas/jmercury/loop_inv_test_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct loop_inv_test_4__type_ctor_info_myfunc_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:74: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:75: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:193: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/loop_inv_test_4.java:230: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/loop_inv_test_4.java:286: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/loop_inv_test_4.java:328: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/loop_inv_test_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "loop_inv_test_4"; ^ Mercury/javas/jmercury/loop_inv_test_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/loop_inv_test_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/loop_inv_test_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/loop_inv_test_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/loop_inv_test_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct loop_inv_test_4__type_ctor_info_myfunc_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/loop_inv_test_4.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/loop_inv_test_4.java:42: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:42: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/loop_inv_test_4.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/loop_inv_test_4.java:54: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/loop_inv_test_4.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/loop_inv_test_4.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) loop_inv_test_4.__vti_func_3builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/loop_inv_test_4.java:74: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:75: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:83: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:83: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/loop_inv_test_4.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/loop_inv_test_4.java:85: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:85: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/loop_inv_test_4.java:106: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/loop_inv_test_4.java:110: error: package list does not exist (list.List_1) loop_inv_test_4.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/loop_inv_test_4.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/loop_inv_test_4.java:115: error: package list does not exist (list.List_1) loop_inv_test_4.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/loop_inv_test_4.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/loop_inv_test_4.java:120: error: package list does not exist (list.List_1) loop_inv_test_4.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/loop_inv_test_4.java:133: error: package list does not exist list.List_1 List_4 = (list.List_1) loop_inv_test_4.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:133: error: package list does not exist list.List_1 List_4 = (list.List_1) loop_inv_test_4.MR_scalar_common_4[2]; ^ Mercury/javas/jmercury/loop_inv_test_4.java:151: error: cannot find symbol conv0_HeadVar__3_3 = mr_int.plus_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable mr_int location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:168: error: cannot find symbol conv1_HeadVar__3_3 = mr_int.times_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable mr_int location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:185: error: cannot find symbol conv2_HeadVar__3_3 = mr_int.minus_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable mr_int location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:200: error: package list.List_1 does not exist /* closure */ java.lang.Object[] P_7 = ((/* closure */ java.lang.Object[]) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/loop_inv_test_4.java:201: error: package list does not exist list.List_1 Ps_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/loop_inv_test_4.java:201: error: package list.List_1 does not exist list.List_1 Ps_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/loop_inv_test_4.java:206: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_7)[1]); ^ Mercury/javas/jmercury/loop_inv_test_4.java:206: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_7)[1]); ^ Mercury/javas/jmercury/loop_inv_test_4.java:208: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/loop_inv_test_4.java:211: error: package jmercury.runtime does not exist conv1_X_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_7))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_13))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_14))))); ^ Mercury/javas/jmercury/loop_inv_test_4.java:215: error: cannot find symbol io.write_int_3_p_0(X_10); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:219: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:235: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/loop_inv_test_4.java:238: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:249: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/loop_inv_test_4.java:266: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class loop_inv_test_4 Mercury/javas/jmercury/loop_inv_test_4.java:315: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/loop_inv_test_4.java:367: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 67 errors gmake[3]: *** [/tmp/mmake.iguoiW:2411: loop_inv_test_4] Error 1 gmake[3]: Target 'loop_inv_test_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: loop_inv_test_4.log] Error 1 RUNNING TEST hard_coded/map_merge_test in grade java FAILED TEST hard_coded/map_fold in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_fold.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_fold Making Mercury/int3s/map_fold.int3 Making Mercury/ints/map_fold.int Making Mercury/javas/jmercury/map_fold.java Making Java class files Mercury/javas/jmercury/map_fold.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_fold.java:61: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_fold.java:237: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_16) ^ Mercury/javas/jmercury/map_fold.java:234: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/map_fold.java:252: error: package list does not exist list.List_1 LambdaHeadVar__3_25) ^ Mercury/javas/jmercury/map_fold.java:248: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_fold.java:276: error: package list does not exist list.List_1 LambdaHeadVar__3_32) ^ Mercury/javas/jmercury/map_fold.java:272: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_fold.java:298: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/map_fold.java:318: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/map_fold.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_fold"; ^ Mercury/javas/jmercury/map_fold.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_fold.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_fold.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_fold Mercury/javas/jmercury/map_fold.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_fold Mercury/javas/jmercury/map_fold.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_fold.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_fold.java:38: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class map_fold Mercury/javas/jmercury/map_fold.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_fold.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_fold.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_fold.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_fold.java:61: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_fold.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_fold.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class map_fold Mercury/javas/jmercury/map_fold.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/map_fold.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/map_fold.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_fold.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_fold.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/map_fold.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_fold.java:80: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:80: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:96: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:96: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/map_fold.java:113: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/map_fold.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:125: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_fold.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_fold.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_51_51 = null; ^ Mercury/javas/jmercury/map_fold.java:128: error: package tree234 does not exist tree234.Tree234_2 Map_4 = null; ^ Mercury/javas/jmercury/map_fold.java:129: error: package list does not exist list.List_1 L_7 = null; ^ Mercury/javas/jmercury/map_fold.java:130: error: package list does not exist list.List_1 R_11 = null; ^ Mercury/javas/jmercury/map_fold.java:132: error: package list does not exist list.List_1 Var_18 = null; ^ Mercury/javas/jmercury/map_fold.java:135: error: package tree234 does not exist tree234.Tree234_2 Var_21 = null; ^ Mercury/javas/jmercury/map_fold.java:137: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/map_fold.java:139: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/map_fold.java:145: error: cannot find symbol Var_18 = list.f_46_46_2_f_0(Var_19, Var_20); ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:148: error: cannot find symbol Var_21 = map.init_0_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:151: error: cannot find symbol conv1_Map_4 = list.foldl_3_f_0(TypeCtorInfo_48_48, TypeInfo_49_49, Var_14, Var_18, ((java.lang.Object) (Var_21))); ^ symbol: variable list location: class map_fold Mercury/javas/jmercury/map_fold.java:153: error: package tree234 does not exist Map_4 = ((tree234.Tree234_2) conv1_Map_4); ^ Mercury/javas/jmercury/map_fold.java:154: error: package jmercury.runtime does not exist TypeInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_fold.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_fold.java:156: error: package list does not exist Var_28 = (list.List_1) map_fold.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/map_fold.java:158: error: cannot find symbol conv3_L_7 = map.foldl_3_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48, TypeInfo_51_51, Var_22, Map_4, ((java.lang.Object) (Var_28))); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:160: error: package list does not exist L_7 = ((list.List_1) conv3_L_7); ^ Mercury/javas/jmercury/map_fold.java:162: error: package list does not exist Var_35 = (list.List_1) map_fold.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/map_fold.java:164: error: cannot find symbol conv5_R_11 = map.foldr_3_f_0(TypeCtorInfo_48_48, TypeCtorInfo_48_48, TypeInfo_51_51, Var_29, Map_4, ((java.lang.Object) (Var_35))); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:166: error: package list does not exist R_11 = ((list.List_1) conv5_R_11); ^ Mercury/javas/jmercury/map_fold.java:168: error: cannot find symbol io.print_3_p_0(TypeInfo_51_51, ((java.lang.Object) (L_7))); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:171: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:174: error: cannot find symbol io.print_3_p_0(TypeInfo_51_51, ((java.lang.Object) (R_11))); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:177: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class map_fold Mercury/javas/jmercury/map_fold.java:189: error: package tree234 does not exist tree234.Tree234_2 conv0_LambdaHeadVar__3_17 = null; ^ Mercury/javas/jmercury/map_fold.java:192: error: package tree234 does not exist conv0_LambdaHeadVar__3_17 = map_fold.IntroducedFrom__func__main__33__1_2_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((tree234.Tree234_2) wrapper_arg_2)); ^ Mercury/javas/jmercury/map_fold.java:207: error: package list does not exist list.List_1 conv2_LambdaHeadVar__4_26 = null; ^ Mercury/javas/jmercury/map_fold.java:210: error: package list does not exist conv2_LambdaHeadVar__4_26 = map_fold.IntroducedFrom__func__main__34__1_3_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/map_fold.java:225: error: package list does not exist list.List_1 conv4_LambdaHeadVar__4_33 = null; ^ Mercury/javas/jmercury/map_fold.java:228: error: package list does not exist conv4_LambdaHeadVar__4_33 = map_fold.IntroducedFrom__func__main__35__1_3_f_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/map_fold.java:239: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__3_17 = null; ^ Mercury/javas/jmercury/map_fold.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:240: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_fold Mercury/javas/jmercury/map_fold.java:240: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_fold.java:243: error: cannot find symbol LambdaHeadVar__3_17 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_101_108_101_109_32_58_61_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_f_0(TypeCtorInfo_50_50, LambdaHeadVar__1_15, LambdaHeadVar__2_16, java.lang.Integer.valueOf(LambdaHeadVar__1_15)); ^ symbol: variable map location: class map_fold Mercury/javas/jmercury/map_fold.java:254: error: package list does not exist list.List_1 LambdaHeadVar__4_26 = null; ^ Mercury/javas/jmercury/map_fold.java:255: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/map_fold.java:258: error: package list.List_1 does not exist Var_27 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_fold.java:264: error: package list.List_1 does not exist LambdaHeadVar__4_26 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_fold.java:278: error: package list does not exist list.List_1 LambdaHeadVar__4_33 = null; ^ Mercury/javas/jmercury/map_fold.java:279: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/map_fold.java:282: error: package list.List_1 does not exist Var_34 = new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.aLSfP2:2411: map_fold] Error 1 gmake[3]: Target 'map_fold.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: map_fold.log] Error 1 RUNNING TEST hard_coded/map_select_test in grade java FAILED TEST hard_coded/map_merge_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_merge_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_merge_test Making Mercury/int3s/map_merge_test.int3 Making Mercury/ints/map_merge_test.int Making Mercury/javas/jmercury/map_merge_test.java map_merge_test.m:036: In predicate `main_2'/3: map_merge_test.m:036: warning: the second argument and the third argument, map_merge_test.m:036: represented by the state variable `!IO', could be map_merge_test.m:036: deleted, because they are not used, and because the map_merge_test.m:036: final value is always the same as the initial value. Making Java class files Mercury/javas/jmercury/map_merge_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_merge_test.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/map_merge_test.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_merge_test.java:54: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_5 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/map_merge_test.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/map_merge_test.java:192: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/map_merge_test.java:217: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/map_merge_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_merge_test"; ^ Mercury/javas/jmercury/map_merge_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_merge_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_merge_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_merge_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_merge_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_merge_test.java:37: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/map_merge_test.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_merge_test.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/map_merge_test.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/map_merge_test.java:54: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_5 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/map_merge_test.java:55: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/map_merge_test.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_merge_test.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/map_merge_test.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/map_merge_test.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_merge_test.java:70: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:70: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/map_merge_test.java:71: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:71: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/map_merge_test.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/map_merge_test.java:82: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_merge_test.java:87: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_merge_test.java:92: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_merge_test.java:97: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_merge_test.java:102: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/map_merge_test.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:108: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[0])), ^ Mercury/javas/jmercury/map_merge_test.java:109: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/map_merge_test.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:113: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[1])), ^ Mercury/javas/jmercury/map_merge_test.java:114: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/map_merge_test.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:118: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[2])), ^ Mercury/javas/jmercury/map_merge_test.java:119: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_6[1] ^ Mercury/javas/jmercury/map_merge_test.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:123: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[3])), ^ Mercury/javas/jmercury/map_merge_test.java:124: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/map_merge_test.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:128: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[1])), ^ Mercury/javas/jmercury/map_merge_test.java:129: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/map_merge_test.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_merge_test.java:133: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) map_merge_test.MR_scalar_common_5[4])), ^ Mercury/javas/jmercury/map_merge_test.java:134: error: package list does not exist (list.List_1) map_merge_test.MR_scalar_common_6[4] ^ Mercury/javas/jmercury/map_merge_test.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_merge_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_merge_test.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_merge_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/map_merge_test.java:148: error: package exception does not exist exception.Exception_result_1 Result_4 = null; ^ Mercury/javas/jmercury/map_merge_test.java:152: error: cannot find symbol Result_4 = exception.try_io_4_p_0(TypeInfo_17_17, Var_9); ^ symbol: variable exception location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:159: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:167: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:180: error: package tree234 does not exist tree234.Tree234_2 conv0_MapC_4 = null; ^ Mercury/javas/jmercury/map_merge_test.java:195: error: package tree234 does not exist tree234.Tree234_2 MapC_4 = null; ^ Mercury/javas/jmercury/map_merge_test.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_merge_test.java:196: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_merge_test.java:197: error: package tree234 does not exist tree234.Tree234_2 MapA_6 = null; ^ Mercury/javas/jmercury/map_merge_test.java:198: error: package tree234 does not exist tree234.Tree234_2 MapB_7 = null; ^ Mercury/javas/jmercury/map_merge_test.java:199: error: package list does not exist list.List_1 Var_10 = (list.List_1) map_merge_test.MR_scalar_common_6[2]; ^ Mercury/javas/jmercury/map_merge_test.java:199: error: package list does not exist list.List_1 Var_10 = (list.List_1) map_merge_test.MR_scalar_common_6[2]; ^ Mercury/javas/jmercury/map_merge_test.java:200: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/map_merge_test.java:203: error: cannot find symbol MapA_6 = map.from_assoc_list_1_f_0(TypeCtorInfo_36_36, TypeCtorInfo_36_36, Var_10); ^ symbol: variable map location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:205: error: package list does not exist Var_23 = (list.List_1) map_merge_test.MR_scalar_common_6[5]; ^ Mercury/javas/jmercury/map_merge_test.java:207: error: cannot find symbol MapB_7 = map.from_assoc_list_1_f_0(TypeCtorInfo_36_36, TypeCtorInfo_36_36, Var_23); ^ symbol: variable map location: class map_merge_test Mercury/javas/jmercury/map_merge_test.java:210: error: cannot find symbol MapC_4 = map.merge_3_p_0(TypeCtorInfo_36_36, TypeCtorInfo_36_36, MapA_6, MapB_7); ^ symbol: variable map location: class map_merge_test 83 errors gmake[3]: *** [/tmp/mmake.tKude5:2411: map_merge_test] Error 1 gmake[3]: Target 'map_merge_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: map_merge_test.log] Error 1 RUNNING TEST hard_coded/mapped_module in grade java FAILED TEST hard_coded/map_select_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_select_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - map_select_test Making Mercury/int3s/map_select_test.int3 Making Mercury/ints/map_select_test.int Making Mercury/javas/jmercury/map_select_test.java Making Java class files Mercury/javas/jmercury/map_select_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_select_test.java:33: 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_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_select_test.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_select_test.java:58: 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/map_select_test.java:93: error: package list does not exist list.List_1 SelectedAssocListA_11, ^ Mercury/javas/jmercury/map_select_test.java:94: error: package list does not exist list.List_1 SelectedAssocListB_12) ^ Mercury/javas/jmercury/map_select_test.java:109: error: package list does not exist list.List_1 STATE_VARIABLE_List_0_8) ^ Mercury/javas/jmercury/map_select_test.java:105: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_select_test.java:150: error: package list does not exist list.List_1 STATE_VARIABLE_AssocList_0_8) ^ Mercury/javas/jmercury/map_select_test.java:146: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/map_select_test.java:336: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/map_select_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "map_select_test"; ^ Mercury/javas/jmercury/map_select_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/map_select_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/map_select_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class map_select_test Mercury/javas/jmercury/map_select_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class map_select_test Mercury/javas/jmercury/map_select_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/map_select_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/map_select_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_select_test.java:33: 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_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/map_select_test.java:38: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class map_select_test Mercury/javas/jmercury/map_select_test.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/map_select_test.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/map_select_test.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class map_select_test Mercury/javas/jmercury/map_select_test.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) map_select_test.pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/map_select_test.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/map_select_test.java:58: 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/map_select_test.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_select_test.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class map_select_test Mercury/javas/jmercury/map_select_test.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/map_select_test.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/map_select_test.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/map_select_test.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/map_select_test.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class map_select_test Mercury/javas/jmercury/map_select_test.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/map_select_test.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(map_select_test.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/map_select_test.java:74: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/map_select_test.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_select_test.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_select_test.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_select_test.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_select_test.java:100: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_27_27, ((java.lang.Object) (SelectedAssocListA_11)), ((java.lang.Object) (SelectedAssocListB_12))); ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:114: error: package list does not exist list.List_1 STATE_VARIABLE_List_9 = null; ^ Mercury/javas/jmercury/map_select_test.java:121: error: package list does not exist list.List_1 STATE_VARIABLE_List_1_10 = null; ^ Mercury/javas/jmercury/map_select_test.java:125: error: package list does not exist list.List_1 next_value_of_STATE_VARIABLE_List_0_8 = null; ^ Mercury/javas/jmercury/map_select_test.java:128: error: package list.List_1 does not exist STATE_VARIABLE_List_1_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_select_test.java:155: error: package list does not exist list.List_1 STATE_VARIABLE_AssocList_9 = null; ^ Mercury/javas/jmercury/map_select_test.java:162: error: package list does not exist list.List_1 STATE_VARIABLE_AssocList_1_12 = null; ^ Mercury/javas/jmercury/map_select_test.java:168: error: package list does not exist list.List_1 next_value_of_STATE_VARIABLE_AssocList_0_8 = null; ^ Mercury/javas/jmercury/map_select_test.java:171: error: cannot find symbol Var_10 = mr_int.mod_2_f_0(Cur_6, Var_11); ^ symbol: variable mr_int location: class map_select_test Mercury/javas/jmercury/map_select_test.java:176: error: package pair does not exist pair.Pair_2 Var_13 = null; ^ Mercury/javas/jmercury/map_select_test.java:182: error: package pair does not exist Var_13 = new pair.Pair_2( ^ Mercury/javas/jmercury/map_select_test.java:188: error: package list.List_1 does not exist STATE_VARIABLE_AssocList_1_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_select_test.java:200: error: cannot find symbol Var_16 = mr_int.mod_2_f_0(Cur_6, Var_17); ^ symbol: variable mr_int location: class map_select_test Mercury/javas/jmercury/map_select_test.java:205: error: package pair does not exist pair.Pair_2 Var_19 = null; ^ Mercury/javas/jmercury/map_select_test.java:211: error: package pair does not exist Var_19 = new pair.Pair_2( ^ Mercury/javas/jmercury/map_select_test.java:217: error: package list.List_1 does not exist STATE_VARIABLE_AssocList_1_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/map_select_test.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/map_select_test.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/map_select_test.java:245: error: package list does not exist list.List_1 Pairs_4 = null; ^ Mercury/javas/jmercury/map_select_test.java:246: error: package tree234 does not exist tree234.Tree234_2 FullMap_5 = null; ^ Mercury/javas/jmercury/map_select_test.java:247: error: package list does not exist list.List_1 UnsortedKeys_6 = null; ^ Mercury/javas/jmercury/map_select_test.java:248: error: package list does not exist list.List_1 SortedKeys_7 = null; ^ Mercury/javas/jmercury/map_select_test.java:249: error: package tree234 does not exist tree234.Tree234_2 SelectedMapA_8 = null; ^ Mercury/javas/jmercury/map_select_test.java:250: error: package tree234 does not exist tree234.Tree234_2 SelectedMapB_9 = null; ^ Mercury/javas/jmercury/map_select_test.java:251: error: package tree234 does not exist tree234.Tree234_2 UnselectedMapB_10 = null; ^ Mercury/javas/jmercury/map_select_test.java:252: error: package list does not exist list.List_1 SelectedAssocListA_11 = null; ^ Mercury/javas/jmercury/map_select_test.java:253: error: package list does not exist list.List_1 SelectedAssocListB_12 = null; ^ Mercury/javas/jmercury/map_select_test.java:254: error: package list does not exist list.List_1 UnselectedAssocListB_13 = null; ^ Mercury/javas/jmercury/map_select_test.java:257: error: package list does not exist list.List_1 Var_18 = (list.List_1) map_select_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/map_select_test.java:257: error: package list does not exist list.List_1 Var_18 = (list.List_1) map_select_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/map_select_test.java:260: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/map_select_test.java:268: error: cannot find symbol TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class map_select_test Mercury/javas/jmercury/map_select_test.java:268: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/map_select_test.java:270: error: cannot find symbol FullMap_5 = map.from_assoc_list_2_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, Pairs_4); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:274: error: package list does not exist Var_21 = (list.List_1) map_select_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/map_select_test.java:279: error: cannot find symbol SortedKeys_7 = list.sort_2_p_0(TypeCtorInfo_26_26, UnsortedKeys_6); ^ symbol: variable list location: class map_select_test Mercury/javas/jmercury/map_select_test.java:282: error: cannot find symbol SelectedMapA_8 = map.select_sorted_list_3_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, FullMap_5, SortedKeys_7); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:285: error: cannot find symbol java.lang.Object [] result = map.select_unselect_sorted_list_4_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, FullMap_5, SortedKeys_7); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:286: error: package tree234 does not exist SelectedMapB_9 = (tree234.Tree234_2) result[0]; ^ Mercury/javas/jmercury/map_select_test.java:287: error: package tree234 does not exist UnselectedMapB_10 = (tree234.Tree234_2) result[1]; ^ Mercury/javas/jmercury/map_select_test.java:290: error: cannot find symbol SelectedAssocListA_11 = map.to_sorted_assoc_list_2_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, SelectedMapA_8); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:293: error: cannot find symbol SelectedAssocListB_12 = map.to_sorted_assoc_list_2_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, SelectedMapB_9); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:296: error: cannot find symbol UnselectedAssocListB_13 = map.to_sorted_assoc_list_2_p_0(TypeCtorInfo_26_26, TypeCtorInfo_26_26, UnselectedMapB_10); ^ symbol: variable map location: class map_select_test Mercury/javas/jmercury/map_select_test.java:310: error: cannot find symbol require.expect_3_p_0(Var_22, Var_23, Var_24); ^ symbol: variable require location: class map_select_test Mercury/javas/jmercury/map_select_test.java:312: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(map_select_test.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/map_select_test.java:314: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, ((java.lang.Object) (SelectedAssocListB_12))); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:317: error: cannot find symbol io.write_line_3_p_0(TypeInfo_28_28, ((java.lang.Object) (UnselectedAssocListB_13))); ^ symbol: variable io location: class map_select_test Mercury/javas/jmercury/map_select_test.java:329: error: package list does not exist succeeded = map_select_test.IntroducedFrom__pred__main__38__1_2_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((list.List_1) ((java.lang.Object[]) closure)[4])); ^ Mercury/javas/jmercury/map_select_test.java:329: error: package list does not exist succeeded = map_select_test.IntroducedFrom__pred__main__38__1_2_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((list.List_1) ((java.lang.Object[]) closure)[4])); ^ 96 errors gmake[3]: *** [/tmp/mmake.fKchcz:2411: map_select_test] Error 1 gmake[3]: Target 'map_select_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: map_select_test.log] Error 1 RUNNING TEST hard_coded/merge_and_remove_dups in grade java FAILED TEST hard_coded/mapped_module in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/scripts/mmc -f --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs source_file_map.m { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mapped_module.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mapped_module Making Mercury/int3s/mapped_module.int3 Making Mercury/ints/mapped_module.int Making Mercury/javas/jmercury/mapped_module.java Making Java class files Mercury/javas/jmercury/mapped_module.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mapped_module"; ^ Mercury/javas/jmercury/mapped_module.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mapped_module.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mapped_module.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mapped_module Mercury/javas/jmercury/mapped_module.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mapped_module Mercury/javas/jmercury/mapped_module.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mapped_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mapped_module Mercury/javas/jmercury/mapped_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mapped_module Mercury/javas/jmercury/mapped_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mapped_module Mercury/javas/jmercury/mapped_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mapped_module Mercury/javas/jmercury/mapped_module.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mapped_module.java:39: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class mapped_module 12 errors gmake[3]: *** [/tmp/mmake.odYvqt:2411: mapped_module] Error 1 gmake[3]: Target 'mapped_module.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mapped_module.log] Error 1 RUNNING TEST hard_coded/mode_check_clauses in grade java FAILED TEST hard_coded/merge_and_remove_dups in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - merge_and_remove_dups.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - merge_and_remove_dups Making Mercury/int3s/merge_and_remove_dups.int3 Making Mercury/ints/merge_and_remove_dups.int Making Mercury/javas/jmercury/merge_and_remove_dups.java Making Java class files Mercury/javas/jmercury/merge_and_remove_dups.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:33: 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/merge_and_remove_dups.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[6]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:99: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/merge_and_remove_dups.java:184: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/merge_and_remove_dups.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "merge_and_remove_dups"; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:33: 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/merge_and_remove_dups.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[6]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/merge_and_remove_dups.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/merge_and_remove_dups.java:45: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:49: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:52: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:54: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:59: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:64: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:69: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/merge_and_remove_dups.java:74: error: package list does not exist (list.List_1) merge_and_remove_dups.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/merge_and_remove_dups.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/merge_and_remove_dups.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/merge_and_remove_dups.java:83: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:83: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/merge_and_remove_dups.java:105: error: package builtin does not exist builtin.Comparison_result_0 LambdaHeadVar__3_27 = null; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:108: error: package builtin does not exist LambdaHeadVar__3_27 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:113: error: package builtin does not exist LambdaHeadVar__3_27 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:115: error: package builtin does not exist LambdaHeadVar__3_27 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:123: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:123: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_44_44 = null; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:125: error: package list does not exist list.List_1 List1_4 = (list.List_1) merge_and_remove_dups.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:125: error: package list does not exist list.List_1 List1_4 = (list.List_1) merge_and_remove_dups.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:126: error: package list does not exist list.List_1 List2_5 = (list.List_1) merge_and_remove_dups.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:126: error: package list does not exist list.List_1 List2_5 = (list.List_1) merge_and_remove_dups.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:128: error: package list does not exist list.List_1 List3_10 = null; ^ Mercury/javas/jmercury/merge_and_remove_dups.java:135: error: cannot find symbol List3_10 = list.merge_and_remove_dups_4_p_0(TypeCtorInfo_43_43, P_6, List1_4, List2_5); ^ symbol: variable list location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:139: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:141: error: package jmercury.runtime does not exist TypeInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(merge_and_remove_dups.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/merge_and_remove_dups.java:143: error: cannot find symbol io.print_3_p_0(TypeInfo_44_44, ((java.lang.Object) (List1_4))); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:147: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:150: error: cannot find symbol io.print_3_p_0(TypeInfo_44_44, ((java.lang.Object) (List2_5))); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:154: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:157: error: cannot find symbol io.print_3_p_0(TypeInfo_44_44, ((java.lang.Object) (List3_10))); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:161: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class merge_and_remove_dups Mercury/javas/jmercury/merge_and_remove_dups.java:173: error: package builtin does not exist builtin.Comparison_result_0 conv0_LambdaHeadVar__3_27 = null; ^ 66 errors gmake[3]: *** [/tmp/mmake.ltEkEc:2411: merge_and_remove_dups] Error 1 gmake[3]: Target 'merge_and_remove_dups.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: merge_and_remove_dups.log] Error 1 RUNNING TEST hard_coded/mode_choice in grade java FAILED TEST hard_coded/mode_choice in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_choice.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_choice Making Mercury/int3s/mode_choice.int3 Making Mercury/ints/mode_choice.int Making Mercury/javas/jmercury/mode_choice.java mode_choice.m:061: Warning: the clauses for predicate `test1'/3 are not mode_choice.m:061: contiguous. mode_choice.m:074: Gap in clauses of predicate `test1'/3 starts after this mode_choice.m:074: clause. mode_choice.m:085: Gap in clauses of predicate `test1'/3 ends with this mode_choice.m:085: clause. mode_choice.m:090: Warning: the clauses for predicate `test2'/2 are not mode_choice.m:090: contiguous. mode_choice.m:101: Gap in clauses of predicate `test2'/2 starts after this mode_choice.m:101: clause. mode_choice.m:110: Gap in clauses of predicate `test2'/2 ends with this mode_choice.m:110: clause. mode_choice.m:152: Warning: the clauses for predicate `test3'/2 are not mode_choice.m:152: contiguous. mode_choice.m:163: Gap in clauses of predicate `test3'/2 starts after this mode_choice.m:163: clause. mode_choice.m:173: Gap in clauses of predicate `test3'/2 ends with this mode_choice.m:173: clause. mode_choice.m:179: Warning: the clauses for predicate `test4'/3 are not mode_choice.m:179: contiguous. mode_choice.m:191: Gap in clauses of predicate `test4'/3 starts after this mode_choice.m:191: clause. mode_choice.m:202: Gap in clauses of predicate `test4'/3 ends with this mode_choice.m:202: clause. mode_choice.m:212: Warning: the clauses for predicate `test5'/3 are not mode_choice.m:212: contiguous. mode_choice.m:223: Gap in clauses of predicate `test5'/3 starts after this mode_choice.m:223: clause. mode_choice.m:232: Gap in clauses of predicate `test5'/3 ends with this mode_choice.m:232: clause. Making Java class files Mercury/javas/jmercury/mode_choice.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_choice"; ^ Mercury/javas/jmercury/mode_choice.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_choice.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_choice.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_choice Mercury/javas/jmercury/mode_choice.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_choice Mercury/javas/jmercury/mode_choice.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_choice.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_choice.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:37: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class mode_choice Mercury/javas/jmercury/mode_choice.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_96_96 = null; ^ Mercury/javas/jmercury/mode_choice.java:87: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_92_92, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:90: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_92_92, ((java.lang.Object) (T0b_5))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:94: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_92_92, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:97: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_92_92, ((java.lang.Object) (T0b_5))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_94_94 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:108: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_94_94 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class mode_choice Mercury/javas/jmercury/mode_choice.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_94_94 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:112: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_94_94, ((java.lang.Object) (Var_36))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:115: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_94_94, ((java.lang.Object) (T1_6))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_95_95 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:120: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_95_95 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class mode_choice Mercury/javas/jmercury/mode_choice.java:120: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_95_95 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:124: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_95_95, ((java.lang.Object) (Var_39))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:132: error: cannot find symbol TypeCtorInfo_96_96 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class mode_choice Mercury/javas/jmercury/mode_choice.java:132: error: package jmercury.runtime does not exist TypeCtorInfo_96_96 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mode_choice.java:134: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_42))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:137: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T2_7))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:145: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:148: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T3_9))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:155: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_48))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:158: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T4_10))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:174: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_51))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:177: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T5_12))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:186: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_54))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:189: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T6_14))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:204: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_59))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:207: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T7_15))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:215: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_62))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:226: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_65))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:229: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T8_16))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:233: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_68))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:236: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T9_17))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:246: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_72))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:249: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T10_18))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:253: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_75))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:256: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T11_19))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:265: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_80))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:268: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T12_20))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:277: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_85))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:280: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T13_21))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:289: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (Var_90))); ^ symbol: variable io location: class mode_choice Mercury/javas/jmercury/mode_choice.java:292: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_96_96, ((java.lang.Object) (T14_22))); ^ symbol: variable io location: class mode_choice 57 errors gmake[3]: *** [/tmp/mmake.eSajgc:2411: mode_choice] Error 1 gmake[3]: Target 'mode_choice.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mode_choice.log] Error 1 RUNNING TEST hard_coded/multi_arm_switch_1 in grade java FAILED TEST hard_coded/mode_check_clauses in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_check_clauses.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mode_check_clauses Making Mercury/int3s/mode_check_clauses.int3 Making Mercury/ints/mode_check_clauses.int Making Mercury/javas/jmercury/mode_check_clauses.java Making Java class files Mercury/javas/jmercury/mode_check_clauses.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/mode_check_clauses.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/mode_check_clauses.java:7174: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7285: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/mode_check_clauses.java:7299: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7334: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/mode_check_clauses.java:7348: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7397: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7446: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7469: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7516: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:7568: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:10593: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/mode_check_clauses.java:10612: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mode_check_clauses.java:10672: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/mode_check_clauses.java:10746: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10755: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10758: error: package pair does not exist public pair.Pair_2 conv0_HeadVar__1_1; ^ Mercury/javas/jmercury/mode_check_clauses.java:10764: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10767: error: package pair does not exist public pair.Pair_2 conv1_HeadVar__1_1; ^ Mercury/javas/jmercury/mode_check_clauses.java:10773: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10782: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10784: error: package pair does not exist public pair.Pair_2 HeadVar__1_1; ^ Mercury/javas/jmercury/mode_check_clauses.java:10792: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/mode_check_clauses.java:10794: error: package pair does not exist public pair.Pair_2 HeadVar__1_1; ^ Mercury/javas/jmercury/mode_check_clauses.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mode_check_clauses"; ^ Mercury/javas/jmercury/mode_check_clauses.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mode_check_clauses.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mode_check_clauses.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mode_check_clauses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mode_check_clauses.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/mode_check_clauses.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/mode_check_clauses.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/mode_check_clauses.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/mode_check_clauses.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_check_clauses.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/mode_check_clauses.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/mode_check_clauses.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/mode_check_clauses.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_check_clauses.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/mode_check_clauses.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mode_check_clauses.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/mode_check_clauses.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/mode_check_clauses.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/mode_check_clauses.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/mode_check_clauses.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/mode_check_clauses.java:85: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:85: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/mode_check_clauses.java:7188: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) cont).call___0_0(java.lang.Integer.valueOf(HeadVar__1_1), java.lang.Integer.valueOf(HeadVar__2_2), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(mode_check_clauses.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/mode_check_clauses.java:7200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(mode_check_clauses.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/mode_check_clauses.java:7201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7202: error: package list does not exist list.List_1 Base02_4 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7203: error: package list does not exist list.List_1 Pragma02_5 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7204: error: package list does not exist list.List_1 Base11_6 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7205: error: package list does not exist list.List_1 Pragma11_7 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7210: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_30_30 = null; ^ Mercury/javas/jmercury/mode_check_clauses.java:7214: error: cannot find symbol Base02_4 = solutions.solutions_2_p_0(TypeInfo_24_24, Var_10); ^ symbol: variable solutions location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7218: error: cannot find symbol Pragma02_5 = solutions.solutions_2_p_0(TypeInfo_24_24, Var_11); ^ symbol: variable solutions location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7221: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7221: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mode_check_clauses.java:7223: error: cannot find symbol Base11_6 = solutions.solutions_2_p_1(TypeCtorInfo_27_27, Var_12); ^ symbol: variable solutions location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7227: error: cannot find symbol Pragma11_7 = solutions.solutions_2_p_1(TypeCtorInfo_27_27, Var_14); ^ symbol: variable solutions location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7229: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(mode_check_clauses.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/mode_check_clauses.java:7231: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_29_29, ((java.lang.Object) (Base02_4)), ((java.lang.Object) (Pragma02_5))); ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7238: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7246: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7249: error: package jmercury.runtime does not exist TypeInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(mode_check_clauses.MR_scalar_common_1[2]); ^ Mercury/javas/jmercury/mode_check_clauses.java:7251: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_30_30, ((java.lang.Object) (Base11_6)), ((java.lang.Object) (Pragma11_7))); ^ symbol: variable builtin location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7258: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7266: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class mode_check_clauses Mercury/javas/jmercury/mode_check_clauses.java:7279: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_check_clauses.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7328: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Main_2_p_0_6_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Main_2_p_0_6_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_check_clauses.Main_2_p_0_6_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7377: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Main_2_p_0_9_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Main_2_p_0_9_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_check_clauses.Main_2_p_0_9_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7426: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Main_2_p_0_12_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Main_2_p_0_12_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((mode_check_clauses.Main_2_p_0_12_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7504: error: package pair does not exist ((mode_check_clauses.Test02_base_1_p_0_env_0) env_ptr).HeadVar__1_1 = new pair.Pair_2( ^ Mercury/javas/jmercury/mode_check_clauses.java:7510: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Test02_base_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Test02_base_1_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((mode_check_clauses.Test02_base_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:7540: error: package pair does not exist ((mode_check_clauses.Test02_pragma_1_p_0_env_0) env_ptr).HeadVar__1_1 = new pair.Pair_2( ^ Mercury/javas/jmercury/mode_check_clauses.java:7546: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((mode_check_clauses.Test02_pragma_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((mode_check_clauses.Test02_pragma_1_p_0_env_0) env_ptr).HeadVar__1_1)), ((java.lang.Object) (((mode_check_clauses.Test02_pragma_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:10586: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(B_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:10606: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(B_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/mode_check_clauses.java:10645: error: package pair does not exist mode_check_clauses.main_2_p_0_5(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/mode_check_clauses.java:10654: error: package pair does not exist mode_check_clauses.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/mode_check_clauses.java:10659: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.dEHPQs:2411: mode_check_clauses] Error 1 gmake[3]: Target 'mode_check_clauses.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mode_check_clauses.log] Error 1 RUNNING TEST hard_coded/multi_arm_switch_2 in grade java FAILED TEST hard_coded/multi_arm_switch_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_arm_switch_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_arm_switch_1 Making Mercury/int3s/multi_arm_switch_1.int3 Making Mercury/ints/multi_arm_switch_1.int Making Mercury/javas/jmercury/multi_arm_switch_1.java Making Java class files Mercury/javas/jmercury/multi_arm_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch_1__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch_1__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch_1__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:122: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:274: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_arm_switch_1.java:486: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/multi_arm_switch_1.java:487: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/multi_arm_switch_1.java:298: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_arm_switch_1.java:349: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/multi_arm_switch_1.java:413: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/multi_arm_switch_1.java:464: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/multi_arm_switch_1.java:505: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multi_arm_switch_1"; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch_1__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch_1__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch_1__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch_1__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/multi_arm_switch_1.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/multi_arm_switch_1.java:106: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/multi_arm_switch_1.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:122: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_arm_switch_1.java:128: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:128: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/multi_arm_switch_1.java:129: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:129: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/multi_arm_switch_1.java:132: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/multi_arm_switch_1.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch_1.multi_arm_switch_1__type_ctor_info_t_0); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch_1.multi_arm_switch_1__type_ctor_info_t_0); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:178: error: package maybe does not exist maybe.Maybe_1 MaybeX_4 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:179: error: package io does not exist io.Read_result_1 Res_16 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:183: error: cannot find symbol Res_16 = io.read_3_p_0(TypeCtorInfo_14_21); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:185: error: illegal start of type switch (Res_16.data_tag) { ^ Mercury/javas/jmercury/multi_arm_switch_1.java:188: error: package io.Read_result_1 does not exist multi_arm_switch_1.T_0 X_17 = ((multi_arm_switch_1.T_0) ((io.Read_result_1.Ok_1) Res_16).F1); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:191: error: package maybe.Maybe_1 does not exist MaybeX_4 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/multi_arm_switch_1.java:198: error: package maybe does not exist MaybeX_4 = (maybe.Maybe_1) multi_arm_switch_1.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:205: error: cannot find symbol require.error_1_p_0(Var_20); ^ symbol: variable require location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:210: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:216: error: package maybe.Maybe_1 does not exist multi_arm_switch_1.T_0 X_5 = ((multi_arm_switch_1.T_0) ((maybe.Maybe_1.Yes_1) MaybeX_4).F1); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:217: error: package list does not exist list.List_1 Solns_6 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:228: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:228: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:230: error: cannot find symbol Solns_6 = solutions.solutions_2_p_0(TypeCtorInfo_14_14, Var_10); ^ symbol: variable solutions location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:232: error: package jmercury.runtime does not exist TypeInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:234: error: cannot find symbol io.write_3_p_0(TypeInfo_15_15, ((java.lang.Object) (Solns_6))); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:237: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class multi_arm_switch_1 Mercury/javas/jmercury/multi_arm_switch_1.java:254: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_arm_switch_1.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((multi_arm_switch_1.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((multi_arm_switch_1.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:303: error: cannot find symbol switch (X_3.MR_value) { ^ symbol: variable MR_value location: variable X_3 of type T_0 Mercury/javas/jmercury/multi_arm_switch_1.java:303: error: illegal start of type switch (X_3.MR_value) { ^ Mercury/javas/jmercury/multi_arm_switch_1.java:312: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:324: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:332: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:340: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:345: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:355: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:356: 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 T_0 Mercury/javas/jmercury/multi_arm_switch_1.java:357: 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 T_0 Mercury/javas/jmercury/multi_arm_switch_1.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:366: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:368: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:379: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/multi_arm_switch_1.java:393: 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 T_0 Mercury/javas/jmercury/multi_arm_switch_1.java:393: 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 T_0 Mercury/javas/jmercury/multi_arm_switch_1.java:451: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch_1.java:476: error: package jmercury.runtime does not exist multi_arm_switch_1.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 90 errors gmake[3]: *** [/tmp/mmake.QZgQZB:2411: multi_arm_switch_1] Error 1 gmake[3]: Target 'multi_arm_switch_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: multi_arm_switch_1.log] Error 1 RUNNING TEST hard_coded/multi_map_test in grade java FAILED TEST hard_coded/multi_arm_switch_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_arm_switch_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_arm_switch_2 Making Mercury/int3s/multi_arm_switch_2.int3 Making Mercury/ints/multi_arm_switch_2.int Making Mercury/javas/jmercury/multi_arm_switch_2.java Making Java class files Mercury/javas/jmercury/multi_arm_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_10 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_11 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_12 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] multi_arm_switch_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] multi_arm_switch_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] multi_arm_switch_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:1303: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/multi_arm_switch_2.java:580: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/multi_arm_switch_2.java:1261: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/multi_arm_switch_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multi_arm_switch_2"; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_10 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_10 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_11 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_11 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] multi_arm_switch_2__field_types_t_0_12 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc multi_arm_switch_2__du_functor_desc_t_0_12 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] multi_arm_switch_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] multi_arm_switch_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] multi_arm_switch_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[13]; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch_2.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:90: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:97: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:109: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:114: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:126: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:126: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:131: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:139: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:143: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:143: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:148: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:156: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:160: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:160: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:165: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:173: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:177: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:177: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:182: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:190: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:194: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:194: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:199: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:207: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class multi_arm_switch_2 Mercury/javas/jmercury/multi_arm_switch_2.java:211: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/multi_arm_switch_2.java:211: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class multi_arm_switch_2 100 errors gmake[3]: *** [/tmp/mmake.2SaY01:2411: multi_arm_switch_2] Error 1 gmake[3]: Target 'multi_arm_switch_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: multi_arm_switch_2.log] Error 1 RUNNING TEST hard_coded/multimode in grade java FAILED TEST hard_coded/multimode in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multimode.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multimode Making Mercury/int3s/multimode.int3 Making Mercury/ints/multimode.int Making Mercury/javas/jmercury/multimode.java Making Java class files Mercury/javas/jmercury/multimode.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multimode"; ^ Mercury/javas/jmercury/multimode.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multimode.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multimode.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multimode Mercury/javas/jmercury/multimode.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multimode Mercury/javas/jmercury/multimode.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multimode.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/multimode.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class multimode Mercury/javas/jmercury/multimode.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/multimode.java:54: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:58: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:62: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:66: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:70: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:74: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class multimode Mercury/javas/jmercury/multimode.java:78: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_33_33, ((java.lang.Object) (Var_30))); ^ symbol: variable io location: class multimode 21 errors gmake[3]: *** [/tmp/mmake.9kaxV6:2411: multimode] Error 1 gmake[3]: Target 'multimode.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: multimode.log] Error 1 RUNNING TEST hard_coded/multimode_addr in grade java FAILED TEST hard_coded/multi_map_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_map_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multi_map_test Making Mercury/int3s/multi_map_test.int3 Making Mercury/ints/multi_map_test.int Making Mercury/javas/jmercury/multi_map_test.java Making Java class files Mercury/javas/jmercury/multi_map_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/multi_map_test.java:33: 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/multi_map_test.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[9]; ^ Mercury/javas/jmercury/multi_map_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multi_map_test"; ^ Mercury/javas/jmercury/multi_map_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multi_map_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multi_map_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multi_map_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multi_map_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/multi_map_test.java:33: 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/multi_map_test.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[9]; ^ Mercury/javas/jmercury/multi_map_test.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_map_test.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/multi_map_test.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/multi_map_test.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_map_test.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/multi_map_test.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/multi_map_test.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(multi_map_test.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/multi_map_test.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_map_test.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/multi_map_test.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(multi_map_test.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/multi_map_test.java:54: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/multi_map_test.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:58: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/multi_map_test.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:63: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/multi_map_test.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:68: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/multi_map_test.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:73: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/multi_map_test.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:78: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/multi_map_test.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:83: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/multi_map_test.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:88: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/multi_map_test.java:91: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:93: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/multi_map_test.java:96: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multi_map_test.java:98: error: package list does not exist (list.List_1) multi_map_test.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/multi_map_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_map_test.java:112: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_140_140 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_map_test.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_141_141 = null; ^ Mercury/javas/jmercury/multi_map_test.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_142_142 = null; ^ Mercury/javas/jmercury/multi_map_test.java:115: error: package tree234 does not exist tree234.Tree234_2 EmptyMap_4 = null; ^ Mercury/javas/jmercury/multi_map_test.java:116: error: package tree234 does not exist tree234.Tree234_2 Map_5 = null; ^ Mercury/javas/jmercury/multi_map_test.java:117: error: package list does not exist list.List_1 Vs_6 = null; ^ Mercury/javas/jmercury/multi_map_test.java:118: error: package tree234 does not exist tree234.Tree234_2 InsertMap_7 = null; ^ Mercury/javas/jmercury/multi_map_test.java:119: error: package list does not exist list.List_1 AL_8 = null; ^ Mercury/javas/jmercury/multi_map_test.java:120: error: package tree234 does not exist tree234.Tree234_2 UpdateMap_13 = null; ^ Mercury/javas/jmercury/multi_map_test.java:121: error: package list does not exist list.List_1 UAL_14 = null; ^ Mercury/javas/jmercury/multi_map_test.java:122: error: package tree234 does not exist tree234.Tree234_2 ReplaceMap_19 = null; ^ Mercury/javas/jmercury/multi_map_test.java:123: error: package list does not exist list.List_1 RAL_20 = null; ^ Mercury/javas/jmercury/multi_map_test.java:124: error: package tree234 does not exist tree234.Tree234_2 SetMap_25 = null; ^ Mercury/javas/jmercury/multi_map_test.java:125: error: package list does not exist list.List_1 SAL_26 = null; ^ Mercury/javas/jmercury/multi_map_test.java:126: error: package tree234 does not exist tree234.Tree234_2 SetMap2_27 = null; ^ Mercury/javas/jmercury/multi_map_test.java:127: error: package list does not exist list.List_1 SAL2_28 = null; ^ Mercury/javas/jmercury/multi_map_test.java:128: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/multi_map_test.java:129: error: package list does not exist list.List_1 Var_39 = null; ^ Mercury/javas/jmercury/multi_map_test.java:138: error: package list does not exist list.List_1 Var_95 = null; ^ Mercury/javas/jmercury/multi_map_test.java:146: error: package tree234 does not exist tree234.Tree234_2 InsertMap2_9 = null; ^ Mercury/javas/jmercury/multi_map_test.java:149: error: package tree234 does not exist tree234.Tree234_2 InsertMap3_11 = null; ^ Mercury/javas/jmercury/multi_map_test.java:152: error: package tree234 does not exist tree234.Tree234_2 UpdateMap1_15 = null; ^ Mercury/javas/jmercury/multi_map_test.java:155: error: package tree234 does not exist tree234.Tree234_2 UpdateMap2_17 = null; ^ Mercury/javas/jmercury/multi_map_test.java:158: error: package tree234 does not exist tree234.Tree234_2 ReplaceMap1_21 = null; ^ Mercury/javas/jmercury/multi_map_test.java:160: error: package list does not exist list.List_1 Var_106 = null; ^ Mercury/javas/jmercury/multi_map_test.java:161: error: package tree234 does not exist tree234.Tree234_2 ReplaceMap2_23 = null; ^ Mercury/javas/jmercury/multi_map_test.java:163: error: package list does not exist list.List_1 Var_119 = null; ^ Mercury/javas/jmercury/multi_map_test.java:166: error: cannot find symbol EmptyMap_4 = multi_map.init_1_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:168: error: package list does not exist Var_32 = (list.List_1) multi_map_test.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/multi_map_test.java:169: error: package list does not exist Var_39 = (list.List_1) multi_map_test.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/multi_map_test.java:171: error: cannot find symbol Map_5 = multi_map.from_corresponding_lists_2_f_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, Var_32, Var_39); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:175: error: cannot find symbol Vs_6 = multi_map.lookup_2_f_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, Map_5, java.lang.Integer.valueOf(Var_46)); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:177: error: package jmercury.runtime does not exist TypeInfo_141_141 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_map_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/multi_map_test.java:179: error: cannot find symbol io.write_line_3_p_0(TypeInfo_141_141, ((java.lang.Object) (Vs_6))); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:182: error: cannot find symbol succeeded = multi_map.is_empty_1_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, EmptyMap_4); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:189: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:197: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:201: error: cannot find symbol succeeded = multi_map.is_empty_1_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, Map_5); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:208: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:216: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:222: error: cannot find symbol InsertMap_7 = multi_map.det_insert_4_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, java.lang.Integer.valueOf(Var_56), java.lang.Integer.valueOf(Var_57), Map_5); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:225: error: cannot find symbol AL_8 = multi_map.to_assoc_list_2_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, InsertMap_7); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:229: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:231: error: package jmercury.runtime does not exist TypeInfo_142_142 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_map_test.MR_scalar_common_1[2]); ^ Mercury/javas/jmercury/multi_map_test.java:233: error: cannot find symbol io.write_line_3_p_0(TypeInfo_142_142, ((java.lang.Object) (AL_8))); ^ symbol: variable io location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:238: error: cannot find symbol java.lang.Object [] result = multi_map.insert_4_p_0(TypeCtorInfo_140_140, TypeCtorInfo_140_140, java.lang.Integer.valueOf(Var_61), java.lang.Integer.valueOf(Var_62), Map_5); ^ symbol: variable multi_map location: class multi_map_test Mercury/javas/jmercury/multi_map_test.java:240: error: package tree234 does not exist InsertMap2_9 = (tree234.Tree234_2) result[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.u64qyU:2411: multi_map_test] Error 1 gmake[3]: Target 'multi_map_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: multi_map_test.log] Error 1 RUNNING TEST hard_coded/mutable_excp in grade java FAILED TEST hard_coded/mutable_excp in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_excp.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_excp Making Mercury/int3s/mutable_excp.int3 Making Mercury/ints/mutable_excp.int Making Mercury/javas/jmercury/mutable_excp.java Making Java class files Mercury/javas/jmercury/mutable_excp.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc mutable_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/mutable_excp.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mutable_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mutable_excp.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mutable_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mutable_excp.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mutable_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mutable_excp.java:295: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/mutable_excp.java:341: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/mutable_excp.java:359: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/mutable_excp.java:403: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/mutable_excp.java:404: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/mutable_excp.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mutable_excp"; ^ Mercury/javas/jmercury/mutable_excp.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mutable_excp.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mutable_excp.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mutable_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mutable_excp.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc mutable_excp__enum_functor_desc_magic_number_exception_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/mutable_excp.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mutable_excp__enum_ordinal_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mutable_excp.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] mutable_excp__enum_name_ordered_magic_number_exception_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/mutable_excp.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct mutable_excp__type_ctor_info_magic_number_exception_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/mutable_excp.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/mutable_excp.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/mutable_excp.java:74: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/mutable_excp.java:98: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:98: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/mutable_excp.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/mutable_excp.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = null; ^ Mercury/javas/jmercury/mutable_excp.java:127: error: package jmercury.runtime does not exist TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(mutable_excp.mutable_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/mutable_excp.java:129: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_6_6, ((java.lang.Object) (0))); ^ symbol: variable exception location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(mutable_excp.mutable_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/mutable_excp.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(mutable_excp.mutable_excp__type_ctor_info_magic_number_exception_0); ^ Mercury/javas/jmercury/mutable_excp.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mutable_excp.java:149: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/mutable_excp.java:153: error: cannot find symbol conv0_X_1 = exception.throw_1_f_0(TypeCtorInfo_4_4, TypeCtorInfo_5_5, ((java.lang.Object) (0))); ^ symbol: variable exception location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:176: error: cannot find symbol io.write_string_3_p_0(Var_3); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mutable_excp.java:193: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:193: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/mutable_excp.java:194: error: package exception does not exist exception.Exception_result_1 Result_2 = null; ^ Mercury/javas/jmercury/mutable_excp.java:199: error: cannot find symbol Result_2 = exception.try_2_p_0(TypeCtorInfo_16_11, Var_3); ^ symbol: variable exception location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:207: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:210: error: cannot find symbol io.write_int_3_p_0(X_1); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:213: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:216: error: cannot find symbol io.flush_output_2_p_0(); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:249: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class mutable_excp Mercury/javas/jmercury/mutable_excp.java:298: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/mutable_excp.java:298: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/mutable_excp.java:309: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/mutable_excp.java:388: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 55 errors gmake[3]: *** [/tmp/mmake.vXjEPz:2411: mutable_excp] Error 1 gmake[3]: Target 'mutable_excp.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mutable_excp.log] Error 1 RUNNING TEST hard_coded/mutable_init_impure in grade java FAILED TEST hard_coded/multimode_addr in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multimode_addr.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - multimode_addr Making Mercury/int3s/multimode_addr.int3 Making Mercury/ints/multimode_addr.int Making Mercury/javas/jmercury/multimode_addr.java Making Java class files Mercury/javas/jmercury/multimode_addr.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/multimode_addr.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/multimode_addr.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/multimode_addr.java:61: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/multimode_addr.java:64: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/multimode_addr.java:180: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_29, ^ Mercury/javas/jmercury/multimode_addr.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_30, ^ Mercury/javas/jmercury/multimode_addr.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_29, ^ Mercury/javas/jmercury/multimode_addr.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_30, ^ Mercury/javas/jmercury/multimode_addr.java:224: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_L_29, ^ Mercury/javas/jmercury/multimode_addr.java:225: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_30, ^ Mercury/javas/jmercury/multimode_addr.java:457: error: package list does not exist list.List_1 HeadVar__2_39) ^ Mercury/javas/jmercury/multimode_addr.java:454: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/multimode_addr.java:483: error: package list does not exist list.List_1 Xs_5) ^ Mercury/javas/jmercury/multimode_addr.java:509: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/multimode_addr.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multimode_addr"; ^ Mercury/javas/jmercury/multimode_addr.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multimode_addr.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multimode_addr.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multimode_addr.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multimode_addr.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/multimode_addr.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__pseudo_1__pseudo_2__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/multimode_addr.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/multimode_addr.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:46: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/multimode_addr.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/multimode_addr.java:48: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/multimode_addr.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/multimode_addr.java:61: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/multimode_addr.java:64: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/multimode_addr.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multimode_addr.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/multimode_addr.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/multimode_addr.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/multimode_addr.java:92: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:92: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/multimode_addr.java:93: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:93: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/multimode_addr.java:110: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:110: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/multimode_addr.java:111: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(multimode_addr.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/multimode_addr.java:119: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:119: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/multimode_addr.java:120: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:120: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/multimode_addr.java:121: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:121: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/multimode_addr.java:134: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:134: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/multimode_addr.java:135: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/multimode_addr.java:149: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:149: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/multimode_addr.java:150: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(multimode_addr.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/multimode_addr.java:154: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/multimode_addr.java:156: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multimode_addr.java:158: error: package list does not exist (list.List_1) multimode_addr.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/multimode_addr.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multimode_addr.java:163: error: package list does not exist (list.List_1) multimode_addr.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/multimode_addr.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/multimode_addr.java:168: error: package list does not exist (list.List_1) multimode_addr.MR_scalar_common_7[1] ^ Mercury/javas/jmercury/multimode_addr.java:188: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/multimode_addr.java:191: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:193: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/multimode_addr.java:195: error: package jmercury.runtime does not exist A_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_1))), ((java.lang.Object) (L_2)), ((java.lang.Object) (A0_3)))); ^ Mercury/javas/jmercury/multimode_addr.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/multimode_addr.java:213: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:215: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/multimode_addr.java:217: error: package jmercury.runtime does not exist A_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_1))), ((java.lang.Object) (L_2)), ((java.lang.Object) (A0_3)))); ^ Mercury/javas/jmercury/multimode_addr.java:233: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/multimode_addr.java:236: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:238: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_1)[1]); ^ Mercury/javas/jmercury/multimode_addr.java:240: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_1))), ((java.lang.Object) (L_2)), ((java.lang.Object) (A0_3)))); ^ Mercury/javas/jmercury/multimode_addr.java:254: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/multimode_addr.java:255: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/multimode_addr.java:256: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = null; ^ Mercury/javas/jmercury/multimode_addr.java:257: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_43_43 = null; ^ Mercury/javas/jmercury/multimode_addr.java:258: error: package list does not exist list.List_1 Rev_4 = null; ^ Mercury/javas/jmercury/multimode_addr.java:260: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/multimode_addr.java:263: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/multimode_addr.java:265: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/multimode_addr.java:271: error: package list does not exist list.List_1 RevB_5 = null; ^ Mercury/javas/jmercury/multimode_addr.java:272: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/multimode_addr.java:275: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/multimode_addr.java:280: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:282: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class multimode_addr Mercury/javas/jmercury/multimode_addr.java:282: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multimode_addr.java:283: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(multimode_addr.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/multimode_addr.java:287: error: cannot find symbol Var_11 = list.f_46_46_2_f_0(Var_12, Var_13); ^ symbol: variable list location: class multimode_addr 100 errors gmake[3]: *** [/tmp/mmake.s6O8GE:2411: multimode_addr] Error 1 gmake[3]: Target 'multimode_addr.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: multimode_addr.log] Error 1 RUNNING TEST hard_coded/mutable_init_order in grade java FAILED TEST hard_coded/mutable_init_impure in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_init_impure.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_init_impure Making Mercury/int3s/mutable_init_impure.int3 Making Mercury/ints/mutable_init_impure.int Making Mercury/javas/jmercury/mutable_init_impure.java Making Java class files Mercury/javas/jmercury/mutable_init_impure.java:61: error: package jmercury.runtime does not exist private static jmercury.runtime.Semaphore ^ Mercury/javas/jmercury/mutable_init_impure.java:196: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1) ^ Mercury/javas/jmercury/mutable_init_impure.java:208: error: package jmercury.runtime does not exist private static jmercury.runtime.Semaphore ^ Mercury/javas/jmercury/mutable_init_impure.java:226: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1) ^ Mercury/javas/jmercury/mutable_init_impure.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mutable_init_impure"; ^ Mercury/javas/jmercury/mutable_init_impure.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mutable_init_impure.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mutable_init_impure.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mutable_init_impure.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mutable_init_impure.java:64: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:72: error: package jmercury.runtime does not exist X_1 = ((jmercury.runtime.Semaphore) X); ^ Mercury/javas/jmercury/mutable_init_impure.java:95: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:99: error: cannot find symbol X_1 = thread__semaphore.impure_init_1_f_0(Var_2); ^ symbol: variable thread__semaphore location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:114: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:118: error: cannot find symbol X_1 = thread__semaphore.impure_init_1_f_0(Var_2); ^ symbol: variable thread__semaphore location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:133: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem1_4 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:134: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem2_5 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:144: error: package jmercury.runtime does not exist Sem1_4 = ((jmercury.runtime.Semaphore) X); ^ Mercury/javas/jmercury/mutable_init_impure.java:147: error: cannot find symbol thread__semaphore.wait_3_p_0(Sem1_4); ^ symbol: variable thread__semaphore location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:155: error: package jmercury.runtime does not exist Sem2_5 = ((jmercury.runtime.Semaphore) X); ^ Mercury/javas/jmercury/mutable_init_impure.java:158: error: cannot find symbol thread__semaphore.wait_3_p_0(Sem2_5); ^ symbol: variable thread__semaphore location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:169: error: cannot find symbol io.write_string_3_p_0(Foo_6); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:176: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class mutable_init_impure Mercury/javas/jmercury/mutable_init_impure.java:211: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/mutable_init_impure.java:219: error: package jmercury.runtime does not exist X_1 = ((jmercury.runtime.Semaphore) X); ^ 32 errors gmake[3]: *** [/tmp/mmake.nvcaYl:2411: mutable_init_impure] Error 1 gmake[3]: Target 'mutable_init_impure.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mutable_init_impure.log] Error 1 RUNNING TEST hard_coded/myset_test in grade java FAILED TEST hard_coded/mutable_init_order in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_init_order.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - mutable_init_order Making Mercury/int3s/mutable_init_order.int3 Making Mercury/ints/mutable_init_order.int Making Mercury/javas/jmercury/mutable_init_order.java Making Java class files Mercury/javas/jmercury/mutable_init_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "mutable_init_order"; ^ Mercury/javas/jmercury/mutable_init_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/mutable_init_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/mutable_init_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/mutable_init_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/mutable_init_order.java:83: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:86: error: cannot find symbol io.write_int_3_p_0(V_4); ^ symbol: variable io location: class mutable_init_order Mercury/javas/jmercury/mutable_init_order.java:89: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class mutable_init_order 14 errors gmake[3]: *** [/tmp/mmake.wZ7R9N:2411: mutable_init_order] Error 1 gmake[3]: Target 'mutable_init_order.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: mutable_init_order.log] Error 1 RUNNING TEST hard_coded/name_mangling in grade java FAILED TEST hard_coded/name_mangling in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - name_mangling.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - name_mangling Making Mercury/int3s/name_mangling.int3 Making Mercury/ints/name_mangling.int Making Mercury/javas/jmercury/name_mangling.java Making Java class files Mercury/javas/jmercury/name_mangling.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] name_mangling__field_types_f_comma_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/name_mangling.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc name_mangling__du_functor_desc_f_comma_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] name_mangling__du_stag_ordered_f_comma_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/name_mangling.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] name_mangling__du_ptag_ordered_f_comma_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/name_mangling.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] name_mangling__du_name_ordered_f_comma_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/name_mangling.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_comma_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc name_mangling__enum_functor_desc_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc name_mangling__enum_functor_desc_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] name_mangling__enum_ordinal_ordered_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/name_mangling.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] name_mangling__enum_name_ordered_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/name_mangling.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_97_110_111_116_104_101_114_32_119_105_101_114_100_32_116_121_112_101_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:170: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/name_mangling.java:738: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/name_mangling.java:739: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/name_mangling.java:279: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/name_mangling.java:307: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/name_mangling.java:337: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_6, ^ Mercury/javas/jmercury/name_mangling.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_7, ^ Mercury/javas/jmercury/name_mangling.java:583: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/name_mangling.java:355: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_11, ^ Mercury/javas/jmercury/name_mangling.java:356: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_12, ^ Mercury/javas/jmercury/name_mangling.java:353: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/name_mangling.java:407: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/name_mangling.java:446: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/name_mangling.java:487: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_9, ^ Mercury/javas/jmercury/name_mangling.java:488: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_10, ^ Mercury/javas/jmercury/name_mangling.java:603: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/name_mangling.java:672: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/name_mangling.java:692: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/name_mangling.java:754: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/name_mangling.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "name_mangling"; ^ Mercury/javas/jmercury/name_mangling.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/name_mangling.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/name_mangling.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class name_mangling Mercury/javas/jmercury/name_mangling.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class name_mangling Mercury/javas/jmercury/name_mangling.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/name_mangling.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/name_mangling.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] name_mangling__field_types_f_comma_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/name_mangling.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc name_mangling__du_functor_desc_f_comma_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] name_mangling__du_stag_ordered_f_comma_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/name_mangling.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] name_mangling__du_ptag_ordered_f_comma_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/name_mangling.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] name_mangling__du_name_ordered_f_comma_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/name_mangling.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_comma_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc name_mangling__enum_functor_desc_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc name_mangling__enum_functor_desc_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/name_mangling.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] name_mangling__enum_ordinal_ordered_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/name_mangling.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] name_mangling__enum_name_ordered_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/name_mangling.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct name_mangling__type_ctor_info_f_97_110_111_116_104_101_114_32_119_105_101_114_100_32_116_121_112_101_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/name_mangling.java:50: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/name_mangling.java:52: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2; ^ Mercury/javas/jmercury/name_mangling.java:57: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/name_mangling.java:73: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/name_mangling.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/name_mangling.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/name_mangling.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/name_mangling.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/name_mangling.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/name_mangling.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/name_mangling.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/name_mangling.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/name_mangling.java:156: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/name_mangling.java:156: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:170: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/name_mangling.java:176: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/name_mangling.java:177: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class name_mangling Mercury/javas/jmercury/name_mangling.java:177: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/name_mangling.java:178: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(name_mangling.name_mangling__type_ctor_info_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0))) ^ Mercury/javas/jmercury/name_mangling.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(name_mangling.name_mangling__type_ctor_info_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0); ^ Mercury/javas/jmercury/name_mangling.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(name_mangling.name_mangling__type_ctor_info_f_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0); ^ Mercury/javas/jmercury/name_mangling.java:228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/name_mangling.java:229: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/name_mangling.java:235: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_7))); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:239: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_9))); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:243: error: cannot find symbol List_4 = solutions.solutions_2_p_0(TypeCtorInfo_12_12, Var_11); ^ symbol: variable solutions location: class name_mangling Mercury/javas/jmercury/name_mangling.java:245: error: package jmercury.runtime does not exist TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(name_mangling.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/name_mangling.java:247: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_14, ((java.lang.Object) (List_4))); ^ symbol: variable io location: class name_mangling Mercury/javas/jmercury/name_mangling.java:259: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((name_mangling.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((name_mangling.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((name_mangling.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/name_mangling.java:319: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/name_mangling.java:361: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/name_mangling.java:367: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/name_mangling.java:374: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/name_mangling.java:377: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_A_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:379: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/name_mangling.java:384: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_B_12, ArgX2_7, ArgY2_8); ^ symbol: variable builtin location: class name_mangling Mercury/javas/jmercury/name_mangling.java:398: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/name_mangling.java:401: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = name_mangling.__Compare____f_comma_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((name_mangling.F_comma_2) wrapper_arg_4), ((name_mangling.F_comma_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/name_mangling.java:401: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = name_mangling.__Compare____f_comma_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((name_mangling.F_comma_2) wrapper_arg_4), ((name_mangling.F_comma_2) wrapper_arg_5)); ^ Mercury/javas/jmercury/name_mangling.java:413: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/name_mangling.java:414: 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 F_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 Mercury/javas/jmercury/name_mangling.java:415: 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 F_97_32_115_116_114_97_110_103_101_32_116_121_112_101_32_110_97_109_101_0 Mercury/javas/jmercury/name_mangling.java:419: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Note: Mercury/javas/jmercury/name_mangling.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.H0mZEY:2411: name_mangling] Error 1 gmake[3]: Target 'name_mangling.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: name_mangling.log] Error 1 RUNNING TEST hard_coded/no_fully_strict in grade java FAILED TEST hard_coded/myset_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - myset_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - myset_test Making Mercury/int3s/myset_test.int3 Making Mercury/int3s/myset.int3 Making Mercury/ints/myset_test.int Making Mercury/ints/myset.int Making Mercury/javas/jmercury/myset.java Making Mercury/javas/jmercury/myset_test.java Making Java class files Mercury/javas/jmercury/myset.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/myset.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] myset__field_types_set_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/myset.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc myset__du_functor_desc_set_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/myset.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] myset__du_stag_ordered_set_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/myset.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] myset__du_ptag_ordered_set_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/myset.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] myset__du_name_ordered_set_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/myset.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct myset__type_ctor_info_set_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/myset.java:91: 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/myset.java:437: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/myset.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/myset.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/myset.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/myset.java:158: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/myset.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/myset.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/myset.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/myset.java:248: error: package list does not exist list.List_1 List_3) ^ Mercury/javas/jmercury/myset.java:262: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/myset.java:260: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/myset.java:276: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3) ^ Mercury/javas/jmercury/myset.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/myset.java:308: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/myset.java:306: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/myset.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/myset.java:439: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/myset.java:447: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/myset.java:394: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/myset_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/myset_test.java:33: 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/myset.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/myset.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] myset__field_types_set_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/myset.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc myset__du_functor_desc_set_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/myset.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] myset__du_stag_ordered_set_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/myset.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] myset__du_ptag_ordered_set_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/myset.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] myset__du_name_ordered_set_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/myset.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct myset__type_ctor_info_set_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/myset.java:27: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:29: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/myset.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) myset.list__pti_list_1__pseudo_1; ^ Mercury/javas/jmercury/myset.java:38: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class myset Mercury/javas/jmercury/myset.java:46: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class myset Mercury/javas/jmercury/myset.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/myset.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class myset Mercury/javas/jmercury/myset.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU_USEREQ, ^ Mercury/javas/jmercury/myset.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/myset.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/myset.java:91: 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/myset.java:96: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/myset.java:99: error: package list does not exist (list.List_1) myset.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/myset.java:115: error: package bool does not exist bool.Bool_0 Empty_3 = null; ^ Mercury/javas/jmercury/myset.java:116: error: package list does not exist list.List_1 List_4 = ((myset.Set_1) Set_2).F1; ^ Mercury/javas/jmercury/myset.java:120: error: package bool does not exist Empty_3 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/myset.java:122: error: package bool does not exist Empty_3 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/myset.java:123: error: package bool.Bool_0 does not exist succeeded = (Empty_3.MR_value == bool.Bool_0.K1.MR_value); ^ Mercury/javas/jmercury/myset.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/myset.java:132: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class myset Mercury/javas/jmercury/myset.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/myset.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/myset.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/myset.java:135: error: package list does not exist list.List_1 List_4 = ((myset.Set_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/myset.java:140: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class myset Mercury/javas/jmercury/myset.java:142: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:142: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/myset.java:144: error: package jmercury.runtime does not exist TypeInfo_15_15 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/myset.java:150: error: cannot find symbol io.print_3_p_0(TypeInfo_15_15, ((java.lang.Object) (List_4))); ^ symbol: variable io location: class myset Mercury/javas/jmercury/myset.java:154: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_11))); ^ symbol: variable io location: class myset Mercury/javas/jmercury/myset.java:163: error: package list does not exist list.List_1 List_3 = ((myset.Set_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/myset.java:175: error: package list does not exist list.List_1 List1_7 = ((myset.Set_1) Set1_4).F1; ^ Mercury/javas/jmercury/myset.java:176: error: package list does not exist list.List_1 List2_8 = ((myset.Set_1) Set2_5).F1; ^ Mercury/javas/jmercury/myset.java:177: error: package list does not exist list.List_1 UnionList_9 = null; ^ Mercury/javas/jmercury/myset.java:180: error: cannot find symbol UnionList_9 = list.append_3_p_1(TypeInfo_for_T_10, List1_7, List2_8); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:198: error: package list does not exist list.List_1 Rest_5 = null; ^ Mercury/javas/jmercury/myset.java:207: error: package list does not exist list.List_1 UnionList_7 = ((myset.Set_1) UnionSet_6).F1; ^ Mercury/javas/jmercury/myset.java:209: error: package list does not exist list.List_1 Rest1_9 = null; ^ Mercury/javas/jmercury/myset.java:214: error: package list.List_1 does not exist Element1_8 = ((list.List_1.F_cons_2) UnionList_7).F1; ^ Mercury/javas/jmercury/myset.java:215: error: package list.List_1 does not exist Rest1_9 = ((list.List_1.F_cons_2) UnionList_7).F2; ^ Mercury/javas/jmercury/myset.java:224: error: cannot find symbol require.error_1_p_0(Var_10); ^ symbol: variable require location: class myset Mercury/javas/jmercury/myset.java:265: error: package list does not exist list.List_1 Sorted_4 = null; ^ Mercury/javas/jmercury/myset.java:266: error: package list does not exist list.List_1 Unsorted_5 = ((myset.Set_1) Set_3).F1; ^ Mercury/javas/jmercury/myset.java:269: error: cannot find symbol Sorted_4 = list.sort_2_p_0(TypeInfo_for_T_6, Unsorted_5); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:289: error: package list does not exist list.List_1 Var_4 = null; ^ Mercury/javas/jmercury/myset.java:290: error: package list does not exist list.List_1 Var_5 = (list.List_1) myset.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/myset.java:290: error: package list does not exist list.List_1 Var_5 = (list.List_1) myset.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/myset.java:293: error: package list.List_1 does not exist Var_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/myset.java:312: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/myset.java:313: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(myset.myset__type_ctor_info_set_1); ^ Mercury/javas/jmercury/myset.java:313: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(myset.myset__type_ctor_info_set_1); ^ Mercury/javas/jmercury/myset.java:314: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = null; ^ Mercury/javas/jmercury/myset.java:317: error: package jmercury.runtime does not exist TypeInfo_6_6 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/myset.java:323: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_non_canonical_type_3_p_0(TypeInfo_6_6, ((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (HeadVar__3_3))); ^ symbol: variable private_builtin location: class myset Mercury/javas/jmercury/myset.java:335: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/myset.java:338: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = myset.__Compare____set_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((myset.Set_1) wrapper_arg_3), ((myset.Set_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/myset.java:359: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/myset.java:360: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/myset.java:361: error: package list does not exist list.List_1 Unsorted_10 = ((myset.Set_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/myset.java:362: error: package list does not exist list.List_1 Unsorted_11 = null; ^ Mercury/javas/jmercury/myset.java:365: error: cannot find symbol Var_6 = list.sort_2_p_0(TypeInfo_for_T_5, Unsorted_10); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:369: error: cannot find symbol Var_7 = list.sort_2_p_0(TypeInfo_for_T_5, Unsorted_11); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:372: error: cannot find symbol succeeded = list.__Unify____list_1_0(TypeInfo_for_T_5, Var_6, Var_7); ^ symbol: variable list location: class myset Mercury/javas/jmercury/myset.java:387: error: package jmercury.runtime does not exist succeeded = myset.__Unify____set_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((myset.Set_1) wrapper_arg_2), ((myset.Set_1) wrapper_arg_3)); ^ 100 errors gmake[3]: *** [/tmp/mmake.56WOzL:2411: myset_test] Error 1 gmake[3]: Target 'myset_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: myset_test.log] Error 1 RUNNING TEST hard_coded/no_inline in grade java FAILED TEST hard_coded/no_fully_strict in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-fully-strict --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_fully_strict.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-fully-strict --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_fully_strict Making Mercury/int3s/no_fully_strict.int3 Making Mercury/ints/no_fully_strict.int Making Mercury/javas/jmercury/no_fully_strict.java no_fully_strict.m:015: In predicate `main'/2: no_fully_strict.m:015: warning: the first argument and the second argument, no_fully_strict.m:015: represented by the state variable `!IO', could be no_fully_strict.m:015: deleted, because they are not used, and because the no_fully_strict.m:015: final value is always the same as the initial value. Making Java class files Mercury/javas/jmercury/no_fully_strict.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "no_fully_strict"; ^ Mercury/javas/jmercury/no_fully_strict.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/no_fully_strict.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/no_fully_strict.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/no_fully_strict.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_fully_strict Mercury/javas/jmercury/no_fully_strict.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/no_fully_strict.java:39: error: cannot find symbol require.error_1_p_0(Var_6); ^ symbol: variable require location: class no_fully_strict 12 errors gmake[3]: *** [/tmp/mmake.i5SbeH:2411: no_fully_strict] Error 1 gmake[3]: Target 'no_fully_strict.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: no_fully_strict.log] Error 1 RUNNING TEST hard_coded/no_inline_builtins in grade java FAILED TEST hard_coded/no_inline in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_inline.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_inline Making Mercury/int3s/no_inline.int3 Making Mercury/ints/no_inline.int Making Mercury/javas/jmercury/no_inline.java Making Java class files Mercury/javas/jmercury/no_inline.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/no_inline.java:38: 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/no_inline.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "no_inline"; ^ Mercury/javas/jmercury/no_inline.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/no_inline.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/no_inline.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class no_inline Mercury/javas/jmercury/no_inline.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class no_inline Mercury/javas/jmercury/no_inline.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/no_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_inline Mercury/javas/jmercury/no_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_inline Mercury/javas/jmercury/no_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_inline Mercury/javas/jmercury/no_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_inline Mercury/javas/jmercury/no_inline.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/no_inline.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/no_inline.java:38: 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/no_inline.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/no_inline.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class no_inline Mercury/javas/jmercury/no_inline.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/no_inline.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class no_inline Mercury/javas/jmercury/no_inline.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/no_inline.java:47: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/no_inline.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/no_inline.java:81: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/no_inline.java:82: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/no_inline.java:83: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/no_inline.java:84: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/no_inline.java:85: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/no_inline.java:99: error: package list does not exist Var_15 = (list.List_1) no_inline.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/no_inline.java:101: error: package list.List_1 does not exist Var_14 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/no_inline.java:107: error: package list.List_1 does not exist Var_13 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/no_inline.java:113: error: package list.List_1 does not exist Var_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/no_inline.java:119: error: package list.List_1 does not exist Var_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/no_inline.java:124: error: package jmercury.runtime does not exist TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(no_inline.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/no_inline.java:126: error: cannot find symbol io.write_line_3_p_0(TypeInfo_16_16, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class no_inline 34 errors gmake[3]: *** [/tmp/mmake.NVSG2S:2411: no_inline] Error 1 gmake[3]: Target 'no_inline.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: no_inline.log] Error 1 RUNNING TEST hard_coded/no_warn_singleton in grade java FAILED TEST hard_coded/no_inline_builtins in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inline-builtins '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_inline_builtins.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inline-builtins '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_inline_builtins Making Mercury/int3s/no_inline_builtins.int3 Making Mercury/ints/no_inline_builtins.int Making Mercury/javas/jmercury/no_inline_builtins.java Making Java class files Mercury/javas/jmercury/no_inline_builtins.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "no_inline_builtins"; ^ Mercury/javas/jmercury/no_inline_builtins.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/no_inline_builtins.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/no_inline_builtins.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/no_inline_builtins.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/no_inline_builtins.java:41: error: cannot find symbol Var_6 = mr_int.f_plus_2_f_0(Var_8, Var_9); ^ symbol: variable mr_int location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:44: error: cannot find symbol io.write_int_3_p_0(Var_6); ^ symbol: variable io location: class no_inline_builtins Mercury/javas/jmercury/no_inline_builtins.java:47: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class no_inline_builtins 14 errors gmake[3]: *** [/tmp/mmake.8APLyz:2411: no_inline_builtins] Error 1 gmake[3]: Target 'no_inline_builtins.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: no_inline_builtins.log] Error 1 RUNNING TEST hard_coded/nonascii in grade java FAILED TEST hard_coded/no_warn_singleton in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_warn_singleton.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - no_warn_singleton Making Mercury/int3s/no_warn_singleton.int3 Making Mercury/ints/no_warn_singleton.int Making Mercury/javas/jmercury/no_warn_singleton.java Making Java class files Mercury/javas/jmercury/no_warn_singleton.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "no_warn_singleton"; ^ Mercury/javas/jmercury/no_warn_singleton.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/no_warn_singleton.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/no_warn_singleton.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/no_warn_singleton.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/no_warn_singleton.java:39: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class no_warn_singleton Mercury/javas/jmercury/no_warn_singleton.java:42: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class no_warn_singleton 13 errors gmake[3]: *** [/tmp/mmake.DXR67p:2411: no_warn_singleton] Error 1 gmake[3]: Target 'no_warn_singleton.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: no_warn_singleton.log] Error 1 RUNNING TEST hard_coded/nondet_copy_out in grade java FAILED TEST hard_coded/nondet_copy_out in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining --nondet-copy-out '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_copy_out.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining --nondet-copy-out '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_copy_out Making Mercury/int3s/nondet_copy_out.int3 Making Mercury/ints/nondet_copy_out.int Making Mercury/javas/jmercury/nondet_copy_out.java Making Java class files Mercury/javas/jmercury/nondet_copy_out.java:136: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/nondet_copy_out.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_copy_out"; ^ Mercury/javas/jmercury/nondet_copy_out.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_copy_out.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_copy_out.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_copy_out.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_copy_out.java:86: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/nondet_copy_out.java:95: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:103: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class nondet_copy_out Mercury/javas/jmercury/nondet_copy_out.java:114: error: package jmercury.runtime does not exist ((nondet_copy_out.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 16 errors gmake[3]: *** [/tmp/mmake.dNEcJW:2411: nondet_copy_out] Error 1 gmake[3]: Target 'nondet_copy_out.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_copy_out.log] Error 1 RUNNING TEST hard_coded/nondet_ctrl_vn in grade java FAILED TEST hard_coded/nonascii in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nonascii.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nonascii Making Mercury/int3s/nonascii.int3 Making Mercury/ints/nonascii.int Making Mercury/javas/jmercury/nonascii.java Making Java class files cc nonascii_gen.c -o nonascii_gen Mercury/javas/jmercury/nonascii.java:206: error: package io does not exist io.Text_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/nonascii.java:284: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nonascii.java:303: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nonascii.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nonascii"; ^ Mercury/javas/jmercury/nonascii.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nonascii.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nonascii.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nonascii Mercury/javas/jmercury/nonascii.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nonascii Mercury/javas/jmercury/nonascii.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nonascii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nonascii.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/nonascii.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nonascii.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/nonascii.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/nonascii.java:58: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:58: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/nonascii.java:77: error: package io does not exist io.Res_1 Result_4 = null; ^ Mercury/javas/jmercury/nonascii.java:81: error: cannot find symbol Result_4 = io.open_input_4_p_0(Var_10); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:85: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/nonascii.java:85: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/nonascii.java:89: error: cannot find symbol Msg_7 = io.error_message_2_p_0(Error_6); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:92: error: cannot find symbol io.write_string_3_p_0(Msg_7); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:95: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:100: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:100: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:100: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:102: error: package io does not exist io.Result_1 Result_16 = null; ^ Mercury/javas/jmercury/nonascii.java:105: error: cannot find symbol Result_16 = io.read_line_as_string_4_p_0(Stream_5); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:107: error: illegal start of type switch (Result_16.data_tag) { ^ Mercury/javas/jmercury/nonascii.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_29 = null; ^ Mercury/javas/jmercury/nonascii.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_30 = null; ^ Mercury/javas/jmercury/nonascii.java:112: error: package io.Result_1 does not exist java.lang.String Line_17 = ((java.lang.String) ((io.Result_1.Ok_1) Result_16).F1); ^ Mercury/javas/jmercury/nonascii.java:113: error: package list does not exist list.List_1 Chars_18 = null; ^ Mercury/javas/jmercury/nonascii.java:114: error: package list does not exist list.List_1 Ints_19 = null; ^ Mercury/javas/jmercury/nonascii.java:120: error: cannot find symbol Chars_18 = string.to_char_list_1_f_0(Line_17); ^ symbol: variable string location: class nonascii Mercury/javas/jmercury/nonascii.java:122: error: cannot find symbol TypeCtorInfo_23_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:122: error: package jmercury.runtime does not exist TypeCtorInfo_23_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/nonascii.java:123: error: cannot find symbol TypeCtorInfo_24_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:123: error: package jmercury.runtime does not exist TypeCtorInfo_24_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nonascii.java:126: error: cannot find symbol Ints_19 = list.map_2_f_0(TypeCtorInfo_23_29, TypeCtorInfo_24_30, Var_23, Chars_18); ^ symbol: variable list location: class nonascii Mercury/javas/jmercury/nonascii.java:131: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_24_30, Ints_19, Var_24, Var_25); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:134: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:143: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:149: error: package io does not exist io.Error_0 Error_20 = ((io.Result_1.Error_1) Result_16).F1; ^ Mercury/javas/jmercury/nonascii.java:149: error: package io.Result_1 does not exist io.Error_0 Error_20 = ((io.Result_1.Error_1) Result_16).F1; ^ Mercury/javas/jmercury/nonascii.java:153: error: cannot find symbol Msg_21 = io.error_message_2_p_0(Error_20); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:156: error: cannot find symbol io.write_string_3_p_0(Msg_21); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:159: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:164: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/nonascii.java:183: error: cannot find symbol conv0_HeadVar__2_2 = mr_char.to_int_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class nonascii Mercury/javas/jmercury/nonascii.java:199: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:218: error: package io does not exist io.Result_1 Result_8 = null; ^ Mercury/javas/jmercury/nonascii.java:224: error: cannot find symbol Result_8 = io.read_char_4_p_0(Stream_5); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:226: error: illegal start of type switch (Result_8.data_tag) { ^ Mercury/javas/jmercury/nonascii.java:229: error: package io.Result_1 does not exist int Char_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_8).F1)).intValue(); ^ Mercury/javas/jmercury/nonascii.java:229: error: illegal start of type int Char_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_8).F1)).intValue(); ^ Mercury/javas/jmercury/nonascii.java:233: error: cannot find symbol Int_10 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class nonascii Mercury/javas/jmercury/nonascii.java:236: error: cannot find symbol io.write_int_3_p_0(Int_10); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:248: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:254: error: package io does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Result_8).F1; ^ Mercury/javas/jmercury/nonascii.java:254: error: package io.Result_1 does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Result_8).F1; ^ Mercury/javas/jmercury/nonascii.java:258: error: cannot find symbol Msg_12 = io.error_message_2_p_0(Error_11); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:261: error: cannot find symbol io.write_string_3_p_0(Msg_12); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:264: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:269: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 74 errors gmake[3]: *** [/tmp/mmake.rX2nap:2411: nonascii] Error 1 ./nonascii_gen > nonascii.data gmake[3]: Target 'nonascii.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nonascii.log] Error 1 RUNNING TEST hard_coded/nondet_lambda in grade java FAILED TEST hard_coded/nondet_ctrl_vn in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ctrl_vn.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_ctrl_vn Making Mercury/int3s/nondet_ctrl_vn.int3 Making Mercury/ints/nondet_ctrl_vn.int Making Mercury/javas/jmercury/nondet_ctrl_vn.java Making Java class files Mercury/javas/jmercury/nondet_ctrl_vn.java:129: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_ctrl_vn"; ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:47: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:55: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class nondet_ctrl_vn Mercury/javas/jmercury/nondet_ctrl_vn.java:93: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/nondet_ctrl_vn.java:106: error: package jmercury.runtime does not exist ((nondet_ctrl_vn.Middle_1_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 16 errors gmake[3]: *** [/tmp/mmake.6bdvcv:2411: nondet_ctrl_vn] Error 1 gmake[3]: Target 'nondet_ctrl_vn.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_ctrl_vn.log] Error 1 RUNNING TEST hard_coded/null_char in grade java FAILED TEST hard_coded/nondet_lambda in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_lambda.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nondet_lambda Making Mercury/int3s/nondet_lambda.int3 Making Mercury/ints/nondet_lambda.int Making Mercury/javas/jmercury/nondet_lambda.java Making Java class files Mercury/javas/jmercury/nondet_lambda.java:59: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_lambda.java:147: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/nondet_lambda.java:205: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nondet_lambda.java:247: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nondet_lambda.java:271: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/nondet_lambda.java:281: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/nondet_lambda.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nondet_lambda"; ^ Mercury/javas/jmercury/nondet_lambda.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nondet_lambda.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nondet_lambda.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nondet_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nondet_lambda.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nondet_lambda.java:65: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(LambdaHeadVar__1_9), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_lambda.java:87: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/nondet_lambda.java:87: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/nondet_lambda.java:90: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr3) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_4))), ((java.lang.Object) (new AddrOf2_0(1))), ((java.lang.Object) (env_ptr))); ^ Mercury/javas/jmercury/nondet_lambda.java:96: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/nondet_lambda.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_lambda.java:102: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nondet_lambda.java:106: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_14_14, java.lang.Integer.valueOf(((nondet_lambda.Main_2_p_0_env_0) env_ptr).Y_6)); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:110: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class nondet_lambda Mercury/javas/jmercury/nondet_lambda.java:127: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((nondet_lambda.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nondet_lambda.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nondet_lambda.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/nondet_lambda.java:174: error: package jmercury.runtime does not exist ((nondet_lambda.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/nondet_lambda.java:234: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/nondet_lambda.java:259: error: package jmercury.runtime does not exist nondet_lambda.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 33 errors gmake[3]: *** [/tmp/mmake.wLmtgV:2411: nondet_lambda] Error 1 gmake[3]: Target 'nondet_lambda.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nondet_lambda.log] Error 1 RUNNING TEST hard_coded/nullary_ho_func in grade java FAILED TEST hard_coded/nullary_ho_func in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-unresolved-polymorphism '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nullary_ho_func.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-unresolved-polymorphism '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - nullary_ho_func Making Mercury/int3s/nullary_ho_func.int3 Making Mercury/ints/nullary_ho_func.int Making Mercury/javas/jmercury/nullary_ho_func.java Making Java class files Mercury/javas/jmercury/nullary_ho_func.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/nullary_ho_func.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nullary_ho_func__type_ctor_info_nullary_func_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nullary_ho_func.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/nullary_ho_func.java:393: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/nullary_ho_func.java:391: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/nullary_ho_func.java:423: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/nullary_ho_func.java:451: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/nullary_ho_func.java:501: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nullary_ho_func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nullary_ho_func"; ^ Mercury/javas/jmercury/nullary_ho_func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nullary_ho_func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nullary_ho_func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nullary_ho_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nullary_ho_func.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/nullary_ho_func.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct nullary_ho_func__type_ctor_info_nullary_func_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/nullary_ho_func.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:40: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/nullary_ho_func.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV, ^ Mercury/javas/jmercury/nullary_ho_func.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/nullary_ho_func.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/nullary_ho_func.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) nullary_ho_func.__vpti_func_1__pseudo_1 ^ Mercury/javas/jmercury/nullary_ho_func.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/nullary_ho_func.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/nullary_ho_func.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/nullary_ho_func.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/nullary_ho_func.java:86: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:86: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nullary_ho_func.java:93: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_void_0)) ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:93: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_void_0)) ^ Mercury/javas/jmercury/nullary_ho_func.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/nullary_ho_func.java:113: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:113: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nullary_ho_func.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_48_48 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_49_49 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_51_51 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_41 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_47 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:144: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/nullary_ho_func.java:144: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) F_4)[1]); ^ Mercury/javas/jmercury/nullary_ho_func.java:146: error: package builtin does not exist builtin.Void_0 Y_10 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:147: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_5 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:150: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_7 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:154: error: package jmercury.runtime does not exist conv2_X_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) F_4))))); ^ Mercury/javas/jmercury/nullary_ho_func.java:167: error: cannot find symbol TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:167: error: package jmercury.runtime does not exist TypeCtorInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/nullary_ho_func.java:169: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:171: error: cannot find symbol TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:171: error: package jmercury.runtime does not exist TypeCtorInfo_49_49 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nullary_ho_func.java:173: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_49_49, java.lang.Integer.valueOf(X_5)); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:177: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_20))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:180: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_49_49, java.lang.Integer.valueOf(X_5)); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:184: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_23))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:187: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_49_49, java.lang.Integer.valueOf(X_5)); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:191: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_26))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:194: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_49_49, java.lang.Integer.valueOf(X_5)); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:196: error: package jmercury.runtime does not exist func_5 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) G_6)[1]); ^ Mercury/javas/jmercury/nullary_ho_func.java:198: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr1) func_5).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) G_6))))); ^ Mercury/javas/jmercury/nullary_ho_func.java:204: error: package builtin does not exist Y_10 = ((builtin.Void_0) conv6_Y_10); ^ Mercury/javas/jmercury/nullary_ho_func.java:209: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_50 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:213: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:215: error: cannot find symbol TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:215: error: package jmercury.runtime does not exist TypeCtorInfo_50_50 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/nullary_ho_func.java:217: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_50_50, ((java.lang.Object) (Y_10))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:225: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:228: error: package jmercury.runtime does not exist func_7 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) H_8)[1]); ^ Mercury/javas/jmercury/nullary_ho_func.java:230: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr1) func_7).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) H_8))))); ^ Mercury/javas/jmercury/nullary_ho_func.java:244: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_34))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:247: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_49_49, java.lang.Integer.valueOf(Z_11)); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:255: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_37))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:260: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_39))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:262: error: package jmercury.runtime does not exist TypeInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(nullary_ho_func.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/nullary_ho_func.java:264: error: cannot find symbol Var_41 = type_desc.type_of_1_f_0(TypeInfo_51_51); ^ symbol: variable type_desc location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:266: error: cannot find symbol TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ symbol: variable type_desc location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0); ^ Mercury/javas/jmercury/nullary_ho_func.java:268: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_52_52, ((java.lang.Object) (Var_41))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:272: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_43))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:275: error: cannot find symbol Var_47 = type_desc.type_of_1_f_0(TypeInfo_51_51); ^ symbol: variable type_desc location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:278: error: cannot find symbol Var_45 = type_desc.type_name_1_f_0(Var_47); ^ symbol: variable type_desc location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:281: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_48_48, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:307: error: package builtin does not exist builtin.Void_0 conv3_LambdaHeadVar__1_15 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:312: error: package builtin does not exist conv3_LambdaHeadVar__1_15 = (builtin.Void_0) result[1]; ^ Mercury/javas/jmercury/nullary_ho_func.java:362: error: package builtin does not exist builtin.Void_0 LambdaHeadVar__1_15 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:378: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:397: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:400: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:412: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/nullary_ho_func.java:415: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = nullary_ho_func.__Compare____nullary_func_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((/* closure */ java.lang.Object[]) wrapper_arg_3), ((/* closure */ java.lang.Object[]) wrapper_arg_4)); ^ Mercury/javas/jmercury/nullary_ho_func.java:430: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class nullary_ho_func Mercury/javas/jmercury/nullary_ho_func.java:444: error: package jmercury.runtime does not exist succeeded = nullary_ho_func.__Unify____nullary_func_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((/* closure */ java.lang.Object[]) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_3)); ^ Mercury/javas/jmercury/nullary_ho_func.java:488: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.j82KpE:2411: nullary_ho_func] Error 1 gmake[3]: Target 'nullary_ho_func.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: nullary_ho_func.log] Error 1 RUNNING TEST hard_coded/oisu_check_main in grade java FAILED TEST hard_coded/null_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - null_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - null_char Making Mercury/int3s/null_char.int3 Making Mercury/ints/null_char.int Making Mercury/javas/jmercury/null_char.java Making Java class files Mercury/javas/jmercury/null_char.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/null_char.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_result_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/null_char.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/null_char.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/null_char.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/null_char.java:447: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_20, ^ Mercury/javas/jmercury/null_char.java:497: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/null_char.java:556: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/null_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "null_char"; ^ Mercury/javas/jmercury/null_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/null_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/null_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class null_char Mercury/javas/jmercury/null_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class null_char Mercury/javas/jmercury/null_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/null_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/null_char.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_maybe_partial_res_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/null_char.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct io__pti_result_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/null_char.java:38: error: cannot find symbol io.io__type_ctor_info_maybe_partial_res_1, ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/null_char.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:44: error: cannot find symbol io.io__type_ctor_info_result_1, ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/null_char.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/null_char.java:60: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/null_char.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/null_char.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/null_char.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_maybe_partial_res_1))), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_maybe_partial_res_1))), ^ Mercury/javas/jmercury/null_char.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/null_char.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/null_char.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_result_1))), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_result_1))), ^ Mercury/javas/jmercury/null_char.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/null_char.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/null_char.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ symbol: variable exception location: class null_char Mercury/javas/jmercury/null_char.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ Mercury/javas/jmercury/null_char.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/null_char.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/null_char.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_text_input_stream_0)), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_text_input_stream_0)), ^ Mercury/javas/jmercury/null_char.java:117: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:117: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/null_char.java:118: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:118: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/null_char.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_text_input_stream_0)), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_text_input_stream_0)), ^ Mercury/javas/jmercury/null_char.java:133: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:133: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/null_char.java:134: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:134: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/null_char.java:143: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/null_char.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/null_char.java:147: error: package list does not exist (list.List_1) null_char.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/null_char.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/null_char.java:161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/null_char.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_33_33 = null; ^ Mercury/javas/jmercury/null_char.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_45 = null; ^ Mercury/javas/jmercury/null_char.java:171: error: package exception does not exist exception.Exception_result_1 Res_34 = null; ^ Mercury/javas/jmercury/null_char.java:172: error: package exception does not exist exception.Exception_result_1 Res_37 = null; ^ Mercury/javas/jmercury/null_char.java:173: error: package exception does not exist exception.Exception_result_1 Res_40 = null; ^ Mercury/javas/jmercury/null_char.java:174: error: package exception does not exist exception.Exception_result_1 Res_43 = null; ^ Mercury/javas/jmercury/null_char.java:177: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:180: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class null_char Mercury/javas/jmercury/null_char.java:180: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/null_char.java:182: error: cannot find symbol Res_34 = exception.try_2_p_0(TypeCtorInfo_20_20, Var_8); ^ symbol: variable exception location: class null_char Mercury/javas/jmercury/null_char.java:184: error: package jmercury.runtime does not exist TypeInfo_11_45 = jmercury.runtime.TypeInfo_Struct.maybe_new(null_char.MR_scalar_common_1[2]); ^ Mercury/javas/jmercury/null_char.java:186: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_45, ((java.lang.Object) (Res_34))); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:190: error: cannot find symbol Res_37 = exception.try_2_p_0(TypeCtorInfo_20_20, Var_10); ^ symbol: variable exception location: class null_char Mercury/javas/jmercury/null_char.java:193: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_45, ((java.lang.Object) (Res_37))); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:197: error: cannot find symbol Res_40 = exception.try_2_p_0(TypeCtorInfo_20_20, Var_12); ^ symbol: variable exception location: class null_char Mercury/javas/jmercury/null_char.java:200: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_45, ((java.lang.Object) (Res_40))); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:204: error: cannot find symbol Res_43 = exception.try_2_p_0(TypeCtorInfo_20_20, Var_14); ^ symbol: variable exception location: class null_char Mercury/javas/jmercury/null_char.java:207: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_45, ((java.lang.Object) (Res_43))); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:210: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(null_char.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/null_char.java:215: error: package jmercury.runtime does not exist TypeInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(null_char.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/null_char.java:290: error: package io does not exist io.Maybe_partial_res_1 conv4_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/null_char.java:293: error: package io does not exist conv4_HeadVar__2_2 = io.read_file_as_string_4_p_0(((io.Text_input_stream_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/null_char.java:293: error: cannot find symbol conv4_HeadVar__2_2 = io.read_file_as_string_4_p_0(((io.Text_input_stream_0) wrapper_arg_1)); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:311: error: package io does not exist io.Result_1 conv5_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/null_char.java:314: error: package io does not exist conv5_HeadVar__2_2 = io.read_line_as_string_4_p_0(((io.Text_input_stream_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/null_char.java:314: error: cannot find symbol conv5_HeadVar__2_2 = io.read_line_as_string_4_p_0(((io.Text_input_stream_0) wrapper_arg_1)); ^ symbol: variable io location: class null_char Mercury/javas/jmercury/null_char.java:327: error: package list does not exist list.List_1 Var_3 = null; ^ Mercury/javas/jmercury/null_char.java:329: error: package list does not exist list.List_1 Var_5 = null; ^ Mercury/javas/jmercury/null_char.java:331: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/null_char.java:333: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/null_char.java:337: error: cannot find symbol Var_8 = mr_char.det_from_int_1_f_0(Var_12); ^ symbol: variable mr_char location: class null_char Mercury/javas/jmercury/null_char.java:339: error: package list does not exist Var_9 = (list.List_1) null_char.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/null_char.java:341: error: package list.List_1 does not exist Var_7 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/null_char.java:347: error: package list.List_1 does not exist Var_5 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/null_char.java:353: error: package list.List_1 does not exist Var_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/null_char.java:359: error: cannot find symbol String_2 = string.from_char_list_1_f_0(Var_3); ^ symbol: variable string location: class null_char 100 errors gmake[3]: *** [/tmp/mmake.zYec3v:2411: null_char] Error 1 gmake[3]: Target 'null_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: null_char.log] Error 1 RUNNING TEST hard_coded/one_member in grade java FAILED TEST hard_coded/oisu_check_main in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - oisu_check_main.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - oisu_check_main Making Mercury/int3s/oisu_check_main.int3 Making Mercury/int3s/oisu_check_db.int3 Making Mercury/ints/oisu_check_main.int Making Mercury/ints/oisu_check_db.int Making Mercury/javas/jmercury/oisu_check_db.java Making Mercury/javas/jmercury/oisu_check_main.java Making Java class files Mercury/javas/jmercury/oisu_check_db.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] oisu_check_db__field_types_db_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/oisu_check_db.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc oisu_check_db__du_functor_desc_db_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/oisu_check_db.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] oisu_check_db__du_stag_ordered_db_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] oisu_check_db__du_ptag_ordered_db_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] oisu_check_db__du_name_ordered_db_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct oisu_check_db__type_ctor_info_db_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/oisu_check_db.java:326: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/oisu_check_db.java:141: error: package bool does not exist bool.Bool_0 B_4, ^ Mercury/javas/jmercury/oisu_check_db.java:173: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/oisu_check_db.java:328: error: package bool does not exist public bool.Bool_0 F1; ^ Mercury/javas/jmercury/oisu_check_db.java:337: error: package bool does not exist bool.Bool_0 F1, ^ Mercury/javas/jmercury/oisu_check_db.java:284: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/oisu_check_main.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] oisu_check_db__field_types_db_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/oisu_check_db.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc oisu_check_db__du_functor_desc_db_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/oisu_check_db.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] oisu_check_db__du_stag_ordered_db_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] oisu_check_db__du_ptag_ordered_db_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] oisu_check_db__du_name_ordered_db_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/oisu_check_db.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct oisu_check_db__type_ctor_info_db_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/oisu_check_db.java:26: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/oisu_check_db.java:26: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class oisu_check_db Mercury/javas/jmercury/oisu_check_db.java:28: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/oisu_check_db.java:28: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class oisu_check_db Mercury/javas/jmercury/oisu_check_db.java:33: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class oisu_check_db Mercury/javas/jmercury/oisu_check_db.java:41: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class oisu_check_db Mercury/javas/jmercury/oisu_check_db.java:47: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/oisu_check_db.java:49: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class oisu_check_db Mercury/javas/jmercury/oisu_check_db.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/oisu_check_db.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/oisu_check_db.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/oisu_check_db.java:91: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/oisu_check_db.java:115: error: package bool does not exist bool.Bool_0 Var_5 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/oisu_check_db.java:115: error: package bool does not exist bool.Bool_0 Var_5 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/oisu_check_db.java:130: error: package bool does not exist bool.Bool_0 B_5 = ((oisu_check_db.Db_0) DB_4).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:162: error: package bool does not exist bool.Bool_0 B_6 = ((oisu_check_db.Db_0) STATE_VARIABLE_DB_0_8).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:179: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/oisu_check_db.java:185: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/oisu_check_db.java:188: error: package bool does not exist bool.Bool_0 ArgX1_4 = ((oisu_check_db.Db_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:189: error: package bool does not exist bool.Bool_0 ArgY1_5 = ((oisu_check_db.Db_0) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:192: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/oisu_check_db.java:198: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/oisu_check_db.java:203: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/oisu_check_db.java:205: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/oisu_check_db.java:207: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/oisu_check_db.java:214: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/oisu_check_db.java:219: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/oisu_check_db.java:221: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/oisu_check_db.java:234: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/oisu_check_db.java:257: error: package bool does not exist bool.Bool_0 ArgX1_3 = ((oisu_check_db.Db_0) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:258: error: package bool does not exist bool.Bool_0 ArgY1_4 = ((oisu_check_db.Db_0) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/oisu_check_db.java:313: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/oisu_check_main.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "oisu_check_main"; ^ Mercury/javas/jmercury/oisu_check_main.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/oisu_check_main.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/oisu_check_main.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/oisu_check_main.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/oisu_check_main.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/oisu_check_main.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/oisu_check_main.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/oisu_check_main.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ symbol: variable bool location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0))), ^ Mercury/javas/jmercury/oisu_check_main.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/oisu_check_main.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:53: error: package bool does not exist bool.Bool_0 BA_6 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:55: error: package bool does not exist bool.Bool_0 BB_8 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:58: error: package bool does not exist bool.Bool_0 Var_13 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:64: error: package bool does not exist bool.Bool_0 Var_19 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:68: error: package pair does not exist pair.Pair_2 Var_23 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:69: error: package pair does not exist pair.Pair_2 Var_25 = null; ^ Mercury/javas/jmercury/oisu_check_main.java:74: error: package bool does not exist Var_13 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/oisu_check_main.java:84: error: package bool does not exist BA_6 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/oisu_check_main.java:91: error: package bool does not exist Var_19 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/oisu_check_main.java:101: error: package bool does not exist BB_8 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/oisu_check_main.java:105: error: package pair does not exist Var_23 = new pair.Pair_2( ^ Mercury/javas/jmercury/oisu_check_main.java:110: error: package jmercury.runtime does not exist TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(oisu_check_main.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/oisu_check_main.java:112: error: cannot find symbol io.write_line_3_p_0(TypeInfo_26_26, ((java.lang.Object) (Var_23))); ^ symbol: variable io location: class oisu_check_main Mercury/javas/jmercury/oisu_check_main.java:115: error: package pair does not exist Var_25 = new pair.Pair_2( ^ Mercury/javas/jmercury/oisu_check_main.java:121: error: cannot find symbol io.write_line_3_p_0(TypeInfo_26_26, ((java.lang.Object) (Var_25))); ^ symbol: variable io location: class oisu_check_main 86 errors gmake[3]: *** [/tmp/mmake.5PVAMI:2411: oisu_check_main] Error 1 gmake[3]: Target 'oisu_check_main.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: oisu_check_main.log] Error 1 RUNNING TEST hard_coded/only_failing_goal_is_tail_rec in grade java FAILED TEST hard_coded/one_member in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O5 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - one_member.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O5 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - one_member Making Mercury/int3s/one_member.int3 Making Mercury/ints/one_member.int Making Mercury/javas/jmercury/one_member.java Making Java class files Mercury/javas/jmercury/one_member.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_member__pti_set_ctree234_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_member__pti_set_tree234_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_ctree234_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/one_member.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_ctree234_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_stag_ordered_set_ctree234_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/one_member.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] one_member__du_ptag_ordered_set_ctree234_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/one_member.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_name_ordered_set_ctree234_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/one_member.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct one_member__type_ctor_info_set_ctree234_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/one_member.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_2 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/one_member.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_3 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/one_member.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_stag_ordered_set_tree234_1_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/one_member.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] one_member__du_ptag_ordered_set_tree234_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/one_member.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_name_ordered_set_tree234_1 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/one_member.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct one_member__type_ctor_info_set_tree234_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:273: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/one_member.java:1487: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/one_member.java:1467: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/one_member.java:280: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_8 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/one_member.java:343: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/one_member.java:393: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/one_member.java:504: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/one_member.java:501: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/one_member.java:641: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/one_member.java:639: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/one_member.java:687: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/one_member.java:763: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/one_member.java:786: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/one_member.java:784: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/one_member.java:823: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_48, ^ Mercury/javas/jmercury/one_member.java:821: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/one_member.java:1111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/one_member.java:1145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_35, ^ Mercury/javas/jmercury/one_member.java:1355: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/one_member.java:1397: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/one_member.java:1599: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/one_member.java:1608: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/one_member.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "one_member"; ^ Mercury/javas/jmercury/one_member.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/one_member.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/one_member.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class one_member Mercury/javas/jmercury/one_member.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class one_member Mercury/javas/jmercury/one_member.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/one_member.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class one_member Mercury/javas/jmercury/one_member.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class one_member Mercury/javas/jmercury/one_member.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class one_member Mercury/javas/jmercury/one_member.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class one_member Mercury/javas/jmercury/one_member.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/one_member.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_member__pti_set_ctree234_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_member__pti_set_tree234_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_ctree234_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/one_member.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_ctree234_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_stag_ordered_set_ctree234_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/one_member.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] one_member__du_ptag_ordered_set_ctree234_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/one_member.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_name_ordered_set_ctree234_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/one_member.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct one_member__type_ctor_info_set_ctree234_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/one_member.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_2 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/one_member.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] one_member__field_types_set_tree234_1_3 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/one_member.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc one_member__du_functor_desc_set_tree234_1_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/one_member.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_stag_ordered_set_tree234_1_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/one_member.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] one_member__du_ptag_ordered_set_tree234_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/one_member.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] one_member__du_name_ordered_set_tree234_1 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/one_member.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct one_member__type_ctor_info_set_tree234_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/one_member.java:60: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:80: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:82: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:84: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:87: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:89: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:91: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:93: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:95: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:97: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:99: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:101: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/one_member.java:103: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:105: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) one_member.one_member__pti_set_tree234_1__pseudo_1; ^ Mercury/javas/jmercury/one_member.java:114: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:129: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:137: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:144: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:152: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/one_member.java:174: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class one_member Mercury/javas/jmercury/one_member.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/one_member.java:189: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/one_member.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/one_member.java:203: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Note: Mercury/javas/jmercury/one_member.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.XLtTJY:2411: one_member] Error 1 gmake[3]: Target 'one_member.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: one_member.log] Error 1 RUNNING TEST hard_coded/opt_dup_bug in grade java FAILED TEST hard_coded/opt_dup_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --optimize-dups --optimize-frames '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_dup_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 --optimize-dups --optimize-frames '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_dup_bug Making Mercury/int3s/opt_dup_bug.int3 Making Mercury/ints/opt_dup_bug.int Making Mercury/javas/jmercury/opt_dup_bug.java Making Java class files Mercury/javas/jmercury/opt_dup_bug.java:169: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/opt_dup_bug.java:208: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/opt_dup_bug.java:257: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/opt_dup_bug.java:276: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/opt_dup_bug.java:323: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/opt_dup_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "opt_dup_bug"; ^ Mercury/javas/jmercury/opt_dup_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/opt_dup_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/opt_dup_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/opt_dup_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/opt_dup_bug.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/opt_dup_bug.java:58: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:58: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/opt_dup_bug.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/opt_dup_bug.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:112: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:115: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (HeadVar__1_14))); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:122: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/opt_dup_bug.java:123: error: package list does not exist list.List_1 Solutions_4 = null; ^ Mercury/javas/jmercury/opt_dup_bug.java:129: error: cannot find symbol Solutions_4 = solutions.solutions_2_p_1(TypeCtorInfo_13_13, Var_7); ^ symbol: variable solutions location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:134: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_13, Solutions_4, Var_9, Var_10); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:137: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class opt_dup_bug Mercury/javas/jmercury/opt_dup_bug.java:149: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((opt_dup_bug.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:222: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:237: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:248: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/opt_dup_bug.java:292: error: package jmercury.runtime does not exist opt_dup_bug.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/opt_dup_bug.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors gmake[3]: *** [/tmp/mmake.UMRPeS:2411: opt_dup_bug] Error 1 gmake[3]: Target 'opt_dup_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: opt_dup_bug.log] Error 1 RUNNING TEST hard_coded/opt_format in grade java FAILED TEST hard_coded/only_failing_goal_is_tail_rec in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - only_failing_goal_is_tail_rec.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - only_failing_goal_is_tail_rec Making Mercury/int3s/only_failing_goal_is_tail_rec.int3 Making Mercury/ints/only_failing_goal_is_tail_rec.int Making Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java Making Java class files Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] only_failing_goal_is_tail_rec__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct only_failing_goal_is_tail_rec__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] only_failing_goal_is_tail_rec__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct only_failing_goal_is_tail_rec__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:1103: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:1146: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:469: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:612: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:1043: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "only_failing_goal_is_tail_rec"; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_bar_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] only_failing_goal_is_tail_rec__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct only_failing_goal_is_tail_rec__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] only_failing_goal_is_tail_rec__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc only_failing_goal_is_tail_rec__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] only_failing_goal_is_tail_rec__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] only_failing_goal_is_tail_rec__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct only_failing_goal_is_tail_rec__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) only_failing_goal_is_tail_rec.only_failing_goal_is_tail_rec__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:59: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:71: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:76: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:84: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:94: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:120: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) only_failing_goal_is_tail_rec.only_failing_goal_is_tail_rec__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:134: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:142: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:146: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) only_failing_goal_is_tail_rec.only_failing_goal_is_tail_rec__type_ctor_info_bar_0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:151: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:159: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:169: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(only_failing_goal_is_tail_rec.only_failing_goal_is_tail_rec__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(only_failing_goal_is_tail_rec.only_failing_goal_is_tail_rec__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:288: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Foo_4))); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:292: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:302: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:310: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class only_failing_goal_is_tail_rec Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:385: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:462: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:477: error: package builtin does not exist builtin.Comparison_result_0 tscc_output_1_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:491: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:500: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:517: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:520: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:528: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:533: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:535: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:543: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:552: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:569: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:572: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:590: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:603: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:620: error: package builtin does not exist builtin.Comparison_result_0 tscc_output_1_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:634: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:643: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:660: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:663: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:671: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/only_failing_goal_is_tail_rec.java:676: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors gmake[3]: *** [/tmp/mmake.POgGnn:2411: only_failing_goal_is_tail_rec] Error 1 gmake[3]: Target 'only_failing_goal_is_tail_rec.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: only_failing_goal_is_tail_rec.log] Error 1 RUNNING TEST hard_coded/opt_format_sign_extend in grade java FAILED TEST hard_coded/opt_format_sign_extend in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_format_sign_extend.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_format_sign_extend Making Mercury/int3s/opt_format_sign_extend.int3 Making Mercury/ints/opt_format_sign_extend.int Making Mercury/javas/jmercury/opt_format_sign_extend.java Making Java class files Mercury/javas/jmercury/opt_format_sign_extend.java:32: 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/opt_format_sign_extend.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "opt_format_sign_extend"; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/opt_format_sign_extend.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/opt_format_sign_extend.java:32: 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/opt_format_sign_extend.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/opt_format_sign_extend.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/opt_format_sign_extend.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/opt_format_sign_extend.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/opt_format_sign_extend.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/opt_format_sign_extend.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/opt_format_sign_extend.java:78: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_154 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:81: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_162 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:83: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_165 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:87: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_176 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:91: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_187 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:95: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_198 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:99: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_209 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:103: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_220 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:107: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_231 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:111: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_242 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:115: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_253 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:119: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_264 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:123: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_275 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:127: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_286 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:131: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_297 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:135: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_308 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:139: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_319 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:143: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_330 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:147: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_341 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:151: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_352 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:155: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_363 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:159: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_374 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:163: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_385 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:167: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_396 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:171: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_407 = null; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:177: error: cannot find symbol Var_10 = int8.min_int8_0_f_0(); ^ symbol: variable int8 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:180: error: cannot find symbol Var_155 = string__format.format_cast_int8_to_uint_2_p_0(Var_10); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:182: error: package string__parse_util does not exist Var_162 = (string__parse_util.String_format_flags_0) opt_format_sign_extend.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:183: error: package string__parse_util does not exist Var_154 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:185: error: cannot find symbol Var_156 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_154, Var_155); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:188: error: cannot find symbol io.write_string_3_p_0(Var_156); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:192: error: cannot find symbol io.write_string_3_p_0(Var_163); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:195: error: cannot find symbol Var_16 = int16.min_int16_0_f_0(); ^ symbol: variable int16 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:198: error: cannot find symbol Var_166 = string__format.format_cast_int16_to_uint_2_p_0(Var_16); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:200: error: package string__parse_util does not exist Var_165 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:202: error: cannot find symbol Var_167 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_165, Var_166); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:205: error: cannot find symbol io.write_string_3_p_0(Var_167); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:209: error: cannot find symbol io.write_string_3_p_0(Var_174); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:212: error: cannot find symbol Var_22 = int32.min_int32_0_f_0(); ^ symbol: variable int32 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:215: error: cannot find symbol Var_177 = string__format.format_cast_int32_to_uint_2_p_0(Var_22); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:217: error: package string__parse_util does not exist Var_176 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:219: error: cannot find symbol Var_178 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_176, Var_177); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:222: error: cannot find symbol io.write_string_3_p_0(Var_178); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:226: error: cannot find symbol io.write_string_3_p_0(Var_185); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:230: error: cannot find symbol Var_188 = string__format.format_cast_int8_to_uint_2_p_0(Var_28); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:232: error: package string__parse_util does not exist Var_187 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:234: error: cannot find symbol Var_189 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_187, Var_188); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:237: error: cannot find symbol io.write_string_3_p_0(Var_189); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:241: error: cannot find symbol io.write_string_3_p_0(Var_196); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:245: error: cannot find symbol Var_199 = string__format.format_cast_int16_to_uint_2_p_0(Var_34); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:247: error: package string__parse_util does not exist Var_198 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:249: error: cannot find symbol Var_200 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_198, Var_199); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:252: error: cannot find symbol io.write_string_3_p_0(Var_200); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:256: error: cannot find symbol io.write_string_3_p_0(Var_207); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:260: error: cannot find symbol Var_210 = string__format.format_cast_int32_to_uint_2_p_0(Var_40); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:262: error: package string__parse_util does not exist Var_209 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:264: error: cannot find symbol Var_211 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_209, Var_210); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:267: error: cannot find symbol io.write_string_3_p_0(Var_211); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:271: error: cannot find symbol io.write_string_3_p_0(Var_218); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:274: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:277: error: cannot find symbol Var_47 = int8.min_int8_0_f_0(); ^ symbol: variable int8 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:280: error: cannot find symbol Var_221 = string__format.format_cast_int8_to_uint_2_p_0(Var_47); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:282: error: package string__parse_util does not exist Var_220 = string__parse_util.String_format_int_base_0.K3; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:284: error: cannot find symbol Var_222 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_220, Var_221); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:287: error: cannot find symbol io.write_string_3_p_0(Var_222); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:291: error: cannot find symbol io.write_string_3_p_0(Var_229); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:294: error: cannot find symbol Var_53 = int16.min_int16_0_f_0(); ^ symbol: variable int16 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:297: error: cannot find symbol Var_232 = string__format.format_cast_int16_to_uint_2_p_0(Var_53); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:299: error: package string__parse_util does not exist Var_231 = string__parse_util.String_format_int_base_0.K3; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:301: error: cannot find symbol Var_233 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_231, Var_232); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:304: error: cannot find symbol io.write_string_3_p_0(Var_233); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:308: error: cannot find symbol io.write_string_3_p_0(Var_240); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:311: error: cannot find symbol Var_59 = int32.min_int32_0_f_0(); ^ symbol: variable int32 location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:314: error: cannot find symbol Var_243 = string__format.format_cast_int32_to_uint_2_p_0(Var_59); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:316: error: package string__parse_util does not exist Var_242 = string__parse_util.String_format_int_base_0.K3; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:318: error: cannot find symbol Var_244 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_242, Var_243); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:321: error: cannot find symbol io.write_string_3_p_0(Var_244); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:325: error: cannot find symbol io.write_string_3_p_0(Var_251); ^ symbol: variable io location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:329: error: cannot find symbol Var_254 = string__format.format_cast_int8_to_uint_2_p_0(Var_65); ^ symbol: variable string__format location: class opt_format_sign_extend Mercury/javas/jmercury/opt_format_sign_extend.java:331: error: package string__parse_util does not exist Var_253 = string__parse_util.String_format_int_base_0.K3; ^ Mercury/javas/jmercury/opt_format_sign_extend.java:333: error: cannot find symbol Var_255 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_162, Var_253, Var_254); ^ symbol: variable string__format location: class opt_format_sign_extend 100 errors gmake[3]: *** [/tmp/mmake.1WGA4s:2411: opt_format_sign_extend] Error 1 gmake[3]: Target 'opt_format_sign_extend.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: opt_format_sign_extend.log] Error 1 RUNNING TEST hard_coded/pack_args in grade java FAILED TEST hard_coded/opt_format in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_format.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-format-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - opt_format Making Mercury/int3s/opt_format.int3 Making Mercury/ints/opt_format.int Making Mercury/javas/jmercury/opt_format.java Making Java class files Mercury/javas/jmercury/opt_format.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[3]; ^ Mercury/javas/jmercury/opt_format.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "opt_format"; ^ Mercury/javas/jmercury/opt_format.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/opt_format.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/opt_format.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class opt_format Mercury/javas/jmercury/opt_format.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class opt_format Mercury/javas/jmercury/opt_format.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/opt_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/opt_format.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[3]; ^ Mercury/javas/jmercury/opt_format.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/opt_format.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/opt_format.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/opt_format.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/opt_format.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/opt_format.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class opt_format Mercury/javas/jmercury/opt_format.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/opt_format.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/opt_format.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/opt_format.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/opt_format.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/opt_format.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/opt_format.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/opt_format.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/opt_format.java:66: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/opt_format.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/opt_format.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/opt_format.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/opt_format.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/opt_format.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/opt_format.java:74: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/opt_format.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/opt_format.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/opt_format.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/opt_format.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/opt_format.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/opt_format.java:94: error: package io does not exist io.Text_output_stream_0 OutStream_4 = null; ^ Mercury/javas/jmercury/opt_format.java:150: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:159: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:168: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:177: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:180: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:209: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:212: error: cannot find symbol OutStream_4 = io.output_stream_3_p_0(); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:254: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_38 = null; ^ Mercury/javas/jmercury/opt_format.java:261: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_65 = null; ^ Mercury/javas/jmercury/opt_format.java:266: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:268: error: package string__parse_util does not exist Var_38 = (string__parse_util.String_format_flags_0) opt_format.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/opt_format.java:270: error: cannot find symbol Var_32 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_38, Int_8); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:273: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:277: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:280: error: cannot find symbol Var_42 = string__format.format_char_component_nowidth_3_p_0(Var_38, Char_9); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:283: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:287: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:290: error: cannot find symbol io.write_string_3_p_0(Str_10); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:294: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:297: error: cannot find symbol Var_55 = string__format.format_signed_int64_component_nowidth_noprec_3_p_0(Var_38, Int64_11); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:300: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:304: error: cannot find symbol io.write_string_3_p_0(Var_63); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:306: error: package string__parse_util does not exist Var_65 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/opt_format.java:308: error: cannot find symbol Var_66 = string__format.format_uint64_component_nowidth_noprec_4_p_0(Var_38, Var_65, UInt64_12); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:311: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:315: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:326: error: package io does not exist io.Text_output_stream_0 OutStream_11 = null; ^ Mercury/javas/jmercury/opt_format.java:330: error: cannot find symbol OutStream_11 = io.output_stream_3_p_0(); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:340: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_56 = null; ^ Mercury/javas/jmercury/opt_format.java:345: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_68 = null; ^ Mercury/javas/jmercury/opt_format.java:354: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:356: error: package string__parse_util does not exist Var_56 = (string__parse_util.String_format_flags_0) opt_format.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/opt_format.java:360: error: cannot find symbol Var_50 = string__format.format_signed_int_component_width_prec_5_p_0(Var_56, Var_57, Var_58, IntX_13); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:363: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:367: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:369: error: package string__parse_util does not exist Var_68 = (string__parse_util.String_format_flags_0) opt_format.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/opt_format.java:371: error: cannot find symbol Var_62 = string__format.format_char_component_nowidth_3_p_0(Var_68, Char_7); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:374: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:378: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:382: error: cannot find symbol Var_72 = string__format.format_string_component_width_noprec_4_p_0(Var_68, Var_79, Str_8); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:385: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:389: error: cannot find symbol io.write_string_3_p_0(Var_80); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:410: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_93 = null; ^ Mercury/javas/jmercury/opt_format.java:416: error: cannot find symbol io.write_string_3_p_0(Var_82); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:419: error: cannot find symbol io.write_string_3_p_0(Str_8); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:423: error: cannot find symbol io.write_string_3_p_0(Var_85); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:425: error: package string__parse_util does not exist Var_93 = (string__parse_util.String_format_flags_0) opt_format.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/opt_format.java:427: error: cannot find symbol Var_87 = string__format.format_char_component_nowidth_3_p_0(Var_93, Char_7); ^ symbol: variable string__format location: class opt_format Mercury/javas/jmercury/opt_format.java:430: error: cannot find symbol io.write_string_3_p_0(Var_87); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:434: error: cannot find symbol io.write_string_3_p_0(Var_95); ^ symbol: variable io location: class opt_format Mercury/javas/jmercury/opt_format.java:437: error: cannot find symbol Var_97 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_93, IntY_14); ^ symbol: variable string__format location: class opt_format 100 errors gmake[3]: *** [/tmp/mmake.5ocqM9:2411: opt_format] Error 1 gmake[3]: Target 'opt_format.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: opt_format.log] Error 1 RUNNING TEST hard_coded/pack_args_copy in grade java FAILED TEST hard_coded/pack_args in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args Making Mercury/int3s/pack_args.int3 Making Mercury/ints/pack_args.int Making Mercury/javas/jmercury/pack_args.java Making Java class files Mercury/javas/jmercury/pack_args.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_12 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_13 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_14 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_15 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args.java:947: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args.java:987: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/pack_args.java:988: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args.java:549: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args.java:588: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args.java:887: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pack_args.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pack_args"; ^ Mercury/javas/jmercury/pack_args.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pack_args.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pack_args.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pack_args Mercury/javas/jmercury/pack_args.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pack_args Mercury/javas/jmercury/pack_args.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pack_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pack_args.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_12 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_13 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_14 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args__enum_functor_desc_animal_0_15 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/pack_args.java:231: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args.java:243: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:245: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:247: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/pack_args.java:247: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class pack_args Mercury/javas/jmercury/pack_args.java:249: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/pack_args.java:249: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class pack_args Mercury/javas/jmercury/pack_args.java:251: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:253: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:255: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:257: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args.pack_args__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args.java:262: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args Mercury/javas/jmercury/pack_args.java:270: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pack_args Mercury/javas/jmercury/pack_args.java:276: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pack_args.java:278: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args Mercury/javas/jmercury/pack_args.java:292: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pack_args.java:297: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args.java:300: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args.java:371: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:409: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:451: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:459: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args.pack_args__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args.java:459: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args.pack_args__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args.java:460: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_37 = null; ^ Mercury/javas/jmercury/pack_args.java:461: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_38 = null; ^ Mercury/javas/jmercury/pack_args.java:462: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_39 = null; ^ Mercury/javas/jmercury/pack_args.java:463: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_40 = null; ^ Mercury/javas/jmercury/pack_args.java:464: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_41 = null; ^ Mercury/javas/jmercury/pack_args.java:482: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_36, ((java.lang.Object) (A_4))); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:486: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class pack_args Mercury/javas/jmercury/pack_args.java:488: error: package jmercury.runtime does not exist TypeCtorInfo_8_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args.pack_args__type_ctor_info_animal_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.dS2Izx:2411: pack_args] Error 1 gmake[3]: Target 'pack_args.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pack_args.log] Error 1 RUNNING TEST hard_coded/pack_args_float in grade java FAILED TEST hard_coded/pack_args_copy in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_copy.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_copy Making Mercury/int3s/pack_args_copy.int3 Making Mercury/ints/pack_args_copy.int Making Mercury/javas/jmercury/pack_args_copy.java Making Java class files Mercury/javas/jmercury/pack_args_copy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_ordinal_ordered_enum_1 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_name_ordered_enum_1 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_enum_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pack_args_copy__pti_enum_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_copy__field_types_struct_1_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/pack_args_copy.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_copy__du_functor_desc_struct_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_copy__du_stag_ordered_struct_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_copy__du_ptag_ordered_struct_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_copy__du_name_ordered_struct_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_struct_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:252: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:725: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_copy.java:756: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/pack_args_copy.java:757: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_copy.java:297: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_copy.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/pack_args_copy.java:770: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/pack_args_copy.java:771: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_copy.java:336: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_copy.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_20, ^ Mercury/javas/jmercury/pack_args_copy.java:377: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_copy.java:536: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/pack_args_copy.java:561: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_15, ^ Mercury/javas/jmercury/pack_args_copy.java:622: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pack_args_copy.java:664: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/pack_args_copy.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pack_args_copy"; ^ Mercury/javas/jmercury/pack_args_copy.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pack_args_copy.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pack_args_copy.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pack_args_copy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pack_args_copy.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_1_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_ordinal_ordered_enum_1 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_name_ordered_enum_1 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_enum_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_copy__enum_functor_desc_enum_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_copy__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/pack_args_copy.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pack_args_copy__pti_enum_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_copy__field_types_struct_1_0 = new jmercury.runtime.PseudoTypeInfo[5]; ^ Mercury/javas/jmercury/pack_args_copy.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_copy__du_functor_desc_struct_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_copy.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_copy__du_stag_ordered_struct_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_copy__du_ptag_ordered_struct_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_copy__du_name_ordered_struct_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_copy__type_ctor_info_struct_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_copy.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/pack_args_copy.java:108: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_copy.java:111: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_copy.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/pack_args_copy.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_copy.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_copy.java:182: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/pack_args_copy.java:186: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_copy.pack_args_copy__pti_enum_1__pseudo_1; ^ Mercury/javas/jmercury/pack_args_copy.java:188: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_copy.pack_args_copy__type_ctor_info_enum_0; ^ Mercury/javas/jmercury/pack_args_copy.java:190: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/pack_args_copy.java:192: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_copy.pack_args_copy__pti_enum_1__pseudo_1; ^ Mercury/javas/jmercury/pack_args_copy.java:194: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_copy.pack_args_copy__pti_enum_1__pseudo_1; ^ Mercury/javas/jmercury/pack_args_copy.java:199: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:207: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:213: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pack_args_copy.java:215: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pack_args_copy.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_copy.java:237: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_copy.java:252: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/pack_args_copy.java:257: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pack_args_copy.java:258: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_copy.pack_args_copy__type_ctor_info_struct_1))), ^ Mercury/javas/jmercury/pack_args_copy.java:259: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:259: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/pack_args_copy.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_copy.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/pack_args_copy.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_copy.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/pack_args_copy.java:286: error: cannot find symbol conv0_S_5 = builtin.copy_2_p_1(TypeInfo_14_14, ((java.lang.Object) (S0_4))); ^ symbol: variable builtin location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:290: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_14, ((java.lang.Object) (S0_4))); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:293: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_14, ((java.lang.Object) (S_5))); ^ symbol: variable io location: class pack_args_copy Mercury/javas/jmercury/pack_args_copy.java:303: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pack_args_copy.java:304: 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 Enum_0 Mercury/javas/jmercury/pack_args_copy.java:305: 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 Enum_0 Note: Mercury/javas/jmercury/pack_args_copy.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.vh6gx4:2411: pack_args_copy] Error 1 gmake[3]: Target 'pack_args_copy.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pack_args_copy.log] Error 1 RUNNING TEST hard_coded/pack_args_intermod in grade java FAILED TEST hard_coded/pack_args_float in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_float.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_float Making Mercury/int3s/pack_args_float.int3 Making Mercury/ints/pack_args_float.int Making Mercury/javas/jmercury/pack_args_float.java Making Java class files Mercury/javas/jmercury/pack_args_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_12 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_13 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_14 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_15 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_float__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args_float.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_float__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args_float.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_float__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_float.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_float__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args_float.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_float__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_float__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_float.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_float__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_float.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_float__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_float.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_float.java:885: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_float.java:925: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/pack_args_float.java:926: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_float.java:495: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_float.java:534: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_float.java:825: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pack_args_float.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pack_args_float"; ^ Mercury/javas/jmercury/pack_args_float.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pack_args_float.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pack_args_float.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pack_args_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pack_args_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_12 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_13 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_14 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_float__enum_functor_desc_animal_0_15 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_float__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args_float.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_float__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[16]; ^ Mercury/javas/jmercury/pack_args_float.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_float__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_float.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_float__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args_float.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_float__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_float.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_float__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_float.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_float__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_float.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_float__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_float.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_float.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/pack_args_float.java:231: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_float.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_float.java:243: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:245: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:247: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/pack_args_float.java:247: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:249: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/pack_args_float.java:249: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:251: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:253: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:255: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:257: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_float.pack_args_float__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_float.java:262: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:270: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:276: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pack_args_float.java:278: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:292: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pack_args_float.java:297: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_float.java:300: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_float.java:359: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:397: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:405: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_float.pack_args_float__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_float.java:405: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_float.pack_args_float__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_float.java:406: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_37 = null; ^ Mercury/javas/jmercury/pack_args_float.java:407: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_38 = null; ^ Mercury/javas/jmercury/pack_args_float.java:408: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_39 = null; ^ Mercury/javas/jmercury/pack_args_float.java:409: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_40 = null; ^ Mercury/javas/jmercury/pack_args_float.java:410: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_41 = null; ^ Mercury/javas/jmercury/pack_args_float.java:428: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_36, ((java.lang.Object) (A_4))); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:432: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class pack_args_float Mercury/javas/jmercury/pack_args_float.java:434: error: package jmercury.runtime does not exist TypeCtorInfo_8_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_float.pack_args_float__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_float.java:436: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_37, ((java.lang.Object) (B_5))); ^ symbol: variable io location: class pack_args_float 100 errors gmake[3]: *** [/tmp/mmake.yuthKm:2411: pack_args_float] Error 1 gmake[3]: Target 'pack_args_float.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pack_args_float.log] Error 1 RUNNING TEST hard_coded/pack_int32 in grade java FAILED TEST hard_coded/pack_args_intermod in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_intermod.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_args_intermod Making Mercury/int3s/pack_args_intermod.int3 Making Mercury/int3s/pack_args_intermod_helper_1.int3 Making Mercury/ints/pack_args_intermod.int Making Mercury/ints/pack_args_intermod_helper_1.int Making Mercury/javas/jmercury/pack_args_intermod.java Making Mercury/javas/jmercury/pack_args_intermod_helper_1.java Making Java class files Mercury/javas/jmercury/pack_args_intermod_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_intermod_helper_1__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_intermod_helper_1__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_intermod_helper_1__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_intermod_helper_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_intermod_helper_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_intermod_helper_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_intermod_helper_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_intermod_helper_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_intermod_helper_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:795: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:796: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:755: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:357: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:396: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:695: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pack_args_intermod.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pack_args_intermod"; ^ Mercury/javas/jmercury/pack_args_intermod.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pack_args_intermod.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pack_args_intermod.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pack_args_intermod.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pack_args_intermod.java:93: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class pack_args_intermod Mercury/javas/jmercury/pack_args_intermod_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc pack_args_intermod_helper_1__enum_functor_desc_animal_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_intermod_helper_1__enum_ordinal_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] pack_args_intermod_helper_1__enum_name_ordered_animal_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:26: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_intermod_helper_1__type_ctor_info_animal_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_args_intermod_helper_1__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_args_intermod_helper_1__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_intermod_helper_1__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_args_intermod_helper_1__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_args_intermod_helper_1__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_args_intermod_helper_1__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:121: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:126: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:129: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:138: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:140: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:142: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:142: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:144: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:144: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:146: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:148: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:150: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:152: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:157: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:165: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:173: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:218: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_8, ((java.lang.Object) (Animal_4))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_37 = null; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:228: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_38 = null; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:229: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_39 = null; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_40 = null; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_41 = null; ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:249: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_36, ((java.lang.Object) (A_4))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:253: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:255: error: package jmercury.runtime does not exist TypeCtorInfo_8_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:257: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_37, ((java.lang.Object) (B_5))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:261: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:264: error: cannot find symbol io.write_int_3_p_0(I_6); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:268: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:271: error: cannot find symbol io.write_string_3_p_0(S_7); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:275: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:277: error: package jmercury.runtime does not exist TypeCtorInfo_8_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:279: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_38, ((java.lang.Object) (C_8))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:283: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:285: error: package jmercury.runtime does not exist TypeCtorInfo_8_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:287: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_39, ((java.lang.Object) (D_9))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:291: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:293: error: package jmercury.runtime does not exist TypeCtorInfo_8_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(pack_args_intermod_helper_1.pack_args_intermod_helper_1__type_ctor_info_animal_0); ^ Mercury/javas/jmercury/pack_args_intermod_helper_1.java:295: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_40, ((java.lang.Object) (E_10))); ^ symbol: variable io location: class pack_args_intermod_helper_1 Mercury/javas/jmercury/pack_args_intermod_helper_1.java:299: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class pack_args_intermod_helper_1 100 errors gmake[3]: *** [/tmp/mmake.TfGTnu:2411: pack_args_intermod] Error 1 gmake[3]: Target 'pack_args_intermod.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pack_args_intermod.log] Error 1 RUNNING TEST hard_coded/packed_arg_partial_inst in grade java FAILED TEST hard_coded/pack_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pack_int32 Making Mercury/int3s/pack_int32.int3 Making Mercury/ints/pack_int32.int Making Mercury/javas/jmercury/pack_int32.java Making Java class files Mercury/javas/jmercury/pack_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_int32__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/pack_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_int32__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_int32__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_int32__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_int32__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_int32.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_int32__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_int32.java:471: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pack_int32.java:266: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pack_int32.java:429: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pack_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pack_int32"; ^ Mercury/javas/jmercury/pack_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pack_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pack_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pack_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pack_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pack_int32__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/pack_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pack_int32__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pack_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_int32__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pack_int32__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pack_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pack_int32__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pack_int32.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pack_int32__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pack_int32.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ Mercury/javas/jmercury/pack_int32.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ symbol: variable builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ Mercury/javas/jmercury/pack_int32.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ symbol: variable builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ Mercury/javas/jmercury/pack_int32.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ symbol: variable builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ Mercury/javas/jmercury/pack_int32.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int32_0; ^ symbol: variable builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:62: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pack_int32.java:70: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pack_int32.java:89: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pack_int32.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pack_int32.java:225: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:228: error: cannot find symbol io.write_int32_3_p_0(A_4); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:232: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:235: error: cannot find symbol io.write_int32_3_p_0(B_5); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:239: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:242: error: cannot find symbol io.write_int32_3_p_0(C_6); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:246: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:249: error: cannot find symbol io.write_int32_3_p_0(D_7); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:253: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class pack_int32 Mercury/javas/jmercury/pack_int32.java:272: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pack_int32.java:278: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pack_int32.java:289: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/pack_int32.java:293: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pack_int32.java:298: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pack_int32.java:300: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pack_int32.java:302: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/pack_int32.java:307: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/pack_int32.java:311: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pack_int32.java:316: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pack_int32.java:318: error: package builtin does not exist SubResult2_9 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pack_int32.java:320: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/pack_int32.java:325: error: package builtin does not exist builtin.Comparison_result_0 SubResult3_12 = null; ^ Mercury/javas/jmercury/pack_int32.java:329: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pack_int32.java:334: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pack_int32.java:336: error: package builtin does not exist SubResult3_12 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pack_int32.java:338: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult3_12.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/pack_int32.java:345: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pack_int32.java:350: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pack_int32.java:352: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pack_int32.java:367: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pack_int32.java:458: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 72 errors gmake[3]: *** [/tmp/mmake.mFo80S:2411: pack_int32] Error 1 gmake[3]: Target 'pack_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pack_int32.log] Error 1 RUNNING TEST hard_coded/parse_number_from_io in grade java FAILED TEST hard_coded/packed_arg_partial_inst in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - packed_arg_partial_inst.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - packed_arg_partial_inst Making Mercury/int3s/packed_arg_partial_inst.int3 Making Mercury/ints/packed_arg_partial_inst.int Making Mercury/javas/jmercury/packed_arg_partial_inst.java Making Java class files Mercury/javas/jmercury/packed_arg_partial_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_packed_arg_partial_inst__type_ctor_info_struct_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] packed_arg_partial_inst__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] packed_arg_partial_inst__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct packed_arg_partial_inst__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] packed_arg_partial_inst__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc packed_arg_partial_inst__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] packed_arg_partial_inst__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] packed_arg_partial_inst__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] packed_arg_partial_inst__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct packed_arg_partial_inst__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:177: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1120: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:179: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:180: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:471: error: package list does not exist list.List_1 Struct_4) ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1157: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1158: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:716: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:755: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1124: error: package bool does not exist public bool.Bool_0 F3; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1126: error: package bool does not exist public bool.Bool_0 F5; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1138: error: package bool does not exist bool.Bool_0 F3, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1140: error: package bool does not exist bool.Bool_0 F5, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1022: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1100: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1175: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1176: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1181: error: package bool does not exist public bool.Bool_0 ArgX3_28; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1183: error: package bool does not exist public bool.Bool_0 ArgX5_32; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1187: error: package bool does not exist public bool.Bool_0 Var_41; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1194: error: package bool does not exist public bool.Bool_0 ArgX3_57; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:1196: error: package bool does not exist public bool.Bool_0 ArgX5_61; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "packed_arg_partial_inst"; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_packed_arg_partial_inst__type_ctor_info_struct_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc packed_arg_partial_inst__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] packed_arg_partial_inst__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] packed_arg_partial_inst__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct packed_arg_partial_inst__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] packed_arg_partial_inst__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[7]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc packed_arg_partial_inst__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] packed_arg_partial_inst__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] packed_arg_partial_inst__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] packed_arg_partial_inst__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct packed_arg_partial_inst__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) packed_arg_partial_inst.packed_arg_partial_inst__type_ctor_info_struct_0 ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:107: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) packed_arg_partial_inst.packed_arg_partial_inst__type_ctor_info_fruit_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:111: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:111: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:113: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) packed_arg_partial_inst.packed_arg_partial_inst__type_ctor_info_fruit_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:115: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:115: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:117: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) packed_arg_partial_inst.packed_arg_partial_inst__type_ctor_info_fruit_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:119: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:119: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:124: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:132: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:138: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:140: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:154: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:159: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:162: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:177: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:179: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:180: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:186: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:187: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class packed_arg_partial_inst Mercury/javas/jmercury/packed_arg_partial_inst.java:187: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:188: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(packed_arg_partial_inst.packed_arg_partial_inst__type_ctor_info_struct_0))) ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:194: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:196: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:204: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:206: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:214: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:216: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:224: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:226: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:234: error: package bool does not exist bool.Bool_0.K1, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:236: error: package bool does not exist bool.Bool_0.K0, ^ Mercury/javas/jmercury/packed_arg_partial_inst.java:244: error: package bool does not exist bool.Bool_0.K0, ^ 100 errors gmake[3]: *** [/tmp/mmake.bKY7Ug:2411: packed_arg_partial_inst] Error 1 gmake[3]: Target 'packed_arg_partial_inst.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: packed_arg_partial_inst.log] Error 1 RUNNING TEST hard_coded/parse_number_from_string in grade java FAILED TEST hard_coded/parse_number_from_io in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_number_from_io.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_number_from_io Making Mercury/int3s/parse_number_from_io.int3 Making Mercury/ints/parse_number_from_io.int Making Mercury/javas/jmercury/parse_number_from_io.java Making Java class files Mercury/javas/jmercury/parse_number_from_io.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "parse_number_from_io"; ^ Mercury/javas/jmercury/parse_number_from_io.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/parse_number_from_io.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/parse_number_from_io.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/parse_number_from_io.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/parse_number_from_io.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_121_121 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/parse_number_from_io.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_121_121 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_121_121 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/parse_number_from_io.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_122_122 = null; ^ Mercury/javas/jmercury/parse_number_from_io.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_123_123 = null; ^ Mercury/javas/jmercury/parse_number_from_io.java:97: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_121_121, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:100: error: cannot find symbol TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:100: error: package jmercury.runtime does not exist TypeCtorInfo_122_122 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/parse_number_from_io.java:102: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_8)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:106: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_10)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:110: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:114: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_14)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:118: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_16)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:122: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_18)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:126: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_20)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:130: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_22)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:134: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_24)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:138: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_26)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:142: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_28)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:146: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_30)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:149: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:153: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_121_121, ((java.lang.Object) (Var_33))); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:157: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_35)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:161: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_37)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:165: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_39)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:169: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_41)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:173: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_43)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:177: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_45)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:180: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:184: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_121_121, ((java.lang.Object) (Var_48))); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:188: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_50)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:192: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_52)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:196: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_54)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:200: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_56)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:204: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_58)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:208: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_60)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:212: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_62)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:216: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_64)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:219: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:223: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_121_121, ((java.lang.Object) (Var_67))); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:227: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_69)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:231: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_71)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:235: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_73)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:239: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_75)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:243: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_77)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:247: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_79)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:251: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_122_122, java.lang.Integer.valueOf(Var_81)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:254: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:258: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_121_121, ((java.lang.Object) (Var_84))); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:261: error: cannot find symbol TypeCtorInfo_123_123 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:261: error: package jmercury.runtime does not exist TypeCtorInfo_123_123 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/parse_number_from_io.java:263: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_86)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:267: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_88)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:271: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_90)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:275: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_92)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:279: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_94)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:283: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_96)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:287: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_98)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:291: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_100)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:295: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_102)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:299: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_104)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:303: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_106)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:307: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_108)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:311: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_110)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:315: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_112)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:319: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_114)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:323: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_116)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:327: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_118)); ^ symbol: variable io location: class parse_number_from_io Mercury/javas/jmercury/parse_number_from_io.java:331: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_123_123, java.lang.Double.valueOf(Var_120)); ^ symbol: variable io location: class parse_number_from_io 80 errors gmake[3]: *** [/tmp/mmake.1x7nPW:2411: parse_number_from_io] Error 1 gmake[3]: Target 'parse_number_from_io.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: parse_number_from_io.log] Error 1 RUNNING TEST hard_coded/partial_inst_float in grade java FAILED TEST hard_coded/parse_number_from_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_number_from_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - parse_number_from_string Making Mercury/int3s/parse_number_from_string.int3 Making Mercury/ints/parse_number_from_string.int Making Mercury/javas/jmercury/parse_number_from_string.java Making Java class files Mercury/javas/jmercury/parse_number_from_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/parse_number_from_string.java:33: 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/parse_number_from_string.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[94]; ^ Mercury/javas/jmercury/parse_number_from_string.java:959: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:967: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:975: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:983: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:991: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:999: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:1007: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/parse_number_from_string.java:1017: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/parse_number_from_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "parse_number_from_string"; ^ Mercury/javas/jmercury/parse_number_from_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/parse_number_from_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/parse_number_from_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/parse_number_from_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/parse_number_from_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/parse_number_from_string.java:33: 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/parse_number_from_string.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[94]; ^ Mercury/javas/jmercury/parse_number_from_string.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/parse_number_from_string.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ symbol: variable term location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ Mercury/javas/jmercury/parse_number_from_string.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class parse_number_from_string Mercury/javas/jmercury/parse_number_from_string.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/parse_number_from_string.java:45: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/parse_number_from_string.java:47: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:49: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:52: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:54: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:57: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:59: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/parse_number_from_string.java:62: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:64: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/parse_number_from_string.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:69: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/parse_number_from_string.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:74: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/parse_number_from_string.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:79: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:84: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/parse_number_from_string.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:89: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/parse_number_from_string.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:94: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/parse_number_from_string.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:99: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/parse_number_from_string.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:104: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/parse_number_from_string.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:109: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/parse_number_from_string.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:114: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/parse_number_from_string.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:119: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:124: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/parse_number_from_string.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:129: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/parse_number_from_string.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:134: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/parse_number_from_string.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:139: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/parse_number_from_string.java:142: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:144: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/parse_number_from_string.java:147: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:149: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:152: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:154: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[20] ^ Mercury/javas/jmercury/parse_number_from_string.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:159: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[21] ^ Mercury/javas/jmercury/parse_number_from_string.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:164: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[22] ^ Mercury/javas/jmercury/parse_number_from_string.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:169: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[23] ^ Mercury/javas/jmercury/parse_number_from_string.java:172: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:174: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[24] ^ Mercury/javas/jmercury/parse_number_from_string.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:179: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[25] ^ Mercury/javas/jmercury/parse_number_from_string.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:184: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[26] ^ Mercury/javas/jmercury/parse_number_from_string.java:187: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:189: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[27] ^ Mercury/javas/jmercury/parse_number_from_string.java:192: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:194: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[28] ^ Mercury/javas/jmercury/parse_number_from_string.java:197: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:199: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/parse_number_from_string.java:202: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:204: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[30] ^ Mercury/javas/jmercury/parse_number_from_string.java:207: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:209: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[31] ^ Mercury/javas/jmercury/parse_number_from_string.java:212: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/parse_number_from_string.java:214: error: package list does not exist (list.List_1) parse_number_from_string.MR_scalar_common_3[32] ^ Mercury/javas/jmercury/parse_number_from_string.java:217: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.gwZ5g4:2411: parse_number_from_string] Error 1 gmake[3]: Target 'parse_number_from_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: parse_number_from_string.log] Error 1 RUNNING TEST hard_coded/ppc_bug in grade java FAILED TEST hard_coded/partial_inst_float in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - partial_inst_float.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - partial_inst_float Making Mercury/int3s/partial_inst_float.int3 Making Mercury/ints/partial_inst_float.int Making Mercury/javas/jmercury/partial_inst_float.java Making Java class files Mercury/javas/jmercury/partial_inst_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_partial_inst_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partial_inst_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] partial_inst_float__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/partial_inst_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc partial_inst_float__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/partial_inst_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] partial_inst_float__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] partial_inst_float__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] partial_inst_float__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct partial_inst_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/partial_inst_float.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:1025: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/partial_inst_float.java:124: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:125: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/partial_inst_float.java:422: error: package list does not exist list.List_1 Struct_4) ^ Mercury/javas/jmercury/partial_inst_float.java:690: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/partial_inst_float.java:945: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/partial_inst_float.java:1005: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/partial_inst_float.java:1068: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/partial_inst_float.java:1069: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/partial_inst_float.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "partial_inst_float"; ^ Mercury/javas/jmercury/partial_inst_float.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/partial_inst_float.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/partial_inst_float.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/partial_inst_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/partial_inst_float.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_partial_inst_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/partial_inst_float.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] partial_inst_float__field_types_struct_0_0 = new jmercury.runtime.PseudoTypeInfo[8]; ^ Mercury/javas/jmercury/partial_inst_float.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc partial_inst_float__du_functor_desc_struct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/partial_inst_float.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] partial_inst_float__du_stag_ordered_struct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] partial_inst_float__du_ptag_ordered_struct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] partial_inst_float__du_name_ordered_struct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct partial_inst_float__type_ctor_info_struct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/partial_inst_float.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) partial_inst_float.partial_inst_float__type_ctor_info_struct_0 ^ Mercury/javas/jmercury/partial_inst_float.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/partial_inst_float.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:56: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/partial_inst_float.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:62: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/partial_inst_float.java:64: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:69: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/partial_inst_float.java:85: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/partial_inst_float.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/partial_inst_float.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/partial_inst_float.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:124: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/partial_inst_float.java:125: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/partial_inst_float.java:131: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/partial_inst_float.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class partial_inst_float Mercury/javas/jmercury/partial_inst_float.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/partial_inst_float.java:133: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(partial_inst_float.partial_inst_float__type_ctor_info_struct_0))) ^ Mercury/javas/jmercury/partial_inst_float.java:202: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/partial_inst_float.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:206: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:211: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:216: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:221: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:226: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:229: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:231: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/partial_inst_float.java:234: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:236: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/partial_inst_float.java:239: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:241: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/partial_inst_float.java:244: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:246: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/partial_inst_float.java:249: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:251: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/partial_inst_float.java:254: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:256: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/partial_inst_float.java:259: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:261: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[10] ^ Mercury/javas/jmercury/partial_inst_float.java:264: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:266: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/partial_inst_float.java:269: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:271: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/partial_inst_float.java:274: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:276: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/partial_inst_float.java:279: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/partial_inst_float.java:281: error: package list does not exist (list.List_1) partial_inst_float.MR_scalar_common_4[5] ^ 100 errors gmake[3]: *** [/tmp/mmake.vcTTw6:2411: partial_inst_float] Error 1 gmake[3]: Target 'partial_inst_float.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: partial_inst_float.log] Error 1 RUNNING TEST hard_coded/pprint_test_1 in grade java FAILED TEST hard_coded/ppc_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ppc_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ppc_bug Making Mercury/int3s/ppc_bug.int3 Making Mercury/ints/ppc_bug.int Making Mercury/javas/jmercury/ppc_bug.java Making Java class files Mercury/javas/jmercury/ppc_bug.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/ppc_bug.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/ppc_bug.java:68: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/ppc_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ppc_bug"; ^ Mercury/javas/jmercury/ppc_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ppc_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ppc_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ppc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ppc_bug.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/ppc_bug.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/ppc_bug.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ppc_bug.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ppc_bug.java:40: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:40: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:41: error: package list does not exist (list.List_1) ppc_bug.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/ppc_bug.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ppc_bug.java:45: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:45: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:46: error: package list does not exist (list.List_1) ppc_bug.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/ppc_bug.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ppc_bug.java:50: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/ppc_bug.java:50: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K0)), ^ Mercury/javas/jmercury/ppc_bug.java:51: error: package list does not exist (list.List_1) ppc_bug.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/ppc_bug.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ppc_bug.java:55: error: package bool does not exist ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:55: error: illegal start of type ((java.lang.Object) (bool.Bool_0.K1)), ^ Mercury/javas/jmercury/ppc_bug.java:56: error: package list does not exist (list.List_1) ppc_bug.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/ppc_bug.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/ppc_bug.java:80: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/ppc_bug.java:84: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_8))); ^ symbol: variable exception location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:89: error: package bool does not exist bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/ppc_bug.java:89: error: package bool does not exist bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/ppc_bug.java:89: error: package list.List_1 does not exist bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/ppc_bug.java:90: error: package list does not exist list.List_1 Bs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/ppc_bug.java:90: error: package list.List_1 does not exist list.List_1 Bs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/ppc_bug.java:92: error: illegal start of type switch (B_9.MR_value) { ^ Mercury/javas/jmercury/ppc_bug.java:97: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ppc_bug.java:119: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/ppc_bug.java:138: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/ppc_bug.java:149: error: package list does not exist list.List_1 Var_7 = (list.List_1) ppc_bug.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/ppc_bug.java:149: error: package list does not exist list.List_1 Var_7 = (list.List_1) ppc_bug.MR_scalar_common_2[3]; ^ Mercury/javas/jmercury/ppc_bug.java:157: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class ppc_bug Mercury/javas/jmercury/ppc_bug.java:160: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class ppc_bug 50 errors gmake[3]: *** [/tmp/mmake.XBfu8W:2411: ppc_bug] Error 1 gmake[3]: Target 'ppc_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ppc_bug.log] Error 1 RUNNING TEST hard_coded/pprint_test_2 in grade java FAILED TEST hard_coded/pprint_test_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pprint_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pprint_test_1 Making Mercury/int3s/pprint_test_1.int3 Making Mercury/ints/pprint_test_1.int Making Mercury/javas/jmercury/pprint_test_1.java Making Java class files Mercury/javas/jmercury/pprint_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[8]; ^ Mercury/javas/jmercury/pprint_test_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/pprint_test_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/pprint_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pprint_test_1"; ^ Mercury/javas/jmercury/pprint_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pprint_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pprint_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pprint_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pprint_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[8]; ^ Mercury/javas/jmercury/pprint_test_1.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/pprint_test_1.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/pprint_test_1.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ symbol: variable term location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:50: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint_test_1.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/pprint_test_1.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sparse_bitset.sparse_bitset__type_ctor_info_sparse_bitset_1))), ^ symbol: variable sparse_bitset location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sparse_bitset.sparse_bitset__type_ctor_info_sparse_bitset_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/pprint_test_1.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/pprint_test_1.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/pprint_test_1.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pprint_test_1.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/pprint_test_1.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/pprint_test_1.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/pprint_test_1.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:84: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:89: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) mr_int.base_typeclass_info_enum__uenum__arity1__int__arity0__)), ^ symbol: variable mr_int location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pprint_test_1.java:93: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/pprint_test_1.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:97: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/pprint_test_1.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:102: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/pprint_test_1.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:107: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/pprint_test_1.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:112: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/pprint_test_1.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:117: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/pprint_test_1.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:122: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/pprint_test_1.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:127: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/pprint_test_1.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pprint_test_1.java:132: error: package list does not exist (list.List_1) pprint_test_1.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/pprint_test_1.java:151: error: package term does not exist term.Var_1 Var1_3 = null; ^ Mercury/javas/jmercury/pprint_test_1.java:152: error: package term does not exist term.Var_1 Var2_4 = null; ^ Mercury/javas/jmercury/pprint_test_1.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/pprint_test_1.java:153: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/pprint_test_1.java:154: error: package varset does not exist varset.Varset_1 VarSet0_5 = null; ^ Mercury/javas/jmercury/pprint_test_1.java:155: error: package varset does not exist varset.Varset_1 VarSet1_6 = null; ^ Mercury/javas/jmercury/pprint_test_1.java:156: error: package varset does not exist varset.Varset_1 _VarSet2_7 = null; ^ Mercury/javas/jmercury/pprint_test_1.java:159: error: cannot find symbol VarSet0_5 = varset.init_1_p_0(TypeCtorInfo_8_8); ^ symbol: variable varset location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:162: error: cannot find symbol java.lang.Object [] result = varset.new_var_3_p_0(TypeCtorInfo_8_8, VarSet0_5); ^ symbol: variable varset location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:163: error: package term does not exist Var1_3 = (term.Var_1) result[0]; ^ Mercury/javas/jmercury/pprint_test_1.java:164: error: package varset does not exist VarSet1_6 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/pprint_test_1.java:167: error: cannot find symbol java.lang.Object [] result = varset.new_var_3_p_0(TypeCtorInfo_8_8, VarSet1_6); ^ symbol: variable varset location: class pprint_test_1 Mercury/javas/jmercury/pprint_test_1.java:168: error: package term does not exist Var2_4 = (term.Var_1) result[0]; ^ Mercury/javas/jmercury/pprint_test_1.java:169: error: package varset does not exist _VarSet2_7 = (varset.Varset_1) result[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.nkX45V:2411: pprint_test_1] Error 1 gmake[3]: Target 'pprint_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pprint_test_1.log] Error 1 RUNNING TEST hard_coded/pragma_export in grade java FAILED TEST hard_coded/pprint_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pprint_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pprint_test_2 Making Mercury/int3s/pprint_test_2.int3 Making Mercury/ints/pprint_test_2.int Making Mercury/javas/jmercury/pprint_test_2.java Making Java class files Mercury/javas/jmercury/pprint_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pprint_test_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/pprint_test_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pprint_test_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pprint_test_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/pprint_test_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pprint_test_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pprint_test_2.java:1463: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pprint_test_2.java:433: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/pprint_test_2.java:472: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/pprint_test_2.java:677: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pprint_test_2.java:1351: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pprint_test_2.java:1420: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/pprint_test_2.java:1662: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/pprint_test_2.java:1672: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/pprint_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pprint_test_2"; ^ Mercury/javas/jmercury/pprint_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pprint_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pprint_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pprint_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pprint_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pprint_test_2__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/pprint_test_2.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pprint_test_2__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pprint_test_2.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pprint_test_2__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/pprint_test_2.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pprint_test_2__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pprint_test_2.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pprint_test_2__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/pprint_test_2.java:55: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pprint_test_2__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pprint_test_2.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:92: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:97: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:114: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:126: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:131: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:139: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:143: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:145: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:150: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:158: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:162: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:164: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:169: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:177: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:181: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:183: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:188: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:196: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:200: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:202: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:207: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:215: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:219: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:221: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pprint_test_2.pprint_test_2__type_ctor_info_t_0; ^ Mercury/javas/jmercury/pprint_test_2.java:226: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:234: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pprint_test_2 Mercury/javas/jmercury/pprint_test_2.java:258: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ 100 errors gmake[3]: *** [/tmp/mmake.FvpMvL:2411: pprint_test_2] Error 1 gmake[3]: Target 'pprint_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pprint_test_2.log] Error 1 RUNNING TEST hard_coded/pragma_foreign_export in grade java FAILED TEST hard_coded/pragma_export in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_export.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_export Making Mercury/int3s/pragma_export.int3 Making Mercury/ints/pragma_export.int Making Mercury/javas/jmercury/pragma_export.java Making Java class files Mercury/javas/jmercury/pragma_export.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pragma_export"; ^ Mercury/javas/jmercury/pragma_export.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pragma_export.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pragma_export.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pragma_export Mercury/javas/jmercury/pragma_export.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pragma_export Mercury/javas/jmercury/pragma_export.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pragma_export.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_export Mercury/javas/jmercury/pragma_export.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_export Mercury/javas/jmercury/pragma_export.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_export Mercury/javas/jmercury/pragma_export.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_export Mercury/javas/jmercury/pragma_export.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pragma_export.java:69: error: cannot find symbol io.write_string_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class pragma_export 12 errors gmake[3]: *** [/tmp/mmake.lfyRo9:2411: pragma_export] Error 1 gmake[3]: Target 'pragma_export.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pragma_export.log] Error 1 RUNNING TEST hard_coded/pragma_inline in grade java FAILED TEST hard_coded/pragma_foreign_export in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_foreign_export.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_foreign_export Making Mercury/int3s/pragma_foreign_export.int3 Making Mercury/ints/pragma_foreign_export.int Making Mercury/javas/jmercury/pragma_foreign_export.java Making Java class files Mercury/javas/jmercury/pragma_foreign_export.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pragma_foreign_export"; ^ Mercury/javas/jmercury/pragma_foreign_export.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pragma_foreign_export.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pragma_foreign_export.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pragma_foreign_export.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_foreign_export Mercury/javas/jmercury/pragma_foreign_export.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pragma_foreign_export.java:51: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class pragma_foreign_export 12 errors gmake[3]: *** [/tmp/mmake.pSyWcW:2411: pragma_foreign_export] Error 1 gmake[3]: Target 'pragma_foreign_export.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pragma_foreign_export.log] Error 1 RUNNING TEST hard_coded/pretty_printer_stress_test in grade java FAILED TEST hard_coded/pragma_inline in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_inline.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pragma_inline Making Mercury/int3s/pragma_inline.int3 Making Mercury/ints/pragma_inline.int Making Mercury/javas/jmercury/pragma_inline.java Making Java class files Mercury/javas/jmercury/pragma_inline.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/pragma_inline.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/pragma_inline.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pragma_inline"; ^ Mercury/javas/jmercury/pragma_inline.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pragma_inline.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pragma_inline.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pragma_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pragma_inline.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/pragma_inline.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/pragma_inline.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/pragma_inline.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_inline.java:41: error: package list does not exist (list.List_1) pragma_inline.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/pragma_inline.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_inline.java:46: error: package list does not exist (list.List_1) pragma_inline.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/pragma_inline.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_inline.java:51: error: package list does not exist (list.List_1) pragma_inline.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/pragma_inline.java:65: error: package list does not exist list.List_1 Var_10 = (list.List_1) pragma_inline.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/pragma_inline.java:65: error: package list does not exist list.List_1 Var_10 = (list.List_1) pragma_inline.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/pragma_inline.java:68: error: cannot find symbol String_6 = string.append_list_2_p_0(Var_10); ^ symbol: variable string location: class pragma_inline Mercury/javas/jmercury/pragma_inline.java:71: error: cannot find symbol io.write_string_3_p_0(String_6); ^ symbol: variable io location: class pragma_inline 26 errors gmake[3]: *** [/tmp/mmake.bXHYk8:2411: pragma_inline] Error 1 gmake[3]: Target 'pragma_inline.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pragma_inline.log] Error 1 RUNNING TEST hard_coded/pretty_printing in grade java FAILED TEST hard_coded/pretty_printer_stress_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pretty_printer_stress_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pretty_printer_stress_test Making Mercury/int3s/pretty_printer_stress_test.int3 Making Mercury/ints/pretty_printer_stress_test.int Making Mercury/javas/jmercury/pretty_printer_stress_test.java Making Java class files Mercury/javas/jmercury/pretty_printer_stress_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_type_desc__type_ctor_info_type_desc_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:51: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_3 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:52: 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/pretty_printer_stress_test.java:55: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:56: error: package pretty_printer.Func_symbol_limit_0 does not exist private static final pretty_printer.Func_symbol_limit_0.Linear_1[] MR_scalar_common_8 = new pretty_printer.Func_symbol_limit_0.Linear_1[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:57: error: package pretty_printer does not exist private static final pretty_printer.Pp_params_0[] MR_scalar_common_9 = new pretty_printer.Pp_params_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:58: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Str_1[] MR_scalar_common_10 = new pretty_printer.Doc_0.Str_1[10]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_11 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:491: error: package io does not exist io.Text_input_stream_0 InputStream_7, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:492: error: package list does not exist list.List_1 STATE_VARIABLE_RevDocs_0_18) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:585: error: package io does not exist io.Text_output_stream_0 OutputStream_8, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:586: error: package tree234 does not exist tree234.Tree234_2 FormatterMap_9, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:587: error: package pretty_printer does not exist pretty_printer.Pp_params_0 Params_10, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:589: error: package list does not exist list.List_1 Docs_12) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:620: error: package io does not exist io.Text_output_stream_0 HeadVar__1_1, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:621: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:622: error: package pretty_printer does not exist pretty_printer.Pp_params_0 HeadVar__3_3, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:623: error: package list does not exist list.List_1 HeadVar__4_4) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:653: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:654: error: package list does not exist list.List_1 HeadVar__2_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:651: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:692: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:693: error: package list does not exist list.List_1 HeadVar__2_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:690: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:744: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:745: error: package list does not exist list.List_1 HeadVar__2_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:742: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:783: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:784: error: package list does not exist list.List_1 HeadVar__2_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:781: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:822: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:823: error: package list does not exist list.List_1 ArgDescs_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:820: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:945: error: package univ does not exist univ.Univ_0 Univ_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:946: error: package list does not exist list.List_1 HeadVar__2_5) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:943: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:1003: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:1001: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:1016: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:1035: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pretty_printer_stress_test"; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_type_desc__type_ctor_info_type_desc_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) type_desc.type_desc__type_ctor_info_type_desc_0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) type_desc.type_desc__type_ctor_info_type_desc_0 ^ symbol: variable type_desc location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:51: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_3 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:52: 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/pretty_printer_stress_test.java:55: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:56: error: package pretty_printer.Func_symbol_limit_0 does not exist private static final pretty_printer.Func_symbol_limit_0.Linear_1[] MR_scalar_common_8 = new pretty_printer.Func_symbol_limit_0.Linear_1[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:57: error: package pretty_printer does not exist private static final pretty_printer.Pp_params_0[] MR_scalar_common_9 = new pretty_printer.Pp_params_0[1]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:58: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Str_1[] MR_scalar_common_10 = new pretty_printer.Doc_0.Str_1[10]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_11 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ symbol: variable term location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:70: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:76: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:83: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:90: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:92: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:104: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ symbol: variable univ location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:104: error: illegal start of type ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:106: error: cannot find symbol ((java.lang.Object) (pretty_printer.pretty_printer__type_ctor_info_doc_0)) ^ symbol: variable pretty_printer location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:106: error: illegal start of type ((java.lang.Object) (pretty_printer.pretty_printer__type_ctor_info_doc_0)) ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:118: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class pretty_printer_stress_test Mercury/javas/jmercury/pretty_printer_stress_test.java:118: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/pretty_printer_stress_test.java:120: error: cannot find symbol ((java.lang.Object) (univ.univ__type_ctor_info_univ_0)) ^ symbol: variable univ location: class pretty_printer_stress_test 100 errors gmake[3]: *** [/tmp/mmake.gJXrQT:2411: pretty_printer_stress_test] Error 1 gmake[3]: Target 'pretty_printer_stress_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pretty_printer_stress_test.log] Error 1 RUNNING TEST hard_coded/prince_frameopt in grade java FAILED TEST hard_coded/pretty_printing in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pretty_printing.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pretty_printing Making Mercury/int3s/pretty_printing.int3 Making Mercury/ints/pretty_printing.int Making Mercury/javas/jmercury/pretty_printing.java Making Java class files Mercury/javas/jmercury/pretty_printing.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pretty_printing__pti_tree_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pretty_printing__field_types_tree_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/pretty_printing.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pretty_printing__du_functor_desc_tree_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pretty_printing.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pretty_printing__du_functor_desc_tree_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pretty_printing.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pretty_printing__du_stag_ordered_tree_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pretty_printing.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pretty_printing__du_ptag_ordered_tree_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pretty_printing.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pretty_printing__du_name_ordered_tree_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pretty_printing.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pretty_printing__type_ctor_info_tree_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:144: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[9]; ^ Mercury/javas/jmercury/pretty_printing.java:1440: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pretty_printing.java:154: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/pretty_printing.java:354: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/pretty_printing.java:525: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/pretty_printing.java:546: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:581: error: package list does not exist list.List_1 Ns_8, ^ Mercury/javas/jmercury/pretty_printing.java:582: error: package tree234 does not exist tree234.Tree234_2 Map_9) ^ Mercury/javas/jmercury/pretty_printing.java:577: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/pretty_printing.java:657: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:676: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:709: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1048: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1066: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1080: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1094: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1108: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1122: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1136: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1165: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/pretty_printing.java:1179: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/pretty_printing.java:1177: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pretty_printing.java:1263: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/pretty_printing.java:1337: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pretty_printing.java:1379: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/pretty_printing.java:1486: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/pretty_printing.java:1497: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/pretty_printing.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pretty_printing"; ^ Mercury/javas/jmercury/pretty_printing.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pretty_printing.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pretty_printing.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pretty_printing.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pretty_printing.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pretty_printing__pti_tree_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pretty_printing__field_types_tree_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/pretty_printing.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pretty_printing__du_functor_desc_tree_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pretty_printing.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pretty_printing__du_functor_desc_tree_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pretty_printing.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pretty_printing__du_stag_ordered_tree_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pretty_printing.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pretty_printing__du_ptag_ordered_tree_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pretty_printing.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pretty_printing__du_name_ordered_tree_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pretty_printing.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pretty_printing__type_ctor_info_tree_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pretty_printing.java:46: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/pretty_printing.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/pretty_printing.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/pretty_printing.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:57: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:65: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:73: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pretty_printing.pretty_printing__pti_tree_1__pseudo_1; ^ Mercury/javas/jmercury/pretty_printing.java:75: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/pretty_printing.java:77: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) pretty_printing.pretty_printing__pti_tree_1__pseudo_1; ^ Mercury/javas/jmercury/pretty_printing.java:83: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:91: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pretty_printing.java:105: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pretty_printing.java:120: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pretty_printing.java:123: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pretty_printing.java:134: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/pretty_printing.java:144: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[9]; ^ Mercury/javas/jmercury/pretty_printing.java:154: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_11 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/pretty_printing.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pretty_printing.java:159: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:159: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/pretty_printing.java:160: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:160: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/pretty_printing.java:161: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:161: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/pretty_printing.java:162: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:162: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pretty_printing.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pretty_printing.java:166: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:166: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/pretty_printing.java:167: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:167: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/pretty_printing.java:170: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pretty_printing.java:171: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:171: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/pretty_printing.java:172: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pretty_printing.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/pretty_printing.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pretty_printing.java:176: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ symbol: variable version_array location: class pretty_printing Mercury/javas/jmercury/pretty_printing.java:176: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ Mercury/javas/jmercury/pretty_printing.java:177: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pretty_printing.MR_scalar_common_1[1]))) ^ Note: Mercury/javas/jmercury/pretty_printing.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.RFz5ek:2411: pretty_printing] Error 1 gmake[3]: Target 'pretty_printing.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pretty_printing.log] Error 1 RUNNING TEST hard_coded/print_bigint in grade java FAILED TEST hard_coded/print_bigint in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_bigint.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_bigint Making Mercury/int3s/print_bigint.int3 Making Mercury/ints/print_bigint.int Making Mercury/javas/jmercury/print_bigint.java Making Java class files Mercury/javas/jmercury/print_bigint.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "print_bigint"; ^ Mercury/javas/jmercury/print_bigint.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/print_bigint.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/print_bigint.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class print_bigint Mercury/javas/jmercury/print_bigint.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class print_bigint Mercury/javas/jmercury/print_bigint.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/print_bigint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_bigint Mercury/javas/jmercury/print_bigint.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_bigint Mercury/javas/jmercury/print_bigint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_bigint Mercury/javas/jmercury/print_bigint.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_bigint Mercury/javas/jmercury/print_bigint.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/print_bigint.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/print_bigint.java:37: error: package integer does not exist integer.Integer_0 I_4 = null; ^ Mercury/javas/jmercury/print_bigint.java:38: error: package integer does not exist integer.Integer_0 NegI_5 = null; ^ Mercury/javas/jmercury/print_bigint.java:42: error: cannot find symbol I_4 = integer.det_from_string_1_f_0(Var_8); ^ symbol: variable integer location: class print_bigint Mercury/javas/jmercury/print_bigint.java:45: error: cannot find symbol NegI_5 = integer.f_minus_1_f_0(I_4); ^ symbol: variable integer location: class print_bigint Mercury/javas/jmercury/print_bigint.java:47: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ symbol: variable integer location: class print_bigint Mercury/javas/jmercury/print_bigint.java:47: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(integer.integer__type_ctor_info_integer_0); ^ Mercury/javas/jmercury/print_bigint.java:49: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (I_4))); ^ symbol: variable io location: class print_bigint Mercury/javas/jmercury/print_bigint.java:52: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (NegI_5))); ^ symbol: variable io location: class print_bigint 20 errors gmake[3]: *** [/tmp/mmake.cGiLI1:2411: print_bigint] Error 1 gmake[3]: Target 'print_bigint.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: print_bigint.log] Error 1 RUNNING TEST hard_coded/print_date in grade java FAILED TEST hard_coded/print_date in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_date.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_date Making Mercury/int3s/print_date.int3 Making Mercury/ints/print_date.int Making Mercury/javas/jmercury/print_date.java Making Java class files Mercury/javas/jmercury/print_date.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "print_date"; ^ Mercury/javas/jmercury/print_date.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/print_date.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/print_date.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class print_date Mercury/javas/jmercury/print_date.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class print_date Mercury/javas/jmercury/print_date.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/print_date.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/print_date.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/print_date.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/print_date.java:38: error: package calendar does not exist calendar.Date_0 Date1_4 = null; ^ Mercury/javas/jmercury/print_date.java:39: error: package calendar does not exist calendar.Date_0 Date2_5 = null; ^ Mercury/javas/jmercury/print_date.java:40: error: package calendar does not exist calendar.Duration_0 Duration_6 = null; ^ Mercury/javas/jmercury/print_date.java:42: error: package calendar does not exist calendar.Month_0 Var_10 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:42: error: package calendar does not exist calendar.Month_0 Var_10 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:49: error: package calendar does not exist calendar.Month_0 Var_17 = null; ^ Mercury/javas/jmercury/print_date.java:57: error: cannot find symbol Date1_4 = calendar.det_init_date_7_f_0(Var_9, Var_10, Var_11, Var_12, Var_13, Var_14, Var_15); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:60: error: package calendar does not exist Var_17 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:67: error: cannot find symbol Date2_5 = calendar.det_init_date_7_f_0(Var_16, Var_17, Var_18, Var_19, Var_20, Var_21, Var_22); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:69: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_date_0); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:69: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_date_0); ^ Mercury/javas/jmercury/print_date.java:71: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_24_24, ((java.lang.Object) (Date1_4))); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:74: error: cannot find symbol Duration_6 = calendar.duration_2_f_0(Date1_4, Date2_5); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:76: error: cannot find symbol TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_duration_0); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:76: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_duration_0); ^ Mercury/javas/jmercury/print_date.java:78: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Duration_6))); ^ symbol: variable io location: class print_date 29 errors gmake[3]: *** [/tmp/mmake.XjX5Ps:2411: print_date] Error 1 gmake[3]: Target 'print_date.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: print_date.log] Error 1 RUNNING TEST hard_coded/print_stream in grade java FAILED TEST hard_coded/prince_frameopt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization -O5 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - prince_frameopt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization -O5 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - prince_frameopt Making Mercury/int3s/prince_frameopt.int3 Making Mercury/int3s/prince_frameopt_helper_1.int3 Making Mercury/int3s/prince_frameopt_helper_1.prince_frameopt_helper_2.int3 Making Mercury/int0s/prince_frameopt_helper_1.int0 Making Mercury/ints/prince_frameopt_helper_1.prince_frameopt_helper_2.int Making Mercury/ints/prince_frameopt_helper_1.int Making Mercury/ints/prince_frameopt.int Making Mercury/opts/prince_frameopt_helper_1.opt Making Mercury/opts/prince_frameopt_helper_1.prince_frameopt_helper_2.opt Making Mercury/opts/prince_frameopt.opt Making Mercury/javas/jmercury/prince_frameopt.java Making Mercury/javas/jmercury/prince_frameopt_helper_1.java Making Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java Making Java class files Mercury/javas/jmercury/prince_frameopt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/prince_frameopt.java:34: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__field_types_length_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__du_functor_desc_length_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_stag_ordered_length_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__du_ptag_ordered_length_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_name_ordered_length_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__type_ctor_info_length_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__field_types_number_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__du_functor_desc_number_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__field_types_number_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__du_functor_desc_number_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_stag_ordered_number_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__du_ptag_ordered_number_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_name_ordered_number_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:30: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__type_ctor_info_number_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__field_types_value_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__du_functor_desc_value_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__field_types_value_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__du_functor_desc_value_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_stag_ordered_value_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__du_ptag_ordered_value_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__du_name_ordered_value_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__type_ctor_info_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:771: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:831: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:350: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:788: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:398: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:470: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1.java:693: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__prince_frameopt_helper_2__field_types_max_width_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__prince_frameopt_helper_2__du_functor_desc_max_width_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__prince_frameopt_helper_2__field_types_max_width_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__prince_frameopt_helper_2__du_functor_desc_max_width_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_stag_ordered_max_width_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_ptag_ordered_max_width_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_name_ordered_max_width_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__prince_frameopt_helper_2__type_ctor_info_max_width_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct prince_frameopt_helper_1__prince_frameopt_helper_2__ti_spec_1prince_frameopt_helper_1__prince_frameopt_helper_2__type_ctor_info_max_width_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__prince_frameopt_helper_2__field_types_property_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__prince_frameopt_helper_2__du_functor_desc_property_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_stag_ordered_property_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_ptag_ordered_property_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_name_ordered_property_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:31: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__prince_frameopt_helper_2__type_ctor_info_property_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__prince_frameopt_helper_2__du_functor_desc_spec_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] prince_frameopt_helper_1__prince_frameopt_helper_2__field_types_spec_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc prince_frameopt_helper_1__prince_frameopt_helper_2__du_functor_desc_spec_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_stag_ordered_spec_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_ptag_ordered_spec_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] prince_frameopt_helper_1__prince_frameopt_helper_2__du_name_ordered_spec_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct prince_frameopt_helper_1__prince_frameopt_helper_2__type_ctor_info_spec_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:256: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:260: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:790: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:361: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:391: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:833: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:455: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:497: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:850: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:495: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:640: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:687: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java:747: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/prince_frameopt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "prince_frameopt"; ^ Mercury/javas/jmercury/prince_frameopt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/prince_frameopt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/prince_frameopt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/prince_frameopt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/prince_frameopt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/prince_frameopt.java:34: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/prince_frameopt.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/prince_frameopt.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/prince_frameopt.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(prince_frameopt_helper_1__prince_frameopt_helper_2.prince_frameopt_helper_1__prince_frameopt_helper_2__type_ctor_info_property_0))) ^ Mercury/javas/jmercury/prince_frameopt.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/prince_frameopt.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/prince_frameopt.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/prince_frameopt.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/prince_frameopt.java:57: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/prince_frameopt.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/prince_frameopt.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class prince_frameopt Mercury/javas/jmercury/prince_frameopt.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Note: Mercury/javas/jmercury/prince_frameopt_helper_1__prince_frameopt_helper_2.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.ob1ner:2411: prince_frameopt] Error 1 gmake[3]: Target 'prince_frameopt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: prince_frameopt.log] Error 1 RUNNING TEST hard_coded/profdeep_seg_fault in grade java FAILED TEST hard_coded/print_stream in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_stream.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - print_stream Making Mercury/int3s/print_stream.int3 Making Mercury/ints/print_stream.int Making Mercury/javas/jmercury/print_stream.java Making Java class files Mercury/javas/jmercury/print_stream.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "print_stream"; ^ Mercury/javas/jmercury/print_stream.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/print_stream.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/print_stream.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class print_stream Mercury/javas/jmercury/print_stream.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class print_stream Mercury/javas/jmercury/print_stream.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/print_stream.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/print_stream.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/print_stream.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/print_stream.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/print_stream.java:39: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/print_stream.java:40: error: package io does not exist io.Text_output_stream_0 StdOut_4 = null; ^ Mercury/javas/jmercury/print_stream.java:41: error: package io does not exist io.Text_input_stream_0 StdIn_5 = null; ^ Mercury/javas/jmercury/print_stream.java:42: error: package io does not exist io.Text_output_stream_0 StdErr_6 = null; ^ Mercury/javas/jmercury/print_stream.java:43: error: package io does not exist io.Binary_input_stream_0 StdInBin_7 = null; ^ Mercury/javas/jmercury/print_stream.java:44: error: package io does not exist io.Binary_output_stream_0 StdOutBin_8 = null; ^ Mercury/javas/jmercury/print_stream.java:47: error: cannot find symbol StdOut_4 = io.stdout_stream_3_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:50: error: cannot find symbol StdIn_5 = io.stdin_stream_3_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:53: error: cannot find symbol StdErr_6 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:56: error: cannot find symbol StdInBin_7 = io.stdin_binary_stream_3_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:59: error: cannot find symbol StdOutBin_8 = io.stdout_binary_stream_3_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:61: error: cannot find symbol TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:61: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0); ^ Mercury/javas/jmercury/print_stream.java:63: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (StdIn_5))); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:66: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:68: error: cannot find symbol TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:68: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0); ^ Mercury/javas/jmercury/print_stream.java:70: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (StdOut_4))); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:73: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:76: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (StdErr_6))); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:79: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:81: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_binary_input_stream_0); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:81: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_binary_input_stream_0); ^ Mercury/javas/jmercury/print_stream.java:83: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (StdInBin_7))); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:86: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:88: error: cannot find symbol TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_binary_output_stream_0); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:88: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_binary_output_stream_0); ^ Mercury/javas/jmercury/print_stream.java:90: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (StdOutBin_8))); ^ symbol: variable io location: class print_stream Mercury/javas/jmercury/print_stream.java:93: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class print_stream 43 errors gmake[3]: *** [/tmp/mmake.GTz6mY:2411: print_stream] Error 1 gmake[3]: Target 'print_stream.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: print_stream.log] Error 1 RUNNING TEST hard_coded/promise_equiv_with_svars in grade java FAILED TEST hard_coded/promise_equiv_with_svars in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equiv_with_svars.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equiv_with_svars Making Mercury/int3s/promise_equiv_with_svars.int3 Making Mercury/ints/promise_equiv_with_svars.int Making Mercury/javas/jmercury/promise_equiv_with_svars.java promise_equiv_with_svars.m:037: In predicate `p1'/1: promise_equiv_with_svars.m:037: warning: state variable `!.X' is never promise_equiv_with_svars.m:037: updated in this clause, so it should be promise_equiv_with_svars.m:037: replaced with an ordinary variable. Making Java class files Mercury/javas/jmercury/promise_equiv_with_svars.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:33: 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/promise_equiv_with_svars.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[4]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "promise_equiv_with_svars"; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:33: 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/promise_equiv_with_svars.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[4]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class promise_equiv_with_svars Mercury/javas/jmercury/promise_equiv_with_svars.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:47: error: package list does not exist (list.List_1) promise_equiv_with_svars.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:52: error: package list does not exist (list.List_1) promise_equiv_with_svars.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:57: error: package list does not exist (list.List_1) promise_equiv_with_svars.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:62: error: package list does not exist (list.List_1) promise_equiv_with_svars.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:75: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equiv_with_svars.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:75: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equiv_with_svars.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:76: error: package list does not exist list.List_1 Var_10 = (list.List_1) promise_equiv_with_svars.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:76: error: package list does not exist list.List_1 Var_10 = (list.List_1) promise_equiv_with_svars.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/promise_equiv_with_svars.java:79: error: cannot find symbol io.print_line_3_p_0(TypeInfo_16_16, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class promise_equiv_with_svars 36 errors gmake[3]: *** [/tmp/mmake.RelBGB:2411: promise_equiv_with_svars] Error 1 gmake[3]: Target 'promise_equiv_with_svars.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: promise_equiv_with_svars.log] Error 1 RUNNING TEST hard_coded/promise_equivalent_clauses in grade java FAILED TEST hard_coded/profdeep_seg_fault in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - profdeep_seg_fault.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - profdeep_seg_fault Making Mercury/int3s/profdeep_seg_fault.int3 Making Mercury/ints/profdeep_seg_fault.int Making Mercury/javas/jmercury/profdeep_seg_fault.java Making Java class files Mercury/javas/jmercury/profdeep_seg_fault.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__ti_list_1profdeep_seg_fault__type_ctor_info_t_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_sig_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_sig_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_t_sig_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_t_sig_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_t_sig_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_t_sig_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_t_type_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_t_type_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_t_type_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_t_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__ti_list_1profdeep_seg_fault__type_ctor_info_type_inst_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_ti_sig_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_ti_sig_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_ti_sig_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_ti_sig_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_ti_sig_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:70: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_ti_sig_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_type_inst_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_type_inst_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_type_inst_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_type_inst_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_type_inst_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_type_inst_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:78: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_type_inst_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:506: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1725: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1784: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1894: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1874: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1764: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/profdeep_seg_fault.java:909: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/profdeep_seg_fault.java:907: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:978: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1029: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1182: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1233: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1586: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:1682: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/profdeep_seg_fault.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "profdeep_seg_fault"; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class profdeep_seg_fault Mercury/javas/jmercury/profdeep_seg_fault.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__ti_list_1profdeep_seg_fault__type_ctor_info_t_type_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_sig_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_sig_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_t_sig_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_t_sig_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_t_sig_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_t_sig_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_t_type_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_t_type_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_t_type_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] profdeep_seg_fault__du_ptag_ordered_t_type_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_name_ordered_t_type_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct profdeep_seg_fault__type_ctor_info_t_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct profdeep_seg_fault__ti_list_1profdeep_seg_fault__type_ctor_info_type_inst_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] profdeep_seg_fault__field_types_ti_sig_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/profdeep_seg_fault.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc profdeep_seg_fault__du_functor_desc_ti_sig_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/profdeep_seg_fault.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] profdeep_seg_fault__du_stag_ordered_ti_sig_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Note: Mercury/javas/jmercury/profdeep_seg_fault.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.uvRPyM:2411: profdeep_seg_fault] Error 1 gmake[3]: Target 'profdeep_seg_fault.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: profdeep_seg_fault.log] Error 1 RUNNING TEST hard_coded/promise_equivalent_solutions_test in grade java FAILED TEST hard_coded/promise_equivalent_clauses in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equivalent_clauses.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equivalent_clauses Making Mercury/int3s/promise_equivalent_clauses.int3 Making Mercury/ints/promise_equivalent_clauses.int Making Mercury/javas/jmercury/promise_equivalent_clauses.java Making Java class files Mercury/javas/jmercury/promise_equivalent_clauses.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:50: 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/promise_equivalent_clauses.java:51: 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/promise_equivalent_clauses.java:125: error: package list does not exist list.List_1 SortedList_4, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:126: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:154: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:167: error: package list does not exist list.List_1 HeadVar__1_19) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:192: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:274: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:288: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:326: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:368: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:415: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:417: error: package list does not exist public list.List_1 HeadVar__2_16; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:423: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:426: error: package list does not exist public list.List_1 conv0_HeadVar__2_16; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "promise_equivalent_clauses"; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:50: 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/promise_equivalent_clauses.java:51: 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/promise_equivalent_clauses.java:59: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:64: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:65: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:66: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:69: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:71: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:73: error: package list does not exist (list.List_1) promise_equivalent_clauses.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:76: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:78: error: package list does not exist (list.List_1) promise_equivalent_clauses.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:81: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:83: error: package list does not exist (list.List_1) promise_equivalent_clauses.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:98: error: package list does not exist ((java.lang.Object) ((list.List_1) promise_equivalent_clauses.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:106: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:106: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:107: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:107: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:140: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:147: error: cannot find symbol list.perm_2_p_0(TypeCtorInfo_17_17, SortedList_4, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:161: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((promise_equivalent_clauses.introducedFrom__pred__main__20__1_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((promise_equivalent_clauses.introducedFrom__pred__main__20__1_2_p_0_env_0) env_ptr).HeadVar__2_16)), ((java.lang.Object) (((promise_equivalent_clauses.introducedFrom__pred__main__20__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:169: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:169: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equivalent_clauses.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equivalent_clauses.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:171: error: package list does not exist list.List_1 SortedList_23 = null; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:175: error: cannot find symbol io.write_3_p_0(TypeInfo_14_28, ((java.lang.Object) (HeadVar__1_19))); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:179: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:182: error: cannot find symbol SortedList_23 = list.sort_2_p_0(TypeCtorInfo_22_22, HeadVar__1_19); ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:185: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_28, ((java.lang.Object) (SortedList_23))); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:203: error: package list does not exist list.List_1 Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:203: error: package list.List_1 does not exist list.List_1 Var_11 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:204: error: package list.List_1 does not exist java.lang.Object Var_12 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:210: error: package list.List_1 does not exist java.lang.Object B_5 = ((list.List_1.F_cons_2) Var_11).F1; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:211: error: package builtin does not exist builtin.Comparison_result_0 R_7 = null; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:212: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:215: error: cannot find symbol R_7 = builtin.compare_3_p_0(TypeInfo_for_T_10, Var_12, B_5); ^ symbol: variable builtin location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:217: error: illegal start of type switch (R_7.MR_value) { ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equivalent_clauses.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:243: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equivalent_clauses.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:244: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:245: error: package list does not exist list.List_1 RawLists_5 = null; ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:251: error: cannot find symbol RawLists_5 = solutions.solutions_2_p_1(TypeInfo_18_18, Var_14); ^ symbol: variable solutions location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:254: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:254: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:256: error: cannot find symbol conv1_STATE_VARIABLE_IO_7 = list.foldl_4_p_2(TypeInfo_18_18, TypeCtorInfo_23_23, Var_15, RawLists_5, ((java.lang.Object) (0))); ^ symbol: variable list location: class promise_equivalent_clauses Mercury/javas/jmercury/promise_equivalent_clauses.java:268: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((promise_equivalent_clauses.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((promise_equivalent_clauses.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((promise_equivalent_clauses.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:304: error: package list does not exist promise_equivalent_clauses.IntroducedFrom__pred__main__20__1_2_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), new AddrOf2_0(1), env_ptr); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:319: error: package list does not exist promise_equivalent_clauses.IntroducedFrom__pred__main__21__1_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:341: error: package list does not exist promise_equivalent_clauses.IntroducedFrom__pred__main__20__1_2_p_0_1(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:350: error: package list does not exist promise_equivalent_clauses.main_2_p_0_2(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:355: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:384: error: package jmercury.runtime does not exist promise_equivalent_clauses.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/promise_equivalent_clauses.java:398: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 97 errors gmake[3]: *** [/tmp/mmake.f3p9Hd:2411: promise_equivalent_clauses] Error 1 gmake[3]: Target 'promise_equivalent_clauses.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: promise_equivalent_clauses.log] Error 1 RUNNING TEST hard_coded/promise_eqv_solns_typeclasses in grade java FAILED TEST hard_coded/promise_equivalent_solutions_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equivalent_solutions_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_equivalent_solutions_test Making Mercury/int3s/promise_equivalent_solutions_test.int3 Making Mercury/ints/promise_equivalent_solutions_test.int Making Mercury/javas/jmercury/promise_equivalent_solutions_test.java Making Java class files Mercury/javas/jmercury/promise_equivalent_solutions_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:33: 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/promise_equivalent_solutions_test.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[5]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "promise_equivalent_solutions_test"; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:33: 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/promise_equivalent_solutions_test.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[5]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:47: error: package list does not exist (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:52: error: package list does not exist (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:57: error: package list does not exist (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:62: error: package list does not exist (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:67: error: package list does not exist (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_41_41 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:83: error: package list does not exist list.List_1 A_4 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:83: error: package list does not exist list.List_1 A_4 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:84: error: package list does not exist list.List_1 B_5 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:84: error: package list does not exist list.List_1 B_5 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:85: error: package list does not exist list.List_1 ASorted_6 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:86: error: package list does not exist list.List_1 BSorted_7 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:87: error: package list does not exist list.List_1 C_8 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:88: error: package list does not exist list.List_1 ATail_10 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:91: error: cannot find symbol ASorted_6 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_40_40, A_4); ^ symbol: variable list location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:94: error: cannot find symbol BSorted_7 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_40_40, B_5); ^ symbol: variable list location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:96: error: package jmercury.runtime does not exist TypeInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(promise_equivalent_solutions_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:98: error: cannot find symbol io.write_line_3_p_0(TypeInfo_41_41, ((java.lang.Object) (ASorted_6))); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:101: error: cannot find symbol io.write_line_3_p_0(TypeInfo_41_41, ((java.lang.Object) (BSorted_7))); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:106: error: package list.List_1 does not exist ATail_10 = ((list.List_1.F_cons_2) ASorted_6).F2; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:108: error: package list does not exist list.List_1 Var_32 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[4]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:108: error: package list does not exist list.List_1 Var_32 = (list.List_1) promise_equivalent_solutions_test.MR_scalar_common_3[4]; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:111: error: cannot find symbol C_8 = list.f_43_43_2_f_0(TypeCtorInfo_40_40, Var_32, ATail_10); ^ symbol: variable list location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:118: error: package list does not exist list.List_1 CSorted_11 = null; ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:121: error: cannot find symbol CSorted_11 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_40_40, C_8); ^ symbol: variable list location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:124: error: cannot find symbol io.write_line_3_p_0(TypeInfo_41_41, ((java.lang.Object) (CSorted_11))); ^ symbol: variable io location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:129: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class promise_equivalent_solutions_test Mercury/javas/jmercury/promise_equivalent_solutions_test.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/promise_equivalent_solutions_test.java:133: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_42_42, ((java.lang.Object) (Var_39))); ^ symbol: variable io location: class promise_equivalent_solutions_test 61 errors gmake[3]: *** [/tmp/mmake.ez74KM:2411: promise_equivalent_solutions_test] Error 1 gmake[3]: Target 'promise_equivalent_solutions_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: promise_equivalent_solutions_test.log] Error 1 RUNNING TEST hard_coded/psqueue_test in grade java FAILED TEST hard_coded/promise_eqv_solns_typeclasses in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_eqv_solns_typeclasses.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - promise_eqv_solns_typeclasses Making Mercury/int3s/promise_eqv_solns_typeclasses.int3 Making Mercury/ints/promise_eqv_solns_typeclasses.int Making Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java Making Java class files Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId promise_eqv_solns_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct promise_eqv_solns_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:74: 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/promise_eqv_solns_typeclasses.java:75: 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[1]; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "promise_eqv_solns_typeclasses"; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId promise_eqv_solns_typeclasses__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct promise_eqv_solns_typeclasses__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:74: 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/promise_eqv_solns_typeclasses.java:75: 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[1]; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:84: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:86: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:88: error: package list does not exist (list.List_1) promise_eqv_solns_typeclasses.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:104: error: package list does not exist list.List_1 Bar_12 = null; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_19 = null; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:106: error: package list does not exist list.List_1 Var_16 = (list.List_1) promise_eqv_solns_typeclasses.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:106: error: package list does not exist list.List_1 Var_16 = (list.List_1) promise_eqv_solns_typeclasses.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:110: error: cannot find symbol TypeInfo_13_19 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_11, PolyConst1_18); ^ symbol: variable private_builtin location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:113: error: cannot find symbol Bar_12 = list.reverse_2_p_0(TypeInfo_13_19, Var_16); ^ symbol: variable list location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:117: error: cannot find symbol succeeded = builtin.false_0_p_0(); ^ symbol: variable builtin location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:121: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_21 = null; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:122: error: package list does not exist list.List_1 L_14 = null; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:124: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:126: error: package list.List_1 does not exist N_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) Bar_12).F1)).intValue(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:126: error: illegal start of type N_4 = ((java.lang.Integer) (((list.List_1.F_cons_2) Bar_12).F1)).intValue(); ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:127: error: package list.List_1 does not exist L_14 = ((list.List_1.F_cons_2) Bar_12).F2; ^ Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:130: error: cannot find symbol TypeInfo_15_21 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_11, PolyConst1_20); ^ symbol: variable private_builtin location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:133: error: cannot find symbol Var_15 = list.reverse_2_p_0(TypeInfo_15_21, L_14); ^ symbol: variable list location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:140: error: cannot find symbol io.write_int_3_p_0(N_4); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:143: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class promise_eqv_solns_typeclasses Mercury/javas/jmercury/promise_eqv_solns_typeclasses.java:151: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class promise_eqv_solns_typeclasses 42 errors gmake[3]: *** [/tmp/mmake.Gn4SjM:2411: promise_eqv_solns_typeclasses] Error 1 gmake[3]: Target 'promise_eqv_solns_typeclasses.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: promise_eqv_solns_typeclasses.log] Error 1 RUNNING TEST hard_coded/pure_mutable in grade java FAILED TEST hard_coded/psqueue_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - psqueue_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - psqueue_test Making Mercury/int3s/psqueue_test.int3 Making Mercury/ints/psqueue_test.int Making Mercury/javas/jmercury/psqueue_test.java Making Java class files Mercury/javas/jmercury/psqueue_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/psqueue_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/psqueue_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/psqueue_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/psqueue_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/psqueue_test.java:138: error: package psqueue does not exist psqueue.Psqueue_2 STATE_VARIABLE_PSQ_0_11) ^ Mercury/javas/jmercury/psqueue_test.java:134: error: package psqueue does not exist private static psqueue.Psqueue_2 ^ Mercury/javas/jmercury/psqueue_test.java:469: error: package psqueue does not exist psqueue.Psqueue_2 PSQ_4) ^ Mercury/javas/jmercury/psqueue_test.java:542: error: package psqueue does not exist psqueue.Psqueue_2 PSQ0_6, ^ Mercury/javas/jmercury/psqueue_test.java:647: error: package psqueue does not exist psqueue.Psqueue_2 PSQ_6, ^ Mercury/javas/jmercury/psqueue_test.java:707: error: package psqueue does not exist psqueue.Psqueue_2 PSQ_4) ^ Mercury/javas/jmercury/psqueue_test.java:773: error: package psqueue does not exist psqueue.Psqueue_2 PSQ0_5, ^ Mercury/javas/jmercury/psqueue_test.java:855: error: package psqueue does not exist private static psqueue.Psqueue_2 ^ Mercury/javas/jmercury/psqueue_test.java:1071: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/psqueue_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "psqueue_test"; ^ Mercury/javas/jmercury/psqueue_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/psqueue_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/psqueue_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/psqueue_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/psqueue_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/psqueue_test.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/psqueue_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/psqueue_test.java:35: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[5]; ^ Mercury/javas/jmercury/psqueue_test.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/psqueue_test.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/psqueue_test.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/psqueue_test.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/psqueue_test.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/psqueue_test.java:47: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/psqueue_test.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/psqueue_test.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(psqueue_test.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/psqueue_test.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/psqueue_test.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(psqueue.psqueue__type_ctor_info_psqueue_2))), ^ symbol: variable psqueue location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(psqueue.psqueue__type_ctor_info_psqueue_2))), ^ Mercury/javas/jmercury/psqueue_test.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/psqueue_test.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/psqueue_test.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/psqueue_test.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/psqueue_test.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/psqueue_test.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/psqueue_test.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/psqueue_test.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/psqueue_test.java:66: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/psqueue_test.java:68: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/psqueue_test.java:73: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/psqueue_test.java:78: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/psqueue_test.java:83: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/psqueue_test.java:88: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/psqueue_test.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/psqueue_test.java:94: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) psqueue_test.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/psqueue_test.java:95: error: package list does not exist (list.List_1) psqueue_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/psqueue_test.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/psqueue_test.java:99: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) psqueue_test.MR_scalar_common_4[1])), ^ Mercury/javas/jmercury/psqueue_test.java:100: error: package list does not exist (list.List_1) psqueue_test.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/psqueue_test.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/psqueue_test.java:104: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) psqueue_test.MR_scalar_common_4[2])), ^ Mercury/javas/jmercury/psqueue_test.java:105: error: package list does not exist (list.List_1) psqueue_test.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/psqueue_test.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/psqueue_test.java:109: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) psqueue_test.MR_scalar_common_4[3])), ^ Mercury/javas/jmercury/psqueue_test.java:110: error: package list does not exist (list.List_1) psqueue_test.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/psqueue_test.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/psqueue_test.java:114: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) psqueue_test.MR_scalar_common_4[4])), ^ Mercury/javas/jmercury/psqueue_test.java:115: error: package list does not exist (list.List_1) psqueue_test.MR_scalar_common_5[3] ^ Mercury/javas/jmercury/psqueue_test.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/psqueue_test.java:123: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:123: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/psqueue_test.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/psqueue_test.java:140: error: package psqueue does not exist psqueue.Psqueue_2 STATE_VARIABLE_PSQ_12 = null; ^ Mercury/javas/jmercury/psqueue_test.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/psqueue_test.java:141: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/psqueue_test.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_75 = null; ^ Mercury/javas/jmercury/psqueue_test.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_76 = null; ^ Mercury/javas/jmercury/psqueue_test.java:148: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_47 = null; ^ Mercury/javas/jmercury/psqueue_test.java:160: error: cannot find symbol Var_19 = psqueue.f_84_121_112_101_83_112_101_99_79_102_95_95_102_117_110_99_95_95_115_105_122_101_95_95_91_80_32_61_32_105_110_116_93_95_48_95_49_1_f_0(TypeCtorInfo_37_37, STATE_VARIABLE_PSQ_0_11); ^ symbol: variable psqueue location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:164: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:166: error: package string__parse_util does not exist Var_47 = (string__parse_util.String_format_flags_0) psqueue_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/psqueue_test.java:168: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, Var_19); ^ symbol: variable string__format location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:171: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:175: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:179: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:182: error: cannot find symbol Var_52 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_47, Prio_7); ^ symbol: variable string__format location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:185: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:189: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:192: error: cannot find symbol io.write_string_3_p_0(Key_8); ^ symbol: variable io location: class psqueue_test Mercury/javas/jmercury/psqueue_test.java:196: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class psqueue_test 100 errors gmake[3]: *** [/tmp/mmake.BBXGoG:2411: psqueue_test] Error 1 gmake[3]: Target 'psqueue_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: psqueue_test.log] Error 1 RUNNING TEST hard_coded/putback_binary_int8 in grade java FAILED TEST hard_coded/pure_mutable in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pure_mutable.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - pure_mutable Making Mercury/int3s/pure_mutable.int3 Making Mercury/ints/pure_mutable.int Making Mercury/javas/jmercury/pure_mutable.java Making Java class files Mercury/javas/jmercury/pure_mutable.java:44: 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/pure_mutable.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pure_mutable"; ^ Mercury/javas/jmercury/pure_mutable.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pure_mutable.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pure_mutable.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pure_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pure_mutable.java:44: 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/pure_mutable.java:48: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/pure_mutable.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/pure_mutable.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/pure_mutable.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/pure_mutable.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/pure_mutable.java:53: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/pure_mutable.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_55 = null; ^ Mercury/javas/jmercury/pure_mutable.java:163: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:165: error: package string__parse_util does not exist Var_55 = (string__parse_util.String_format_flags_0) pure_mutable.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/pure_mutable.java:167: error: cannot find symbol Var_49 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, X0_4); ^ symbol: variable string__format location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:170: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:174: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:196: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:199: error: cannot find symbol Var_60 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, X_5); ^ symbol: variable string__format location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:202: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:206: error: cannot find symbol io.write_string_3_p_0(Var_67); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:218: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:221: error: cannot find symbol Var_71 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, C_6); ^ symbol: variable string__format location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:224: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:228: error: cannot find symbol io.write_string_3_p_0(Var_78); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:240: error: cannot find symbol io.write_string_3_p_0(Var_80); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:243: error: cannot find symbol Var_82 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, Y0_7); ^ symbol: variable string__format location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:246: error: cannot find symbol io.write_string_3_p_0(Var_82); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:250: error: cannot find symbol io.write_string_3_p_0(Var_89); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:272: error: cannot find symbol io.write_string_3_p_0(Var_91); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:275: error: cannot find symbol Var_93 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_55, Y_8); ^ symbol: variable string__format location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:278: error: cannot find symbol io.write_string_3_p_0(Var_93); ^ symbol: variable io location: class pure_mutable Mercury/javas/jmercury/pure_mutable.java:282: error: cannot find symbol io.write_string_3_p_0(Var_100); ^ symbol: variable io location: class pure_mutable 41 errors gmake[3]: *** [/tmp/mmake.9BYg8Q:2411: pure_mutable] Error 1 gmake[3]: Target 'pure_mutable.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: pure_mutable.log] Error 1 RUNNING TEST hard_coded/putback_binary_uint8 in grade java FAILED TEST hard_coded/putback_binary_int8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - putback_binary_int8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - putback_binary_int8 Making Mercury/int3s/putback_binary_int8.int3 Making Mercury/ints/putback_binary_int8.int Making Mercury/javas/jmercury/putback_binary_int8.java Making Java class files Mercury/javas/jmercury/putback_binary_int8.java:32: 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[2]; ^ Mercury/javas/jmercury/putback_binary_int8.java:133: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/putback_binary_int8.java:163: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/putback_binary_int8.java:187: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/putback_binary_int8.java:242: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/putback_binary_int8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "putback_binary_int8"; ^ Mercury/javas/jmercury/putback_binary_int8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/putback_binary_int8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/putback_binary_int8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/putback_binary_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/putback_binary_int8.java:32: 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[2]; ^ Mercury/javas/jmercury/putback_binary_int8.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/putback_binary_int8.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/putback_binary_int8.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/putback_binary_int8.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/putback_binary_int8.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/putback_binary_int8.java:62: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:66: error: cannot find symbol OpenRes_4 = io.open_binary_input_4_p_0(Var_9); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:70: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/putback_binary_int8.java:70: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/putback_binary_int8.java:74: error: cannot find symbol Var_27 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:77: error: cannot find symbol require.error_1_p_0(Var_27); ^ symbol: variable require location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_int8.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_int8.java:82: error: package io.Res_1 does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_int8.java:126: error: cannot find symbol io.close_binary_input_3_p_0(Stream_5); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_24 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:142: error: cannot find symbol Offset_6 = io.binary_input_stream_offset_4_p_0(Stream_4); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:146: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:148: error: package string__parse_util does not exist Var_24 = (string__parse_util.String_format_flags_0) putback_binary_int8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/putback_binary_int8.java:150: error: cannot find symbol Var_18 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_24, Offset_6); ^ symbol: variable string__format location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:153: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:157: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:170: error: cannot find symbol io.putback_int8_4_p_0(Stream_5, Int8_6); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:174: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:176: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:176: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/putback_binary_int8.java:178: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, java.lang.Byte.valueOf(Int8_6)); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:189: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:192: error: cannot find symbol ReadRes_6 = io.read_binary_int8_4_p_0(Stream_4); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:194: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/putback_binary_int8.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:198: error: package io.Result_1 does not exist byte Int8_7 = ((java.lang.Byte) (((io.Result_1.Ok_1) ReadRes_6).F1)).byteValue(); ^ Mercury/javas/jmercury/putback_binary_int8.java:198: error: illegal start of type byte Int8_7 = ((java.lang.Byte) (((io.Result_1.Ok_1) ReadRes_6).F1)).byteValue(); ^ Mercury/javas/jmercury/putback_binary_int8.java:202: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:204: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:204: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/putback_binary_int8.java:206: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, java.lang.Byte.valueOf(Int8_7)); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:215: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:221: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/putback_binary_int8.java:221: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/putback_binary_int8.java:225: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:228: error: cannot find symbol require.error_1_p_0(Var_17); ^ symbol: variable require location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:233: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/putback_binary_int8.java:245: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/putback_binary_int8.java:245: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/putback_binary_int8.java:248: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = null; ^ Mercury/javas/jmercury/putback_binary_int8.java:252: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_10, Offset_6); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:256: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:258: error: package string__parse_util does not exist Var_26 = (string__parse_util.String_format_flags_0) putback_binary_int8.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/putback_binary_int8.java:260: error: cannot find symbol Var_20 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_26, Offset_6); ^ symbol: variable string__format location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:263: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class putback_binary_int8 Mercury/javas/jmercury/putback_binary_int8.java:267: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class putback_binary_int8 77 errors gmake[3]: *** [/tmp/mmake.v0VqiP:2411: putback_binary_int8] Error 1 gmake[3]: Target 'putback_binary_int8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: putback_binary_int8.log] Error 1 RUNNING TEST hard_coded/puzzle_detism_bug in grade java FAILED TEST hard_coded/putback_binary_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - putback_binary_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - putback_binary_uint8 Making Mercury/int3s/putback_binary_uint8.int3 Making Mercury/ints/putback_binary_uint8.int Making Mercury/javas/jmercury/putback_binary_uint8.java Making Java class files Mercury/javas/jmercury/putback_binary_uint8.java:32: 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[2]; ^ Mercury/javas/jmercury/putback_binary_uint8.java:133: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/putback_binary_uint8.java:163: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/putback_binary_uint8.java:187: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/putback_binary_uint8.java:242: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/putback_binary_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "putback_binary_uint8"; ^ Mercury/javas/jmercury/putback_binary_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/putback_binary_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/putback_binary_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/putback_binary_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/putback_binary_uint8.java:32: 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[2]; ^ Mercury/javas/jmercury/putback_binary_uint8.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/putback_binary_uint8.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/putback_binary_uint8.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/putback_binary_uint8.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/putback_binary_uint8.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/putback_binary_uint8.java:62: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:66: error: cannot find symbol OpenRes_4 = io.open_binary_input_4_p_0(Var_9); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:70: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:70: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:74: error: cannot find symbol Var_27 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:77: error: cannot find symbol require.error_1_p_0(Var_27); ^ symbol: variable require location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_uint8.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_uint8.java:82: error: package io.Res_1 does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/putback_binary_uint8.java:126: error: cannot find symbol io.close_binary_input_3_p_0(Stream_5); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_24 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:142: error: cannot find symbol Offset_6 = io.binary_input_stream_offset_4_p_0(Stream_4); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:146: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:148: error: package string__parse_util does not exist Var_24 = (string__parse_util.String_format_flags_0) putback_binary_uint8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/putback_binary_uint8.java:150: error: cannot find symbol Var_18 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_24, Offset_6); ^ symbol: variable string__format location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:153: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:157: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:170: error: cannot find symbol io.putback_uint8_4_p_0(Stream_5, UInt8_6); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:174: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:176: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:176: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/putback_binary_uint8.java:178: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_14_14, java.lang.Byte.valueOf(UInt8_6)); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:189: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:192: error: cannot find symbol ReadRes_6 = io.read_binary_uint8_4_p_0(Stream_4); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:194: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/putback_binary_uint8.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:198: error: package io.Result_1 does not exist byte UInt8_7 = ((java.lang.Byte) (((io.Result_1.Ok_1) ReadRes_6).F1)).byteValue(); ^ Mercury/javas/jmercury/putback_binary_uint8.java:198: error: illegal start of type byte UInt8_7 = ((java.lang.Byte) (((io.Result_1.Ok_1) ReadRes_6).F1)).byteValue(); ^ Mercury/javas/jmercury/putback_binary_uint8.java:202: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:204: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:204: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/putback_binary_uint8.java:206: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, java.lang.Byte.valueOf(UInt8_7)); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:215: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:221: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:221: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:225: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:228: error: cannot find symbol require.error_1_p_0(Var_17); ^ symbol: variable require location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:233: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/putback_binary_uint8.java:245: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:245: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/putback_binary_uint8.java:248: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = null; ^ Mercury/javas/jmercury/putback_binary_uint8.java:252: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_10, Offset_6); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:256: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:258: error: package string__parse_util does not exist Var_26 = (string__parse_util.String_format_flags_0) putback_binary_uint8.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/putback_binary_uint8.java:260: error: cannot find symbol Var_20 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_26, Offset_6); ^ symbol: variable string__format location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:263: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class putback_binary_uint8 Mercury/javas/jmercury/putback_binary_uint8.java:267: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class putback_binary_uint8 77 errors gmake[3]: *** [/tmp/mmake.X4dReM:2411: putback_binary_uint8] Error 1 gmake[3]: Target 'putback_binary_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: putback_binary_uint8.log] Error 1 RUNNING TEST hard_coded/qual_adv_test in grade java FAILED TEST hard_coded/puzzle_detism_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - puzzle_detism_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - puzzle_detism_bug Making Mercury/int3s/puzzle_detism_bug.int3 Making Mercury/ints/puzzle_detism_bug.int Making Mercury/javas/jmercury/puzzle_detism_bug.java Making Java class files Mercury/javas/jmercury/puzzle_detism_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_room_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_room_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_room_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_suspect_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_suspect_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_suspect_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_weapon_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_weapon_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_weapon_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:492: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/puzzle_detism_bug.java:493: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/puzzle_detism_bug.java:224: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/puzzle_detism_bug.java:505: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/puzzle_detism_bug.java:506: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/puzzle_detism_bug.java:263: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/puzzle_detism_bug.java:518: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/puzzle_detism_bug.java:519: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/puzzle_detism_bug.java:302: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/puzzle_detism_bug.java:412: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/puzzle_detism_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "puzzle_detism_bug"; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_room_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_room_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_room_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_room_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_suspect_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_suspect_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_suspect_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_suspect_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc puzzle_detism_bug__enum_functor_desc_weapon_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_ordinal_ordered_weapon_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] puzzle_detism_bug__enum_name_ordered_weapon_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct puzzle_detism_bug__type_ctor_info_weapon_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/puzzle_detism_bug.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/puzzle_detism_bug.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/puzzle_detism_bug.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:148: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/puzzle_detism_bug.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:198: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/puzzle_detism_bug.java:220: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class puzzle_detism_bug Mercury/javas/jmercury/puzzle_detism_bug.java:230: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:231: 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 Room_0 Mercury/javas/jmercury/puzzle_detism_bug.java:232: 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 Room_0 Mercury/javas/jmercury/puzzle_detism_bug.java:236: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:241: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:243: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:254: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:269: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:270: 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 Suspect_0 Mercury/javas/jmercury/puzzle_detism_bug.java:271: 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 Suspect_0 Mercury/javas/jmercury/puzzle_detism_bug.java:275: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:280: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:282: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:293: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:308: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:309: 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 Weapon_0 Mercury/javas/jmercury/puzzle_detism_bug.java:310: 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 Weapon_0 Mercury/javas/jmercury/puzzle_detism_bug.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:319: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:321: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:332: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/puzzle_detism_bug.java:346: 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 Room_0 Mercury/javas/jmercury/puzzle_detism_bug.java:346: 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 Room_0 Mercury/javas/jmercury/puzzle_detism_bug.java:369: 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 Suspect_0 Mercury/javas/jmercury/puzzle_detism_bug.java:369: 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 Suspect_0 Mercury/javas/jmercury/puzzle_detism_bug.java:392: 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 Weapon_0 Mercury/javas/jmercury/puzzle_detism_bug.java:392: 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 Weapon_0 Mercury/javas/jmercury/puzzle_detism_bug.java:477: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 95 errors gmake[3]: *** [/tmp/mmake.N3msBq:2411: puzzle_detism_bug] Error 1 gmake[3]: Target 'puzzle_detism_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: puzzle_detism_bug.log] Error 1 RUNNING TEST hard_coded/qual_basic_test in grade java FAILED TEST hard_coded/qual_basic_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_basic_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_basic_test Making Mercury/int3s/qual_basic_test.int3 Making Mercury/ints/qual_basic_test.int Making Mercury/javas/jmercury/qual_basic_test.java Making Java class files Mercury/javas/jmercury/qual_basic_test.java:120: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/qual_basic_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "qual_basic_test"; ^ Mercury/javas/jmercury/qual_basic_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/qual_basic_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/qual_basic_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/qual_basic_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/qual_basic_test.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/qual_basic_test.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/qual_basic_test.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/qual_basic_test.java:70: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/qual_basic_test.java:74: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:78: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:82: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:87: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/qual_basic_test.java:89: error: package jmercury.runtime does not exist conv2_Y_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_6))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_16))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_17))))); ^ Mercury/javas/jmercury/qual_basic_test.java:93: error: cannot find symbol io.write_int_3_p_0(Y_7); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:97: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class qual_basic_test Mercury/javas/jmercury/qual_basic_test.java:112: error: cannot find symbol conv0_HeadVar__3_3 = mr_int.max_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue(), ((java.lang.Integer) wrapper_arg_2).intValue()); ^ symbol: variable mr_int location: class qual_basic_test 27 errors gmake[3]: *** [/tmp/mmake.fmn0aq:2411: qual_basic_test] Error 1 gmake[3]: Target 'qual_basic_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: qual_basic_test.log] Error 1 RUNNING TEST hard_coded/qual_is_test in grade java FAILED TEST hard_coded/qual_adv_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_adv_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_adv_test Making Mercury/int3s/qual_adv_test.int3 Making Mercury/int3s/qual_adv_test_helper_1.int3 Making Mercury/int3s/qual_adv_test_helper_2.int3 Making Mercury/ints/qual_adv_test_helper_2.int Making Mercury/ints/qual_adv_test_helper_1.int Making Mercury/ints/qual_adv_test.int Making Mercury/javas/jmercury/qual_adv_test.java Making Mercury/javas/jmercury/qual_adv_test_helper_1.java Making Mercury/javas/jmercury/qual_adv_test_helper_2.java Making Java class files Mercury/javas/jmercury/qual_adv_test.java:32: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.S_1[] MR_scalar_common_1 = new string.Poly_type_0.S_1[1]; ^ Mercury/javas/jmercury/qual_adv_test.java:33: 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/qual_adv_test.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[1]; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:15: 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/qual_adv_test_helper_1.java:16: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1]; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:35: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:100: error: package list does not exist list.List_1 Poly_list_5) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:116: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:117: error: package list does not exist list.List_1 Vars_in_2) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:291: error: package list does not exist list.List_1 Flags_9, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:292: error: package string does not exist string.Poly_type_0 _V_10, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:595: error: package string does not exist string.Poly_type_0 Poly_t_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:597: error: package list does not exist list.List_1 Flags_11) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1145: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1362: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1484: error: package string does not exist string.Poly_type_0 Poly_var_6, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1597: error: package list does not exist list.List_1 Flags_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1676: error: package list does not exist list.List_1 Polys_in_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1744: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1745: error: package bool does not exist bool.Bool_0 Bool_5) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1841: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:1937: error: package list does not exist list.List_1 PolyList_5) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:15: 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/qual_adv_test_helper_2.java:16: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1]; ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:35: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:100: error: package list does not exist list.List_1 Poly_list_5) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:116: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:117: error: package list does not exist list.List_1 Vars_in_2) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:291: error: package list does not exist list.List_1 Flags_9, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:292: error: package string does not exist string.Poly_type_0 _V_10, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:595: error: package string does not exist string.Poly_type_0 Poly_t_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:597: error: package list does not exist list.List_1 Flags_11) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1143: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1360: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1482: error: package string does not exist string.Poly_type_0 Poly_var_6, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1595: error: package list does not exist list.List_1 Flags_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1674: error: package list does not exist list.List_1 Polys_in_8, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1742: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1743: error: package bool does not exist bool.Bool_0 Bool_5) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1839: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/qual_adv_test_helper_2.java:1935: error: package list does not exist list.List_1 PolyList_5) ^ Mercury/javas/jmercury/qual_adv_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "qual_adv_test"; ^ Mercury/javas/jmercury/qual_adv_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/qual_adv_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/qual_adv_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/qual_adv_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/qual_adv_test.java:32: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.S_1[] MR_scalar_common_1 = new string.Poly_type_0.S_1[1]; ^ Mercury/javas/jmercury/qual_adv_test.java:33: 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/qual_adv_test.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[1]; ^ Mercury/javas/jmercury/qual_adv_test.java:38: error: package string.Poly_type_0 does not exist new string.Poly_type_0.S_1( ^ Mercury/javas/jmercury/qual_adv_test.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/qual_adv_test.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/qual_adv_test.java:45: error: package string does not exist ((java.lang.Object) ((string.Poly_type_0) qual_adv_test.MR_scalar_common_1[0])), ^ Mercury/javas/jmercury/qual_adv_test.java:46: error: package list does not exist (list.List_1) qual_adv_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/qual_adv_test.java:66: error: package list does not exist list.List_1 Var_16 = (list.List_1) qual_adv_test.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qual_adv_test.java:66: error: package list does not exist list.List_1 Var_16 = (list.List_1) qual_adv_test.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/qual_adv_test.java:75: error: cannot find symbol io.write_string_3_p_0(Out1_6); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:78: error: cannot find symbol io.write_string_3_p_0(Out2_7); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:81: error: cannot find symbol io.write_string_3_p_0(Out3_8); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:97: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test.java:105: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class qual_adv_test Mercury/javas/jmercury/qual_adv_test_helper_1.java:15: 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/qual_adv_test_helper_1.java:16: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1]; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:20: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:22: error: package string.Poly_type_0 does not exist new string.Poly_type_0.S_1( ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:41: error: package list does not exist list.List_1 Xs_7 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:45: error: package list.List_1 does not exist X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:45: error: illegal start of type X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:46: error: package list.List_1 does not exist Xs_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:103: error: package list does not exist list.List_1 Clist_7 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:106: error: cannot find symbol Clist_7 = string.to_char_list_2_p_0(Fstring_4); ^ symbol: variable string location: class qual_adv_test_helper_1 Mercury/javas/jmercury/qual_adv_test_helper_1.java:126: error: package list.List_1 does not exist int Achar_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:126: error: illegal start of type int Achar_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:127: error: package list does not exist list.List_1 As_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:127: error: package list.List_1 does not exist list.List_1 As_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:132: error: package list does not exist list.List_1 Ass_9 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:138: error: package list.List_1 does not exist Var_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:138: error: illegal start of type Var_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:139: error: package list.List_1 does not exist Ass_9 = ((list.List_1.F_cons_2) As_6).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:152: error: cannot find symbol HeadVar__3_3 = string.first_char_3_p_4(Var_17, Temp_out_10); ^ symbol: variable string location: class qual_adv_test_helper_1 Mercury/javas/jmercury/qual_adv_test_helper_1.java:157: error: package list does not exist list.List_1 As_out_11 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:158: error: package list does not exist list.List_1 Vars_out_12 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:168: error: package list.List_1 does not exist Var_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:168: error: illegal start of type Var_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue(); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:169: error: package list.List_1 does not exist As_out_11 = ((list.List_1.F_cons_2) As_6).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:173: error: package list does not exist Vars_out_12 = (list.List_1) qual_adv_test_helper_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package string does not exist string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package string does not exist string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package list.List_1 does not exist string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1); ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:182: error: package list does not exist list.List_1 Vars_l_in_25 = ((list.List_1.F_cons_2) Vars_in_2).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:182: error: package list.List_1 does not exist list.List_1 Vars_l_in_25 = ((list.List_1.F_cons_2) Vars_in_2).F2; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:184: error: package list does not exist list.List_1 Fmt_info_29 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:185: error: package list does not exist list.List_1 Flags_30 = null; ^ Mercury/javas/jmercury/qual_adv_test_helper_1.java:197: error: package list does not exist list.List_1 Var_42 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.CZBnY7:2411: qual_adv_test] Error 1 gmake[3]: Target 'qual_adv_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: qual_adv_test.log] Error 1 RUNNING TEST hard_coded/quantifier_1 in grade java FAILED TEST hard_coded/qual_is_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_is_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - qual_is_test Making Mercury/int3s/qual_is_test.int3 Making Mercury/int3s/qual_is_test_helper_1.int3 Making Mercury/ints/qual_is_test_helper_1.int Making Mercury/ints/qual_is_test.int Making Mercury/javas/jmercury/qual_is_test_helper_1.java Making Mercury/javas/jmercury/qual_is_test.java Making Java class files Mercury/javas/jmercury/qual_is_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "qual_is_test"; ^ Mercury/javas/jmercury/qual_is_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/qual_is_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/qual_is_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/qual_is_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class qual_is_test Mercury/javas/jmercury/qual_is_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/qual_is_test.java:43: error: cannot find symbol io.write_string_3_p_0(W_4); ^ symbol: variable io location: class qual_is_test 12 errors gmake[3]: *** [/tmp/mmake.MdHXcH:2411: qual_is_test] Error 1 gmake[3]: Target 'qual_is_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: qual_is_test.log] Error 1 RUNNING TEST hard_coded/quantifier_2 in grade java FAILED TEST hard_coded/quantifier_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quantifier_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quantifier_1 Making Mercury/int3s/quantifier_1.int3 Making Mercury/ints/quantifier_1.int Making Mercury/javas/jmercury/quantifier_1.java Making Java class files Mercury/javas/jmercury/quantifier_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/quantifier_1.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/quantifier_1.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/quantifier_1.java:216: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/quantifier_1.java:238: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/quantifier_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "quantifier_1"; ^ Mercury/javas/jmercury/quantifier_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/quantifier_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/quantifier_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/quantifier_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/quantifier_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/quantifier_1.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/quantifier_1.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/quantifier_1.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/quantifier_1.java:61: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:61: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/quantifier_1.java:69: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:69: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/quantifier_1.java:72: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/quantifier_1.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_1.java:76: error: package list does not exist (list.List_1) quantifier_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/quantifier_1.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_1.java:81: error: package list does not exist (list.List_1) quantifier_1.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/quantifier_1.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_1.java:86: error: package list does not exist (list.List_1) quantifier_1.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/quantifier_1.java:93: error: package list does not exist ((java.lang.Object) ((list.List_1) quantifier_1.MR_scalar_common_4[2])) ^ Mercury/javas/jmercury/quantifier_1.java:126: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:126: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/quantifier_1.java:133: error: package jmercury.runtime does not exist conv3_X_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))))); ^ Mercury/javas/jmercury/quantifier_1.java:136: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Q_6)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:138: error: package jmercury.runtime does not exist conv5_Var_17 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Q_6))))); ^ Mercury/javas/jmercury/quantifier_1.java:146: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_6 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Q_6)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:146: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_6 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Q_6)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:149: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_8 = null; ^ Mercury/javas/jmercury/quantifier_1.java:153: error: package jmercury.runtime does not exist conv7_X_26 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_6).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Q_6))))); ^ Mercury/javas/jmercury/quantifier_1.java:156: error: package jmercury.runtime does not exist func_8 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_1.java:158: error: package jmercury.runtime does not exist conv9_Var_18 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_8).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))))); ^ Mercury/javas/jmercury/quantifier_1.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_1.java:166: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_1.java:170: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_1.java:175: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_1.java:179: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class quantifier_1 Mercury/javas/jmercury/quantifier_1.java:208: error: package list does not exist conv1_HeadVar__2_2 = quantifier_1.sum_2_p_0(((list.List_1) ((java.lang.Object[]) closure)[3])); ^ Mercury/javas/jmercury/quantifier_1.java:224: error: package list.List_1 does not exist int X_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/quantifier_1.java:224: error: illegal start of type int X_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/quantifier_1.java:225: error: package list does not exist list.List_1 L_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/quantifier_1.java:225: error: package list.List_1 does not exist list.List_1 L_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/quantifier_1.java:266: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 60 errors gmake[3]: *** [/tmp/mmake.ipVZFv:2411: quantifier_1] Error 1 gmake[3]: Target 'quantifier_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: quantifier_1.log] Error 1 RUNNING TEST hard_coded/quoting_bug_test in grade java FAILED TEST hard_coded/quantifier_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quantifier_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quantifier_2 Making Mercury/int3s/quantifier_2.int3 Making Mercury/ints/quantifier_2.int Making Mercury/javas/jmercury/quantifier_2.java Making Java class files Mercury/javas/jmercury/quantifier_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/quantifier_2.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/quantifier_2.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/quantifier_2.java:266: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/quantifier_2.java:305: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/quantifier_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "quantifier_2"; ^ Mercury/javas/jmercury/quantifier_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/quantifier_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/quantifier_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/quantifier_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/quantifier_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/quantifier_2.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/quantifier_2.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:51: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/quantifier_2.java:52: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/quantifier_2.java:62: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:62: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/quantifier_2.java:63: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:63: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/quantifier_2.java:72: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/quantifier_2.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_2.java:76: error: package list does not exist (list.List_1) quantifier_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/quantifier_2.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_2.java:81: error: package list does not exist (list.List_1) quantifier_2.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/quantifier_2.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quantifier_2.java:86: error: package list does not exist (list.List_1) quantifier_2.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/quantifier_2.java:94: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:94: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/quantifier_2.java:95: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:95: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/quantifier_2.java:102: error: package list does not exist ((java.lang.Object) ((list.List_1) quantifier_2.MR_scalar_common_4[2])) ^ Mercury/javas/jmercury/quantifier_2.java:139: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_2.java:139: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_2.java:141: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/quantifier_2.java:143: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_6 = null; ^ Mercury/javas/jmercury/quantifier_2.java:145: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_8 = null; ^ Mercury/javas/jmercury/quantifier_2.java:149: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))), ((java.lang.Object) (java.lang.Integer.valueOf(J_8))))); ^ Mercury/javas/jmercury/quantifier_2.java:157: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Q_7)[1]); ^ Mercury/javas/jmercury/quantifier_2.java:159: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Q_7))), ((java.lang.Object) (java.lang.Integer.valueOf(J_8))))); ^ Mercury/javas/jmercury/quantifier_2.java:170: error: package jmercury.runtime does not exist func_6 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Q_7)[1]); ^ Mercury/javas/jmercury/quantifier_2.java:172: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_6).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Q_7))), ((java.lang.Object) (java.lang.Integer.valueOf(J_8))))); ^ Mercury/javas/jmercury/quantifier_2.java:180: error: package jmercury.runtime does not exist func_8 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_4)[1]); ^ Mercury/javas/jmercury/quantifier_2.java:182: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_8).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_4))), ((java.lang.Object) (java.lang.Integer.valueOf(J_8))))); ^ Mercury/javas/jmercury/quantifier_2.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_2.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_2.java:198: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_24_24, ((java.lang.Object) (Var_16))); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_2.java:203: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/quantifier_2.java:207: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class quantifier_2 Mercury/javas/jmercury/quantifier_2.java:249: error: package list does not exist java.lang.Object [] result = quantifier_2.testsum_3_p_0(((list.List_1) ((java.lang.Object[]) closure)[3]), ((java.lang.Integer) wrapper_arg_1).intValue()); ^ Mercury/javas/jmercury/quantifier_2.java:282: error: package list.List_1 does not exist int X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/quantifier_2.java:282: error: illegal start of type int X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/quantifier_2.java:283: error: package list does not exist list.List_1 L_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/quantifier_2.java:283: error: package list.List_1 does not exist list.List_1 L_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/quantifier_2.java:334: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 64 errors gmake[3]: *** [/tmp/mmake.HvKMPU:2411: quantifier_2] Error 1 gmake[3]: Target 'quantifier_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: quantifier_2.log] Error 1 RUNNING TEST hard_coded/ra_list_test in grade java FAILED TEST hard_coded/quoting_bug_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quoting_bug_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - quoting_bug_test Making Mercury/int3s/quoting_bug_test.int3 Making Mercury/int3s/quoting_bug_test_helper_1.int3 Making Mercury/ints/quoting_bug_test.int Making Mercury/ints/quoting_bug_test_helper_1.int Making Mercury/javas/jmercury/quoting_bug_test.java Making Mercury/javas/jmercury/quoting_bug_test_helper_1.java Making Java class files Mercury/javas/jmercury/quoting_bug_test.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/quoting_bug_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:224: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:225: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] quoting_bug_test_helper_1__enum_ordinal_ordered_token_0 = new jmercury.runtime.EnumFunctorDesc[6]; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] quoting_bug_test_helper_1__enum_name_ordered_token_0 = new jmercury.runtime.EnumFunctorDesc[6]; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct quoting_bug_test_helper_1__type_ctor_info_token_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:116: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/quoting_bug_test.java:184: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:180: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/quoting_bug_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "quoting_bug_test"; ^ Mercury/javas/jmercury/quoting_bug_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/quoting_bug_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/quoting_bug_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/quoting_bug_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/quoting_bug_test.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/quoting_bug_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/quoting_bug_test.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/quoting_bug_test.java:41: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quoting_bug_test.java:43: error: package list does not exist (list.List_1) quoting_bug_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/quoting_bug_test.java:46: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quoting_bug_test.java:48: error: package list does not exist (list.List_1) quoting_bug_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/quoting_bug_test.java:51: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quoting_bug_test.java:53: error: package list does not exist (list.List_1) quoting_bug_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/quoting_bug_test.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quoting_bug_test.java:58: error: package list does not exist (list.List_1) quoting_bug_test.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/quoting_bug_test.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/quoting_bug_test.java:63: error: package list does not exist (list.List_1) quoting_bug_test.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/quoting_bug_test.java:71: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:71: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/quoting_bug_test.java:72: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:72: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/quoting_bug_test.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_34 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_35 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_36 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_37 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_41 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:102: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/quoting_bug_test.java:107: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_33, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:110: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:113: error: package jmercury.runtime does not exist TypeCtorInfo_8_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:115: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_34, ((java.lang.Object) (Var_9))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:118: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:121: error: package jmercury.runtime does not exist TypeCtorInfo_8_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:123: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_35, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:126: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:129: error: package jmercury.runtime does not exist TypeCtorInfo_8_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:131: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_36, ((java.lang.Object) (Var_15))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:134: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:137: error: package jmercury.runtime does not exist TypeCtorInfo_8_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:139: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_37, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:142: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:144: error: package list does not exist Var_21 = (list.List_1) quoting_bug_test.MR_scalar_common_2[4]; ^ Mercury/javas/jmercury/quoting_bug_test.java:147: error: package jmercury.runtime does not exist TypeCtorInfo_14_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:149: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_14_41, Var_21, Var_38, Var_39); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:152: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(quoting_bug_test_helper_1.quoting_bug_test_helper_1__type_ctor_info_token_0); ^ Mercury/javas/jmercury/quoting_bug_test.java:178: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_8_8, ((java.lang.Object) (T_4))); ^ symbol: variable io location: class quoting_bug_test Mercury/javas/jmercury/quoting_bug_test_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc quoting_bug_test_helper_1__enum_functor_desc_token_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] quoting_bug_test_helper_1__enum_ordinal_ordered_token_0 = new jmercury.runtime.EnumFunctorDesc[6]; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] quoting_bug_test_helper_1__enum_name_ordered_token_0 = new jmercury.runtime.EnumFunctorDesc[6]; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct quoting_bug_test_helper_1__type_ctor_info_token_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:122: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:123: 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 Token_0 Mercury/javas/jmercury/quoting_bug_test_helper_1.java:124: 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 Token_0 Mercury/javas/jmercury/quoting_bug_test_helper_1.java:128: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:133: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:135: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:146: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/quoting_bug_test_helper_1.java:160: 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 Token_0 Mercury/javas/jmercury/quoting_bug_test_helper_1.java:160: 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 Token_0 Mercury/javas/jmercury/quoting_bug_test_helper_1.java:209: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 95 errors gmake[3]: *** [/tmp/mmake.uCkXDg:2411: quoting_bug_test] Error 1 gmake[3]: Target 'quoting_bug_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: quoting_bug_test.log] Error 1 RUNNING TEST hard_coded/random_1 in grade java FAILED TEST hard_coded/ra_list_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ra_list_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - ra_list_test Making Mercury/int3s/ra_list_test.int3 Making Mercury/ints/ra_list_test.int Making Mercury/javas/jmercury/ra_list_test.java Making Java class files Mercury/javas/jmercury/ra_list_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ra_list_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ra_list__pti_ra_list_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ra_list_test.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ra_list_test.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ra_list_test.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ra_list_test.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/ra_list_test.java:346: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/ra_list_test.java:347: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/ra_list_test.java:344: error: package ra_list does not exist private static ra_list.Ra_list_1 ^ Mercury/javas/jmercury/ra_list_test.java:646: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_25, ^ Mercury/javas/jmercury/ra_list_test.java:647: error: package list does not exist list.List_1 Items_6, ^ Mercury/javas/jmercury/ra_list_test.java:721: error: package ra_list does not exist ra_list.Ra_list_1 RAList0_5, ^ Mercury/javas/jmercury/ra_list_test.java:778: error: package ra_list does not exist ra_list.Ra_list_1 RAList_5, ^ Mercury/javas/jmercury/ra_list_test.java:860: error: package list does not exist list.List_1 Searches_6, ^ Mercury/javas/jmercury/ra_list_test.java:861: error: package list does not exist list.List_1 Drops_7, ^ Mercury/javas/jmercury/ra_list_test.java:862: error: package ra_list does not exist ra_list.Ra_list_1 RAList_8) ^ Mercury/javas/jmercury/ra_list_test.java:1058: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ra_list_test.java:1077: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/ra_list_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ra_list_test"; ^ Mercury/javas/jmercury/ra_list_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ra_list_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ra_list_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ra_list_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ra_list_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ra_list_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct ra_list__pti_ra_list_1__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/ra_list_test.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/ra_list_test.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:44: error: cannot find symbol ra_list.ra_list__type_ctor_info_ra_list_1, ^ symbol: variable ra_list location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ Mercury/javas/jmercury/ra_list_test.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0 ^ symbol: variable builtin location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/ra_list_test.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/ra_list_test.java:58: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/ra_list_test.java:59: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[33]; ^ Mercury/javas/jmercury/ra_list_test.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ra_list_test.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ra_list.ra_list__type_ctor_info_ra_list_1))), ^ symbol: variable ra_list location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(ra_list.ra_list__type_ctor_info_ra_list_1))), ^ Mercury/javas/jmercury/ra_list_test.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/ra_list_test.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/ra_list_test.java:74: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/ra_list_test.java:75: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class ra_list_test Mercury/javas/jmercury/ra_list_test.java:75: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/ra_list_test.java:78: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/ra_list_test.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/ra_list_test.java:80: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/ra_list_test.java:81: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/ra_list_test.java:82: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/ra_list_test.java:83: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/ra_list_test.java:86: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/ra_list_test.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:90: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ra_list_test.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:95: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/ra_list_test.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:100: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/ra_list_test.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:105: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/ra_list_test.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:110: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/ra_list_test.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:115: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/ra_list_test.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:120: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/ra_list_test.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:125: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/ra_list_test.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:130: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/ra_list_test.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:135: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[8] ^ Mercury/javas/jmercury/ra_list_test.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:140: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[9] ^ Mercury/javas/jmercury/ra_list_test.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:145: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ra_list_test.java:148: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:150: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[11] ^ Mercury/javas/jmercury/ra_list_test.java:153: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:155: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[12] ^ Mercury/javas/jmercury/ra_list_test.java:158: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:160: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[13] ^ Mercury/javas/jmercury/ra_list_test.java:163: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:165: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[14] ^ Mercury/javas/jmercury/ra_list_test.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:170: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/ra_list_test.java:173: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:175: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[16] ^ Mercury/javas/jmercury/ra_list_test.java:178: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:180: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[17] ^ Mercury/javas/jmercury/ra_list_test.java:183: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:185: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[18] ^ Mercury/javas/jmercury/ra_list_test.java:188: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/ra_list_test.java:190: error: package list does not exist (list.List_1) ra_list_test.MR_scalar_common_4[19] ^ 100 errors gmake[3]: *** [/tmp/mmake.ZHnKbt:2411: ra_list_test] Error 1 gmake[3]: Target 'ra_list_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: ra_list_test.log] Error 1 RUNNING TEST hard_coded/random_2 in grade java FAILED TEST hard_coded/random_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_1 Making Mercury/int3s/random_1.int3 Making Mercury/ints/random_1.int Making Mercury/javas/jmercury/random_1.java Making Java class files Mercury/javas/jmercury/random_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_1.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_1"; ^ Mercury/javas/jmercury/random_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_1 Mercury/javas/jmercury/random_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_1 Mercury/javas/jmercury/random_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_1.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_1.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_1.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_params_1))), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_params_1))), ^ Mercury/javas/jmercury/random_1.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_1.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_state_1))), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_urandom_state_1))), ^ Mercury/javas/jmercury/random_1.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:49: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_1.java:54: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__urandom_params__arity1__random__urandom_state__arity1__)), ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/random_1.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_1.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/random_1.java:61: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_1.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_1.java:67: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom__arity2__random__sfc64__params__arity0__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_1.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_1.java:72: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/random_1.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/random_1.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/random_1.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/random_1.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/random_1.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/random_1.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/random_1.java:94: error: package random does not exist random.Urandom_state_1 RSsfc16_5 = null; ^ Mercury/javas/jmercury/random_1.java:95: error: package random__sfc32 does not exist random__sfc32.Ustate_0 RSsfc32_8 = null; ^ Mercury/javas/jmercury/random_1.java:96: error: package random__sfc64 does not exist random__sfc64.Ustate_0 RSsfc64_11 = null; ^ Mercury/javas/jmercury/random_1.java:98: error: package random__sfc16 does not exist random__sfc16.Random_0 Var_17 = null; ^ Mercury/javas/jmercury/random_1.java:109: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:112: error: cannot find symbol Var_17 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:114: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0); ^ symbol: variable random__sfc16 location: class random_1 Mercury/javas/jmercury/random_1.java:114: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0); ^ Mercury/javas/jmercury/random_1.java:116: error: cannot find symbol RSsfc16_5 = random.make_urandom_3_p_0(TypeCtorInfo_27_27, ((java.lang.Object) (Var_17))); ^ symbol: variable random location: class random_1 Mercury/javas/jmercury/random_1.java:125: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:128: error: cannot find symbol RSsfc32_8 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_1 Mercury/javas/jmercury/random_1.java:137: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:140: error: cannot find symbol RSsfc64_11 = random__sfc64.init_2_p_0(); ^ symbol: variable random__sfc64 location: class random_1 Mercury/javas/jmercury/random_1.java:176: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_37 = null; ^ Mercury/javas/jmercury/random_1.java:179: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_45 = null; ^ Mercury/javas/jmercury/random_1.java:181: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_48 = null; ^ Mercury/javas/jmercury/random_1.java:186: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_35)[0])[8]); ^ Mercury/javas/jmercury/random_1.java:186: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_35)[0])[8]); ^ Mercury/javas/jmercury/random_1.java:192: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_urandom_35))), ((java.lang.Object) (RP_8)), ((java.lang.Object) (STATE_VARIABLE_RS_0_14)))); ^ Mercury/javas/jmercury/random_1.java:200: error: cannot find symbol A_12 = uint64.cast_to_int_1_f_0(Var_20); ^ symbol: variable uint64 location: class random_1 Mercury/javas/jmercury/random_1.java:205: error: cannot find symbol B_13 = uint64.cast_to_int_1_f_0(Var_22); ^ symbol: variable uint64 location: class random_1 Mercury/javas/jmercury/random_1.java:208: error: cannot find symbol Var_38 = string__format.format_cast_int_to_uint_2_p_0(A_12); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:210: error: package string__parse_util does not exist Var_45 = (string__parse_util.String_format_flags_0) random_1.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/random_1.java:212: error: package string__parse_util does not exist Var_37 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_1.java:214: error: cannot find symbol Var_39 = string__format.format_uint_component_width_noprec_5_p_0(Var_45, Var_46, Var_37, Var_38); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:217: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:220: error: cannot find symbol Var_49 = string__format.format_cast_int_to_uint_2_p_0(B_13); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:223: error: package string__parse_util does not exist Var_48 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_1.java:225: error: cannot find symbol Var_50 = string__format.format_uint_component_width_noprec_5_p_0(Var_45, Var_57, Var_48, Var_49); ^ symbol: variable string__format location: class random_1 Mercury/javas/jmercury/random_1.java:228: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class random_1 Mercury/javas/jmercury/random_1.java:232: error: cannot find symbol io.write_string_3_p_0(Var_58); ^ symbol: variable io location: class random_1 79 errors gmake[3]: *** [/tmp/mmake.xup7qU:2411: random_1] Error 1 gmake[3]: Target 'random_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: random_1.log] Error 1 RUNNING TEST hard_coded/random_3 in grade java FAILED TEST hard_coded/random_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_2 Making Mercury/int3s/random_2.int3 Making Mercury/ints/random_2.int Making Mercury/javas/jmercury/random_2.java Making Java class files Mercury/javas/jmercury/random_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_2.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_2"; ^ Mercury/javas/jmercury/random_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_2 Mercury/javas/jmercury/random_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_2 Mercury/javas/jmercury/random_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_2.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_2.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_2 Mercury/javas/jmercury/random_2.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_2 Mercury/javas/jmercury/random_2.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_2.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_2.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom_dup__arity1__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:54: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_2.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ Mercury/javas/jmercury/random_2.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_2.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:61: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__random__arity1__random__shared_random__arity2__)), ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_2.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/random_2.java:68: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom__arity2__random__sfc64__params__arity0__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_2.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:74: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom_dup__arity1__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:75: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:75: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_2.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_shared_random_2))), ^ Mercury/javas/jmercury/random_2.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_2.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_2.java:85: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__random__arity1__random__shared_random__arity2__)), ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:88: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_2.MR_scalar_common_2[1]))) ^ Mercury/javas/jmercury/random_2.java:91: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/random_2.java:92: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/random_2.java:93: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/random_2.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/random_2.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/random_2.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/random_2.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/random_2.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/random_2.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/random_2.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/random_2.java:116: error: package random__sfc16 does not exist random__sfc16.Random_0 Rsfc16_4 = null; ^ Mercury/javas/jmercury/random_2.java:117: error: package random__sfc32 does not exist random__sfc32.Ustate_0 Ssfc32_7 = null; ^ Mercury/javas/jmercury/random_2.java:118: error: package random does not exist random.Shared_random_2 Rsfc32_8 = null; ^ Mercury/javas/jmercury/random_2.java:119: error: package random__sfc64 does not exist random__sfc64.Ustate_0 Ssfc64_11 = null; ^ Mercury/javas/jmercury/random_2.java:120: error: package random does not exist random.Shared_random_2 Rsfc64_12 = null; ^ Mercury/javas/jmercury/random_2.java:132: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:135: error: cannot find symbol Rsfc16_4 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_2 Mercury/javas/jmercury/random_2.java:144: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:147: error: cannot find symbol Ssfc32_7 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:149: error: cannot find symbol TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0); ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:149: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0); ^ Mercury/javas/jmercury/random_2.java:150: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0); ^ symbol: variable random__sfc32 location: class random_2 Mercury/javas/jmercury/random_2.java:150: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0); ^ Mercury/javas/jmercury/random_2.java:152: error: cannot find symbol Rsfc32_8 = random.make_shared_random_2_f_0(TypeCtorInfo_28_28, TypeCtorInfo_29_29, ((java.lang.Object) (0)), ((java.lang.Object) (Ssfc32_7))); ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:161: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:164: error: cannot find symbol Ssfc64_11 = random__sfc64.init_2_p_0(); ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:166: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0); ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:166: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0); ^ Mercury/javas/jmercury/random_2.java:167: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0); ^ symbol: variable random__sfc64 location: class random_2 Mercury/javas/jmercury/random_2.java:167: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0); ^ Mercury/javas/jmercury/random_2.java:169: error: cannot find symbol Rsfc64_12 = random.make_shared_random_2_f_0(TypeCtorInfo_31_31, TypeCtorInfo_32_32, ((java.lang.Object) (0)), ((java.lang.Object) (Ssfc64_11))); ^ symbol: variable random location: class random_2 Mercury/javas/jmercury/random_2.java:204: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_35 = null; ^ Mercury/javas/jmercury/random_2.java:207: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_43 = null; ^ Mercury/javas/jmercury/random_2.java:209: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_46 = null; ^ Mercury/javas/jmercury/random_2.java:214: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_random_33)[0])[8]); ^ Mercury/javas/jmercury/random_2.java:214: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_random_33)[0])[8]); ^ Mercury/javas/jmercury/random_2.java:220: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_random_33))), ((java.lang.Object) (STATE_VARIABLE_R_0_12)))); ^ Mercury/javas/jmercury/random_2.java:228: error: cannot find symbol A_10 = uint64.cast_to_int_1_f_0(Var_18); ^ symbol: variable uint64 location: class random_2 Mercury/javas/jmercury/random_2.java:233: error: cannot find symbol B_11 = uint64.cast_to_int_1_f_0(Var_20); ^ symbol: variable uint64 location: class random_2 Mercury/javas/jmercury/random_2.java:236: error: cannot find symbol Var_36 = string__format.format_cast_int_to_uint_2_p_0(A_10); ^ symbol: variable string__format location: class random_2 Mercury/javas/jmercury/random_2.java:238: error: package string__parse_util does not exist Var_43 = (string__parse_util.String_format_flags_0) random_2.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/random_2.java:240: error: package string__parse_util does not exist Var_35 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_2.java:242: error: cannot find symbol Var_37 = string__format.format_uint_component_width_noprec_5_p_0(Var_43, Var_44, Var_35, Var_36); ^ symbol: variable string__format location: class random_2 Mercury/javas/jmercury/random_2.java:245: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class random_2 Mercury/javas/jmercury/random_2.java:248: error: cannot find symbol Var_47 = string__format.format_cast_int_to_uint_2_p_0(B_11); ^ symbol: variable string__format location: class random_2 Mercury/javas/jmercury/random_2.java:251: error: package string__parse_util does not exist Var_46 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_2.java:253: error: cannot find symbol Var_48 = string__format.format_uint_component_width_noprec_5_p_0(Var_43, Var_55, Var_46, Var_47); ^ symbol: variable string__format location: class random_2 Mercury/javas/jmercury/random_2.java:256: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class random_2 100 errors gmake[3]: *** [/tmp/mmake.DsbCQ3:2411: random_2] Error 1 gmake[3]: Target 'random_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: random_2.log] Error 1 RUNNING TEST hard_coded/random_shuffle_1 in grade java FAILED TEST hard_coded/random_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_3 Making Mercury/int3s/random_3.int3 Making Mercury/ints/random_3.int Making Mercury/javas/jmercury/random_3.java Making Java class files Mercury/javas/jmercury/random_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/random_3.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_3"; ^ Mercury/javas/jmercury/random_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_3 Mercury/javas/jmercury/random_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_3 Mercury/javas/jmercury/random_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/random_3.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/random_3.java:39: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_3 Mercury/javas/jmercury/random_3.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_3 Mercury/javas/jmercury/random_3.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_3.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_3.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_random_1))), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_random_1))), ^ Mercury/javas/jmercury/random_3.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_3 Mercury/javas/jmercury/random_3.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_3.java:49: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__io_random__arity1__io__state__arity0__)), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_3.MR_scalar_common_2[0]))), ^ Mercury/javas/jmercury/random_3.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/random_3.java:56: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_3.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_3.java:61: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_3.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ Mercury/javas/jmercury/random_3.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_3.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_3.java:68: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__io_urandom__arity2__io__state__arity0__)), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_3.MR_scalar_common_2[1]))), ^ Mercury/javas/jmercury/random_3.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/random_3.java:75: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc64.base_typeclass_info_random__urandom__arity2__random__sfc64__params__arity0__random__sfc64__ustate__arity0__)), ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_3.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_3.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_3.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ Mercury/javas/jmercury/random_3.java:82: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_3.java:83: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:83: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc64.random__sfc64__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_3.java:87: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__io_urandom__arity2__io__state__arity0__)), ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_3.MR_scalar_common_2[2]))), ^ Mercury/javas/jmercury/random_3.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/random_3.java:93: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/random_3.java:94: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/random_3.java:95: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/random_3.java:96: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/random_3.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/random_3.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/random_3.java:117: error: package random does not exist random.Io_random_1 Msfc16_4 = null; ^ Mercury/javas/jmercury/random_3.java:118: error: package random__sfc32 does not exist random__sfc32.Ustate_0 Ssfc32_6 = null; ^ Mercury/javas/jmercury/random_3.java:119: error: package random does not exist random.Io_urandom_2 Msfc32_7 = null; ^ Mercury/javas/jmercury/random_3.java:120: error: package random__sfc64 does not exist random__sfc64.Ustate_0 Ssfc64_9 = null; ^ Mercury/javas/jmercury/random_3.java:121: error: package random does not exist random.Io_urandom_2 Msfc64_10 = null; ^ Mercury/javas/jmercury/random_3.java:123: error: package random__sfc16 does not exist random__sfc16.Random_0 Var_15 = null; ^ Mercury/javas/jmercury/random_3.java:131: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:134: error: cannot find symbol Var_15 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_3 Mercury/javas/jmercury/random_3.java:138: error: cannot find symbol Msfc16_4 = random.make_io_random_4_p_0(TypeClassInfo_for_random_28, ((java.lang.Object) (Var_15))); ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:147: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:150: error: cannot find symbol Ssfc32_6 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_3 Mercury/javas/jmercury/random_3.java:154: error: cannot find symbol Msfc32_7 = random.make_io_urandom_5_p_0(TypeClassInfo_for_urandom_30, ((java.lang.Object) (0)), ((java.lang.Object) (Ssfc32_6))); ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:163: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:166: error: cannot find symbol Ssfc64_9 = random__sfc64.init_2_p_0(); ^ symbol: variable random__sfc64 location: class random_3 Mercury/javas/jmercury/random_3.java:170: error: cannot find symbol Msfc64_10 = random.make_io_urandom_5_p_0(TypeClassInfo_for_urandom_32, ((java.lang.Object) (0)), ((java.lang.Object) (Ssfc64_9))); ^ symbol: variable random location: class random_3 Mercury/javas/jmercury/random_3.java:203: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_31 = null; ^ Mercury/javas/jmercury/random_3.java:206: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_39 = null; ^ Mercury/javas/jmercury/random_3.java:208: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_42 = null; ^ Mercury/javas/jmercury/random_3.java:213: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_29)[0])[8]); ^ Mercury/javas/jmercury/random_3.java:213: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_urandom_29)[0])[8]); ^ Mercury/javas/jmercury/random_3.java:219: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_urandom_29))), ((java.lang.Object) (M_6)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/random_3.java:227: error: cannot find symbol A_9 = uint64.cast_to_int_1_f_0(Var_15); ^ symbol: variable uint64 location: class random_3 Mercury/javas/jmercury/random_3.java:232: error: cannot find symbol B_10 = uint64.cast_to_int_1_f_0(Var_17); ^ symbol: variable uint64 location: class random_3 Mercury/javas/jmercury/random_3.java:235: error: cannot find symbol Var_32 = string__format.format_cast_int_to_uint_2_p_0(A_9); ^ symbol: variable string__format location: class random_3 Mercury/javas/jmercury/random_3.java:237: error: package string__parse_util does not exist Var_39 = (string__parse_util.String_format_flags_0) random_3.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/random_3.java:239: error: package string__parse_util does not exist Var_31 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_3.java:241: error: cannot find symbol Var_33 = string__format.format_uint_component_width_noprec_5_p_0(Var_39, Var_40, Var_31, Var_32); ^ symbol: variable string__format location: class random_3 Mercury/javas/jmercury/random_3.java:244: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:247: error: cannot find symbol Var_43 = string__format.format_cast_int_to_uint_2_p_0(B_10); ^ symbol: variable string__format location: class random_3 Mercury/javas/jmercury/random_3.java:250: error: package string__parse_util does not exist Var_42 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/random_3.java:252: error: cannot find symbol Var_44 = string__format.format_uint_component_width_noprec_5_p_0(Var_39, Var_51, Var_42, Var_43); ^ symbol: variable string__format location: class random_3 Mercury/javas/jmercury/random_3.java:255: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class random_3 Mercury/javas/jmercury/random_3.java:259: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class random_3 98 errors gmake[3]: *** [/tmp/mmake.5Y22SW:2411: random_3] Error 1 gmake[3]: Target 'random_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: random_3.log] Error 1 RUNNING TEST hard_coded/random_shuffle_2 in grade java FAILED TEST hard_coded/random_shuffle_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_shuffle_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_shuffle_1 Making Mercury/int3s/random_shuffle_1.int3 Making Mercury/ints/random_shuffle_1.int Making Mercury/javas/jmercury/random_shuffle_1.java Making Java class files Mercury/javas/jmercury/random_shuffle_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_shuffle_1.java:101: error: package list does not exist list.List_1 List_7, ^ Mercury/javas/jmercury/random_shuffle_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_shuffle_1"; ^ Mercury/javas/jmercury/random_shuffle_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_shuffle_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_shuffle_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_shuffle_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_shuffle_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/random_shuffle_1.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc32.base_typeclass_info_random__urandom__arity2__random__sfc32__params__arity0__random__sfc32__ustate__arity0__)), ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_shuffle_1.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_shuffle_1.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle_1.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ symbol: variable random location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random.random__type_ctor_info_io_urandom_2))), ^ Mercury/javas/jmercury/random_shuffle_1.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_params_0))), ^ Mercury/javas/jmercury/random_shuffle_1.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc32.random__sfc32__type_ctor_info_ustate_0))) ^ Mercury/javas/jmercury/random_shuffle_1.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random.base_typeclass_info_random__urandom__arity2__random__io_urandom__arity2__io__state__arity0__)), ^ symbol: variable random location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle_1.MR_scalar_common_2[0]))), ^ Mercury/javas/jmercury/random_shuffle_1.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/random_shuffle_1.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle_1.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/random_shuffle_1.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/random_shuffle_1.java:73: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:74: error: package random__sfc32 does not exist random__sfc32.Ustate_0 S_6 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:75: error: package random does not exist random.Io_urandom_2 M_7 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:81: error: cannot find symbol List_4 = list.f_46_46_2_f_0(Var_10, Var_11); ^ symbol: variable list location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:84: error: cannot find symbol S_6 = random__sfc32.init_2_p_0(); ^ symbol: variable random__sfc32 location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:88: error: cannot find symbol M_7 = random.make_io_urandom_5_p_0(TypeClassInfo_for_urandom_14, ((java.lang.Object) (0)), ((java.lang.Object) (S_6))); ^ symbol: variable random location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle_1.java:113: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle_1.java:114: error: package list does not exist list.List_1 Shuffled_10 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:115: error: package list does not exist list.List_1 Sorted_11 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_25_25 = null; ^ Mercury/javas/jmercury/random_shuffle_1.java:123: error: cannot find symbol java.lang.Object [] result = random.shuffle_list_5_p_0(TypeCtorInfo_24_24, TypeClassInfo_for_urandom_23, M_6, List_7, ((java.lang.Object) (0))); ^ symbol: variable random location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:124: error: package list does not exist Shuffled_10 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/random_shuffle_1.java:128: error: cannot find symbol Sorted_11 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_24_24, Shuffled_10); ^ symbol: variable list location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:130: error: package jmercury.runtime does not exist TypeInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle_1.MR_scalar_common_2[1]); ^ Mercury/javas/jmercury/random_shuffle_1.java:132: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_25_25, ((java.lang.Object) (Sorted_11)), ((java.lang.Object) (List_7))); ^ symbol: variable builtin location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:139: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class random_shuffle_1 Mercury/javas/jmercury/random_shuffle_1.java:147: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class random_shuffle_1 54 errors gmake[3]: *** [/tmp/mmake.mPQRxs:2411: random_shuffle_1] Error 1 gmake[3]: Target 'random_shuffle_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: random_shuffle_1.log] Error 1 RUNNING TEST hard_coded/rational_test in grade java FAILED TEST hard_coded/random_shuffle_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_shuffle_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - random_shuffle_2 Making Mercury/int3s/random_shuffle_2.int3 Making Mercury/ints/random_shuffle_2.int Making Mercury/javas/jmercury/random_shuffle_2.java Making Java class files Mercury/javas/jmercury/random_shuffle_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/random_shuffle_2.java:81: error: package list does not exist list.List_1 List_7, ^ Mercury/javas/jmercury/random_shuffle_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "random_shuffle_2"; ^ Mercury/javas/jmercury/random_shuffle_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/random_shuffle_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/random_shuffle_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/random_shuffle_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/random_shuffle_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/random_shuffle_2.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/random_shuffle_2.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/random_shuffle_2.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/random_shuffle_2.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/random_shuffle_2.java:58: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/random_shuffle_2.java:59: error: package random__sfc16 does not exist random__sfc16.Random_0 R_5 = null; ^ Mercury/javas/jmercury/random_shuffle_2.java:66: error: cannot find symbol List_4 = list.f_46_46_2_f_0(Var_9, Var_10); ^ symbol: variable list location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:69: error: cannot find symbol R_5 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle_2.java:95: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/random_shuffle_2.java:96: error: package list does not exist list.List_1 Shuffled_11 = null; ^ Mercury/javas/jmercury/random_shuffle_2.java:97: error: package list does not exist list.List_1 Sorted_12 = null; ^ Mercury/javas/jmercury/random_shuffle_2.java:101: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/random_shuffle_2.java:106: error: cannot find symbol java.lang.Object [] result = random.shuffle_list_4_p_0(TypeCtorInfo_28_28, TypeClassInfo_for_random_27, List_7, STATE_VARIABLE_R_0_13); ^ symbol: variable random location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:107: error: package list does not exist Shuffled_11 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/random_shuffle_2.java:111: error: cannot find symbol Sorted_12 = list.sort_and_remove_dups_2_p_0(TypeCtorInfo_28_28, Shuffled_11); ^ symbol: variable list location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:113: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(random_shuffle_2.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/random_shuffle_2.java:115: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_29_29, ((java.lang.Object) (Sorted_12)), ((java.lang.Object) (List_7))); ^ symbol: variable builtin location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:122: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class random_shuffle_2 Mercury/javas/jmercury/random_shuffle_2.java:130: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class random_shuffle_2 39 errors gmake[3]: *** [/tmp/mmake.gM4loj:2411: random_shuffle_2] Error 1 gmake[3]: Target 'random_shuffle_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: random_shuffle_2.log] Error 1 RUNNING TEST hard_coded/rbtree_count in grade java FAILED TEST hard_coded/rational_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rational_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rational_test Making Mercury/int3s/rational_test.int3 Making Mercury/ints/rational_test.int Making Mercury/javas/jmercury/rational_test.java Making Java class files Mercury/javas/jmercury/rational_test.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/rational_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rational_test.java:128: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/rational_test.java:126: error: package rational does not exist private static rational.Rational_0 ^ Mercury/javas/jmercury/rational_test.java:161: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rational_test.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/rational_test.java:212: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rational_test.java:247: error: package rational does not exist rational.Rational_0 Rat_3) ^ Mercury/javas/jmercury/rational_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rational_test"; ^ Mercury/javas/jmercury/rational_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rational_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rational_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rational_test Mercury/javas/jmercury/rational_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rational_test Mercury/javas/jmercury/rational_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rational_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rational_test.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/rational_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rational_test.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rational_test.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:41: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/rational_test.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:46: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rational_test.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:51: error: package list does not exist (list.List_1) rational_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/rational_test.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:64: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rational_test Mercury/javas/jmercury/rational_test.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_30 = null; ^ Mercury/javas/jmercury/rational_test.java:67: error: package rational does not exist rational.Rational_0 Var_8 = null; ^ Mercury/javas/jmercury/rational_test.java:68: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:71: error: package rational does not exist rational.Rational_0 Var_14 = null; ^ Mercury/javas/jmercury/rational_test.java:72: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/rational_test.java:74: error: package list does not exist list.List_1 Rest_17 = null; ^ Mercury/javas/jmercury/rational_test.java:77: error: package list does not exist list.List_1 Rest_21 = null; ^ Mercury/javas/jmercury/rational_test.java:78: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/rational_test.java:85: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:97: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:100: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:103: error: package list does not exist Var_22 = (list.List_1) rational_test.MR_scalar_common_2[2]; ^ Mercury/javas/jmercury/rational_test.java:104: error: cannot find symbol TypeCtorInfo_14_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rational_test Mercury/javas/jmercury/rational_test.java:104: error: package jmercury.runtime does not exist TypeCtorInfo_14_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rational_test.java:110: error: cannot find symbol Var_15 = list.append_3_p_1(TypeCtorInfo_14_30, Var_22, Rest_21); ^ symbol: variable list location: class rational_test Mercury/javas/jmercury/rational_test.java:119: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:122: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class rational_test Mercury/javas/jmercury/rational_test.java:130: error: package rational does not exist rational.Rational_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/rational_test.java:134: error: cannot find symbol HeadVar__2_2 = rational.one_0_f_0(); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:138: error: package list.List_1 does not exist int N_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/rational_test.java:138: error: illegal start of type int N_3 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/rational_test.java:139: error: package list does not exist list.List_1 Ns_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/rational_test.java:139: error: package list.List_1 does not exist list.List_1 Ns_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/rational_test.java:140: error: package rational does not exist rational.Rational_0 CF_5 = null; ^ Mercury/javas/jmercury/rational_test.java:141: error: package rational does not exist rational.Rational_0 Var_6 = null; ^ Mercury/javas/jmercury/rational_test.java:143: error: package rational does not exist rational.Rational_0 Var_8 = null; ^ Mercury/javas/jmercury/rational_test.java:146: error: cannot find symbol Var_6 = rational.rational_2_f_0(N_3, Var_7); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:152: error: cannot find symbol Var_8 = rational.reciprocal_1_f_0(CF_5); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:155: error: cannot find symbol HeadVar__2_2 = rational.f_plus_2_f_0(Var_6, Var_8); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:167: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/rational_test.java:172: error: package list does not exist List_6 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:175: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:177: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/rational_test.java:178: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/rational_test.java:191: error: package list.List_1 does not exist Var_11 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:197: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:203: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:219: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/rational_test.java:224: error: package list does not exist HeadVar__3_3 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:227: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/rational_test.java:236: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:250: error: package integer does not exist integer.Integer_0 Num_5 = null; ^ Mercury/javas/jmercury/rational_test.java:251: error: package integer does not exist integer.Integer_0 Den_6 = null; ^ Mercury/javas/jmercury/rational_test.java:254: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/rational_test.java:255: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/rational_test.java:257: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/rational_test.java:258: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/rational_test.java:261: error: cannot find symbol Num_5 = rational.numer_1_f_0(Rat_3); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:264: error: cannot find symbol Den_6 = rational.denom_1_f_0(Rat_3); ^ symbol: variable rational location: class rational_test Mercury/javas/jmercury/rational_test.java:267: error: cannot find symbol NS_7 = integer.to_string_1_f_0(Num_5); ^ symbol: variable integer location: class rational_test Mercury/javas/jmercury/rational_test.java:270: error: cannot find symbol ND_8 = integer.to_string_1_f_0(Den_6); ^ symbol: variable integer location: class rational_test Mercury/javas/jmercury/rational_test.java:273: error: package list does not exist Var_13 = (list.List_1) rational_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/rational_test.java:275: error: package list.List_1 does not exist Var_12 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:281: error: package list.List_1 does not exist Var_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:287: error: package list.List_1 does not exist Var_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rational_test.java:293: error: cannot find symbol S_4 = string.append_list_2_p_0(Var_9); ^ symbol: variable string location: class rational_test 87 errors gmake[3]: *** [/tmp/mmake.OcRp6Z:2411: rational_test] Error 1 gmake[3]: Target 'rational_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rational_test.log] Error 1 RUNNING TEST hard_coded/read_binary_int16 in grade java FAILED TEST hard_coded/rbtree_count in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rbtree_count.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/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.O30NUJ: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-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rbtree_count.log] Error 1 RUNNING TEST hard_coded/read_binary_int32 in grade java FAILED TEST hard_coded/read_binary_int16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int16 Making Mercury/int3s/read_binary_int16.int3 Making Mercury/ints/read_binary_int16.int Making Mercury/javas/jmercury/read_binary_int16.java Making Java class files Mercury/javas/jmercury/read_binary_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int16__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int16__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int16.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int16__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int16__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int16.java:137: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_binary_int16.java:138: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/read_binary_int16.java:907: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_int16.java:908: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_int16.java:347: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_int16.java:660: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int16.java:701: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_int16.java:702: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_int16.java:699: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int16.java:755: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_int16.java:756: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_int16.java:784: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_int16.java:844: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_int16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_int16"; ^ Mercury/javas/jmercury/read_binary_int16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_int16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_int16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_int16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int16__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int16__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int16__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int16.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int16__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int16__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int16.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int16.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_int16.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int16.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int16.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_int16.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_int16.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int16.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int16.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_int16.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int16.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int16.java:137: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_binary_int16.java:138: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/read_binary_int16.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_int16.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_int16.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_int16.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/read_binary_int16.java:154: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:154: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/read_binary_int16.java:161: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:161: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ Mercury/javas/jmercury/read_binary_int16.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/read_binary_int16.java:163: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:163: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/read_binary_int16.java:164: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:164: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/read_binary_int16.java:188: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_int16.java:190: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:192: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/read_binary_int16.java:195: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:197: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/read_binary_int16.java:200: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:201: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int16.MR_scalar_common_5[1])), ^ Mercury/javas/jmercury/read_binary_int16.java:202: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/read_binary_int16.java:205: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:207: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/read_binary_int16.java:210: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:211: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int16.MR_scalar_common_5[3])), ^ Mercury/javas/jmercury/read_binary_int16.java:212: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/read_binary_int16.java:215: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:216: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int16.MR_scalar_common_5[0])), ^ Mercury/javas/jmercury/read_binary_int16.java:217: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/read_binary_int16.java:220: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int16.java:221: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int16.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/read_binary_int16.java:222: error: package list does not exist (list.List_1) read_binary_int16.MR_scalar_common_5[5] ^ Mercury/javas/jmercury/read_binary_int16.java:236: error: cannot find symbol switch (ByteOrder_4.MR_value) { ^ symbol: variable MR_value location: variable ByteOrder_4 of type Byte_order_0 Mercury/javas/jmercury/read_binary_int16.java:236: error: illegal start of type switch (ByteOrder_4.MR_value) { ^ Mercury/javas/jmercury/read_binary_int16.java:242: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:251: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class read_binary_int16 Mercury/javas/jmercury/read_binary_int16.java:260: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class read_binary_int16 100 errors gmake[3]: *** [/tmp/mmake.WASgfn:2411: read_binary_int16] Error 1 gmake[3]: Target 'read_binary_int16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_int16.log] Error 1 RUNNING TEST hard_coded/read_binary_int64 in grade java FAILED TEST hard_coded/read_binary_int32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int32 Making Mercury/int3s/read_binary_int32.int3 Making Mercury/ints/read_binary_int32.int Making Mercury/javas/jmercury/read_binary_int32.java Making Java class files Mercury/javas/jmercury/read_binary_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int32__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int32__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int32.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int32__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int32__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int32.java:135: 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/read_binary_int32.java:136: 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[22]; ^ Mercury/javas/jmercury/read_binary_int32.java:1008: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_int32.java:1009: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_int32.java:426: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_int32.java:753: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/read_binary_int32.java:761: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int32.java:802: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_int32.java:803: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_int32.java:800: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int32.java:856: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_int32.java:857: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_int32.java:885: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_int32.java:945: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_int32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_int32"; ^ Mercury/javas/jmercury/read_binary_int32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_int32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_int32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_int32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int32__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int32__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int32__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int32.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int32__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int32__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int32.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int32.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_int32.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int32.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int32.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_int32.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_int32.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int32.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int32.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_int32.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int32.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int32.java:135: 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/read_binary_int32.java:136: 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[22]; ^ Mercury/javas/jmercury/read_binary_int32.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_int32.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_int32.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_int32 Mercury/javas/jmercury/read_binary_int32.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_int32.java:147: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_int32.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:151: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int32.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:156: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/read_binary_int32.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:161: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_int32.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:166: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/read_binary_int32.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:170: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int32.MR_scalar_common_3[3])), ^ Mercury/javas/jmercury/read_binary_int32.java:171: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int32.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:176: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_int32.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:181: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_int32.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:185: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int32.MR_scalar_common_3[6])), ^ Mercury/javas/jmercury/read_binary_int32.java:186: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/read_binary_int32.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:191: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int32.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:196: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/read_binary_int32.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:201: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/read_binary_int32.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:206: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/read_binary_int32.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:210: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int32.MR_scalar_common_3[11])), ^ Mercury/javas/jmercury/read_binary_int32.java:211: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/read_binary_int32.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:216: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int32.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int32.java:221: error: package list does not exist (list.List_1) read_binary_int32.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/read_binary_int32.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.EvgKua:2411: read_binary_int32] Error 1 gmake[3]: Target 'read_binary_int32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_int32.log] Error 1 RUNNING TEST hard_coded/read_binary_uint16 in grade java FAILED TEST hard_coded/read_binary_int64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_int64 Making Mercury/int3s/read_binary_int64.int3 Making Mercury/ints/read_binary_int64.int Making Mercury/javas/jmercury/read_binary_int64.java Making Java class files Mercury/javas/jmercury/read_binary_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int64__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int64__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int64.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int64__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int64__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int64.java:135: 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/read_binary_int64.java:136: 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[63]; ^ Mercury/javas/jmercury/read_binary_int64.java:1250: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_int64.java:1251: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_int64.java:636: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_int64.java:995: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/read_binary_int64.java:1003: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int64.java:1044: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_int64.java:1045: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_int64.java:1042: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_int64.java:1098: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_int64.java:1099: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_int64.java:1127: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_int64.java:1187: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_int64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_int64"; ^ Mercury/javas/jmercury/read_binary_int64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_int64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_int64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_int64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_int64__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_int64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int64__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_int64__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_int64.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int64__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_int64__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_int64.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int64.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_int64.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int64.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int64.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_int64.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_int64.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_int64.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_int64.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_int64.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_int64.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_int64.java:135: 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/read_binary_int64.java:136: 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[63]; ^ Mercury/javas/jmercury/read_binary_int64.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_int64.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_int64.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_int64 Mercury/javas/jmercury/read_binary_int64.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_int64.java:147: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_int64.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:151: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int64.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:156: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/read_binary_int64.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:161: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_int64.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:166: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/read_binary_int64.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:171: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/read_binary_int64.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:176: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/read_binary_int64.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:181: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_int64.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:186: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/read_binary_int64.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:190: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int64.MR_scalar_common_3[7])), ^ Mercury/javas/jmercury/read_binary_int64.java:191: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int64.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:196: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_int64.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:201: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/read_binary_int64.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:205: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_int64.MR_scalar_common_3[10])), ^ Mercury/javas/jmercury/read_binary_int64.java:206: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/read_binary_int64.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:211: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_int64.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:216: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/read_binary_int64.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:221: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/read_binary_int64.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_int64.java:226: error: package list does not exist (list.List_1) read_binary_int64.MR_scalar_common_3[14] ^ 100 errors gmake[3]: *** [/tmp/mmake.JP5G5F:2411: read_binary_int64] Error 1 gmake[3]: Target 'read_binary_int64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_int64.log] Error 1 RUNNING TEST hard_coded/read_binary_uint32 in grade java FAILED TEST hard_coded/read_binary_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint16 Making Mercury/int3s/read_binary_uint16.int3 Making Mercury/ints/read_binary_uint16.int Making Mercury/javas/jmercury/read_binary_uint16.java Making Java class files Mercury/javas/jmercury/read_binary_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint16__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint16__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint16.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint16__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint16__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint16.java:137: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_binary_uint16.java:138: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/read_binary_uint16.java:907: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_uint16.java:908: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_uint16.java:347: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_uint16.java:660: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint16.java:701: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_uint16.java:702: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_uint16.java:699: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint16.java:755: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_uint16.java:756: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_uint16.java:784: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_uint16.java:844: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_uint16"; ^ Mercury/javas/jmercury/read_binary_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint16__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint16.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint16__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint16.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint16__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint16.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint16__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint16__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint16.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint16.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_uint16.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint16.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint16.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_uint16.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_uint16.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint16.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint16.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_uint16.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint16.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint16.java:137: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_binary_uint16.java:138: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/read_binary_uint16.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_uint16.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_uint16.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_uint16.java:153: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:153: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/read_binary_uint16.java:154: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:154: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/read_binary_uint16.java:161: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:161: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ Mercury/javas/jmercury/read_binary_uint16.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/read_binary_uint16.java:163: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:163: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/read_binary_uint16.java:164: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:164: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/read_binary_uint16.java:188: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_uint16.java:190: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:192: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/read_binary_uint16.java:195: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:197: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/read_binary_uint16.java:200: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:201: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint16.MR_scalar_common_5[1])), ^ Mercury/javas/jmercury/read_binary_uint16.java:202: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/read_binary_uint16.java:205: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:207: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/read_binary_uint16.java:210: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:211: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint16.MR_scalar_common_5[3])), ^ Mercury/javas/jmercury/read_binary_uint16.java:212: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/read_binary_uint16.java:215: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:216: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint16.MR_scalar_common_5[0])), ^ Mercury/javas/jmercury/read_binary_uint16.java:217: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/read_binary_uint16.java:220: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint16.java:221: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint16.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/read_binary_uint16.java:222: error: package list does not exist (list.List_1) read_binary_uint16.MR_scalar_common_5[5] ^ Mercury/javas/jmercury/read_binary_uint16.java:236: error: cannot find symbol switch (ByteOrder_4.MR_value) { ^ symbol: variable MR_value location: variable ByteOrder_4 of type Byte_order_0 Mercury/javas/jmercury/read_binary_uint16.java:236: error: illegal start of type switch (ByteOrder_4.MR_value) { ^ Mercury/javas/jmercury/read_binary_uint16.java:242: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:251: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class read_binary_uint16 Mercury/javas/jmercury/read_binary_uint16.java:260: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class read_binary_uint16 100 errors gmake[3]: *** [/tmp/mmake.CZig52:2411: read_binary_uint16] Error 1 gmake[3]: Target 'read_binary_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_uint16.log] Error 1 RUNNING TEST hard_coded/read_binary_uint64 in grade java FAILED TEST hard_coded/read_binary_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint32 Making Mercury/int3s/read_binary_uint32.int3 Making Mercury/ints/read_binary_uint32.int Making Mercury/javas/jmercury/read_binary_uint32.java Making Java class files Mercury/javas/jmercury/read_binary_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint32__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint32__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint32.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint32__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint32__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint32.java:135: 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/read_binary_uint32.java:136: 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[22]; ^ Mercury/javas/jmercury/read_binary_uint32.java:1008: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_uint32.java:1009: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_uint32.java:426: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_uint32.java:753: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/read_binary_uint32.java:761: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint32.java:802: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_uint32.java:803: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_uint32.java:800: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint32.java:856: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_uint32.java:857: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_uint32.java:885: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_uint32.java:945: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_uint32"; ^ Mercury/javas/jmercury/read_binary_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint32__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint32.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint32__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint32.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint32__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint32.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint32__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint32__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint32.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint32.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_uint32.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint32.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint32.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_uint32.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_uint32.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint32.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint32.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_uint32.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint32.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint32.java:135: 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/read_binary_uint32.java:136: 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[22]; ^ Mercury/javas/jmercury/read_binary_uint32.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_uint32.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_uint32.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_uint32 Mercury/javas/jmercury/read_binary_uint32.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_uint32.java:147: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_uint32.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:151: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint32.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:156: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/read_binary_uint32.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:161: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_uint32.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:166: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/read_binary_uint32.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:170: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint32.MR_scalar_common_3[3])), ^ Mercury/javas/jmercury/read_binary_uint32.java:171: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint32.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:176: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_uint32.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:181: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_uint32.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:185: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint32.MR_scalar_common_3[6])), ^ Mercury/javas/jmercury/read_binary_uint32.java:186: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/read_binary_uint32.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:191: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint32.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:196: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/read_binary_uint32.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:201: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/read_binary_uint32.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:206: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/read_binary_uint32.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:210: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint32.MR_scalar_common_3[11])), ^ Mercury/javas/jmercury/read_binary_uint32.java:211: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/read_binary_uint32.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:216: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint32.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint32.java:221: error: package list does not exist (list.List_1) read_binary_uint32.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/read_binary_uint32.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.7oKBuQ:2411: read_binary_uint32] Error 1 gmake[3]: Target 'read_binary_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_uint32.log] Error 1 RUNNING TEST hard_coded/read_bitmap_size in grade java FAILED TEST hard_coded/read_bitmap_size in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_bitmap_size.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_bitmap_size Making Mercury/int3s/read_bitmap_size.int3 Making Mercury/ints/read_bitmap_size.int Making Mercury/javas/jmercury/read_bitmap_size.java Making Java class files Mercury/javas/jmercury/read_bitmap_size.java:32: 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/read_bitmap_size.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_bitmap_size.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/read_bitmap_size.java:304: error: package io does not exist io.Binary_input_stream_0 File_5, ^ Mercury/javas/jmercury/read_bitmap_size.java:369: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_bitmap_size.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_bitmap_size"; ^ Mercury/javas/jmercury/read_bitmap_size.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_bitmap_size.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_bitmap_size.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_bitmap_size.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_bitmap_size.java:32: 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/read_bitmap_size.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/read_bitmap_size.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/read_bitmap_size.java:39: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/read_bitmap_size.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/read_bitmap_size.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/read_bitmap_size.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/read_bitmap_size.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/read_bitmap_size.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/read_bitmap_size.java:51: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:51: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_binary_output_stream_0)), ^ Mercury/javas/jmercury/read_bitmap_size.java:52: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:52: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/read_bitmap_size.java:53: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:53: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/read_bitmap_size.java:54: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:54: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/read_bitmap_size.java:57: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_bitmap_size.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:61: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/read_bitmap_size.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:66: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/read_bitmap_size.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:71: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/read_bitmap_size.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:76: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/read_bitmap_size.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:81: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/read_bitmap_size.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:86: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/read_bitmap_size.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:91: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/read_bitmap_size.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:96: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/read_bitmap_size.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_bitmap_size.java:101: error: package list does not exist (list.List_1) read_bitmap_size.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/read_bitmap_size.java:115: error: package io does not exist io.Res_1 OpenResult_6 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_42 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:123: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:125: error: package string__parse_util does not exist Var_42 = (string__parse_util.String_format_flags_0) read_bitmap_size.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/read_bitmap_size.java:127: error: cannot find symbol Var_36 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, N_4); ^ symbol: variable string__format location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:130: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:134: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:138: error: cannot find symbol OpenResult_6 = io.open_binary_input_4_p_0(Var_20); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:143: error: package io does not exist io.Error_0 IOError_28 = ((io.Res_1.Error_1) OpenResult_6).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:143: error: package io.Res_1 does not exist io.Error_0 IOError_28 = ((io.Res_1.Error_1) OpenResult_6).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:147: error: cannot find symbol Msg_29 = io.error_message_2_p_0(IOError_28); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:149: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:149: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/read_bitmap_size.java:151: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (Msg_29))); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:156: error: package io does not exist io.Binary_input_stream_0 File_7 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_6).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:156: error: package io does not exist io.Binary_input_stream_0 File_7 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_6).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:156: error: package io.Res_1 does not exist io.Binary_input_stream_0 File_7 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_6).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:157: error: package io does not exist io.Res_1 ReadRes_8 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:163: error: cannot find symbol ReadRes_8 = io.read_binary_file_as_bitmap_4_p_0(File_7); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:168: error: package io does not exist io.Error_0 IOError_11 = ((io.Res_1.Error_1) ReadRes_8).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:168: error: package io.Res_1 does not exist io.Error_0 IOError_11 = ((io.Res_1.Error_1) ReadRes_8).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:172: error: cannot find symbol Msg_12 = io.error_message_2_p_0(IOError_11); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:174: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:174: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/read_bitmap_size.java:176: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Msg_12))); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:182: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bitmap_9 = ((jmercury.runtime.MercuryBitmap) ((io.Res_1.Ok_1) ReadRes_8).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:182: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bitmap_9 = ((jmercury.runtime.MercuryBitmap) ((io.Res_1.Ok_1) ReadRes_8).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:182: error: package io.Res_1 does not exist jmercury.runtime.MercuryBitmap Bitmap_9 = ((jmercury.runtime.MercuryBitmap) ((io.Res_1.Ok_1) ReadRes_8).F1); ^ Mercury/javas/jmercury/read_bitmap_size.java:186: error: cannot find symbol ByteString_10 = bitmap.to_byte_string_1_f_0(Bitmap_9); ^ symbol: variable bitmap location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:188: error: cannot find symbol TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:188: error: package jmercury.runtime does not exist TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/read_bitmap_size.java:190: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (ByteString_10))); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:193: error: cannot find symbol io.close_binary_input_3_p_0(File_7); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:202: error: package io does not exist io.Res_1 OpenResult_4 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:205: error: package io does not exist io.Res_0 Var_8 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:208: error: cannot find symbol OpenResult_4 = io.open_binary_output_4_p_0(Var_11); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:213: error: package io does not exist io.Error_0 IOError_6 = ((io.Res_1.Error_1) OpenResult_4).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:213: error: package io.Res_1 does not exist io.Error_0 IOError_6 = ((io.Res_1.Error_1) OpenResult_4).F1; ^ Mercury/javas/jmercury/read_bitmap_size.java:217: error: cannot find symbol Msg_7 = io.error_message_2_p_0(IOError_6); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:219: error: cannot find symbol TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:219: error: package jmercury.runtime does not exist TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/read_bitmap_size.java:221: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_54_54, ((java.lang.Object) (Msg_7))); ^ symbol: variable io location: class read_bitmap_size Mercury/javas/jmercury/read_bitmap_size.java:226: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = null; ^ Mercury/javas/jmercury/read_bitmap_size.java:227: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.SXxGMl:2411: read_bitmap_size] Error 1 gmake[3]: Target 'read_bitmap_size.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_bitmap_size.log] Error 1 RUNNING TEST hard_coded/read_min_int in grade java FAILED TEST hard_coded/read_binary_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_binary_uint64 Making Mercury/int3s/read_binary_uint64.int3 Making Mercury/ints/read_binary_uint64.int Making Mercury/javas/jmercury/read_binary_uint64.java Making Java class files Mercury/javas/jmercury/read_binary_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint64__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint64__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint64.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint64__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint64__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint64.java:135: 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/read_binary_uint64.java:136: 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[63]; ^ Mercury/javas/jmercury/read_binary_uint64.java:1250: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/read_binary_uint64.java:1251: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_binary_uint64.java:636: error: package list does not exist list.List_1 TestBytes_6) ^ Mercury/javas/jmercury/read_binary_uint64.java:995: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/read_binary_uint64.java:1003: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint64.java:1044: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/read_binary_uint64.java:1045: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/read_binary_uint64.java:1042: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_binary_uint64.java:1098: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/read_binary_uint64.java:1099: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/read_binary_uint64.java:1127: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_binary_uint64.java:1187: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/read_binary_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_binary_uint64"; ^ Mercury/javas/jmercury/read_binary_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_binary_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_binary_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_binary_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_binary_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc read_binary_uint64__enum_functor_desc_byte_order_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/read_binary_uint64.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint64__enum_ordinal_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint64.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] read_binary_uint64__enum_name_ordered_byte_order_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/read_binary_uint64.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint64__type_ctor_info_byte_order_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_binary_uint64__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_binary_uint64.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint64.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/read_binary_uint64.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint64.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint64.java:102: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:104: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ symbol: variable builtin location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0) ^ Mercury/javas/jmercury/read_binary_uint64.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/read_binary_uint64.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_binary_uint64.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_binary_uint64.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) read_binary_uint64.list__ti_list_1builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/read_binary_uint64.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/read_binary_uint64.java:135: 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/read_binary_uint64.java:136: 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[63]; ^ Mercury/javas/jmercury/read_binary_uint64.java:142: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/read_binary_uint64.java:143: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:143: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/read_binary_uint64.java:144: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class read_binary_uint64 Mercury/javas/jmercury/read_binary_uint64.java:144: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/read_binary_uint64.java:147: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/read_binary_uint64.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:151: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint64.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:156: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/read_binary_uint64.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:161: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/read_binary_uint64.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:166: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/read_binary_uint64.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:171: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/read_binary_uint64.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:176: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/read_binary_uint64.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:181: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_uint64.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:186: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/read_binary_uint64.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:190: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint64.MR_scalar_common_3[7])), ^ Mercury/javas/jmercury/read_binary_uint64.java:191: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint64.java:194: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:196: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/read_binary_uint64.java:199: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:201: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/read_binary_uint64.java:204: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:205: error: package list does not exist ((java.lang.Object) ((list.List_1) read_binary_uint64.MR_scalar_common_3[10])), ^ Mercury/javas/jmercury/read_binary_uint64.java:206: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/read_binary_uint64.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:211: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/read_binary_uint64.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:216: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/read_binary_uint64.java:219: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:221: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/read_binary_uint64.java:224: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/read_binary_uint64.java:226: error: package list does not exist (list.List_1) read_binary_uint64.MR_scalar_common_3[14] ^ 100 errors gmake[3]: *** [/tmp/mmake.qzTbcf:2411: read_binary_uint64] Error 1 gmake[3]: Target 'read_binary_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_binary_uint64.log] Error 1 RUNNING TEST hard_coded/recursive_main in grade java FAILED TEST hard_coded/recursive_main in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - recursive_main.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - recursive_main Making Mercury/int3s/recursive_main.int3 Making Mercury/ints/recursive_main.int Making Mercury/javas/jmercury/recursive_main.java Making Java class files Mercury/javas/jmercury/recursive_main.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "recursive_main"; ^ Mercury/javas/jmercury/recursive_main.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/recursive_main.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/recursive_main.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class recursive_main Mercury/javas/jmercury/recursive_main.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class recursive_main Mercury/javas/jmercury/recursive_main.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/recursive_main.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/recursive_main.java:38: error: package io does not exist io.Result_1 Result_4 = null; ^ Mercury/javas/jmercury/recursive_main.java:42: error: cannot find symbol Result_4 = io.read_char_3_p_0(); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:44: error: illegal start of type switch (Result_4.data_tag) { ^ Mercury/javas/jmercury/recursive_main.java:47: error: package io.Result_1 does not exist int Char_5 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_4).F1)).intValue(); ^ Mercury/javas/jmercury/recursive_main.java:47: error: illegal start of type int Char_5 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_4).F1)).intValue(); ^ Mercury/javas/jmercury/recursive_main.java:50: error: cannot find symbol io.write_char_3_p_0(Char_5); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:61: error: package io does not exist io.Error_0 Error_6 = ((io.Result_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/recursive_main.java:61: error: package io.Result_1 does not exist io.Error_0 Error_6 = ((io.Result_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/recursive_main.java:65: error: cannot find symbol Var_12 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:68: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class recursive_main Mercury/javas/jmercury/recursive_main.java:73: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 22 errors gmake[3]: *** [/tmp/mmake.scnfh0:2411: recursive_main] Error 1 gmake[3]: Target 'recursive_main.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: recursive_main.log] Error 1 RUNNING TEST hard_coded/redoip_clobber in grade java FAILED TEST hard_coded/read_min_int in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_min_int.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - read_min_int Making Mercury/int3s/read_min_int.int3 Making Mercury/ints/read_min_int.int Making Mercury/javas/jmercury/read_min_int.java Making Java class files Mercury/javas/jmercury/read_min_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] read_min_int__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/read_min_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc read_min_int__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/read_min_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] read_min_int__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/read_min_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_min_int__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_min_int.java:101: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/read_min_int.java:161: error: package io does not exist io.Text_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/read_min_int.java:430: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/read_min_int.java:303: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/read_min_int.java:388: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/read_min_int.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "read_min_int"; ^ Mercury/javas/jmercury/read_min_int.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/read_min_int.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/read_min_int.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class read_min_int Mercury/javas/jmercury/read_min_int.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class read_min_int Mercury/javas/jmercury/read_min_int.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/read_min_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/read_min_int.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] read_min_int__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/read_min_int.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc read_min_int__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/read_min_int.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] read_min_int__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/read_min_int.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] read_min_int__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/read_min_int.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct read_min_int__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/read_min_int.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/read_min_int.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/read_min_int.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class read_min_int Mercury/javas/jmercury/read_min_int.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/read_min_int.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/read_min_int.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/read_min_int.java:101: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/read_min_int.java:105: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/read_min_int.java:121: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/read_min_int.java:128: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:132: error: cannot find symbol OpenRes_4 = io.open_input_4_p_0(Var_11); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/read_min_int.java:136: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/read_min_int.java:137: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:137: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:140: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Error_6))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:143: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:148: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:148: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:148: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:154: error: cannot find symbol io.close_input_3_p_0(Stream_5); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:165: error: package io does not exist io.Result_1 IORes_6 = null; ^ Mercury/javas/jmercury/read_min_int.java:169: error: cannot find symbol IORes_6 = io.read_line_as_string_4_p_0(Stream_4); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:171: error: illegal start of type switch (IORes_6.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:174: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/read_min_int.java:175: error: package io.Result_1 does not exist java.lang.String String_7 = ((java.lang.String) ((io.Result_1.Ok_1) IORes_6).F1); ^ Mercury/javas/jmercury/read_min_int.java:177: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) read_min_int.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/read_min_int.java:177: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) read_min_int.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/read_min_int.java:178: error: package io does not exist io.Read_result_1 Res_10 = null; ^ Mercury/javas/jmercury/read_min_int.java:180: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/read_min_int.java:183: error: cannot find symbol Var_22 = string.length_1_f_0(String_7); ^ symbol: variable string location: class read_min_int Mercury/javas/jmercury/read_min_int.java:185: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:187: error: cannot find symbol java.lang.Object [] result = io.read_from_string_6_p_0(TypeCtorInfo_31_31, FileName_8, String_7, Var_22, Posn0_9); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:188: error: package io does not exist Res_10 = (io.Read_result_1) result[0]; ^ Mercury/javas/jmercury/read_min_int.java:189: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/read_min_int.java:191: error: illegal start of type switch (Res_10.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:194: error: package io.Read_result_1 does not exist read_min_int.Foo_0 X_12 = ((read_min_int.Foo_0) ((io.Read_result_1.Ok_1) Res_10).F1); ^ Mercury/javas/jmercury/read_min_int.java:197: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (X_12))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:200: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:210: error: package io.Read_result_1 does not exist java.lang.String Error_13 = ((io.Read_result_1.Error_2) Res_10).F1; ^ Mercury/javas/jmercury/read_min_int.java:213: error: cannot find symbol io.write_string_3_p_0(Error_13); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:216: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:232: error: package io does not exist io.Error_0 IOError_15 = ((io.Result_1.Error_1) IORes_6).F1; ^ Mercury/javas/jmercury/read_min_int.java:232: error: package io.Result_1 does not exist io.Error_0 IOError_15 = ((io.Result_1.Error_1) IORes_6).F1; ^ Mercury/javas/jmercury/read_min_int.java:236: error: cannot find symbol Var_29 = io.error_message_1_f_0(IOError_15); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:239: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:242: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:247: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(read_min_int.read_min_int__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/read_min_int.java:259: error: package io does not exist io.Read_result_1 Res_4 = null; ^ Mercury/javas/jmercury/read_min_int.java:263: error: cannot find symbol Res_4 = io.read_3_p_0(TypeCtorInfo_17_17); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:265: error: illegal start of type switch (Res_4.data_tag) { ^ Mercury/javas/jmercury/read_min_int.java:268: error: package io.Read_result_1 does not exist read_min_int.Foo_0 X_5 = ((read_min_int.Foo_0) ((io.Read_result_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/read_min_int.java:271: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (X_5))); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:274: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:285: error: package io.Read_result_1 does not exist java.lang.String Error_6 = ((io.Read_result_1.Error_2) Res_4).F1; ^ Mercury/javas/jmercury/read_min_int.java:288: error: cannot find symbol io.write_string_3_p_0(Error_6); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:291: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class read_min_int Mercury/javas/jmercury/read_min_int.java:297: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/read_min_int.java:309: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/read_min_int.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/read_min_int.java:323: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/read_min_int.java:328: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/read_min_int.java:330: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/read_min_int.java:342: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/read_min_int.java:417: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 100 errors gmake[3]: *** [/tmp/mmake.qjeceM:2411: read_min_int] Error 1 gmake[3]: Target 'read_min_int.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: read_min_int.log] Error 1 RUNNING TEST hard_coded/remove_file in grade java FAILED TEST hard_coded/redoip_clobber in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - redoip_clobber.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inlining '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - redoip_clobber Making Mercury/int3s/redoip_clobber.int3 Making Mercury/ints/redoip_clobber.int Making Mercury/javas/jmercury/redoip_clobber.java redoip_clobber.m:033: Warning: the determinism declaration for predicate redoip_clobber.m:033: `foo'/1 could be tighter. redoip_clobber.m:033: Declared `nondet', inferred `det'. redoip_clobber.m:035: Warning: this disjunct will never have any solutions. redoip_clobber.m:039: Warning: the determinism declaration for predicate redoip_clobber.m:039: `bar'/1 could be tighter. redoip_clobber.m:039: Declared `nondet', inferred `det'. redoip_clobber.m:046: In the C foreign_proc for predicate `use'/1: redoip_clobber.m:046: warning: variable `X' does not occur in the C code. Making Java class files Mercury/javas/jmercury/redoip_clobber.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "redoip_clobber"; ^ Mercury/javas/jmercury/redoip_clobber.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/redoip_clobber.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/redoip_clobber.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/redoip_clobber.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/redoip_clobber.java:52: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class redoip_clobber Mercury/javas/jmercury/redoip_clobber.java:60: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class redoip_clobber 13 errors gmake[3]: *** [/tmp/mmake.zoD66F:2411: redoip_clobber] Error 1 gmake[3]: Target 'redoip_clobber.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: redoip_clobber.log] Error 1 RUNNING TEST hard_coded/reorder_di in grade java FAILED TEST hard_coded/remove_file in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - remove_file.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - remove_file Making Mercury/int3s/remove_file.int3 Making Mercury/ints/remove_file.int Making Mercury/javas/jmercury/remove_file.java Making Java class files Mercury/javas/jmercury/remove_file.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "remove_file"; ^ Mercury/javas/jmercury/remove_file.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/remove_file.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/remove_file.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class remove_file Mercury/javas/jmercury/remove_file.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class remove_file Mercury/javas/jmercury/remove_file.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/remove_file.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/remove_file.java:36: error: package io does not exist io.Res_1 NameResult_4 = null; ^ Mercury/javas/jmercury/remove_file.java:38: error: package io does not exist io.Res_1 OpenOutputResult_7 = null; ^ Mercury/javas/jmercury/remove_file.java:41: error: cannot find symbol NameResult_4 = io__file.make_temp_file_3_p_0(); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/remove_file.java:45: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:45: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_52 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/remove_file.java:46: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) NameResult_4).F1; ^ Mercury/javas/jmercury/remove_file.java:46: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) NameResult_4).F1; ^ Mercury/javas/jmercury/remove_file.java:49: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_52_52, ((java.lang.Object) (Error_6))); ^ symbol: variable exception location: class remove_file Mercury/javas/jmercury/remove_file.java:53: error: package io.Res_1 does not exist Name_5 = ((java.lang.String) ((io.Res_1.Ok_1) NameResult_4).F1); ^ Mercury/javas/jmercury/remove_file.java:55: error: cannot find symbol OpenOutputResult_7 = io.open_output_4_p_0(Name_5); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:59: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class remove_file Mercury/javas/jmercury/remove_file.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_54_54 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:60: error: package io does not exist io.Error_0 OpenOutputError_18 = ((io.Res_1.Error_1) OpenOutputResult_7).F1; ^ Mercury/javas/jmercury/remove_file.java:60: error: package io.Res_1 does not exist io.Error_0 OpenOutputError_18 = ((io.Res_1.Error_1) OpenOutputResult_7).F1; ^ Mercury/javas/jmercury/remove_file.java:66: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_54_54, ((java.lang.Object) (Var_48))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:69: error: cannot find symbol OpenOutputErrorMsg_19 = io.error_message_2_p_0(OpenOutputError_18); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:72: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_54_54, ((java.lang.Object) (OpenOutputErrorMsg_19))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:76: error: cannot find symbol io.set_exit_status_3_p_0(Var_51); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class remove_file Mercury/javas/jmercury/remove_file.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_53_53 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:82: error: package io.Res_1 does not exist io.Text_output_stream_0 Stream_8 = ((io.Text_output_stream_0) ((io.Res_1.Ok_1) OpenOutputResult_7).F1); ^ Mercury/javas/jmercury/remove_file.java:83: error: package io does not exist io.Res_0 RemoveResult_9 = null; ^ Mercury/javas/jmercury/remove_file.java:84: error: package io does not exist io.Res_0 RemoveAgainResult_15 = null; ^ Mercury/javas/jmercury/remove_file.java:88: error: cannot find symbol io.print_line_4_p_0(TypeCtorInfo_53_53, Stream_8, ((java.lang.Object) (Var_24))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:91: error: cannot find symbol io.close_output_3_p_0(Stream_8); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:94: error: cannot find symbol RemoveResult_9 = io__file.remove_file_4_p_0(Name_5); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:98: error: package io does not exist io.Error_0 RemoveError_13 = ((io.Res_0.Error_1) RemoveResult_9).F1; ^ Mercury/javas/jmercury/remove_file.java:98: error: package io.Res_0 does not exist io.Error_0 RemoveError_13 = ((io.Res_0.Error_1) RemoveResult_9).F1; ^ Mercury/javas/jmercury/remove_file.java:104: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_35))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:107: error: cannot find symbol RemoveErrorMsg_14 = io.error_message_2_p_0(RemoveError_13); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:110: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (RemoveErrorMsg_14))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:114: error: cannot find symbol io.set_exit_status_3_p_0(Var_38); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:119: error: package io does not exist io.Res_1 OpenInputResult_10 = null; ^ Mercury/javas/jmercury/remove_file.java:122: error: cannot find symbol OpenInputResult_10 = io.open_input_4_p_0(Name_5); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:129: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_33))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:138: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_29))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:142: error: cannot find symbol io.set_exit_status_3_p_0(Var_31); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:147: error: cannot find symbol RemoveAgainResult_15 = io__file.remove_file_4_p_0(Name_5); ^ symbol: variable io__file location: class remove_file Mercury/javas/jmercury/remove_file.java:151: error: package io does not exist io.Error_0 RemoveAgainError_16 = ((io.Res_0.Error_1) RemoveAgainResult_15).F1; ^ Mercury/javas/jmercury/remove_file.java:151: error: package io.Res_0 does not exist io.Error_0 RemoveAgainError_16 = ((io.Res_0.Error_1) RemoveAgainResult_15).F1; ^ Mercury/javas/jmercury/remove_file.java:156: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_45))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:159: error: cannot find symbol RemoveAgainErrorMsg_17 = io.error_message_2_p_0(RemoveAgainError_16); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:162: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (RemoveAgainErrorMsg_17))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:171: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_53_53, ((java.lang.Object) (Var_41))); ^ symbol: variable io location: class remove_file Mercury/javas/jmercury/remove_file.java:175: error: cannot find symbol io.set_exit_status_3_p_0(Var_43); ^ symbol: variable io location: class remove_file 61 errors gmake[3]: *** [/tmp/mmake.e6hat5:2411: remove_file] Error 1 gmake[3]: Target 'remove_file.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: remove_file.log] Error 1 RUNNING TEST hard_coded/require_scopes in grade java FAILED TEST hard_coded/reorder_di in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - reorder_di.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - reorder_di Making Mercury/int3s/reorder_di.int3 Making Mercury/ints/reorder_di.int Making Mercury/javas/jmercury/reorder_di.java Making Java class files Mercury/javas/jmercury/reorder_di.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "reorder_di"; ^ Mercury/javas/jmercury/reorder_di.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/reorder_di.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/reorder_di.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class reorder_di Mercury/javas/jmercury/reorder_di.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class reorder_di Mercury/javas/jmercury/reorder_di.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/reorder_di.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/reorder_di.java:41: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:44: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:48: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class reorder_di Mercury/javas/jmercury/reorder_di.java:51: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class reorder_di 15 errors gmake[3]: *** [/tmp/mmake.wUdnYr:2411: reorder_di] Error 1 gmake[3]: Target 'reorder_di.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: reorder_di.log] Error 1 RUNNING TEST hard_coded/rev_arith in grade java FAILED TEST hard_coded/require_scopes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - require_scopes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - require_scopes Making Mercury/int3s/require_scopes.int3 Making Mercury/ints/require_scopes.int Making Mercury/javas/jmercury/require_scopes.java Making Java class files Mercury/javas/jmercury/require_scopes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] require_scopes__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/require_scopes.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] require_scopes__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/require_scopes.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] require_scopes__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/require_scopes.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] require_scopes__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/require_scopes.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct require_scopes__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/require_scopes.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/require_scopes.java:146: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/require_scopes.java:882: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/require_scopes.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/require_scopes.java:286: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/require_scopes.java:518: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/require_scopes.java:612: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/require_scopes.java:633: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/require_scopes.java:779: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/require_scopes.java:839: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/require_scopes.java:933: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/require_scopes.java:942: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/require_scopes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "require_scopes"; ^ Mercury/javas/jmercury/require_scopes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/require_scopes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/require_scopes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class require_scopes Mercury/javas/jmercury/require_scopes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class require_scopes Mercury/javas/jmercury/require_scopes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/require_scopes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/require_scopes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] require_scopes__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/require_scopes.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc require_scopes__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/require_scopes.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] require_scopes__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/require_scopes.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] require_scopes__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/require_scopes.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] require_scopes__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/require_scopes.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct require_scopes__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/require_scopes.java:48: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/require_scopes.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/require_scopes.java:100: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/require_scopes.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/require_scopes.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/require_scopes.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/require_scopes.java:146: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/require_scopes.java:154: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/require_scopes.java:155: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class require_scopes Mercury/javas/jmercury/require_scopes.java:155: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/require_scopes.java:156: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:156: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/require_scopes.java:159: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/require_scopes.java:160: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/require_scopes.java:161: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/require_scopes.java:162: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/require_scopes.java:163: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/require_scopes.java:164: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/require_scopes.java:172: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:172: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/require_scopes.java:269: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:276: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:299: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:312: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:316: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:323: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(X_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:393: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_30 = null; ^ Mercury/javas/jmercury/require_scopes.java:410: error: cannot find symbol C_7 = mr_int.mod_2_f_0(B_6, Var_13); ^ symbol: variable mr_int location: class require_scopes Mercury/javas/jmercury/require_scopes.java:420: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:422: error: package string__parse_util does not exist Var_30 = (string__parse_util.String_format_flags_0) require_scopes.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/require_scopes.java:424: error: cannot find symbol Var_24 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, A_4); ^ symbol: variable string__format location: class require_scopes Mercury/javas/jmercury/require_scopes.java:427: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:431: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:434: error: cannot find symbol Var_34 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_30, X_8); ^ symbol: variable string__format location: class require_scopes Mercury/javas/jmercury/require_scopes.java:437: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:441: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:449: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/require_scopes.java:450: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/require_scopes.java:451: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = null; ^ Mercury/javas/jmercury/require_scopes.java:452: error: package list does not exist list.List_1 Solns_6 = null; ^ Mercury/javas/jmercury/require_scopes.java:465: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class require_scopes Mercury/javas/jmercury/require_scopes.java:465: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/require_scopes.java:467: error: cannot find symbol Solns_6 = solutions.solutions_2_p_1(TypeCtorInfo_17_17, Var_9); ^ symbol: variable solutions location: class require_scopes Mercury/javas/jmercury/require_scopes.java:471: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:473: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(require_scopes.require_scopes__type_ctor_info_t_0); ^ Mercury/javas/jmercury/require_scopes.java:475: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (A_4))); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:479: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:481: error: package jmercury.runtime does not exist TypeInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(require_scopes.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/require_scopes.java:483: error: cannot find symbol io.write_3_p_0(TypeInfo_19_19, ((java.lang.Object) (Solns_6))); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:486: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class require_scopes Mercury/javas/jmercury/require_scopes.java:498: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((require_scopes.Test_switch_arms_detism_scope_3_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((require_scopes.Test_switch_arms_detism_scope_3_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((require_scopes.Test_switch_arms_detism_scope_3_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/require_scopes.java:543: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/require_scopes.java:544: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.PaqIbZ:2411: require_scopes] Error 1 gmake[3]: Target 'require_scopes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: require_scopes.log] Error 1 RUNNING TEST hard_coded/reverse_arith in grade java FAILED TEST hard_coded/rev_arith in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rev_arith.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rev_arith Making Mercury/int3s/rev_arith.int3 Making Mercury/ints/rev_arith.int Making Mercury/javas/jmercury/rev_arith.java Making Java class files Mercury/javas/jmercury/rev_arith.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rev_arith"; ^ Mercury/javas/jmercury/rev_arith.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rev_arith.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rev_arith.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rev_arith Mercury/javas/jmercury/rev_arith.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rev_arith Mercury/javas/jmercury/rev_arith.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rev_arith.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rev_arith.java:50: error: cannot find symbol io.write_int_3_p_0(A_4); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:54: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:57: error: cannot find symbol io.write_int_3_p_0(B_5); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:61: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:64: error: cannot find symbol io.write_int_3_p_0(C_6); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:68: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:71: error: cannot find symbol io.write_int_3_p_0(G_7); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:75: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:78: error: cannot find symbol io.write_int_3_p_0(H_8); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:82: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:85: error: cannot find symbol io.write_int_3_p_0(I_9); ^ symbol: variable io location: class rev_arith Mercury/javas/jmercury/rev_arith.java:89: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class rev_arith 23 errors gmake[3]: *** [/tmp/mmake.GcW9z2:2411: rev_arith] Error 1 gmake[3]: Target 'rev_arith.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rev_arith.log] Error 1 RUNNING TEST hard_coded/rnd in grade java FAILED TEST hard_coded/reverse_arith in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - reverse_arith.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - reverse_arith Making Mercury/int3s/reverse_arith.int3 Making Mercury/ints/reverse_arith.int Making Mercury/javas/jmercury/reverse_arith.java Making Java class files Mercury/javas/jmercury/reverse_arith.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "reverse_arith"; ^ Mercury/javas/jmercury/reverse_arith.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/reverse_arith.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/reverse_arith.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/reverse_arith.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/reverse_arith.java:46: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class reverse_arith Mercury/javas/jmercury/reverse_arith.java:54: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class reverse_arith 13 errors gmake[3]: *** [/tmp/mmake.LoHYpx:2411: reverse_arith] Error 1 gmake[3]: Target 'reverse_arith.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: reverse_arith.log] Error 1 RUNNING TEST hard_coded/rotate_uint16 in grade java FAILED TEST hard_coded/rnd in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O6 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rnd.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O6 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rnd Making Mercury/int3s/rnd.int3 Making Mercury/ints/rnd.int Making Mercury/javas/jmercury/rnd.java Making Java class files Mercury/javas/jmercury/rnd.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rnd__field_types_rnd_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/rnd.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rnd__du_functor_desc_rnd_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rnd.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_stag_ordered_rnd_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rnd__du_ptag_ordered_rnd_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rnd.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_name_ordered_rnd_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rnd__type_ctor_info_rnd_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rnd.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rnd__field_types_vec_0_0 = new jmercury.runtime.PseudoTypeInfo[10]; ^ Mercury/javas/jmercury/rnd.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rnd__du_functor_desc_vec_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rnd.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_stag_ordered_vec_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rnd__du_ptag_ordered_vec_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rnd.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_name_ordered_vec_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rnd__type_ctor_info_vec_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rnd.java:2018: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/rnd.java:183: 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/rnd.java:1995: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/rnd.java:239: error: package list does not exist list.List_1 Acc0_7, ^ Mercury/javas/jmercury/rnd.java:235: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rnd.java:371: error: package list does not exist list.List_1 Acc0_7) ^ Mercury/javas/jmercury/rnd.java:367: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/rnd.java:1441: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/rnd.java:1514: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/rnd.java:1915: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/rnd.java:1975: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/rnd.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rnd"; ^ Mercury/javas/jmercury/rnd.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rnd.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rnd.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rnd Mercury/javas/jmercury/rnd.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rnd Mercury/javas/jmercury/rnd.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rnd.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rnd.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rnd__field_types_rnd_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/rnd.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rnd__du_functor_desc_rnd_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rnd.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_stag_ordered_rnd_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rnd__du_ptag_ordered_rnd_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rnd.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_name_ordered_rnd_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rnd__type_ctor_info_rnd_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rnd.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rnd__field_types_vec_0_0 = new jmercury.runtime.PseudoTypeInfo[10]; ^ Mercury/javas/jmercury/rnd.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rnd__du_functor_desc_vec_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rnd.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_stag_ordered_vec_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rnd__du_ptag_ordered_vec_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rnd.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rnd__du_name_ordered_vec_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/rnd.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rnd__type_ctor_info_vec_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rnd.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rnd.rnd__type_ctor_info_vec_0; ^ Mercury/javas/jmercury/rnd.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rnd.rnd__type_ctor_info_vec_0; ^ Mercury/javas/jmercury/rnd.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:59: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/rnd.java:75: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/rnd.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/rnd.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/rnd.java:106: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:106: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:108: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:108: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:110: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:110: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:112: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:114: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:114: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:116: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:116: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:118: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:118: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:120: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:120: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:122: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:122: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:124: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/rnd.java:124: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:129: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:137: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:143: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/rnd.java:145: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class rnd Mercury/javas/jmercury/rnd.java:159: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/rnd.java:164: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/rnd.java:167: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/rnd.java:183: 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/rnd.java:202: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rnd.java:208: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:208: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/rnd.java:209: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:209: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rnd.java:210: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:210: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rnd.java:231: error: cannot find symbol io.print_line_3_p_0(jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), java.lang.Integer.valueOf(HeadVar__1_12)); ^ symbol: variable builtin location: class rnd Mercury/javas/jmercury/rnd.java:231: error: package jmercury.runtime does not exist io.print_line_3_p_0(jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), java.lang.Integer.valueOf(HeadVar__1_12)); ^ Mercury/javas/jmercury/rnd.java:231: error: cannot find symbol io.print_line_3_p_0(jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), java.lang.Integer.valueOf(HeadVar__1_12)); ^ symbol: variable io location: class rnd Mercury/javas/jmercury/rnd.java:246: error: package list does not exist list.List_1 Acc_8 = null; ^ Mercury/javas/jmercury/rnd.java:256: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/rnd.java:262: error: package list does not exist list.List_1 next_value_of_Acc0_7 = null; ^ Mercury/javas/jmercury/rnd.java:283: error: package list.List_1 does not exist Var_15 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rnd.java:374: error: package list does not exist list.List_1 Acc_8 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.unB8PW:2411: rnd] Error 1 gmake[3]: Target 'rnd.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rnd.log] Error 1 RUNNING TEST hard_coded/rotate_uint32 in grade java FAILED TEST hard_coded/rotate_uint16 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint16.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint16 Making Mercury/int3s/rotate_uint16.int3 Making Mercury/ints/rotate_uint16.int Making Mercury/javas/jmercury/rotate_uint16.java Making Java class files Mercury/javas/jmercury/rotate_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint16.java:66: 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/rotate_uint16.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint16.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint16.java:464: error: package list does not exist list.List_1 Ds_11, ^ Mercury/javas/jmercury/rotate_uint16.java:664: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/rotate_uint16.java:682: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/rotate_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rotate_uint16"; ^ Mercury/javas/jmercury/rotate_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rotate_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rotate_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rotate_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rotate_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint16.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/rotate_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/rotate_uint16.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/rotate_uint16.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/rotate_uint16.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/rotate_uint16.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint16.java:66: 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/rotate_uint16.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint16.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint16.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rotate_uint16.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/rotate_uint16.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ Mercury/javas/jmercury/rotate_uint16.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rotate_uint16.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:85: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint16.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:90: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/rotate_uint16.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:95: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint16.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:100: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/rotate_uint16.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:105: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/rotate_uint16.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:110: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/rotate_uint16.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:115: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/rotate_uint16.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:120: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/rotate_uint16.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint16.java:125: error: package list does not exist (list.List_1) rotate_uint16.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/rotate_uint16.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint16.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:150: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:150: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:151: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:151: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint16.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/rotate_uint16.java:192: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:192: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:193: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint16 Mercury/javas/jmercury/rotate_uint16.java:193: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint16.java:197: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/rotate_uint16.java:198: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/rotate_uint16.java:199: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/rotate_uint16.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/rotate_uint16.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/rotate_uint16.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/rotate_uint16.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_5)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.7djIls:2411: rotate_uint16] Error 1 gmake[3]: Target 'rotate_uint16.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rotate_uint16.log] Error 1 RUNNING TEST hard_coded/rotate_uint64 in grade java FAILED TEST hard_coded/rotate_uint32 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint32.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint32 Making Mercury/int3s/rotate_uint32.int3 Making Mercury/ints/rotate_uint32.int Making Mercury/javas/jmercury/rotate_uint32.java Making Java class files Mercury/javas/jmercury/rotate_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint32.java:66: 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/rotate_uint32.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint32.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint32.java:464: error: package list does not exist list.List_1 Ds_11, ^ Mercury/javas/jmercury/rotate_uint32.java:664: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/rotate_uint32.java:682: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/rotate_uint32.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rotate_uint32"; ^ Mercury/javas/jmercury/rotate_uint32.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rotate_uint32.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rotate_uint32.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rotate_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rotate_uint32.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint32_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint32_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint32.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ Mercury/javas/jmercury/rotate_uint32.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0, ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/rotate_uint32.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/rotate_uint32.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/rotate_uint32.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ Mercury/javas/jmercury/rotate_uint32.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint32_0 ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint32.java:66: 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/rotate_uint32.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint32.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint32.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rotate_uint32.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/rotate_uint32.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0))) ^ Mercury/javas/jmercury/rotate_uint32.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rotate_uint32.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:85: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint32.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:90: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/rotate_uint32.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:95: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint32.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:100: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/rotate_uint32.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:105: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/rotate_uint32.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:110: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/rotate_uint32.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:115: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/rotate_uint32.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:120: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/rotate_uint32.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint32.java:125: error: package list does not exist (list.List_1) rotate_uint32.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/rotate_uint32.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint32.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:150: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:150: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:151: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:151: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint32.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)) ^ Mercury/javas/jmercury/rotate_uint32.java:192: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:192: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:193: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint32 Mercury/javas/jmercury/rotate_uint32.java:193: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint32.java:197: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/rotate_uint32.java:198: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/rotate_uint32.java:199: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/rotate_uint32.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/rotate_uint32.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/rotate_uint32.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/rotate_uint32.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_5)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.cuaVgk:2411: rotate_uint32] Error 1 gmake[3]: Target 'rotate_uint32.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rotate_uint32.log] Error 1 RUNNING TEST hard_coded/rotate_uint8 in grade java FAILED TEST hard_coded/rotate_uint64 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint64.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint64 Making Mercury/int3s/rotate_uint64.int3 Making Mercury/ints/rotate_uint64.int Making Mercury/javas/jmercury/rotate_uint64.java Making Java class files Mercury/javas/jmercury/rotate_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint64.java:66: 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/rotate_uint64.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint64.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint64.java:464: error: package list does not exist list.List_1 Ds_11, ^ Mercury/javas/jmercury/rotate_uint64.java:664: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/rotate_uint64.java:682: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/rotate_uint64.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rotate_uint64"; ^ Mercury/javas/jmercury/rotate_uint64.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rotate_uint64.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rotate_uint64.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rotate_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rotate_uint64.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint64_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint64_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint64.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ Mercury/javas/jmercury/rotate_uint64.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0, ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/rotate_uint64.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/rotate_uint64.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/rotate_uint64.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ Mercury/javas/jmercury/rotate_uint64.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint64_0 ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint64.java:66: 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/rotate_uint64.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint64.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint64.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rotate_uint64.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/rotate_uint64.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0))) ^ Mercury/javas/jmercury/rotate_uint64.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rotate_uint64.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:85: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint64.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:90: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/rotate_uint64.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:95: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint64.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:100: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/rotate_uint64.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:105: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/rotate_uint64.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:110: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/rotate_uint64.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:115: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/rotate_uint64.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:120: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/rotate_uint64.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint64.java:125: error: package list does not exist (list.List_1) rotate_uint64.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/rotate_uint64.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint64.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:150: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:150: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:151: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:151: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint64.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)) ^ Mercury/javas/jmercury/rotate_uint64.java:192: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:192: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint64_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:193: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint64 Mercury/javas/jmercury/rotate_uint64.java:193: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint64.java:197: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/rotate_uint64.java:198: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/rotate_uint64.java:199: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/rotate_uint64.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/rotate_uint64.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/rotate_uint64.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/rotate_uint64.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_5)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.scBdY7:2411: rotate_uint64] Error 1 gmake[3]: Target 'rotate_uint64.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rotate_uint64.log] Error 1 RUNNING TEST hard_coded/rtree_test in grade java FAILED TEST hard_coded/rotate_uint8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rotate_uint8 Making Mercury/int3s/rotate_uint8.int3 Making Mercury/ints/rotate_uint8.int Making Mercury/javas/jmercury/rotate_uint8.java Making Java class files Mercury/javas/jmercury/rotate_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint8.java:66: 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/rotate_uint8.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint8.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint8.java:464: error: package list does not exist list.List_1 Ds_11, ^ Mercury/javas/jmercury/rotate_uint8.java:664: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/rotate_uint8.java:682: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/rotate_uint8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rotate_uint8"; ^ Mercury/javas/jmercury/rotate_uint8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rotate_uint8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rotate_uint8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rotate_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rotate_uint8.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint8_0__plain_builtin__type_ctor_info_uint_0__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint8_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rotate_uint8.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ Mercury/javas/jmercury/rotate_uint8.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0, ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ Mercury/javas/jmercury/rotate_uint8.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0, ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/rotate_uint8.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ Mercury/javas/jmercury/rotate_uint8.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint_0 ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ Mercury/javas/jmercury/rotate_uint8.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint8_0 ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/rotate_uint8.java:66: 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/rotate_uint8.java:67: 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[9]; ^ Mercury/javas/jmercury/rotate_uint8.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rotate_uint8.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rotate_uint8.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/rotate_uint8.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0))) ^ Mercury/javas/jmercury/rotate_uint8.java:81: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rotate_uint8.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:85: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint8.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:90: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/rotate_uint8.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:95: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/rotate_uint8.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:100: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/rotate_uint8.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:105: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/rotate_uint8.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:110: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/rotate_uint8.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:115: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/rotate_uint8.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:120: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/rotate_uint8.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rotate_uint8.java:125: error: package list does not exist (list.List_1) rotate_uint8.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/rotate_uint8.java:134: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:134: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint8.java:147: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:147: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:148: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:148: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:149: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:149: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:150: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:150: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:151: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:151: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/rotate_uint8.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:159: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:159: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:160: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:160: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)) ^ Mercury/javas/jmercury/rotate_uint8.java:192: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:192: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint8_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:193: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ symbol: variable builtin location: class rotate_uint8 Mercury/javas/jmercury/rotate_uint8.java:193: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint_0)), ^ Mercury/javas/jmercury/rotate_uint8.java:197: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/rotate_uint8.java:198: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/rotate_uint8.java:199: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/rotate_uint8.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/rotate_uint8.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/rotate_uint8.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/rotate_uint8.java:220: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_5)[1]); ^ 100 errors gmake[3]: *** [/tmp/mmake.BfiAdB:2411: rotate_uint8] Error 1 gmake[3]: Target 'rotate_uint8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rotate_uint8.log] Error 1 RUNNING TEST hard_coded/rtti_strings in grade java FAILED TEST hard_coded/rtree_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rtree_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rtree_test Making Mercury/int3s/rtree_test.int3 Making Mercury/ints/rtree_test.int Making Mercury/javas/jmercury/rtree_test.java Making Java class files Mercury/javas/jmercury/rtree_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct rtree__ti_rtree_2rtree__type_ctor_info_interval_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rtree_test.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rtree_test__type_ctor_info_irtree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rtree_test.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/rtree_test.java:73: error: package rtree does not exist private static final rtree.Interval_0[] MR_scalar_common_3 = new rtree.Interval_0[2]; ^ Mercury/javas/jmercury/rtree_test.java:183: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RTree_0_10) ^ Mercury/javas/jmercury/rtree_test.java:179: error: package rtree does not exist private static rtree.Rtree_2 ^ Mercury/javas/jmercury/rtree_test.java:234: error: package rtree does not exist rtree.Interval_0 I_2) ^ Mercury/javas/jmercury/rtree_test.java:259: error: package rtree does not exist rtree.Interval_0 HeadVar__1_1) ^ Mercury/javas/jmercury/rtree_test.java:350: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RT_0_10) ^ Mercury/javas/jmercury/rtree_test.java:752: error: package rtree does not exist rtree.Rtree_2 HeadVar__2_2, ^ Mercury/javas/jmercury/rtree_test.java:753: error: package rtree does not exist rtree.Rtree_2 HeadVar__3_3) ^ Mercury/javas/jmercury/rtree_test.java:750: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/rtree_test.java:783: error: package rtree does not exist rtree.Rtree_2 HeadVar__1_1, ^ Mercury/javas/jmercury/rtree_test.java:784: error: package rtree does not exist rtree.Rtree_2 HeadVar__2_2) ^ Mercury/javas/jmercury/rtree_test.java:812: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/rtree_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rtree_test"; ^ Mercury/javas/jmercury/rtree_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rtree_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rtree_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rtree_test Mercury/javas/jmercury/rtree_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rtree_test Mercury/javas/jmercury/rtree_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rtree_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rtree_test Mercury/javas/jmercury/rtree_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rtree_test Mercury/javas/jmercury/rtree_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rtree_test Mercury/javas/jmercury/rtree_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rtree_test Mercury/javas/jmercury/rtree_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rtree_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct rtree__ti_rtree_2rtree__type_ctor_info_interval_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/rtree_test.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rtree_test__type_ctor_info_irtree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rtree_test.java:38: error: cannot find symbol rtree.rtree__type_ctor_info_rtree_2, ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0), ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0), ^ Mercury/javas/jmercury/rtree_test.java:41: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:41: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/rtree_test.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/rtree_test.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/rtree_test.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/rtree_test.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtree_test.rtree__ti_rtree_2rtree__type_ctor_info_interval_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/rtree_test.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/rtree_test.java:73: error: package rtree does not exist private static final rtree.Interval_0[] MR_scalar_common_3 = new rtree.Interval_0[2]; ^ Mercury/javas/jmercury/rtree_test.java:81: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) rtree.base_typeclass_info_rtree__region__arity1__rtree__interval__arity0__)), ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:82: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0))) ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0))) ^ Mercury/javas/jmercury/rtree_test.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rtree_test.java:86: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class rtree_test Mercury/javas/jmercury/rtree_test.java:86: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/rtree_test.java:87: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:87: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/rtree_test.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/rtree_test.java:91: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_rtree_2))), ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:91: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_rtree_2))), ^ Mercury/javas/jmercury/rtree_test.java:92: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0))), ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:92: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(rtree.rtree__type_ctor_info_interval_0))), ^ Mercury/javas/jmercury/rtree_test.java:93: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:93: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/rtree_test.java:96: error: package rtree does not exist new rtree.Interval_0( ^ Mercury/javas/jmercury/rtree_test.java:101: error: package rtree does not exist new rtree.Interval_0( ^ Mercury/javas/jmercury/rtree_test.java:110: error: cannot find symbol ((java.lang.Object) (rtree.rtree__type_ctor_info_interval_0)) ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:110: error: illegal start of type ((java.lang.Object) (rtree.rtree__type_ctor_info_interval_0)) ^ Mercury/javas/jmercury/rtree_test.java:117: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:117: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/rtree_test.java:136: error: cannot find symbol ((java.lang.Object) (rtree.rtree__type_ctor_info_interval_0)), ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:136: error: illegal start of type ((java.lang.Object) (rtree.rtree__type_ctor_info_interval_0)), ^ Mercury/javas/jmercury/rtree_test.java:137: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:137: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/rtree_test.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/rtree_test.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/rtree_test.java:174: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:188: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RTree_11 = null; ^ Mercury/javas/jmercury/rtree_test.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/rtree_test.java:198: error: package rtree does not exist rtree.Interval_0 K_9 = null; ^ Mercury/javas/jmercury/rtree_test.java:199: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RTree_1_13 = null; ^ Mercury/javas/jmercury/rtree_test.java:203: error: package rtree does not exist rtree.Rtree_2 next_value_of_STATE_VARIABLE_RTree_0_10 = null; ^ Mercury/javas/jmercury/rtree_test.java:206: error: cannot find symbol NF_8 = mr_float.float_1_f_0(N_5); ^ symbol: variable mr_float location: class rtree_test Mercury/javas/jmercury/rtree_test.java:209: error: package rtree does not exist K_9 = new rtree.Interval_0( ^ Mercury/javas/jmercury/rtree_test.java:215: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:215: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rtree_test.java:217: error: cannot find symbol STATE_VARIABLE_RTree_1_13 = rtree.insert_4_p_0(TypeCtorInfo_18_18, TypeClassInfo_for_region_17, ((java.lang.Object) (K_9)), java.lang.Integer.valueOf(N_5), STATE_VARIABLE_RTree_0_10); ^ symbol: variable rtree location: class rtree_test Mercury/javas/jmercury/rtree_test.java:237: error: package rtree does not exist double Min_4 = ((rtree.Interval_0) I_2).F1; ^ Mercury/javas/jmercury/rtree_test.java:238: error: package rtree does not exist double Max_5 = ((rtree.Interval_0) I_2).F2; ^ Mercury/javas/jmercury/rtree_test.java:244: error: cannot find symbol Min1_6 = math.ceiling_1_f_0(Min_4); ^ symbol: variable math location: class rtree_test Mercury/javas/jmercury/rtree_test.java:247: error: cannot find symbol Max1_7 = math.floor_1_f_0(Max_5); ^ symbol: variable math location: class rtree_test Mercury/javas/jmercury/rtree_test.java:263: error: package rtree does not exist double Min_3 = ((rtree.Interval_0) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/rtree_test.java:264: error: package rtree does not exist double Max_4 = ((rtree.Interval_0) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/rtree_test.java:269: error: cannot find symbol Min1_6 = math.ceiling_1_f_0(Min_3); ^ symbol: variable math location: class rtree_test Mercury/javas/jmercury/rtree_test.java:272: error: cannot find symbol Max1_7 = math.floor_1_f_0(Max_4); ^ symbol: variable math location: class rtree_test Mercury/javas/jmercury/rtree_test.java:304: error: cannot find symbol NI_9 = mr_float.floor_to_int_1_f_0(Min_4); ^ symbol: variable mr_float location: class rtree_test Mercury/javas/jmercury/rtree_test.java:311: error: cannot find symbol Var_12 = math.sqrt_1_f_0(Min_4); ^ symbol: variable math location: class rtree_test Mercury/javas/jmercury/rtree_test.java:314: error: cannot find symbol MaxD_10 = mr_float.round_to_int_1_f_0(Var_12); ^ symbol: variable mr_float location: class rtree_test Mercury/javas/jmercury/rtree_test.java:355: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RT_11 = null; ^ Mercury/javas/jmercury/rtree_test.java:366: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/rtree_test.java:368: error: package rtree does not exist rtree.Interval_0 I_9 = null; ^ Mercury/javas/jmercury/rtree_test.java:369: error: package rtree does not exist rtree.Rtree_2 STATE_VARIABLE_RT_1_13 = null; ^ Mercury/javas/jmercury/rtree_test.java:373: error: package rtree does not exist rtree.Rtree_2 next_value_of_STATE_VARIABLE_RT_0_10 = null; ^ Mercury/javas/jmercury/rtree_test.java:376: error: cannot find symbol NF_8 = mr_float.float_1_f_0(N_5); ^ symbol: variable mr_float location: class rtree_test Mercury/javas/jmercury/rtree_test.java:379: error: package rtree does not exist I_9 = new rtree.Interval_0( ^ Mercury/javas/jmercury/rtree_test.java:385: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rtree_test Mercury/javas/jmercury/rtree_test.java:385: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rtree_test.java:387: error: cannot find symbol java.lang.Object [] result = rtree.delete_4_p_0(TypeCtorInfo_18_18, TypeClassInfo_for_region_17, ((java.lang.Object) (I_9)), java.lang.Integer.valueOf(N_5), STATE_VARIABLE_RT_0_10); ^ symbol: variable rtree location: class rtree_test 100 errors gmake[3]: *** [/tmp/mmake.LNCNPA:2411: rtree_test] Error 1 gmake[3]: Target 'rtree_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rtree_test.log] Error 1 RUNNING TEST hard_coded/sectag_bits in grade java FAILED TEST hard_coded/rtti_strings in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rtti_strings.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - rtti_strings Making Mercury/int3s/rtti_strings.int3 Making Mercury/ints/rtti_strings.int Making Mercury/javas/jmercury/rtti_strings.java Making Java class files Mercury/javas/jmercury/rtti_strings.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/rtti_strings.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/rtti_strings.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rtti_strings__du_stag_ordered_boolean_constraint_0_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/rtti_strings.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rtti_strings__du_ptag_ordered_boolean_constraint_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rtti_strings.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rtti_strings__du_name_ordered_boolean_constraint_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/rtti_strings.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rtti_strings__type_ctor_info_boolean_constraint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rtti_strings.java:767: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/rtti_strings.java:275: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/rtti_strings.java:875: error: package bool does not exist public bool.Bool_0 F1; ^ Mercury/javas/jmercury/rtti_strings.java:883: error: package bool does not exist bool.Bool_0 F1) ^ Mercury/javas/jmercury/rtti_strings.java:725: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/rtti_strings.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rtti_strings"; ^ Mercury/javas/jmercury/rtti_strings.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rtti_strings.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rtti_strings.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rtti_strings.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rtti_strings.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/rtti_strings.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/rtti_strings.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] rtti_strings__field_types_boolean_constraint_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/rtti_strings.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc rtti_strings__du_functor_desc_boolean_constraint_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/rtti_strings.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rtti_strings__du_stag_ordered_boolean_constraint_0_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/rtti_strings.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] rtti_strings__du_ptag_ordered_boolean_constraint_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/rtti_strings.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] rtti_strings__du_name_ordered_boolean_constraint_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/rtti_strings.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct rtti_strings__type_ctor_info_boolean_constraint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/rtti_strings.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ Mercury/javas/jmercury/rtti_strings.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) bool.bool__type_ctor_info_bool_0; ^ symbol: variable bool location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:58: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:66: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:85: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:89: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:91: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:96: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:104: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:108: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:110: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:115: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:123: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:127: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:134: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:142: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:146: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0; ^ Mercury/javas/jmercury/rtti_strings.java:151: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:159: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/rtti_strings.java:177: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/rtti_strings.java:216: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/rtti_strings.java:219: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/rtti_strings.java:240: error: package bool does not exist bool.Bool_0.K1 ^ Mercury/javas/jmercury/rtti_strings.java:244: error: package bool does not exist bool.Bool_0.K0 ^ Mercury/javas/jmercury/rtti_strings.java:262: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0); ^ Mercury/javas/jmercury/rtti_strings.java:262: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(rtti_strings.rtti_strings__type_ctor_info_boolean_constraint_0); ^ Mercury/javas/jmercury/rtti_strings.java:267: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:271: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class rtti_strings Mercury/javas/jmercury/rtti_strings.java:283: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/rtti_strings.java:290: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/rtti_strings.java:297: error: package bool does not exist bool.Bool_0 ArgX1_4 = ((rtti_strings.Boolean_constraint_0.Const_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/rtti_strings.java:298: error: package bool does not exist bool.Bool_0 ArgY1_5 = ((rtti_strings.Boolean_constraint_0.Const_1) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/rtti_strings.java:304: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/rtti_strings.java:309: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/rtti_strings.java:311: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/rtti_strings.java:320: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/rtti_strings.java:323: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/rtti_strings.java:329: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/rtti_strings.java:337: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/rtti_strings.java:342: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/rtti_strings.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/rtti_strings.java:364: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/rtti_strings.java:371: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/rtti_strings.java:379: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_13 = null; ^ Mercury/javas/jmercury/rtti_strings.java:384: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_13.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/rtti_strings.java:402: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ 100 errors gmake[3]: *** [/tmp/mmake.pj6t7H:2411: rtti_strings] Error 1 gmake[3]: Target 'rtti_strings.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: rtti_strings.log] Error 1 RUNNING TEST hard_coded/seek_test in grade java FAILED TEST hard_coded/sectag_bits in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sectag_bits.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sectag_bits Making Mercury/int3s/sectag_bits.int3 Making Mercury/ints/sectag_bits.int Making Mercury/javas/jmercury/sectag_bits.java Making Java class files Mercury/javas/jmercury/sectag_bits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc sectag_bits__enum_functor_desc_kind_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc sectag_bits__enum_functor_desc_kind_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] sectag_bits__enum_ordinal_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/sectag_bits.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] sectag_bits__enum_name_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/sectag_bits.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sectag_bits__type_ctor_info_kind_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sectag_bits.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sectag_bits.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sectag_bits.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sectag_bits.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sectag_bits.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sectag_bits__du_stag_ordered_test_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/sectag_bits.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sectag_bits__du_ptag_ordered_test_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sectag_bits.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sectag_bits__du_name_ordered_test_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/sectag_bits.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sectag_bits__type_ctor_info_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sectag_bits.java:226: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/sectag_bits.java:797: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/sectag_bits.java:798: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sectag_bits.java:281: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sectag_bits.java:710: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sectag_bits.java:320: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sectag_bits.java:650: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/sectag_bits.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "sectag_bits"; ^ Mercury/javas/jmercury/sectag_bits.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/sectag_bits.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/sectag_bits.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/sectag_bits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/sectag_bits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc sectag_bits__enum_functor_desc_kind_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc sectag_bits__enum_functor_desc_kind_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] sectag_bits__enum_ordinal_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/sectag_bits.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] sectag_bits__enum_name_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/sectag_bits.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sectag_bits__type_ctor_info_kind_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sectag_bits.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sectag_bits.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sectag_bits.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sectag_bits.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sectag_bits__field_types_test_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sectag_bits.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sectag_bits__du_functor_desc_test_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sectag_bits.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sectag_bits__du_stag_ordered_test_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/sectag_bits.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sectag_bits__du_ptag_ordered_test_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sectag_bits.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sectag_bits__du_name_ordered_test_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/sectag_bits.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sectag_bits__type_ctor_info_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sectag_bits.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/sectag_bits.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/sectag_bits.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/sectag_bits.java:95: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/sectag_bits.java:95: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:100: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:108: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sectag_bits.sectag_bits__type_ctor_info_kind_0; ^ Mercury/javas/jmercury/sectag_bits.java:117: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:125: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:129: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sectag_bits.sectag_bits__type_ctor_info_kind_0; ^ Mercury/javas/jmercury/sectag_bits.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sectag_bits.sectag_bits__type_ctor_info_kind_0; ^ Mercury/javas/jmercury/sectag_bits.java:136: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:144: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:148: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sectag_bits.sectag_bits__type_ctor_info_test_0; ^ Mercury/javas/jmercury/sectag_bits.java:150: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sectag_bits.sectag_bits__type_ctor_info_test_0; ^ Mercury/javas/jmercury/sectag_bits.java:155: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:163: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/sectag_bits.java:177: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/sectag_bits.java:208: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/sectag_bits.java:211: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/sectag_bits.java:226: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/sectag_bits.java:230: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/sectag_bits.java:231: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_read_result_1))), ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:231: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_read_result_1))), ^ Mercury/javas/jmercury/sectag_bits.java:232: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sectag_bits.sectag_bits__type_ctor_info_test_0))) ^ Mercury/javas/jmercury/sectag_bits.java:246: error: package io does not exist io.Res_1 Res_4 = null; ^ Mercury/javas/jmercury/sectag_bits.java:248: error: package io does not exist io.Text_input_stream_0 Stream_5 = null; ^ Mercury/javas/jmercury/sectag_bits.java:251: error: cannot find symbol Res_4 = io.open_input_4_p_0(Var_9); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:256: error: package io does not exist Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/sectag_bits.java:256: error: package io.Res_1 does not exist Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Res_4).F1); ^ Mercury/javas/jmercury/sectag_bits.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(sectag_bits.sectag_bits__type_ctor_info_test_0); ^ Mercury/javas/jmercury/sectag_bits.java:258: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(sectag_bits.sectag_bits__type_ctor_info_test_0); ^ Mercury/javas/jmercury/sectag_bits.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/sectag_bits.java:260: error: package io does not exist io.Read_result_1 X_6 = null; ^ Mercury/javas/jmercury/sectag_bits.java:263: error: cannot find symbol X_6 = io.read_4_p_0(TypeCtorInfo_15_15, Stream_5); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:265: error: package jmercury.runtime does not exist TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(sectag_bits.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/sectag_bits.java:267: error: cannot find symbol io.write_line_3_p_0(TypeInfo_16_16, ((java.lang.Object) (X_6))); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:276: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class sectag_bits Mercury/javas/jmercury/sectag_bits.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/sectag_bits.java:288: 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 Kind_0 Mercury/javas/jmercury/sectag_bits.java:289: 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 Kind_0 Mercury/javas/jmercury/sectag_bits.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/sectag_bits.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/sectag_bits.java:300: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/sectag_bits.java:311: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.xcl5Pj:2411: sectag_bits] Error 1 gmake[3]: Target 'sectag_bits.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: sectag_bits.log] Error 1 RUNNING TEST hard_coded/semi_disj in grade java FAILED TEST hard_coded/seek_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - seek_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - seek_test Making Mercury/int3s/seek_test.int3 Making Mercury/ints/seek_test.int Making Mercury/javas/jmercury/seek_test.java Making Java class files Mercury/javas/jmercury/seek_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/seek_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "seek_test"; ^ Mercury/javas/jmercury/seek_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/seek_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/seek_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class seek_test Mercury/javas/jmercury/seek_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class seek_test Mercury/javas/jmercury/seek_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/seek_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/seek_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/seek_test.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/seek_test.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_result_1))), ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_result_1))), ^ Mercury/javas/jmercury/seek_test.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class seek_test Mercury/javas/jmercury/seek_test.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/seek_test.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/seek_test.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class seek_test Mercury/javas/jmercury/seek_test.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/seek_test.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(seek_test.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/seek_test.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(seek_test.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/seek_test.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(seek_test.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/seek_test.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(seek_test.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/seek_test.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class seek_test Mercury/javas/jmercury/seek_test.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/seek_test.java:60: error: package io does not exist io.Res_1 OpenResult_4 = null; ^ Mercury/javas/jmercury/seek_test.java:64: error: cannot find symbol OpenResult_4 = io.open_binary_input_4_p_0(Var_14); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:68: error: package io does not exist io.Error_0 Error_11 = ((io.Res_1.Error_1) OpenResult_4).F1; ^ Mercury/javas/jmercury/seek_test.java:68: error: package io.Res_1 does not exist io.Error_0 Error_11 = ((io.Res_1.Error_1) OpenResult_4).F1; ^ Mercury/javas/jmercury/seek_test.java:72: error: cannot find symbol Var_34 = io.error_message_1_f_0(Error_11); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:75: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:78: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_36_36 = null; ^ Mercury/javas/jmercury/seek_test.java:84: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_4).F1); ^ Mercury/javas/jmercury/seek_test.java:84: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_4).F1); ^ Mercury/javas/jmercury/seek_test.java:84: error: package io.Res_1 does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenResult_4).F1); ^ Mercury/javas/jmercury/seek_test.java:85: error: package io does not exist io.Result_1 ResultA_6 = null; ^ Mercury/javas/jmercury/seek_test.java:86: error: package io does not exist io.Result_1 ResultB_7 = null; ^ Mercury/javas/jmercury/seek_test.java:87: error: package io does not exist io.Result_1 ResultC_8 = null; ^ Mercury/javas/jmercury/seek_test.java:88: error: package io does not exist io.Result_1 ResultD_9 = null; ^ Mercury/javas/jmercury/seek_test.java:90: error: package io does not exist io.Whence_0 Var_17 = null; ^ Mercury/javas/jmercury/seek_test.java:92: error: package io does not exist io.Whence_0 Var_21 = null; ^ Mercury/javas/jmercury/seek_test.java:94: error: package io does not exist io.Whence_0 Var_25 = null; ^ Mercury/javas/jmercury/seek_test.java:99: error: cannot find symbol ResultA_6 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:101: error: package io does not exist Var_17 = io.Whence_0.K1; ^ Mercury/javas/jmercury/seek_test.java:104: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_17, Var_18); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:107: error: cannot find symbol ResultB_7 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:109: error: package io does not exist Var_21 = io.Whence_0.K2; ^ Mercury/javas/jmercury/seek_test.java:112: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_21, Var_22); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:115: error: cannot find symbol ResultC_8 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:117: error: package io does not exist Var_25 = io.Whence_0.K0; ^ Mercury/javas/jmercury/seek_test.java:120: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_25, Var_26); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:123: error: cannot find symbol ResultD_9 = io.read_byte_4_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:126: error: cannot find symbol Offset_10 = io.binary_input_stream_offset_4_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:129: error: cannot find symbol io.close_binary_input_3_p_0(Stream_5); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:140: error: package jmercury.runtime does not exist TypeInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(seek_test.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/seek_test.java:142: error: cannot find symbol io.print_3_p_0(TypeInfo_36_36, ((java.lang.Object) (Var_31))); ^ symbol: variable io location: class seek_test Mercury/javas/jmercury/seek_test.java:145: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class seek_test 60 errors gmake[3]: *** [/tmp/mmake.4UPUim:2411: seek_test] Error 1 gmake[3]: Target 'seek_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: seek_test.log] Error 1 RUNNING TEST hard_coded/semi_tail_call_in_nonlast_disjunct in grade java FAILED TEST hard_coded/semi_disj in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_disj.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_disj Making Mercury/int3s/semi_disj.int3 Making Mercury/ints/semi_disj.int Making Mercury/javas/jmercury/semi_disj.java Making Java class files Mercury/javas/jmercury/semi_disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/semi_disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] semi_disj__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] semi_disj__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/semi_disj.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] semi_disj__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct semi_disj__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/semi_disj.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] semi_disj__enum_ordinal_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] semi_disj__enum_name_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct semi_disj__type_ctor_info_x_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/semi_disj.java:246: 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/semi_disj.java:247: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/semi_disj.java:837: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/semi_disj.java:921: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/semi_disj.java:922: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/semi_disj.java:463: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/semi_disj.java:623: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/semi_disj.java:777: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/semi_disj.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "semi_disj"; ^ Mercury/javas/jmercury/semi_disj.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/semi_disj.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/semi_disj.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class semi_disj Mercury/javas/jmercury/semi_disj.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class semi_disj Mercury/javas/jmercury/semi_disj.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/semi_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_disj Mercury/javas/jmercury/semi_disj.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_disj Mercury/javas/jmercury/semi_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_disj Mercury/javas/jmercury/semi_disj.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_disj Mercury/javas/jmercury/semi_disj.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/semi_disj.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/semi_disj.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] semi_disj__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/semi_disj.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc semi_disj__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] semi_disj__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] semi_disj__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/semi_disj.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] semi_disj__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct semi_disj__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/semi_disj.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc semi_disj__enum_functor_desc_x_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/semi_disj.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] semi_disj__enum_ordinal_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] semi_disj__enum_name_ordered_x_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/semi_disj.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct semi_disj__type_ctor_info_x_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/semi_disj.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/semi_disj.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:62: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:70: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:74: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/semi_disj.java:74: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:76: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/semi_disj.java:76: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:81: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:89: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:93: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/semi_disj.java:93: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:98: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:106: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:110: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/semi_disj.java:110: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:115: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:123: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/semi_disj.java:137: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class semi_disj Mercury/javas/jmercury/semi_disj.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/semi_disj.java:168: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/semi_disj.java:171: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/semi_disj.java:223: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/semi_disj.java:228: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/semi_disj.java:231: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/semi_disj.java:246: 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/semi_disj.java:247: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/semi_disj.java:254: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/semi_disj.java:256: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/semi_disj.java:257: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/semi_disj.java:258: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/semi_disj.java:259: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/semi_disj.java:260: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/semi_disj.java:261: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/semi_disj.java:354: error: cannot find symbol switch (HeadVar__1_1.MR_value) { ^ symbol: variable MR_value location: variable HeadVar__1_1 of type X_0 Mercury/javas/jmercury/semi_disj.java:354: error: illegal start of type switch (HeadVar__1_1.MR_value) { ^ Mercury/javas/jmercury/semi_disj.java:377: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/semi_disj.java:393: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_36 = null; ^ Mercury/javas/jmercury/semi_disj.java:395: error: package list does not exist list.List_1 P_31 = null; ^ Mercury/javas/jmercury/semi_disj.java:396: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/semi_disj.java:404: error: package list does not exist Var_32 = (list.List_1) semi_disj.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/semi_disj.java:406: error: package list.List_1 does not exist P_31 = new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.n0ihuX:2411: semi_disj] Error 1 gmake[3]: Target 'semi_disj.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: semi_disj.log] Error 1 RUNNING TEST hard_coded/setjmp_test in grade java FAILED TEST hard_coded/semi_tail_call_in_nonlast_disjunct in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_tail_call_in_nonlast_disjunct.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - semi_tail_call_in_nonlast_disjunct Making Mercury/int3s/semi_tail_call_in_nonlast_disjunct.int3 Making Mercury/ints/semi_tail_call_in_nonlast_disjunct.int Making Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java Making Java class files Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.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/semi_tail_call_in_nonlast_disjunct.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:105: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "semi_tail_call_in_nonlast_disjunct"; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.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/semi_tail_call_in_nonlast_disjunct.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:41: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:46: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:51: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:56: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:61: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:66: error: package list does not exist (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:80: error: package list does not exist list.List_1 Var_6 = (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:80: error: package list does not exist list.List_1 Var_6 = (list.List_1) semi_tail_call_in_nonlast_disjunct.MR_scalar_common_2[5]; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:90: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:98: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class semi_tail_call_in_nonlast_disjunct Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:109: error: package list does not exist list.List_1 X2s_3 = null; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:113: error: package list.List_1 does not exist X1_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:113: error: illegal start of type X1_2 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:114: error: package list.List_1 does not exist X2s_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:116: error: package list does not exist list.List_1 X3s_5 = null; ^ Mercury/javas/jmercury/semi_tail_call_in_nonlast_disjunct.java:121: error: package list.List_1 does not exist X3s_5 = ((list.List_1.F_cons_2) X2s_3).F2; ^ 39 errors gmake[3]: *** [/tmp/mmake.3Qhlf2:2411: semi_tail_call_in_nonlast_disjunct] Error 1 gmake[3]: Target 'semi_tail_call_in_nonlast_disjunct.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: semi_tail_call_in_nonlast_disjunct.log] Error 1 RUNNING TEST hard_coded/sharing_comb in grade java FAILED TEST hard_coded/setjmp_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - setjmp_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - setjmp_test Making Mercury/int3s/setjmp_test.int3 Making Mercury/ints/setjmp_test.int Making Mercury/javas/jmercury/setjmp_test.java Making Java class files Mercury/javas/jmercury/setjmp_test.java:124: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/setjmp_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "setjmp_test"; ^ Mercury/javas/jmercury/setjmp_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/setjmp_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/setjmp_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/setjmp_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/setjmp_test.java:52: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:60: error: cannot find symbol succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:68: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:77: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/setjmp_test.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/setjmp_test.java:83: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/setjmp_test.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/setjmp_test.java:88: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_12_12, ((java.lang.Object) (Var_7))); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:90: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:90: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/setjmp_test.java:92: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_13_13, java.lang.Integer.valueOf(X_4)); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:95: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:100: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/setjmp_test.java:100: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:100: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/setjmp_test.java:104: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Var_11))); ^ symbol: variable io location: class setjmp_test Mercury/javas/jmercury/setjmp_test.java:116: error: package jmercury.runtime does not exist ((setjmp_test.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ 30 errors gmake[3]: *** [/tmp/mmake.V2142W:2411: setjmp_test] Error 1 gmake[3]: Target 'setjmp_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: setjmp_test.log] Error 1 RUNNING TEST hard_coded/shift_test in grade java FAILED TEST hard_coded/sharing_comb in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --structure-sharing-widening 2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sharing_comb.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --ctgc --structure-sharing-widening 2 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sharing_comb Making Mercury/int3s/sharing_comb.int3 Making Mercury/ints/sharing_comb.int Making Mercury/javas/jmercury/sharing_comb.java Making Java class files Mercury/javas/jmercury/sharing_comb.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_basic_object_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_basic_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_basic_object_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_basic_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_basic_object_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_basic_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_intersection_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sharing_comb.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_intersection_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_intersection_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_intersection_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_intersection_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_intersection_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_object_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sharing_comb.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_object_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_object_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:53: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:54: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_object_id_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_render_params_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_render_params_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_render_params_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_render_params_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_render_params_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_render_params_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_scene_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_scene_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_scene_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_scene_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_scene_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_scene_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1sharing_comb__type_ctor_info_space_tree_node_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_space_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_space_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_space_tree_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_space_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_space_tree_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:77: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_space_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_space_tree_node_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_space_tree_node_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_space_tree_node_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_space_tree_node_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_space_tree_node_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:84: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_space_tree_node_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_space_tree_object_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_space_tree_object_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_space_tree_object_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_space_tree_object_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_space_tree_object_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:91: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_space_tree_object_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_surface_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_surface_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_surface_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_surface_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_surface_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:98: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_surface_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_surface_properties_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/sharing_comb.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_surface_properties_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_surface_properties_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_surface_properties_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_surface_properties_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sharing_comb.java:106: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_surface_properties_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_tree_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sharing_comb__field_types_tree_1_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/sharing_comb.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sharing_comb__du_functor_desc_tree_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sharing_comb.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_stag_ordered_tree_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/sharing_comb.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sharing_comb__du_ptag_ordered_tree_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sharing_comb.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sharing_comb__du_name_ordered_tree_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/sharing_comb.java:114: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sharing_comb__type_ctor_info_tree_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sharing_comb.java:768: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/sharing_comb.java:2529: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:770: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/sharing_comb.java:2503: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2486: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2344: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2381: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2469: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2452: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:777: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_10 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/sharing_comb.java:2435: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2418: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:2401: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:1014: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:2361: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sharing_comb.java:1054: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1112: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1170: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1209: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1249: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1289: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1330: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1370: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1410: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1450: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:1562: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/sharing_comb.java:1560: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sharing_comb.java:2032: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/sharing_comb.java:2437: error: package list does not exist public list.List_1 F1; ^ Mercury/javas/jmercury/sharing_comb.java:2445: error: package list does not exist list.List_1 F1) ^ Mercury/javas/jmercury/sharing_comb.java:2079: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Note: Mercury/javas/jmercury/sharing_comb.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.PhWdHT:2411: sharing_comb] Error 1 gmake[3]: Target 'sharing_comb.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: sharing_comb.log] Error 1 RUNNING TEST hard_coded/simplify_multi_arm_switch in grade java FAILED TEST hard_coded/shift_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - shift_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - shift_test Making Mercury/int3s/shift_test.int3 Making Mercury/ints/shift_test.int Making Mercury/javas/jmercury/shift_test.java Making Java class files Mercury/javas/jmercury/shift_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] shift_test__field_types_maybe_expected_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/shift_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc shift_test__du_functor_desc_maybe_expected_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/shift_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] shift_test__field_types_maybe_expected_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/shift_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc shift_test__du_functor_desc_maybe_expected_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/shift_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] shift_test__du_stag_ordered_maybe_expected_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/shift_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] shift_test__du_ptag_ordered_maybe_expected_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/shift_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] shift_test__du_name_ordered_maybe_expected_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/shift_test.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct shift_test__type_ctor_info_maybe_expected_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:142: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/shift_test.java:144: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/shift_test.java:1968: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/shift_test.java:149: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_8 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/shift_test.java:1504: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/shift_test.java:1631: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/shift_test.java:1649: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/shift_test.java:1691: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/shift_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "shift_test"; ^ Mercury/javas/jmercury/shift_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/shift_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/shift_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class shift_test Mercury/javas/jmercury/shift_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class shift_test Mercury/javas/jmercury/shift_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/shift_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/shift_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] shift_test__field_types_maybe_expected_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/shift_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc shift_test__du_functor_desc_maybe_expected_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/shift_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] shift_test__field_types_maybe_expected_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/shift_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc shift_test__du_functor_desc_maybe_expected_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/shift_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] shift_test__du_stag_ordered_maybe_expected_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/shift_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] shift_test__du_ptag_ordered_maybe_expected_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/shift_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] shift_test__du_name_ordered_maybe_expected_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/shift_test.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct shift_test__type_ctor_info_maybe_expected_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/shift_test.java:47: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/shift_test.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/shift_test.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/shift_test.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:55: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/shift_test.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/shift_test.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/shift_test.java:78: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:83: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:91: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/shift_test.java:101: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/shift_test.java:124: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/shift_test.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/shift_test.java:142: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/shift_test.java:144: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/shift_test.java:149: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_8 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/shift_test.java:153: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/shift_test.java:154: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:154: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/shift_test.java:155: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:155: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/shift_test.java:163: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:163: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/shift_test.java:164: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:164: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/shift_test.java:168: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/shift_test.java:169: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/shift_test.java:170: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/shift_test.java:171: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/shift_test.java:172: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/shift_test.java:173: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/shift_test.java:180: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:180: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/shift_test.java:181: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:181: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/shift_test.java:182: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class shift_test Mercury/javas/jmercury/shift_test.java:182: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/shift_test.java:433: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/shift_test.java:451: error: package list does not exist list.List_1 Var_29 = null; ^ Mercury/javas/jmercury/shift_test.java:452: error: package string does not exist string.Poly_type_0 Var_30 = null; ^ Mercury/javas/jmercury/shift_test.java:453: error: package list does not exist list.List_1 Var_31 = null; ^ Mercury/javas/jmercury/shift_test.java:455: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_8)[1]); ^ Mercury/javas/jmercury/shift_test.java:455: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Func_8)[1]); ^ Mercury/javas/jmercury/shift_test.java:459: error: package jmercury.runtime does not exist conv1_Actual_14 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Func_8))), ((java.lang.Object) (java.lang.Integer.valueOf(Left_10))), ((java.lang.Object) (java.lang.Integer.valueOf(Right_11))))); ^ Mercury/javas/jmercury/shift_test.java:464: error: package string.Poly_type_0 does not exist Var_30 = new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/shift_test.java:468: error: package list does not exist Var_31 = (list.List_1) shift_test.MR_scalar_common_8[0]; ^ Mercury/javas/jmercury/shift_test.java:470: error: package list.List_1 does not exist Var_29 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/shift_test.java:476: error: cannot find symbol ActualStr0_57 = string.format_2_f_0(Var_28, Var_29); ^ symbol: variable string location: class shift_test Mercury/javas/jmercury/shift_test.java:811: error: cannot find symbol io.write_string_3_p_0(Var_178); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:815: error: cannot find symbol io.write_string_3_p_0(Var_297); ^ symbol: variable io location: class shift_test Mercury/javas/jmercury/shift_test.java:818: error: cannot find symbol io.write_string_3_p_0(Var_181); ^ symbol: variable io location: class shift_test 100 errors gmake[3]: *** [/tmp/mmake.ZCwVPO:2411: shift_test] Error 1 gmake[3]: Target 'shift_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: shift_test.log] Error 1 RUNNING TEST hard_coded/singleton_dups in grade java FAILED TEST hard_coded/simplify_multi_arm_switch in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - simplify_multi_arm_switch.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O3 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - simplify_multi_arm_switch Making Mercury/int3s/simplify_multi_arm_switch.int3 Making Mercury/ints/simplify_multi_arm_switch.int Making Mercury/javas/jmercury/simplify_multi_arm_switch.java Making Java class files Mercury/javas/jmercury/simplify_multi_arm_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct simplify_multi_arm_switch__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:263: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:264: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:155: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:219: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "simplify_multi_arm_switch"; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct simplify_multi_arm_switch__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:125: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:133: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class simplify_multi_arm_switch Mercury/javas/jmercury/simplify_multi_arm_switch.java:144: error: cannot find symbol switch (Fruit_2.MR_value) { ^ symbol: variable MR_value location: variable Fruit_2 of type Fruit_0 Mercury/javas/jmercury/simplify_multi_arm_switch.java:144: error: illegal start of type switch (Fruit_2.MR_value) { ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:161: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:162: 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 Fruit_0 Mercury/javas/jmercury/simplify_multi_arm_switch.java:163: 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 Fruit_0 Mercury/javas/jmercury/simplify_multi_arm_switch.java:167: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:172: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:174: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:185: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/simplify_multi_arm_switch.java:199: 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 Fruit_0 Mercury/javas/jmercury/simplify_multi_arm_switch.java:199: 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 Fruit_0 Mercury/javas/jmercury/simplify_multi_arm_switch.java:248: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 46 errors gmake[3]: *** [/tmp/mmake.fJmRW7:2411: simplify_multi_arm_switch] Error 1 gmake[3]: Target 'simplify_multi_arm_switch.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: simplify_multi_arm_switch.log] Error 1 RUNNING TEST hard_coded/solve_quadratic in grade java FAILED TEST hard_coded/singleton_dups in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - singleton_dups.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - singleton_dups Making Mercury/int3s/singleton_dups.int3 Making Mercury/ints/singleton_dups.int Making Mercury/javas/jmercury/singleton_dups.java Making Java class files Mercury/javas/jmercury/singleton_dups.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "singleton_dups"; ^ Mercury/javas/jmercury/singleton_dups.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/singleton_dups.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/singleton_dups.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/singleton_dups.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/singleton_dups.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/singleton_dups.java:37: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/singleton_dups.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/singleton_dups.java:39: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set_1_9 = null; ^ Mercury/javas/jmercury/singleton_dups.java:41: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set_2_11 = null; ^ Mercury/javas/jmercury/singleton_dups.java:43: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set_3_13 = null; ^ Mercury/javas/jmercury/singleton_dups.java:45: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set_4_15 = null; ^ Mercury/javas/jmercury/singleton_dups.java:46: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set2_1_22 = null; ^ Mercury/javas/jmercury/singleton_dups.java:48: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set2_2_24 = null; ^ Mercury/javas/jmercury/singleton_dups.java:50: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set2_3_26 = null; ^ Mercury/javas/jmercury/singleton_dups.java:52: error: package set_unordlist does not exist set_unordlist.Set_unordlist_1 STATE_VARIABLE_Set2_4_28 = null; ^ Mercury/javas/jmercury/singleton_dups.java:58: error: cannot find symbol STATE_VARIABLE_Set_1_9 = set_unordlist.init_1_p_0(TypeCtorInfo_33_33); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:62: error: cannot find symbol STATE_VARIABLE_Set_2_11 = set_unordlist.insert_3_p_0(TypeCtorInfo_33_33, java.lang.Integer.valueOf(Var_10), STATE_VARIABLE_Set_1_9); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:66: error: cannot find symbol STATE_VARIABLE_Set_3_13 = set_unordlist.insert_3_p_0(TypeCtorInfo_33_33, java.lang.Integer.valueOf(Var_12), STATE_VARIABLE_Set_2_11); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:70: error: cannot find symbol STATE_VARIABLE_Set_4_15 = set_unordlist.insert_3_p_0(TypeCtorInfo_33_33, java.lang.Integer.valueOf(Var_14), STATE_VARIABLE_Set_3_13); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:73: error: cannot find symbol java.lang.Object [] result = set_unordlist.singleton_set_2_p_2(TypeCtorInfo_33_33, STATE_VARIABLE_Set_4_15); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:87: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:90: error: cannot find symbol io.write_int_3_p_0(X_5); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:93: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:101: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:104: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:104: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/singleton_dups.java:106: error: cannot find symbol STATE_VARIABLE_Set2_1_22 = set_unordlist.init_1_p_0(TypeCtorInfo_34_34); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:110: error: cannot find symbol STATE_VARIABLE_Set2_2_24 = set_unordlist.insert_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(Var_23), STATE_VARIABLE_Set2_1_22); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:114: error: cannot find symbol STATE_VARIABLE_Set2_3_26 = set_unordlist.insert_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(Var_25), STATE_VARIABLE_Set2_2_24); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:118: error: cannot find symbol STATE_VARIABLE_Set2_4_28 = set_unordlist.insert_3_p_0(TypeCtorInfo_34_34, java.lang.Integer.valueOf(Var_27), STATE_VARIABLE_Set2_3_26); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:122: error: cannot find symbol succeeded = set_unordlist.singleton_set_2_p_1(TypeCtorInfo_34_34, java.lang.Integer.valueOf(Var_29), STATE_VARIABLE_Set2_4_28); ^ symbol: variable set_unordlist location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:129: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class singleton_dups Mercury/javas/jmercury/singleton_dups.java:137: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class singleton_dups 41 errors gmake[3]: *** [/tmp/mmake.kfjh1y:2411: singleton_dups] Error 1 gmake[3]: Target 'singleton_dups.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: singleton_dups.log] Error 1 RUNNING TEST hard_coded/space in grade java FAILED TEST hard_coded/solve_quadratic in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - solve_quadratic.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - solve_quadratic Making Mercury/int3s/solve_quadratic.int3 Making Mercury/ints/solve_quadratic.int Making Mercury/javas/jmercury/solve_quadratic.java Making Java class files Mercury/javas/jmercury/solve_quadratic.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "solve_quadratic"; ^ Mercury/javas/jmercury/solve_quadratic.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/solve_quadratic.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/solve_quadratic.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/solve_quadratic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/solve_quadratic.java:39: error: package math does not exist math.Quadratic_roots_0 Ss_10 = null; ^ Mercury/javas/jmercury/solve_quadratic.java:42: error: cannot find symbol Ss_10 = math.solve_quadratic_3_f_0(A_6, B_7, C_8); ^ symbol: variable math location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:44: error: illegal start of type switch (Ss_10.data_tag) { ^ Mercury/javas/jmercury/solve_quadratic.java:50: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:56: error: package math.Quadratic_roots_0 does not exist double R_11 = ((math.Quadratic_roots_0.One_root_1) Ss_10).F1; ^ Mercury/javas/jmercury/solve_quadratic.java:61: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:68: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:74: error: package math.Quadratic_roots_0 does not exist double R1_12 = ((math.Quadratic_roots_0.Two_roots_2) Ss_10).F1; ^ Mercury/javas/jmercury/solve_quadratic.java:75: error: package math.Quadratic_roots_0 does not exist double R2_13 = ((math.Quadratic_roots_0.Two_roots_2) Ss_10).F2; ^ Mercury/javas/jmercury/solve_quadratic.java:81: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:88: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:95: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:100: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/solve_quadratic.java:123: error: cannot find symbol Var_18 = mr_float.abs_1_f_0(Val_12); ^ symbol: variable mr_float location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:132: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:140: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class solve_quadratic Mercury/javas/jmercury/solve_quadratic.java:143: error: cannot find symbol io.write_float_3_p_0(Val_12); ^ symbol: variable io location: class solve_quadratic 28 errors gmake[3]: *** [/tmp/mmake.zrZjjh:2411: solve_quadratic] Error 1 gmake[3]: Target 'solve_quadratic.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: solve_quadratic.log] Error 1 RUNNING TEST hard_coded/spawn_native in grade java FAILED TEST hard_coded/spawn_native in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - spawn_native.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - spawn_native Making Mercury/int3s/spawn_native.int3 Making Mercury/ints/spawn_native.int Making Mercury/javas/jmercury/spawn_native.java Making Java class files Mercury/javas/jmercury/spawn_native.java:158: error: package thread does not exist thread.Thread_0 HeadVar__2_6) ^ Mercury/javas/jmercury/spawn_native.java:338: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/spawn_native.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "spawn_native"; ^ Mercury/javas/jmercury/spawn_native.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/spawn_native.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/spawn_native.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class spawn_native Mercury/javas/jmercury/spawn_native.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class spawn_native Mercury/javas/jmercury/spawn_native.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/spawn_native.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/spawn_native.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class spawn_native Mercury/javas/jmercury/spawn_native.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/spawn_native.java:47: error: cannot find symbol ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ symbol: variable thread location: class spawn_native Mercury/javas/jmercury/spawn_native.java:47: error: illegal start of type ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ Mercury/javas/jmercury/spawn_native.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/spawn_native.java:49: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:49: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/spawn_native.java:119: error: cannot find symbol Var_10 = string.f_43_43_2_f_0(IdA_4, Var_12); ^ symbol: variable string location: class spawn_native Mercury/javas/jmercury/spawn_native.java:122: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:148: error: cannot find symbol Var_16 = string.f_43_43_2_f_0(IdB_6, Var_18); ^ symbol: variable string location: class spawn_native Mercury/javas/jmercury/spawn_native.java:151: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/spawn_native.java:166: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:166: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/spawn_native.java:168: error: cannot find symbol conv0_STATE_VARIABLE_IO_9 = builtin.cc_multi_equal_2_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (0))); ^ symbol: variable builtin location: class spawn_native Mercury/javas/jmercury/spawn_native.java:178: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class spawn_native Mercury/javas/jmercury/spawn_native.java:189: error: package maybe does not exist maybe.Maybe_error_2 Var_4 = null; ^ Mercury/javas/jmercury/spawn_native.java:190: error: package maybe does not exist maybe.Maybe_error_2 Var_5 = null; ^ Mercury/javas/jmercury/spawn_native.java:191: error: package maybe does not exist maybe.Maybe_error_2 Var_6 = null; ^ Mercury/javas/jmercury/spawn_native.java:194: error: cannot find symbol Var_4 = thread.spawn_native_4_p_0(Var_10); ^ symbol: variable thread location: class spawn_native Mercury/javas/jmercury/spawn_native.java:211: error: cannot find symbol Var_5 = thread.spawn_native_4_p_0(Var_15); ^ symbol: variable thread location: class spawn_native Mercury/javas/jmercury/spawn_native.java:228: error: cannot find symbol Var_6 = thread.spawn_native_4_p_0(Var_20); ^ symbol: variable thread location: class spawn_native Mercury/javas/jmercury/spawn_native.java:253: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class spawn_native Mercury/javas/jmercury/spawn_native.java:268: error: package thread does not exist spawn_native.go_4_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/spawn_native.java:283: error: package thread does not exist spawn_native.go_4_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/spawn_native.java:298: error: package thread does not exist spawn_native.go_4_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/spawn_native.java:377: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 41 errors gmake[3]: *** [/tmp/mmake.cEeJAC:2411: spawn_native] Error 1 gmake[3]: Target 'spawn_native.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: spawn_native.log] Error 1 RUNNING TEST hard_coded/spawn_native_joinable in grade java FAILED TEST hard_coded/space in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - space.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - space Making Mercury/int3s/space.int3 Making Mercury/ints/space.int Making Mercury/javas/jmercury/space.java Making Java class files Mercury/javas/jmercury/space.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] space__field_types_chord_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/space.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc space__du_functor_desc_chord_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/space.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_stag_ordered_chord_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/space.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] space__du_ptag_ordered_chord_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/space.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_name_ordered_chord_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/space.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_chord_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_degree_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_degree_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_degree_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_degree_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_degree_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_degree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_direction_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_direction_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_direction_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/space.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_direction_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/space.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_direction_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_interval_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_interval_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/space.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_interval_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/space.java:62: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_interval_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc space__du_functor_desc_inversion_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/space.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] space__field_types_inversion_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/space.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc space__du_functor_desc_inversion_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/space.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] space__field_types_inversion_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/space.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc space__du_functor_desc_inversion_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/space.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_stag_ordered_inversion_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] space__du_ptag_ordered_inversion_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/space.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_name_ordered_inversion_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:72: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_inversion_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_kind_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/space.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[8]; ^ Mercury/javas/jmercury/space.java:84: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_kind_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_modifier_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_modifier_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_modifier_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_modifier_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_modifier_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/space.java:91: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_modifier_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] space__field_types_note_0_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/space.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc space__du_functor_desc_note_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/space.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_stag_ordered_note_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/space.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] space__du_ptag_ordered_note_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/space.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] space__du_name_ordered_note_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/space.java:98: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_note_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:99: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_octave_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_option_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_option_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_option_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_option_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/space.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_option_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/space.java:107: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_option_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_qualifier_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_qualifier_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:110: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_qualifier_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/space.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_qualifier_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/space.java:113: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_qualifier_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:114: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_random_supply_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:115: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:116: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:118: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:120: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc space__enum_functor_desc_rank_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/space.java:122: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_ordinal_ordered_rank_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/space.java:123: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] space__enum_name_ordered_rank_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/space.java:125: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct space__type_ctor_info_rank_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/space.java:6121: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/space.java:905: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/space.java:906: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/space.java:907: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[31]; ^ Mercury/javas/jmercury/space.java:912: error: package getopt.Option_ops_1 does not exist private static final getopt.Option_ops_1.Option_ops_multi_3[] MR_scalar_common_9 = new getopt.Option_ops_1.Option_ops_multi_3[1]; ^ Mercury/javas/jmercury/space.java:6067: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/space.java:916: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Bool_1[] MR_scalar_common_15 = new getopt.Option_data_0.Bool_1[1]; ^ Mercury/javas/jmercury/space.java:917: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.String_1[] MR_scalar_common_16 = new getopt.Option_data_0.String_1[1]; ^ Mercury/javas/jmercury/space.java:918: error: package getopt.Option_data_0 does not exist private static final getopt.Option_data_0.Int_1[] MR_scalar_common_17 = new getopt.Option_data_0.Int_1[2]; ^ Mercury/javas/jmercury/space.java:6188: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/space.java:6189: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/space.java:1619: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/space.java:6044: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/space.java:6233: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/space.java:6234: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/space.java:1656: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/space.java:1766: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ 100 errors gmake[3]: *** [/tmp/mmake.flEcgs:2411: space] Error 1 gmake[3]: Target 'space.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: space.log] Error 1 RUNNING TEST hard_coded/special_char in grade java FAILED TEST hard_coded/spawn_native_joinable in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - spawn_native_joinable.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - spawn_native_joinable Making Mercury/int3s/spawn_native_joinable.int3 Making Mercury/ints/spawn_native_joinable.int Making Mercury/javas/jmercury/spawn_native_joinable.java Making Java class files Mercury/javas/jmercury/spawn_native_joinable.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__pti_joinable_thread_1__plain___vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct spawn_native_joinable__type_ctor_info_thread_output_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/spawn_native_joinable.java:311: error: package thread does not exist thread.Joinable_thread_1 _Thread_7) ^ Mercury/javas/jmercury/spawn_native_joinable.java:365: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/spawn_native_joinable.java:427: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/spawn_native_joinable.java:469: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/spawn_native_joinable.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "spawn_native_joinable"; ^ Mercury/javas/jmercury/spawn_native_joinable.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/spawn_native_joinable.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/spawn_native_joinable.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/spawn_native_joinable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/spawn_native_joinable.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__pti_joinable_thread_1__plain___vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct spawn_native_joinable__type_ctor_info_thread_output_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/spawn_native_joinable.java:40: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:42: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0), ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:42: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0), ^ Mercury/javas/jmercury/spawn_native_joinable.java:43: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:43: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/spawn_native_joinable.java:47: error: cannot find symbol thread.thread__type_ctor_info_joinable_thread_1, ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) spawn_native_joinable.__vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/spawn_native_joinable.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/spawn_native_joinable.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/spawn_native_joinable.java:56: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/spawn_native_joinable.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/spawn_native_joinable.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/spawn_native_joinable.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) spawn_native_joinable.__vti_tuple_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/spawn_native_joinable.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/spawn_native_joinable.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/spawn_native_joinable.java:93: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:93: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/spawn_native_joinable.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/spawn_native_joinable.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/spawn_native_joinable.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/spawn_native_joinable.java:99: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_error_2))), ^ symbol: variable maybe location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_error_2))), ^ Mercury/javas/jmercury/spawn_native_joinable.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(spawn_native_joinable.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/spawn_native_joinable.java:101: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/spawn_native_joinable.java:108: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:108: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/spawn_native_joinable.java:111: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:111: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/spawn_native_joinable.java:112: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:112: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/spawn_native_joinable.java:142: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_40_40 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:147: error: package thread does not exist thread.Thread_options_0 Options_4 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:148: error: package maybe does not exist maybe.Maybe_error_2 SpawnResA_5 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:149: error: package maybe does not exist maybe.Maybe_error_2 SpawnResB_6 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:155: error: cannot find symbol Options_4 = thread.init_thread_options_0_f_0(); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:158: error: package jmercury.runtime does not exist TypeInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(spawn_native_joinable.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/spawn_native_joinable.java:160: error: cannot find symbol SpawnResA_5 = thread.spawn_native_joinable_5_p_0(TypeInfo_40_40, Var_16, Options_4); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:177: error: cannot find symbol SpawnResB_6 = thread.spawn_native_joinable_5_p_0(TypeInfo_40_40, Var_21, Options_4); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/spawn_native_joinable.java:181: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_47_47 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/spawn_native_joinable.java:182: error: package maybe.Maybe_error_2 does not exist java.lang.String ErrorA_13 = ((java.lang.String) ((maybe.Maybe_error_2.Error_1) SpawnResA_5).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:185: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_47_47, ((java.lang.Object) (ErrorA_13))); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:190: error: package thread does not exist thread.Joinable_thread_1 ThreadA_7 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResA_5).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:190: error: package thread does not exist thread.Joinable_thread_1 ThreadA_7 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResA_5).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:190: error: package maybe.Maybe_error_2 does not exist thread.Joinable_thread_1 ThreadA_7 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResA_5).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/spawn_native_joinable.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_46_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/spawn_native_joinable.java:195: error: package maybe.Maybe_error_2 does not exist java.lang.String ErrorB_11 = ((java.lang.String) ((maybe.Maybe_error_2.Error_1) SpawnResB_6).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:196: error: package maybe does not exist maybe.Maybe_error_2 _JoinResA_12 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:199: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_46_46, ((java.lang.Object) (ErrorB_11))); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:202: error: cannot find symbol _JoinResA_12 = thread.join_thread_4_p_0(TypeInfo_40_40, ThreadA_7); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_45_45 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:208: error: package thread does not exist thread.Joinable_thread_1 ThreadB_8 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResB_6).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:208: error: package thread does not exist thread.Joinable_thread_1 ThreadB_8 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResB_6).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:208: error: package maybe.Maybe_error_2 does not exist thread.Joinable_thread_1 ThreadB_8 = ((thread.Joinable_thread_1) ((maybe.Maybe_error_2.Ok_1) SpawnResB_6).F1); ^ Mercury/javas/jmercury/spawn_native_joinable.java:209: error: package maybe does not exist maybe.Maybe_error_2 JoinResA_9 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:210: error: package maybe does not exist maybe.Maybe_error_2 JoinResB_10 = null; ^ Mercury/javas/jmercury/spawn_native_joinable.java:215: error: cannot find symbol JoinResA_9 = thread.join_thread_4_p_0(TypeInfo_40_40, ThreadA_7); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:218: error: cannot find symbol JoinResB_10 = thread.join_thread_4_p_0(TypeInfo_40_40, ThreadB_8); ^ symbol: variable thread location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:222: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:224: error: package jmercury.runtime does not exist TypeInfo_45_45 = jmercury.runtime.TypeInfo_Struct.maybe_new(spawn_native_joinable.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/spawn_native_joinable.java:226: error: cannot find symbol io.print_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (JoinResA_9))); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:230: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:233: error: cannot find symbol io.print_line_3_p_0(TypeInfo_45_45, ((java.lang.Object) (JoinResB_10))); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:243: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class spawn_native_joinable Mercury/javas/jmercury/spawn_native_joinable.java:260: error: package thread does not exist conv0_Output_8 = spawn_native_joinable.thread_proc_5_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3]), ((thread.Joinable_thread_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/spawn_native_joinable.java:281: error: package thread does not exist conv1_Output_8 = spawn_native_joinable.thread_proc_5_p_0(((java.lang.String) ((java.lang.Object[]) closure)[3]), ((thread.Joinable_thread_1) wrapper_arg_1)); ^ 100 errors gmake[3]: *** [/tmp/mmake.Fgb6ok:2411: spawn_native_joinable] Error 1 gmake[3]: Target 'spawn_native_joinable.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: spawn_native_joinable.log] Error 1 RUNNING TEST hard_coded/stable_sort in grade java FAILED TEST hard_coded/special_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - special_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - special_char Making Mercury/int3s/special_char.int3 Making Mercury/ints/special_char.int Making Mercury/javas/jmercury/special_char.java Making Java class files Mercury/javas/jmercury/special_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "special_char"; ^ Mercury/javas/jmercury/special_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/special_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/special_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class special_char Mercury/javas/jmercury/special_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class special_char Mercury/javas/jmercury/special_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/special_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/special_char.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/special_char.java:36: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class special_char Mercury/javas/jmercury/special_char.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/special_char.java:46: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:50: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:54: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:58: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:62: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:66: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_16))); ^ symbol: variable io location: class special_char Mercury/javas/jmercury/special_char.java:70: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_18))); ^ symbol: variable io location: class special_char 21 errors gmake[3]: *** [/tmp/mmake.VZHJB5:2411: special_char] Error 1 gmake[3]: Target 'special_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: special_char.log] Error 1 RUNNING TEST hard_coded/static_no_tag in grade java FAILED TEST hard_coded/stable_sort in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stable_sort.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stable_sort Making Mercury/int3s/stable_sort.int3 Making Mercury/ints/stable_sort.int Making Mercury/javas/jmercury/stable_sort.java Making Java class files Mercury/javas/jmercury/stable_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stable_sort.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/stable_sort.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stable_sort.java:104: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/stable_sort.java:128: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/stable_sort.java:156: error: package list does not exist list.List_1 List0_7, ^ Mercury/javas/jmercury/stable_sort.java:343: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/stable_sort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stable_sort"; ^ Mercury/javas/jmercury/stable_sort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stable_sort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stable_sort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stable_sort Mercury/javas/jmercury/stable_sort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stable_sort Mercury/javas/jmercury/stable_sort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stable_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stable_sort.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stable_sort.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/stable_sort.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/stable_sort.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/stable_sort.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stable_sort.java:59: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class stable_sort Mercury/javas/jmercury/stable_sort.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class stable_sort Mercury/javas/jmercury/stable_sort.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/stable_sort.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/stable_sort.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/stable_sort.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/stable_sort.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/stable_sort.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/stable_sort.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/stable_sort.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/stable_sort.java:74: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/stable_sort.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/stable_sort.java:110: error: package builtin does not exist builtin.Comparison_result_0 Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:116: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:121: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/stable_sort.java:123: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:134: error: package builtin does not exist builtin.Comparison_result_0 Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:140: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:145: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/stable_sort.java:147: error: package builtin does not exist Res_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:162: error: package list does not exist list.List_1 List_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:179: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/stable_sort.java:183: error: package list does not exist list.List_1 next_value_of_List0_7 = null; ^ Mercury/javas/jmercury/stable_sort.java:187: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_26, Var_15, Var_16, STATE_VARIABLE_RandomState_0_12); ^ symbol: variable random location: class stable_sort Mercury/javas/jmercury/stable_sort.java:194: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_26, Var_18, Var_19, STATE_VARIABLE_RandomState_1_17); ^ symbol: variable random location: class stable_sort Mercury/javas/jmercury/stable_sort.java:207: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/stable_sort.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_21 = null; ^ Mercury/javas/jmercury/stable_sort.java:239: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/stable_sort.java:240: error: package bool does not exist bool.Bool_0 Stable_5 = null; ^ Mercury/javas/jmercury/stable_sort.java:241: error: package random__sfc16 does not exist random__sfc16.Random_0 RandomState0_11 = null; ^ Mercury/javas/jmercury/stable_sort.java:243: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/stable_sort.java:244: error: package list does not exist list.List_1 SortedOnSecond_16 = null; ^ Mercury/javas/jmercury/stable_sort.java:245: error: package list does not exist list.List_1 SortedOnSecondThenFirst_17 = null; ^ Mercury/javas/jmercury/stable_sort.java:246: error: package list does not exist list.List_1 Sorted_18 = null; ^ Mercury/javas/jmercury/stable_sort.java:250: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_22 = null; ^ Mercury/javas/jmercury/stable_sort.java:253: error: cannot find symbol RandomState0_11 = random__sfc16.init_0_f_0(); ^ symbol: variable random__sfc16 location: class stable_sort Mercury/javas/jmercury/stable_sort.java:256: error: package list does not exist Var_14 = (list.List_1) stable_sort.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/stable_sort.java:260: error: package list does not exist List_4 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/stable_sort.java:264: error: package jmercury.runtime does not exist TypeInfo_13_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[0]); ^ Mercury/javas/jmercury/stable_sort.java:266: error: cannot find symbol SortedOnSecond_16 = list.sort_3_p_0(TypeInfo_13_21, Var_19, List_4); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:270: error: cannot find symbol SortedOnSecondThenFirst_17 = list.sort_3_p_0(TypeInfo_13_21, Var_20, SortedOnSecond_16); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:273: error: cannot find symbol Sorted_18 = list.sort_2_p_0(TypeInfo_13_21, List_4); ^ symbol: variable list location: class stable_sort Mercury/javas/jmercury/stable_sort.java:275: error: package jmercury.runtime does not exist TypeInfo_17_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(stable_sort.MR_scalar_common_2[1]); ^ Mercury/javas/jmercury/stable_sort.java:277: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_17_22, ((java.lang.Object) (SortedOnSecondThenFirst_17)), ((java.lang.Object) (Sorted_18))); ^ symbol: variable builtin location: class stable_sort Mercury/javas/jmercury/stable_sort.java:280: error: package bool does not exist Stable_5 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/stable_sort.java:282: error: package bool does not exist Stable_5 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/stable_sort.java:283: error: illegal start of type switch (Stable_5.MR_value) { ^ Mercury/javas/jmercury/stable_sort.java:289: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:298: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class stable_sort Mercury/javas/jmercury/stable_sort.java:303: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/stable_sort.java:315: error: package builtin does not exist builtin.Comparison_result_0 conv1_Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:332: error: package builtin does not exist builtin.Comparison_result_0 conv2_Res_8 = null; ^ Mercury/javas/jmercury/stable_sort.java:373: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 84 errors gmake[3]: *** [/tmp/mmake.dnMF7V:2411: stable_sort] Error 1 gmake[3]: Target 'stable_sort.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stable_sort.log] Error 1 RUNNING TEST hard_coded/static_term_bug in grade java FAILED TEST hard_coded/static_no_tag in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - static_no_tag.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - static_no_tag Making Mercury/int3s/static_no_tag.int3 Making Mercury/ints/static_no_tag.int Making Mercury/javas/jmercury/static_no_tag.java Making Java class files Mercury/javas/jmercury/static_no_tag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_float_pair_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_no_tag.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_float_pair_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_float_pair_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_float_pair_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_float_pair_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_float_pair_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_char_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_char_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_char_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_char_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_char_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_float_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_float_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_float_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_float_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_float_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_int_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_int_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_int_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_int_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_int_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_poly_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_poly_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_poly_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_poly_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_poly_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_poly_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_string_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_string_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_string_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_string_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_string_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:73: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_string_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:398: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[8]; ^ Mercury/javas/jmercury/static_no_tag.java:399: 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/static_no_tag.java:1449: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:401: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[19]; ^ Mercury/javas/jmercury/static_no_tag.java:1466: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:1500: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:1483: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:1412: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:1432: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_no_tag.java:719: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:727: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:735: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:743: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:751: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:759: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:767: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/static_no_tag.java:775: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:825: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:865: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:905: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:955: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/static_no_tag.java:953: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:995: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_no_tag.java:1181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/static_no_tag.java:1255: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/static_no_tag.java:1369: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/static_no_tag.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "static_no_tag"; ^ Mercury/javas/jmercury/static_no_tag.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/static_no_tag.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/static_no_tag.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/static_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_no_tag Mercury/javas/jmercury/static_no_tag.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/static_no_tag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_float_pair_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_no_tag.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_float_pair_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_float_pair_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_float_pair_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_float_pair_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_float_pair_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_char_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_char_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_char_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_char_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_char_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_char_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_float_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_float_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_float_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_float_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_float_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_float_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_int_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_int_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_int_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_no_tag__du_ptag_ordered_no_tag_int_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_no_tag.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_name_ordered_no_tag_int_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_no_tag.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_no_tag__type_ctor_info_no_tag_int_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_no_tag.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_no_tag__field_types_no_tag_poly_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_no_tag.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_no_tag__du_functor_desc_no_tag_poly_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_no_tag.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_no_tag__du_stag_ordered_no_tag_poly_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Note: Mercury/javas/jmercury/static_no_tag.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.cV2DQU:2411: static_no_tag] Error 1 gmake[3]: Target 'static_no_tag.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: static_no_tag.log] Error 1 RUNNING TEST hard_coded/stdlib_init in grade java FAILED TEST hard_coded/stdlib_init in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stdlib_init.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stdlib_init Making Mercury/int3s/stdlib_init.int3 Making Mercury/ints/stdlib_init.int Making Mercury/javas/jmercury/stdlib_init.java stdlib_init.m:018: Warning: call to obsolete predicate `io.get_globals'/3. Making Java class files Mercury/javas/jmercury/stdlib_init.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stdlib_init"; ^ Mercury/javas/jmercury/stdlib_init.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stdlib_init.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stdlib_init.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stdlib_init.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stdlib_init.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/stdlib_init.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/stdlib_init.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/stdlib_init.java:39: error: package univ does not exist univ.Univ_0 Globals_4 = null; ^ Mercury/javas/jmercury/stdlib_init.java:40: error: package io does not exist io.Text_input_stream_0 Stdin_5 = null; ^ Mercury/javas/jmercury/stdlib_init.java:41: error: package io does not exist io.Text_output_stream_0 Stdout_6 = null; ^ Mercury/javas/jmercury/stdlib_init.java:42: error: package io does not exist io.Text_output_stream_0 Stderr_7 = null; ^ Mercury/javas/jmercury/stdlib_init.java:45: error: cannot find symbol Globals_4 = io.get_globals_3_p_0(); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:47: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:47: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/stdlib_init.java:49: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Globals_4))); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:52: error: cannot find symbol Stdin_5 = io.stdin_stream_3_p_0(); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:54: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:54: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0); ^ Mercury/javas/jmercury/stdlib_init.java:56: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Stdin_5))); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:59: error: cannot find symbol Stdout_6 = io.stdout_stream_3_p_0(); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:61: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:61: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0); ^ Mercury/javas/jmercury/stdlib_init.java:63: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Stdout_6))); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:66: error: cannot find symbol Stderr_7 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class stdlib_init Mercury/javas/jmercury/stdlib_init.java:69: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Stderr_7))); ^ symbol: variable io location: class stdlib_init 32 errors gmake[3]: *** [/tmp/mmake.0E85on:2411: stdlib_init] Error 1 gmake[3]: Target 'stdlib_init.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stdlib_init.log] Error 1 RUNNING TEST hard_coded/stream_format in grade java FAILED TEST hard_coded/static_term_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - static_term_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - static_term_bug Making Mercury/int3s/static_term_bug.int3 Making Mercury/ints/static_term_bug.int Making Mercury/javas/jmercury/static_term_bug.java Making Java class files Mercury/javas/jmercury/static_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_term_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_term_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_ordinal_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_name_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_side_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:683: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:647: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:302: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:351: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:705: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/static_term_bug.java:706: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/static_term_bug.java:421: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/static_term_bug.java:569: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/static_term_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "static_term_bug"; ^ Mercury/javas/jmercury/static_term_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/static_term_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/static_term_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/static_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/static_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/static_term_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] static_term_bug__field_types_data_info_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/static_term_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc static_term_bug__du_functor_desc_data_info_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_stag_ordered_data_info_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] static_term_bug__du_ptag_ordered_data_info_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/static_term_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] static_term_bug__du_name_ordered_data_info_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/static_term_bug.java:46: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_data_info_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc static_term_bug__enum_functor_desc_side_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/static_term_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_ordinal_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] static_term_bug__enum_name_ordered_side_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/static_term_bug.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct static_term_bug__type_ctor_info_side_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/static_term_bug.java:60: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) static_term_bug.static_term_bug__type_ctor_info_data_info_0; ^ Mercury/javas/jmercury/static_term_bug.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:85: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/static_term_bug.java:95: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/static_term_bug.java:118: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:121: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:130: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) static_term_bug.static_term_bug__type_ctor_info_side_0; ^ Mercury/javas/jmercury/static_term_bug.java:132: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/static_term_bug.java:132: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:137: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:145: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/static_term_bug.java:153: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/static_term_bug.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/static_term_bug.java:212: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/static_term_bug.java:215: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/static_term_bug.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(static_term_bug.static_term_bug__type_ctor_info_data_0); ^ Mercury/javas/jmercury/static_term_bug.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(static_term_bug.static_term_bug__type_ctor_info_data_0); ^ Mercury/javas/jmercury/static_term_bug.java:286: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_11_11, ((java.lang.Object) (Data_4))); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:289: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:297: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class static_term_bug Mercury/javas/jmercury/static_term_bug.java:308: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:314: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:327: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/static_term_bug.java:330: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:332: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:342: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:357: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/static_term_bug.java:363: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:370: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/static_term_bug.java:371: error: cannot find symbol int Var_13 = (int) ArgX1_4.MR_value; ^ symbol: variable MR_value location: variable ArgX1_4 of type Side_0 Mercury/javas/jmercury/static_term_bug.java:372: error: cannot find symbol int Var_14 = (int) ArgY1_5.MR_value; ^ symbol: variable MR_value location: variable ArgY1_5 of type Side_0 Mercury/javas/jmercury/static_term_bug.java:376: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:381: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/static_term_bug.java:383: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/static_term_bug.java:385: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/static_term_bug.java:392: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/static_term_bug.java:397: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors gmake[3]: *** [/tmp/mmake.QkrgTu:2411: static_term_bug] Error 1 gmake[3]: Target 'static_term_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: static_term_bug.log] Error 1 RUNNING TEST hard_coded/stream_ignore_ws in grade java FAILED TEST hard_coded/stream_ignore_ws in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_ignore_ws.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_ignore_ws Making Mercury/int3s/stream_ignore_ws.int3 Making Mercury/ints/stream_ignore_ws.int Making Mercury/javas/jmercury/stream_ignore_ws.java Making Java class files Mercury/javas/jmercury/stream_ignore_ws.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_ignore_ws"; ^ Mercury/javas/jmercury/stream_ignore_ws.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_ignore_ws.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_ignore_ws.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_ignore_ws.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_ignore_ws.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_input_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_ignore_ws.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__input__arity2__io__text_input_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_ignore_ws.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__error__arity1__io__error__arity0__)), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ Mercury/javas/jmercury/stream_ignore_ws.java:55: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__reader__arity4__io__text_input_stream__arity0__character__arity0__io__state__arity0__io__error__arity0__)), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ Mercury/javas/jmercury/stream_ignore_ws.java:65: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__putback__arity4__io__text_input_stream__arity0__character__arity0__io__state__arity0__io__error__arity0__)), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))), ^ Mercury/javas/jmercury/stream_ignore_ws.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ Mercury/javas/jmercury/stream_ignore_ws.java:85: error: package io does not exist io.Text_input_stream_0 Stdin_4 = null; ^ Mercury/javas/jmercury/stream_ignore_ws.java:86: error: package stream does not exist stream.Result_1 IgnoreResult_5 = null; ^ Mercury/javas/jmercury/stream_ignore_ws.java:90: error: cannot find symbol Stdin_4 = io.stdin_stream_3_p_0(); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:94: error: cannot find symbol java.lang.Object [] result = stream.ignore_whitespace_4_p_0(TypeClassInfo_for_putback_17, ((java.lang.Object) (Stdin_4)), ((java.lang.Object) (0))); ^ symbol: variable stream location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:95: error: package stream does not exist IgnoreResult_5 = (stream.Result_1) result[0]; ^ Mercury/javas/jmercury/stream_ignore_ws.java:101: error: package io does not exist io.Maybe_partial_res_1 MaybePartialRes_6 = null; ^ Mercury/javas/jmercury/stream_ignore_ws.java:105: error: cannot find symbol MaybePartialRes_6 = io.read_file_as_string_4_p_0(Stdin_4); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:110: error: package io.Maybe_partial_res_1 does not exist String_7 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) MaybePartialRes_6).F1); ^ Mercury/javas/jmercury/stream_ignore_ws.java:112: error: cannot find symbol io.write_string_3_p_0(String_7); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:120: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class stream_ignore_ws Mercury/javas/jmercury/stream_ignore_ws.java:129: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class stream_ignore_ws 53 errors gmake[3]: *** [/tmp/mmake.wa6zod:2411: stream_ignore_ws] Error 1 gmake[3]: Target 'stream_ignore_ws.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_ignore_ws.log] Error 1 RUNNING TEST hard_coded/stream_put_bug in grade java FAILED TEST hard_coded/stream_format in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_format.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_format Making Mercury/int3s/stream_format.int3 Making Mercury/ints/stream_format.int Making Mercury/javas/jmercury/stream_format.java Making Java class files Mercury/javas/jmercury/stream_format.java:33: 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/stream_format.java:34: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.U_1[] MR_scalar_common_3 = new string.Poly_type_0.U_1[1]; ^ Mercury/javas/jmercury/stream_format.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/stream_format.java:36: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.F_1[] MR_scalar_common_5 = new string.Poly_type_0.F_1[1]; ^ Mercury/javas/jmercury/stream_format.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_format.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_format"; ^ Mercury/javas/jmercury/stream_format.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_format.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_format.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_format Mercury/javas/jmercury/stream_format.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_format Mercury/javas/jmercury/stream_format.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_format.java:33: 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/stream_format.java:34: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.U_1[] MR_scalar_common_3 = new string.Poly_type_0.U_1[1]; ^ Mercury/javas/jmercury/stream_format.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/stream_format.java:36: error: package string.Poly_type_0 does not exist private static final string.Poly_type_0.F_1[] MR_scalar_common_5 = new string.Poly_type_0.F_1[1]; ^ Mercury/javas/jmercury/stream_format.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_format.java:42: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_format.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_format.java:48: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_format.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_format.java:55: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_format.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class stream_format Mercury/javas/jmercury/stream_format.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/stream_format.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_format.java:62: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/stream_format.java:64: error: package string.Poly_type_0 does not exist new string.Poly_type_0.U_1( ^ Mercury/javas/jmercury/stream_format.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/stream_format.java:69: error: package string does not exist ((java.lang.Object) ((string.Poly_type_0) stream_format.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/stream_format.java:70: error: package list does not exist (list.List_1) stream_format.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/stream_format.java:73: error: package string.Poly_type_0 does not exist new string.Poly_type_0.F_1( ^ Mercury/javas/jmercury/stream_format.java:77: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_format.java:78: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_format.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_format.java:80: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_format.java:81: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_format.java:82: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_format.java:96: error: package io does not exist io.Text_output_stream_0 Stdout_4 = null; ^ Mercury/javas/jmercury/stream_format.java:103: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_28 = null; ^ Mercury/javas/jmercury/stream_format.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_35 = null; ^ Mercury/javas/jmercury/stream_format.java:110: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_46 = null; ^ Mercury/javas/jmercury/stream_format.java:123: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/stream_format.java:127: error: cannot find symbol Stdout_4 = io.stdout_stream_3_p_0(); ^ symbol: variable io location: class stream_format Mercury/javas/jmercury/stream_format.java:136: error: package string__parse_util does not exist Var_35 = (string__parse_util.String_format_flags_0) stream_format.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/stream_format.java:137: error: package string__parse_util does not exist Var_28 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/stream_format.java:139: error: cannot find symbol Var_29 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_35, Var_28, Var_24); ^ symbol: variable string__format location: class stream_format Mercury/javas/jmercury/stream_format.java:142: error: cannot find symbol Var_36 = string.f_43_43_2_f_0(Var_29, Var_27); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:146: error: cannot find symbol Var_38 = string.f_43_43_2_f_0(Var_37, Var_36); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:148: error: package string__parse_util does not exist Var_46 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/stream_format.java:150: error: cannot find symbol Var_39 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_35, Var_46, Var_21); ^ symbol: variable string__format location: class stream_format Mercury/javas/jmercury/stream_format.java:153: error: cannot find symbol Var_47 = string.f_43_43_2_f_0(Var_39, Var_38); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:157: error: cannot find symbol Var_49 = string.f_43_43_2_f_0(Var_48, Var_47); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:160: error: cannot find symbol Var_50 = string__format.format_char_component_nowidth_3_p_0(Var_35, Var_18); ^ symbol: variable string__format location: class stream_format Mercury/javas/jmercury/stream_format.java:163: error: cannot find symbol Var_57 = string.f_43_43_2_f_0(Var_50, Var_49); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:167: error: cannot find symbol Var_59 = string.f_43_43_2_f_0(Var_58, Var_57); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:170: error: cannot find symbol Var_60 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_35, Var_15); ^ symbol: variable string__format location: class stream_format Mercury/javas/jmercury/stream_format.java:173: error: cannot find symbol Var_67 = string.f_43_43_2_f_0(Var_60, Var_59); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:177: error: cannot find symbol Var_69 = string.f_43_43_2_f_0(Var_68, Var_67); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:180: error: cannot find symbol Var_70 = string.f_43_43_2_f_0(Var_12, Var_69); ^ symbol: variable string location: class stream_format Mercury/javas/jmercury/stream_format.java:182: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_writer_26)[0])[5]); ^ Mercury/javas/jmercury/stream_format.java:184: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_writer_26))), ((java.lang.Object) (((java.lang.Object) (Stdout_4)))), ((java.lang.Object) (((java.lang.Object) (Var_70)))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 74 errors gmake[3]: *** [/tmp/mmake.mVU8TT:2411: stream_format] Error 1 gmake[3]: Target 'stream_format.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_format.log] Error 1 RUNNING TEST hard_coded/stream_putback in grade java FAILED TEST hard_coded/stream_put_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_put_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_put_bug Making Mercury/int3s/stream_put_bug.int3 Making Mercury/ints/stream_put_bug.int Making Mercury/javas/jmercury/stream_put_bug.java Making Java class files Mercury/javas/jmercury/stream_put_bug.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_put_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_put_bug"; ^ Mercury/javas/jmercury/stream_put_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_put_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_put_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_put_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_put_bug.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/stream_put_bug.java:38: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__stream__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__output__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:47: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:47: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:51: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__writer__arity3__string__builder__handle__arity0__string__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/stream_put_bug.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_put_bug.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_put_bug.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_put_bug.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_put_bug.java:78: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_1_7 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:79: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_2_11 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:81: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_3_18 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:85: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:90: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:92: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/stream_put_bug.java:96: error: cannot find symbol STATE_VARIABLE_State_1_7 = string__builder.init_0_f_0(); ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:101: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) stream_put_bug.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/stream_put_bug.java:103: error: cannot find symbol Var_26 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_32, Var_13); ^ symbol: variable string__format location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:106: error: cannot find symbol Var_33 = string.f_43_43_2_f_0(Var_26, Var_25); ^ symbol: variable string location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:110: error: cannot find symbol Var_35 = string.f_43_43_2_f_0(Var_34, Var_33); ^ symbol: variable string location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:112: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_writer_23)[0])[5]); ^ Mercury/javas/jmercury/stream_put_bug.java:114: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_State_2_11 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_writer_23))), ((java.lang.Object) (((java.lang.Object) (0)))), ((java.lang.Object) (((java.lang.Object) (Var_35)))), ((java.lang.Object) (((java.lang.Object) (STATE_VARIABLE_State_1_7)))))); ^ Mercury/javas/jmercury/stream_put_bug.java:116: error: package string__builder does not exist STATE_VARIABLE_State_2_11 = ((string__builder.State_0) conv1_STATE_VARIABLE_State_2_11); ^ Mercury/javas/jmercury/stream_put_bug.java:119: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_writer_24)[0])[5]); ^ Mercury/javas/jmercury/stream_put_bug.java:121: error: package jmercury.runtime does not exist conv3_STATE_VARIABLE_State_3_18 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_writer_24))), ((java.lang.Object) (((java.lang.Object) (0)))), ((java.lang.Object) (((java.lang.Object) (Var_39)))), ((java.lang.Object) (((java.lang.Object) (STATE_VARIABLE_State_2_11)))))); ^ Mercury/javas/jmercury/stream_put_bug.java:123: error: package string__builder does not exist STATE_VARIABLE_State_3_18 = ((string__builder.State_0) conv3_STATE_VARIABLE_State_3_18); ^ Mercury/javas/jmercury/stream_put_bug.java:125: error: cannot find symbol Var_22 = string__builder.to_string_1_f_0(STATE_VARIABLE_State_3_18); ^ symbol: variable string__builder location: class stream_put_bug Mercury/javas/jmercury/stream_put_bug.java:128: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class stream_put_bug 55 errors gmake[3]: *** [/tmp/mmake.M9nVhn:2411: stream_put_bug] Error 1 gmake[3]: Target 'stream_put_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_put_bug.log] Error 1 RUNNING TEST hard_coded/stream_putback_binary in grade java FAILED TEST hard_coded/stream_putback in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_putback.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_putback Making Mercury/int3s/stream_putback.int3 Making Mercury/ints/stream_putback.int Making Mercury/javas/jmercury/stream_putback.java Making Java class files Mercury/javas/jmercury/stream_putback.java:99: error: package io does not exist io.Text_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_putback"; ^ Mercury/javas/jmercury/stream_putback.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_putback.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_putback.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_putback Mercury/javas/jmercury/stream_putback.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_putback Mercury/javas/jmercury/stream_putback.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_putback.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_putback.java:36: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/stream_putback.java:40: error: cannot find symbol OpenRes_4 = io.open_input_4_p_0(Var_9); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:44: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback.java:44: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback.java:48: error: cannot find symbol Var_20 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:51: error: cannot find symbol require.error_1_p_0(Var_20); ^ symbol: variable require location: class stream_putback Mercury/javas/jmercury/stream_putback.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_24 = null; ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:66: error: cannot find symbol io.putback_char_4_p_0(Stream_5, Var_12); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:70: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:72: error: cannot find symbol TypeCtorInfo_13_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback Mercury/javas/jmercury/stream_putback.java:72: error: package jmercury.runtime does not exist TypeCtorInfo_13_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback.java:74: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_24, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:92: error: cannot find symbol io.close_input_3_p_0(Stream_5); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:101: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/stream_putback.java:104: error: cannot find symbol ReadRes_6 = io.read_char_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:106: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/stream_putback.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/stream_putback.java:110: error: package io.Result_1 does not exist int Char_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback.java:110: error: illegal start of type int Char_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback.java:114: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:116: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback Mercury/javas/jmercury/stream_putback.java:116: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback.java:118: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, java.lang.Integer.valueOf(Char_7)); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:127: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:133: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback.java:133: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback.java:137: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:140: error: cannot find symbol require.error_1_p_0(Var_17); ^ symbol: variable require location: class stream_putback Mercury/javas/jmercury/stream_putback.java:145: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors gmake[3]: *** [/tmp/mmake.XjxtmG:2411: stream_putback] Error 1 gmake[3]: Target 'stream_putback.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_putback.log] Error 1 RUNNING TEST hard_coded/stream_string_writer_types in grade java FAILED TEST hard_coded/stream_putback_binary in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_putback_binary.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_putback_binary Making Mercury/int3s/stream_putback_binary.int3 Making Mercury/ints/stream_putback_binary.int Making Mercury/javas/jmercury/stream_putback_binary.java Making Java class files Mercury/javas/jmercury/stream_putback_binary.java:32: 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[2]; ^ Mercury/javas/jmercury/stream_putback_binary.java:133: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback_binary.java:163: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/stream_putback_binary.java:194: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback_binary.java:256: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/stream_putback_binary.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_putback_binary"; ^ Mercury/javas/jmercury/stream_putback_binary.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_putback_binary.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_putback_binary.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_putback_binary.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_putback_binary.java:32: 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[2]; ^ Mercury/javas/jmercury/stream_putback_binary.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_putback_binary.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_putback_binary.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_putback_binary.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/stream_putback_binary.java:62: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:66: error: cannot find symbol OpenRes_4 = io.open_binary_input_4_p_0(Var_9); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:70: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:70: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:74: error: cannot find symbol Var_27 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:77: error: cannot find symbol require.error_1_p_0(Var_27); ^ symbol: variable require location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io.Res_1 does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:126: error: cannot find symbol io.close_binary_input_3_p_0(Stream_5); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_24 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:142: error: cannot find symbol Offset_6 = io.binary_input_stream_offset_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:146: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:148: error: package string__parse_util does not exist Var_24 = (string__parse_util.String_format_flags_0) stream_putback_binary.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/stream_putback_binary.java:150: error: cannot find symbol Var_18 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_24, Offset_6); ^ symbol: variable string__format location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:153: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:157: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:171: error: cannot find symbol Var_10 = mr_char.to_int_1_f_0(Char_6); ^ symbol: variable mr_char location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:174: error: cannot find symbol io.putback_byte_4_p_0(Stream_5, Var_10); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:178: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:180: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:180: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback_binary.java:182: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, java.lang.Integer.valueOf(Char_6)); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:185: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:196: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:199: error: cannot find symbol ReadRes_6 = io.read_byte_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:201: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/stream_putback_binary.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:205: error: package io.Result_1 does not exist int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback_binary.java:205: error: illegal start of type int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback_binary.java:210: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:213: error: cannot find symbol Var_14 = mr_char.det_from_int_1_f_0(Byte_7); ^ symbol: variable mr_char location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:215: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:215: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback_binary.java:217: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_20_20, java.lang.Integer.valueOf(Var_14)); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:220: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:229: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:235: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:235: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:239: error: cannot find symbol Var_19 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:242: error: cannot find symbol require.error_1_p_0(Var_19); ^ symbol: variable require location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:247: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/stream_putback_binary.java:259: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/stream_putback_binary.java:259: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/stream_putback_binary.java:262: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:266: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_10, Offset_6); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:270: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:272: error: package string__parse_util does not exist Var_26 = (string__parse_util.String_format_flags_0) stream_putback_binary.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/stream_putback_binary.java:274: error: cannot find symbol Var_20 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_26, Offset_6); ^ symbol: variable string__format location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:277: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:281: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class stream_putback_binary 81 errors gmake[3]: *** [/tmp/mmake.sBrJGc:2411: stream_putback_binary] Error 1 gmake[3]: Target 'stream_putback_binary.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_putback_binary.log] Error 1 RUNNING TEST hard_coded/stream_test in grade java FAILED TEST hard_coded/stream_string_writer_types in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_string_writer_types.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_string_writer_types Making Mercury/int3s/stream_string_writer_types.int3 Making Mercury/ints/stream_string_writer_types.int Making Mercury/javas/jmercury/stream_string_writer_types.java Making Java class files Mercury/javas/jmercury/stream_string_writer_types.java:32: 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/stream_string_writer_types.java:298: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_22, ^ Mercury/javas/jmercury/stream_string_writer_types.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_string_writer_types"; ^ Mercury/javas/jmercury/stream_string_writer_types.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_string_writer_types.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_string_writer_types.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_string_writer_types.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_string_writer_types.java:32: 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/stream_string_writer_types.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_string_writer_types.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_string_writer_types.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_string_writer_types.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_string_writer_types.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_string_writer_types.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_string_writer_types.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_77_77 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:55: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_78_78 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_79_79 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_80_80 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_81_81 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_82_82 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:60: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_83_83 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_84_84 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:62: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_85_85 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_86_86 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_87_87 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_88_88 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_89_89 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_90_90 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_91_91 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:69: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_92_92 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:70: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_93_93 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_94_94 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_95_95 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_96_96 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_97_97 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:75: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_98_98 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_99_99 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_100_100 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_101_101 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:80: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BitMap_5 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:81: error: package integer does not exist integer.Integer_0 IntegerOne_6 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:82: error: package univ does not exist univ.Univ_0 Univ_7 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:83: error: package calendar does not exist calendar.Date_0 Date_8 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:84: error: package calendar does not exist calendar.Duration_0 Duration_9 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_10 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorInfo_Struct TypeCtorDesc_11 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:87: error: package io does not exist io.Text_input_stream_0 TextInputStream_12 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:88: error: package io does not exist io.Text_output_stream_0 TextOutputStream_13 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:89: error: package io does not exist io.Binary_input_stream_0 BinaryInputStream_14 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:90: error: package io does not exist io.Binary_output_stream_0 BinaryOutputStream_15 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:92: error: package bool does not exist bool.Bool_0 Var_19 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:95: error: package calendar does not exist calendar.Month_0 Var_22 = null; ^ Mercury/javas/jmercury/stream_string_writer_types.java:132: error: package bool does not exist Var_19 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/stream_string_writer_types.java:134: error: cannot find symbol BitMap_5 = bitmap.init_2_f_0(Var_18, Var_19); ^ symbol: variable bitmap location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:137: error: cannot find symbol IntegerOne_6 = integer.one_0_f_0(); ^ symbol: variable integer location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:140: error: cannot find symbol TypeCtorInfo_77_77 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_77_77 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:142: error: cannot find symbol Univ_7 = univ.type_to_univ_2_p_0(TypeCtorInfo_77_77, ((java.lang.Object) (Var_20))); ^ symbol: variable univ location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:145: error: package calendar does not exist Var_22 = calendar.Month_0.K9; ^ Mercury/javas/jmercury/stream_string_writer_types.java:152: error: cannot find symbol Date_8 = calendar.det_init_date_7_f_0(Var_21, Var_22, Var_23, Var_24, Var_25, Var_26, Var_27); ^ symbol: variable calendar location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:162: error: cannot find symbol Duration_9 = calendar.init_duration_7_f_0(Var_28, Var_29, Var_30, Var_31, Var_32, Var_33, Var_34); ^ symbol: variable calendar location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:164: error: cannot find symbol TypeCtorInfo_78_78 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:164: error: package jmercury.runtime does not exist TypeCtorInfo_78_78 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:166: error: cannot find symbol TypeDesc_10 = type_desc.type_of_1_f_0(TypeCtorInfo_78_78); ^ symbol: variable type_desc location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:169: error: cannot find symbol TypeCtorDesc_11 = type_desc.type_ctor_1_f_0(TypeDesc_10); ^ symbol: variable type_desc location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:172: error: cannot find symbol TextInputStream_12 = io.input_stream_3_p_0(); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:175: error: cannot find symbol TextOutputStream_13 = io.output_stream_3_p_0(); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:178: error: cannot find symbol BinaryInputStream_14 = io.binary_input_stream_3_p_0(); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:181: error: cannot find symbol BinaryOutputStream_15 = io.binary_output_stream_3_p_0(); ^ symbol: variable io location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:188: error: cannot find symbol TypeCtorInfo_79_79 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:188: error: package jmercury.runtime does not exist TypeCtorInfo_79_79 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:197: error: cannot find symbol TypeCtorInfo_80_80 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:197: error: package jmercury.runtime does not exist TypeCtorInfo_80_80 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:202: error: cannot find symbol TypeCtorInfo_81_81 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:202: error: package jmercury.runtime does not exist TypeCtorInfo_81_81 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int8_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:207: error: cannot find symbol TypeCtorInfo_82_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:207: error: package jmercury.runtime does not exist TypeCtorInfo_82_82 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint8_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:212: error: cannot find symbol TypeCtorInfo_83_83 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:212: error: package jmercury.runtime does not exist TypeCtorInfo_83_83 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int16_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:217: error: cannot find symbol TypeCtorInfo_84_84 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:217: error: package jmercury.runtime does not exist TypeCtorInfo_84_84 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:222: error: cannot find symbol TypeCtorInfo_85_85 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:222: error: package jmercury.runtime does not exist TypeCtorInfo_85_85 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int32_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:227: error: cannot find symbol TypeCtorInfo_86_86 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:227: error: package jmercury.runtime does not exist TypeCtorInfo_86_86 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:232: error: cannot find symbol TypeCtorInfo_87_87 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:232: error: package jmercury.runtime does not exist TypeCtorInfo_87_87 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int64_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:237: error: cannot find symbol TypeCtorInfo_88_88 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:237: error: package jmercury.runtime does not exist TypeCtorInfo_88_88 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint64_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:242: error: cannot find symbol TypeCtorInfo_89_89 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:242: error: package jmercury.runtime does not exist TypeCtorInfo_89_89 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:246: error: cannot find symbol TypeCtorInfo_90_90 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_c_pointer_0); ^ symbol: variable builtin location: class stream_string_writer_types Mercury/javas/jmercury/stream_string_writer_types.java:246: error: package jmercury.runtime does not exist TypeCtorInfo_90_90 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_c_pointer_0); ^ Mercury/javas/jmercury/stream_string_writer_types.java:250: error: cannot find symbol TypeCtorInfo_91_91 = jmercury.runtime.TypeInfo_Struct.maybe_new(bitmap.bitmap__type_ctor_info_bitmap_0); ^ symbol: variable bitmap location: class stream_string_writer_types 100 errors gmake[3]: *** [/tmp/mmake.CoUmRN:2411: stream_string_writer_types] Error 1 gmake[3]: Target 'stream_string_writer_types.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_string_writer_types.log] Error 1 RUNNING TEST hard_coded/string_alignment in grade java FAILED TEST hard_coded/string_alignment in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_alignment.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_alignment Making Mercury/int3s/string_alignment.int3 Making Mercury/ints/string_alignment.int Making Mercury/javas/jmercury/string_alignment.java Making Java class files Mercury/javas/jmercury/string_alignment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/string_alignment.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_alignment__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_alignment.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/string_alignment.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment.java:556: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/string_alignment.java:303: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_alignment.java:514: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_alignment.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_alignment"; ^ Mercury/javas/jmercury/string_alignment.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_alignment.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_alignment.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_alignment Mercury/javas/jmercury/string_alignment.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_alignment Mercury/javas/jmercury/string_alignment.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_alignment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_alignment.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/string_alignment.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/string_alignment.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_alignment__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_alignment.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/string_alignment.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/string_alignment.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:54: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:62: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:66: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/string_alignment.java:66: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:71: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:79: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:83: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/string_alignment.java:83: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:88: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:96: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:100: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/string_alignment.java:100: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:105: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:113: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:125: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/string_alignment.java:127: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/string_alignment.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/string_alignment.java:161: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/string_alignment.java:240: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:243: error: cannot find symbol io.write_string_3_p_0(S_4); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:246: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:256: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:259: error: cannot find symbol io.write_string_3_p_0(S_12); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:262: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:272: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:275: error: cannot find symbol io.write_string_3_p_0(S_20); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:278: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:288: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:291: error: cannot find symbol io.write_string_3_p_0(S_28); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:294: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_alignment Mercury/javas/jmercury/string_alignment.java:299: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:309: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/string_alignment.java:315: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/string_alignment.java:326: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/string_alignment.java:336: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:342: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/string_alignment.java:350: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:356: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/string_alignment.java:359: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:366: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/string_alignment.java:374: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_8, ArgY1_9); ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:379: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/string_alignment.java:382: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:390: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/string_alignment.java:398: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_10, ArgY1_11); ^ symbol: variable private_builtin location: class string_alignment Mercury/javas/jmercury/string_alignment.java:403: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:407: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:418: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/string_alignment.java:494: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_alignment.java:543: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors gmake[3]: *** [/tmp/mmake.V8cms1:2411: string_alignment] Error 1 gmake[3]: Target 'string_alignment.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_alignment.log] Error 1 RUNNING TEST hard_coded/string_alignment_bug in grade java FAILED TEST hard_coded/stream_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - stream_test Making Mercury/int3s/stream_test.int3 Making Mercury/ints/stream_test.int Making Mercury/javas/jmercury/stream_test.java Making Java class files Mercury/javas/jmercury/stream_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stream_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] stream_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/stream_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] stream_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/stream_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct stream_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/stream_test.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/stream_test.java:108: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stream_test.java:109: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/stream_test.java:245: error: package list does not exist list.List_1 Xs_5) ^ Mercury/javas/jmercury/stream_test.java:242: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/stream_test.java:540: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/stream_test.java:541: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/stream_test.java:412: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/stream_test.java:476: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/stream_test.java:518: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/stream_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_test"; ^ Mercury/javas/jmercury/stream_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_test Mercury/javas/jmercury/stream_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_test Mercury/javas/jmercury/stream_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/stream_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc stream_test__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/stream_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] stream_test__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/stream_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] stream_test__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/stream_test.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct stream_test__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/stream_test.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class stream_test Mercury/javas/jmercury/stream_test.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/stream_test.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class stream_test Mercury/javas/jmercury/stream_test.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/stream_test.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/stream_test.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/stream_test.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/stream_test.java:108: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/stream_test.java:109: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/stream_test.java:116: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:117: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:118: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:118: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:122: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:124: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:124: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:125: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:125: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:129: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__int__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:131: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:131: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:132: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class stream_test Mercury/javas/jmercury/stream_test.java:132: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/stream_test.java:133: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:133: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:137: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:139: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:139: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:140: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class stream_test Mercury/javas/jmercury/stream_test.java:140: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/stream_test.java:141: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:141: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:145: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__character__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:147: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:147: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:148: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class stream_test Mercury/javas/jmercury/stream_test.java:148: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/stream_test.java:149: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:149: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:153: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__univ__univ__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:155: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:155: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:156: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))), ^ symbol: variable univ location: class stream_test Mercury/javas/jmercury/stream_test.java:156: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0))), ^ Mercury/javas/jmercury/stream_test.java:157: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:157: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:161: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class stream_test Mercury/javas/jmercury/stream_test.java:162: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class stream_test Mercury/javas/jmercury/stream_test.java:162: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/stream_test.java:166: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_input_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:167: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:167: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:168: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:168: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:172: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__input__arity2__io__text_input_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:174: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:174: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ Mercury/javas/jmercury/stream_test.java:175: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:175: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/stream_test.java:179: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__error__arity1__io__error__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:180: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:180: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0))) ^ Mercury/javas/jmercury/stream_test.java:184: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__reader__arity4__io__text_input_stream__arity0__character__arity0__io__state__arity0__io__error__arity0__)), ^ symbol: variable io location: class stream_test Mercury/javas/jmercury/stream_test.java:187: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_input_stream_0))), ^ symbol: variable io location: class stream_test 100 errors gmake[3]: *** [/tmp/mmake.A6LuJT:2411: stream_test] Error 1 gmake[3]: Target 'stream_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: stream_test.log] Error 1 RUNNING TEST hard_coded/string_all_match in grade java FAILED TEST hard_coded/string_all_match in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_all_match.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_all_match Making Mercury/int3s/string_all_match.int3 Making Mercury/ints/string_all_match.int Making Mercury/javas/jmercury/string_all_match.java Making Java class files Mercury/javas/jmercury/string_all_match.java:326: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_all_match.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_all_match"; ^ Mercury/javas/jmercury/string_all_match.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_all_match.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_all_match.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_all_match Mercury/javas/jmercury/string_all_match.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_all_match Mercury/javas/jmercury/string_all_match.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_all_match.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_all_match.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_all_match Mercury/javas/jmercury/string_all_match.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_all_match.java:97: error: cannot find symbol CodePoint_3 = mr_char.to_int_2_p_0(Char_2); ^ symbol: variable mr_char location: class string_all_match Mercury/javas/jmercury/string_all_match.java:170: error: cannot find symbol Ilseq_4 = string.between_3_f_0(Var_28, Var_29, Var_30); ^ symbol: variable string location: class string_all_match Mercury/javas/jmercury/string_all_match.java:175: error: cannot find symbol Var_32 = string.f_43_43_2_f_0(Ilseq_4, Var_33); ^ symbol: variable string location: class string_all_match Mercury/javas/jmercury/string_all_match.java:178: error: cannot find symbol S_5 = string.f_43_43_2_f_0(Var_31, Var_32); ^ symbol: variable string location: class string_all_match Mercury/javas/jmercury/string_all_match.java:196: error: cannot find symbol succeeded = mr_char.is_alpha_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_all_match Mercury/javas/jmercury/string_all_match.java:210: error: cannot find symbol succeeded = mr_char.is_alpha_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_all_match Mercury/javas/jmercury/string_all_match.java:224: error: cannot find symbol succeeded = mr_char.is_alpha_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_all_match Mercury/javas/jmercury/string_all_match.java:266: error: cannot find symbol succeeded = mr_char.is_alpha_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_all_match Mercury/javas/jmercury/string_all_match.java:278: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/string_all_match.java:287: error: cannot find symbol succeeded = string.all_match_2_p_0(Pred_6, String_8); ^ symbol: variable string location: class string_all_match Mercury/javas/jmercury/string_all_match.java:293: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_all_match Mercury/javas/jmercury/string_all_match.java:293: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_all_match.java:295: error: cannot find symbol Var_19 = string.string_1_f_0(TypeCtorInfo_23_23, ((java.lang.Object) (String_8))); ^ symbol: variable string location: class string_all_match Mercury/javas/jmercury/string_all_match.java:299: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:302: error: cannot find symbol io.write_string_3_p_0(PredName_7); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:306: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:309: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:313: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:316: error: cannot find symbol io.write_string_3_p_0(Result_10); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:320: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_all_match Mercury/javas/jmercury/string_all_match.java:391: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 35 errors gmake[3]: *** [/tmp/mmake.EngXUk:2411: string_all_match] Error 1 gmake[3]: Target 'string_all_match.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_all_match.log] Error 1 RUNNING TEST hard_coded/string_append_iii in grade java FAILED TEST hard_coded/string_alignment_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_alignment_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-obsolete '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_alignment_bug Making Mercury/int3s/string_alignment_bug.int3 Making Mercury/ints/string_alignment_bug.int Making Mercury/javas/jmercury/string_alignment_bug.java Making Java class files Mercury/javas/jmercury/string_alignment_bug.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0__plain_string_alignment_bug__type_ctor_info_tile_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc string_alignment_bug__enum_functor_desc_kind_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] string_alignment_bug__enum_ordinal_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] string_alignment_bug__enum_name_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_kind_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_pos_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_selection_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment_bug__field_types_tile_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/string_alignment_bug.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment_bug__du_functor_desc_tile_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment_bug__du_stag_ordered_tile_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_alignment_bug__du_ptag_ordered_tile_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment_bug__du_name_ordered_tile_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_tile_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:218: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/string_alignment_bug.java:222: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_5 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:223: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:1103: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/string_alignment_bug.java:313: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_alignment_bug.java:397: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_22, ^ Mercury/javas/jmercury/string_alignment_bug.java:398: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_23) ^ Mercury/javas/jmercury/string_alignment_bug.java:395: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/string_alignment_bug.java:418: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_alignment_bug.java:541: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/string_alignment_bug.java:555: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_alignment_bug.java:595: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_31, ^ Mercury/javas/jmercury/string_alignment_bug.java:692: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:717: error: package pair does not exist pair.Pair_2 HeadVar__2_2, ^ Mercury/javas/jmercury/string_alignment_bug.java:718: error: package pair does not exist pair.Pair_2 HeadVar__3_3) ^ Mercury/javas/jmercury/string_alignment_bug.java:715: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:748: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 HeadVar__2_2, ^ Mercury/javas/jmercury/string_alignment_bug.java:749: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 HeadVar__3_3) ^ Mercury/javas/jmercury/string_alignment_bug.java:746: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:777: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:841: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/string_alignment_bug.java:842: error: package pair does not exist pair.Pair_2 HeadVar__2_2) ^ Mercury/javas/jmercury/string_alignment_bug.java:870: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 HeadVar__1_1, ^ Mercury/javas/jmercury/string_alignment_bug.java:871: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 HeadVar__2_2) ^ Mercury/javas/jmercury/string_alignment_bug.java:1125: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/string_alignment_bug.java:1126: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/string_alignment_bug.java:1106: error: package list does not exist public list.List_1 F2; ^ Mercury/javas/jmercury/string_alignment_bug.java:1115: error: package list does not exist list.List_1 F2) ^ Mercury/javas/jmercury/string_alignment_bug.java:937: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_alignment_bug.java:1060: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_alignment_bug.java:1141: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_alignment_bug.java:1143: error: package pair does not exist public pair.Pair_2 LambdaHeadVar__1_15; ^ Mercury/javas/jmercury/string_alignment_bug.java:1154: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_alignment_bug.java:1157: error: package pair does not exist public pair.Pair_2 conv1_LambdaHeadVar__1_15; ^ Mercury/javas/jmercury/string_alignment_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_alignment_bug"; ^ Mercury/javas/jmercury/string_alignment_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_alignment_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_alignment_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_alignment_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_alignment_bug.java:32: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0__plain_string_alignment_bug__type_ctor_info_tile_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc string_alignment_bug__enum_functor_desc_kind_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] string_alignment_bug__enum_ordinal_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] string_alignment_bug__enum_name_ordered_kind_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_kind_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_pos_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_selection_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_alignment_bug__field_types_tile_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/string_alignment_bug.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_alignment_bug__du_functor_desc_tile_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_alignment_bug.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment_bug__du_stag_ordered_tile_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_alignment_bug__du_ptag_ordered_tile_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_alignment_bug__du_name_ordered_tile_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/string_alignment_bug.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_alignment_bug__type_ctor_info_tile_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_alignment_bug.java:55: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/string_alignment_bug.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:58: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:58: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:62: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:64: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/string_alignment_bug.java:65: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:65: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/string_alignment_bug.java:69: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class string_alignment_bug Mercury/javas/jmercury/string_alignment_bug.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_alignment_bug.pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/string_alignment_bug.java:72: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_alignment_bug.string_alignment_bug__type_ctor_info_tile_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/string_alignment_bug.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/string_alignment_bug.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/string_alignment_bug.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/string_alignment_bug.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/string_alignment_bug.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/string_alignment_bug.java:118: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_alignment_bug.pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/string_alignment_bug.java:126: error: cannot find symbol set_ordlist.set_ordlist__type_ctor_info_set_ordlist_1, ^ symbol: variable set_ordlist location: class string_alignment_bug 100 errors gmake[3]: *** [/tmp/mmake.NmjasZ:2411: string_alignment_bug] Error 1 gmake[3]: Target 'string_alignment_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_alignment_bug.log] Error 1 RUNNING TEST hard_coded/string_append_ioi in grade java FAILED TEST hard_coded/string_append_iii in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_iii.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_iii Making Mercury/int3s/string_append_iii.int3 Making Mercury/ints/string_append_iii.int Making Mercury/javas/jmercury/string_append_iii.java Making Java class files Mercury/javas/jmercury/string_append_iii.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_iii"; ^ Mercury/javas/jmercury/string_append_iii.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_iii.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_iii.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_iii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_iii Mercury/javas/jmercury/string_append_iii.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_iii.java:39: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_append_iii 12 errors gmake[3]: *** [/tmp/mmake.5nsm8h:2411: string_append_iii] Error 1 gmake[3]: Target 'string_append_iii.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_append_iii.log] Error 1 RUNNING TEST hard_coded/string_append_ooi in grade java FAILED TEST hard_coded/string_append_ioi in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ioi.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ioi Making Mercury/int3s/string_append_ioi.int3 Making Mercury/ints/string_append_ioi.int Making Mercury/javas/jmercury/string_append_ioi.java Making Java class files Mercury/javas/jmercury/string_append_ioi.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ioi.java:33: 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/string_append_ioi.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_ioi"; ^ Mercury/javas/jmercury/string_append_ioi.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_ioi.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_ioi.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_ioi.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_ioi.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ioi.java:33: 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/string_append_ioi.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_ioi.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_append_ioi.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_append_ioi.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_append_ioi.java:72: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_11, Var_12); ^ symbol: variable string location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:81: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_13, Var_14); ^ symbol: variable string location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:90: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_15, Var_16); ^ symbol: variable string location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:99: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_17, Var_18); ^ symbol: variable string location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:108: error: cannot find symbol java.lang.Object [] result = string.append_3_p_1(Var_19, Var_20); ^ symbol: variable string location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/string_append_ioi.java:120: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/string_append_ioi.java:121: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/string_append_ioi.java:122: error: package list does not exist list.List_1 Var_24 = null; ^ Mercury/javas/jmercury/string_append_ioi.java:123: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/string_append_ioi.java:124: error: package list does not exist list.List_1 Var_26 = (list.List_1) string_append_ioi.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_append_ioi.java:124: error: package list does not exist list.List_1 Var_26 = (list.List_1) string_append_ioi.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_append_ioi.java:127: error: package list.List_1 does not exist Var_25 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_ioi.java:133: error: package list.List_1 does not exist Var_24 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_ioi.java:139: error: package list.List_1 does not exist Var_23 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_ioi.java:145: error: package list.List_1 does not exist Var_21 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_ioi.java:150: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ioi.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_append_ioi.java:152: error: cannot find symbol io.write_3_p_0(TypeInfo_29_29, ((java.lang.Object) (Var_21))); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:155: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_append_ioi Mercury/javas/jmercury/string_append_ioi.java:163: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_append_ioi 41 errors gmake[3]: *** [/tmp/mmake.bKab99:2411: string_append_ioi] Error 1 gmake[3]: Target 'string_append_ioi.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_append_ioi.log] Error 1 RUNNING TEST hard_coded/string_append_ooi_ilseq in grade java FAILED TEST hard_coded/string_append_ooi in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ooi.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ooi Making Mercury/int3s/string_append_ooi.int3 Making Mercury/ints/string_append_ooi.int Making Mercury/javas/jmercury/string_append_ooi.java Making Java class files Mercury/javas/jmercury/string_append_ooi.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_append_ooi.java:89: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi.java:177: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/string_append_ooi.java:191: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi.java:214: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_append_ooi.java:233: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_append_ooi.java:280: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi.java:282: error: package pair does not exist public pair.Pair_2 LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/string_append_ooi.java:290: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi.java:293: error: package pair does not exist public pair.Pair_2 conv0_LambdaHeadVar__1_11; ^ Mercury/javas/jmercury/string_append_ooi.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_ooi"; ^ Mercury/javas/jmercury/string_append_ooi.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_ooi.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_ooi.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_ooi.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_ooi.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_append_ooi.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_append_ooi.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_append_ooi.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_ooi.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/string_append_ooi.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_append_ooi.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_append_ooi.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_ooi.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_append_ooi.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/string_append_ooi.java:105: error: cannot find symbol string.nondet_append_3_p_0(Var_12, new AddrOf3_0(0), env_ptr); ^ symbol: variable string location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:117: error: package pair does not exist ((string_append_ooi.introducedFrom__pred__main__25__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11 = new pair.Pair_2( ^ Mercury/javas/jmercury/string_append_ooi.java:123: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi.introducedFrom__pred__main__25__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi.introducedFrom__pred__main__25__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_11)), ((java.lang.Object) (((string_append_ooi.introducedFrom__pred__main__25__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_append_ooi.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_append_ooi.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/string_append_ooi.java:147: error: package list does not exist list.List_1 UnsortedSolutions_6 = null; ^ Mercury/javas/jmercury/string_append_ooi.java:148: error: package list does not exist list.List_1 Solutions_7 = null; ^ Mercury/javas/jmercury/string_append_ooi.java:152: error: cannot find symbol UnsortedSolutions_6 = solutions.unsorted_solutions_2_p_0(TypeInfo_16_16, Var_10); ^ symbol: variable solutions location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:155: error: cannot find symbol Solutions_7 = list.sort_2_p_0(TypeInfo_16_16, UnsortedSolutions_6); ^ symbol: variable list location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:157: error: package jmercury.runtime does not exist TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/string_append_ooi.java:159: error: cannot find symbol io.write_line_3_p_0(TypeInfo_17_17, ((java.lang.Object) (Solutions_7))); ^ symbol: variable io location: class string_append_ooi Mercury/javas/jmercury/string_append_ooi.java:171: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((string_append_ooi.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi.java:225: error: package pair does not exist string_append_ooi.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/string_append_ooi.java:258: error: package jmercury.runtime does not exist string_append_ooi.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/string_append_ooi.java:263: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 56 errors gmake[3]: *** [/tmp/mmake.pV0Oog:2411: string_append_ooi] Error 1 gmake[3]: Target 'string_append_ooi.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_append_ooi.log] Error 1 RUNNING TEST hard_coded/string_append_pieces in grade java FAILED TEST hard_coded/string_append_ooi_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ooi_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_ooi_ilseq Making Mercury/int3s/string_append_ooi_ilseq.int3 Making Mercury/ints/string_append_ooi_ilseq.int Making Mercury/javas/jmercury/string_append_ooi_ilseq.java Making Java class files Mercury/javas/jmercury/string_append_ooi_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:165: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:179: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:218: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:291: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:400: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:419: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:475: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:478: error: package pair does not exist public pair.Pair_2 conv0_HeadVar__2_2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:484: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:486: error: package pair does not exist public pair.Pair_2 HeadVar__2_2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_ooi_ilseq"; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:78: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:78: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:87: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:88: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:89: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:90: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:91: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:92: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:121: error: cannot find symbol Var_11 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:126: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:130: error: cannot find symbol Var_13 = string.f_43_43_2_f_0(S1_5, Var_14); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:133: error: cannot find symbol S_6 = string.f_43_43_2_f_0(S0_4, Var_13); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:144: error: package jmercury.runtime does not exist TypeInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi_ilseq.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:145: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:147: error: cannot find symbol conv1_STATE_VARIABLE_IO_8 = solutions.unsorted_aggregate_4_p_2(TypeInfo_21_21, TypeCtorInfo_22_22, Var_15, Var_16, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:159: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:210: error: package pair does not exist string_append_ooi_ilseq.write_result_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:231: error: cannot find symbol string.nondet_append_3_p_0(S_3, new AddrOf3_0(0), env_ptr); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:242: error: package pair does not exist ((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).HeadVar__2_2 = new pair.Pair_2( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:248: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:271: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_13 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:274: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_21 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:277: error: cannot find symbol Var_14 = string__format.format_cast_int_to_uint_2_p_0(I_4); ^ symbol: variable string__format location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:279: error: package string__parse_util does not exist Var_21 = (string__parse_util.String_format_flags_0) string_append_ooi_ilseq.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:280: error: package string__parse_util does not exist Var_13 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:282: error: cannot find symbol Var_15 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_21, Var_13, Var_14); ^ symbol: variable string__format location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:285: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:293: error: package pair does not exist java.lang.String L_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:294: error: package pair does not exist java.lang.String R_5 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:303: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:311: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:315: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:323: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:337: error: package string does not exist string.Maybe_replaced_0 MaybeReplaced_10 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:341: error: cannot find symbol java.lang.Object [] result = string.index_next_repl_5_p_0(S_5, Index_6); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:345: error: package string does not exist MaybeReplaced_10 = (string.Maybe_replaced_0) result[3]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:355: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_9); ^ symbol: variable mr_char location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:362: error: cannot find symbol Var_16 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:370: error: cannot find symbol io.write_char_3_p_0(Char_9); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:375: error: package string.Maybe_replaced_0 does not exist byte CodeUnit_11 = ((string.Maybe_replaced_0.Replaced_code_unit_1) MaybeReplaced_10).F1; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:379: error: cannot find symbol Var_14 = uint8.to_int_1_f_0(CodeUnit_11); ^ symbol: variable uint8 location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:387: error: cannot find symbol io.write_char_3_p_0(Var_19); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:411: error: package pair does not exist string_append_ooi_ilseq.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:444: error: package jmercury.runtime does not exist string_append_ooi_ilseq.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:458: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 91 errors gmake[3]: *** [/tmp/mmake.FOqwPf:2411: string_append_ooi_ilseq] Error 1 gmake[3]: Target 'string_append_ooi_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_append_ooi_ilseq.log] Error 1 RUNNING TEST hard_coded/string_builder_test in grade java FAILED TEST hard_coded/string_append_pieces in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_pieces.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_append_pieces Making Mercury/int3s/string_append_pieces.int3 Making Mercury/ints/string_append_pieces.int Making Mercury/javas/jmercury/string_append_pieces.java Making Java class files Mercury/javas/jmercury/string_append_pieces.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_string__type_ctor_info_string_piece_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_pieces.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_pieces.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_append_pieces.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_append_pieces.java:60: error: package string.String_piece_0 does not exist private static final string.String_piece_0.String_1[] MR_scalar_common_5 = new string.String_piece_0.String_1[3]; ^ Mercury/javas/jmercury/string_append_pieces.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/string_append_pieces.java:62: error: package string.String_piece_0 does not exist private static final string.String_piece_0.Substring_3[] MR_scalar_common_7 = new string.String_piece_0.Substring_3[10]; ^ Mercury/javas/jmercury/string_append_pieces.java:258: error: package list does not exist list.List_1 Pieces_4) ^ Mercury/javas/jmercury/string_append_pieces.java:411: error: package list does not exist list.List_1 Pieces_4) ^ Mercury/javas/jmercury/string_append_pieces.java:483: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/string_append_pieces.java:501: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_append_pieces.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_pieces"; ^ Mercury/javas/jmercury/string_append_pieces.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_pieces.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_pieces.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_pieces.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_pieces.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_string__type_ctor_info_string_piece_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_pieces.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_pieces.java:38: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string.string__type_ctor_info_string_piece_0 ^ Mercury/javas/jmercury/string_append_pieces.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) string.string__type_ctor_info_string_piece_0 ^ symbol: variable string location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_append_pieces.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_append_pieces.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_append_pieces.java:60: error: package string.String_piece_0 does not exist private static final string.String_piece_0.String_1[] MR_scalar_common_5 = new string.String_piece_0.String_1[3]; ^ Mercury/javas/jmercury/string_append_pieces.java:61: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[15]; ^ Mercury/javas/jmercury/string_append_pieces.java:62: error: package string.String_piece_0 does not exist private static final string.String_piece_0.Substring_3[] MR_scalar_common_7 = new string.String_piece_0.Substring_3[10]; ^ Mercury/javas/jmercury/string_append_pieces.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_pieces.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_append_pieces.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string.string__type_ctor_info_string_piece_0))) ^ symbol: variable string location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string.string__type_ctor_info_string_piece_0))) ^ Mercury/javas/jmercury/string_append_pieces.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_pieces.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/string_append_pieces.java:74: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_append_pieces.java:82: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:82: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_append_pieces.java:83: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_append_pieces Mercury/javas/jmercury/string_append_pieces.java:83: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_append_pieces.java:92: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_append_pieces.java:94: error: package string.String_piece_0 does not exist new string.String_piece_0.String_1( ^ Mercury/javas/jmercury/string_append_pieces.java:98: error: package string.String_piece_0 does not exist new string.String_piece_0.String_1( ^ Mercury/javas/jmercury/string_append_pieces.java:102: error: package string.String_piece_0 does not exist new string.String_piece_0.String_1( ^ Mercury/javas/jmercury/string_append_pieces.java:106: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:107: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_5[0])), ^ Mercury/javas/jmercury/string_append_pieces.java:108: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:111: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:118: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[0])), ^ Mercury/javas/jmercury/string_append_pieces.java:119: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:122: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:129: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[1])), ^ Mercury/javas/jmercury/string_append_pieces.java:130: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:133: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:140: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[2])), ^ Mercury/javas/jmercury/string_append_pieces.java:141: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:144: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:151: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[3])), ^ Mercury/javas/jmercury/string_append_pieces.java:152: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_6[3] ^ Mercury/javas/jmercury/string_append_pieces.java:155: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:162: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[5])), ^ Mercury/javas/jmercury/string_append_pieces.java:163: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:167: error: package list does not exist ((java.lang.Object) ((list.List_1) string_append_pieces.MR_scalar_common_6[5])), ^ Mercury/javas/jmercury/string_append_pieces.java:168: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:171: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:177: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:178: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[6])), ^ Mercury/javas/jmercury/string_append_pieces.java:179: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:182: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:183: error: package list does not exist ((java.lang.Object) ((list.List_1) string_append_pieces.MR_scalar_common_6[7])), ^ Mercury/javas/jmercury/string_append_pieces.java:184: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_6[6] ^ Mercury/javas/jmercury/string_append_pieces.java:187: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:193: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:194: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[7])), ^ Mercury/javas/jmercury/string_append_pieces.java:195: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:198: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:199: error: package list does not exist ((java.lang.Object) ((list.List_1) string_append_pieces.MR_scalar_common_6[9])), ^ Mercury/javas/jmercury/string_append_pieces.java:200: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_6[8] ^ Mercury/javas/jmercury/string_append_pieces.java:203: error: package string.String_piece_0 does not exist new string.String_piece_0.Substring_3( ^ Mercury/javas/jmercury/string_append_pieces.java:209: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:210: error: package string does not exist ((java.lang.Object) ((string.String_piece_0) string_append_pieces.MR_scalar_common_7[8])), ^ Mercury/javas/jmercury/string_append_pieces.java:211: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_append_pieces.java:214: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_append_pieces.java:215: error: package list does not exist ((java.lang.Object) ((list.List_1) string_append_pieces.MR_scalar_common_6[11])), ^ Mercury/javas/jmercury/string_append_pieces.java:216: error: package list does not exist (list.List_1) string_append_pieces.MR_scalar_common_6[10] ^ 100 errors gmake[3]: *** [/tmp/mmake.AwjIf0:2411: string_append_pieces] Error 1 gmake[3]: Target 'string_append_pieces.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_append_pieces.log] Error 1 RUNNING TEST hard_coded/string_case in grade java FAILED TEST hard_coded/string_builder_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_builder_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_builder_test Making Mercury/int3s/string_builder_test.int3 Making Mercury/ints/string_builder_test.int Making Mercury/javas/jmercury/string_builder_test.java Making Java class files Mercury/javas/jmercury/string_builder_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_builder_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/string_builder_test.java:36: error: package term_to_xml.Element_mapping_0 does not exist private static final term_to_xml.Element_mapping_0.Simple_0[] MR_scalar_common_5 = new term_to_xml.Element_mapping_0.Simple_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:37: error: package term_to_xml.Maybe_stylesheet_0 does not exist private static final term_to_xml.Maybe_stylesheet_0.No_stylesheet_0[] MR_scalar_common_6 = new term_to_xml.Maybe_stylesheet_0.No_stylesheet_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:38: error: package term_to_xml.Maybe_dtd_0 does not exist private static final term_to_xml.Maybe_dtd_0.No_dtd_0[] MR_scalar_common_7 = new term_to_xml.Maybe_dtd_0.No_dtd_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:39: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_builder_test"; ^ Mercury/javas/jmercury/string_builder_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_builder_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_builder_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_builder_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_builder_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_builder_test.java:34: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6]; ^ Mercury/javas/jmercury/string_builder_test.java:36: error: package term_to_xml.Element_mapping_0 does not exist private static final term_to_xml.Element_mapping_0.Simple_0[] MR_scalar_common_5 = new term_to_xml.Element_mapping_0.Simple_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:37: error: package term_to_xml.Maybe_stylesheet_0 does not exist private static final term_to_xml.Maybe_stylesheet_0.No_stylesheet_0[] MR_scalar_common_6 = new term_to_xml.Maybe_stylesheet_0.No_stylesheet_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:38: error: package term_to_xml.Maybe_dtd_0 does not exist private static final term_to_xml.Maybe_dtd_0.No_dtd_0[] MR_scalar_common_7 = new term_to_xml.Maybe_dtd_0.No_dtd_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:39: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_builder_test.java:44: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__stream__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/string_builder_test.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/string_builder_test.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__output__arity2__string__builder__handle__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/string_builder_test.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/string_builder_test.java:57: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__writer__arity3__string__builder__handle__arity0__string__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/string_builder_test.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_builder_test.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/string_builder_test.java:65: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) string__builder.base_typeclass_info_stream__writer__arity3__string__builder__handle__arity0__character__arity0__string__builder__state__arity0__)), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_handle_0))), ^ Mercury/javas/jmercury/string_builder_test.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/string_builder_test.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ symbol: variable string__builder location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string__builder.string__builder__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/string_builder_test.java:73: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:74: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/string_builder_test.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_builder_test.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_builder_test.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_builder_test Mercury/javas/jmercury/string_builder_test.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_builder_test.java:82: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_builder_test.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:86: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_builder_test.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:91: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_builder_test.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:96: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/string_builder_test.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:101: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_builder_test.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:106: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/string_builder_test.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_builder_test.java:111: error: package list does not exist (list.List_1) string_builder_test.MR_scalar_common_4[4] ^ Mercury/javas/jmercury/string_builder_test.java:114: error: package term_to_xml.Element_mapping_0 does not exist new term_to_xml.Element_mapping_0.Simple_0(); ^ Mercury/javas/jmercury/string_builder_test.java:116: error: package term_to_xml.Maybe_stylesheet_0 does not exist new term_to_xml.Maybe_stylesheet_0.No_stylesheet_0(); ^ Mercury/javas/jmercury/string_builder_test.java:118: error: package term_to_xml.Maybe_dtd_0 does not exist new term_to_xml.Maybe_dtd_0.No_dtd_0(); ^ Mercury/javas/jmercury/string_builder_test.java:120: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_builder_test.java:121: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_builder_test.java:122: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_builder_test.java:123: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_builder_test.java:124: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_builder_test.java:125: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_builder_test.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_55_55 = null; ^ Mercury/javas/jmercury/string_builder_test.java:144: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_1_10 = null; ^ Mercury/javas/jmercury/string_builder_test.java:146: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_2_12 = null; ^ Mercury/javas/jmercury/string_builder_test.java:148: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_3_14 = null; ^ Mercury/javas/jmercury/string_builder_test.java:150: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_4_16 = null; ^ Mercury/javas/jmercury/string_builder_test.java:152: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_5_18 = null; ^ Mercury/javas/jmercury/string_builder_test.java:153: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/string_builder_test.java:154: error: package term_to_xml does not exist term_to_xml.Element_mapping_0 Var_20 = null; ^ Mercury/javas/jmercury/string_builder_test.java:155: error: package term_to_xml does not exist term_to_xml.Maybe_stylesheet_0 Var_21 = null; ^ Mercury/javas/jmercury/string_builder_test.java:156: error: package term_to_xml does not exist term_to_xml.Maybe_dtd_0 Var_22 = null; ^ Mercury/javas/jmercury/string_builder_test.java:157: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_6_23 = null; ^ Mercury/javas/jmercury/string_builder_test.java:159: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_7_31 = null; ^ Mercury/javas/jmercury/string_builder_test.java:161: error: package pprint does not exist pprint.Doc_0 Var_33 = null; ^ Mercury/javas/jmercury/string_builder_test.java:162: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_8_34 = null; ^ Mercury/javas/jmercury/string_builder_test.java:163: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/string_builder_test.java:165: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_9_43 = null; ^ Mercury/javas/jmercury/string_builder_test.java:166: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_10_46 = null; ^ Mercury/javas/jmercury/string_builder_test.java:169: error: package string__builder does not exist string__builder.State_0 STATE_VARIABLE_State_11_51 = null; ^ Mercury/javas/jmercury/string_builder_test.java:171: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_63 = null; ^ Mercury/javas/jmercury/string_builder_test.java:173: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_65 = null; ^ Mercury/javas/jmercury/string_builder_test.java:174: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.GukaDb:2411: string_builder_test] Error 1 gmake[3]: Target 'string_builder_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_builder_test.log] Error 1 RUNNING TEST hard_coded/string_char_list_ilseq in grade java FAILED TEST hard_coded/string_char_list_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_char_list_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_char_list_ilseq Making Mercury/int3s/string_char_list_ilseq.int3 Making Mercury/ints/string_char_list_ilseq.int Making Mercury/javas/jmercury/string_char_list_ilseq.java Making Java class files Mercury/javas/jmercury/string_char_list_ilseq.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:225: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_char_list_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_char_list_ilseq"; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_char_list_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_char_list_ilseq.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_char_list_ilseq.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_char_list_ilseq.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_char_list_ilseq.java:59: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_char_list_ilseq.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_char_list_ilseq.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_char_list_ilseq.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_char_list_ilseq.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_char_list_ilseq.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_char_list_ilseq.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = null; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:81: error: package list does not exist list.List_1 CharList_7 = null; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:82: error: package list does not exist list.List_1 RevCharList_8 = null; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:101: error: cannot find symbol Var_13 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:106: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_11, Var_12); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:111: error: cannot find symbol Var_17 = string.f_43_43_2_f_0(S1_5, Var_18); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:114: error: cannot find symbol Var_16 = string.f_43_43_2_f_0(S0_4, Var_17); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:117: error: cannot find symbol S_6 = string.f_43_43_2_f_0(Var_15, Var_16); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:120: error: cannot find symbol CharList_7 = string.to_char_list_2_p_0(S_6); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:124: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:128: error: cannot find symbol TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:128: error: package jmercury.runtime does not exist TypeCtorInfo_35_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_char_list_ilseq.java:130: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_35_35, CharList_7, Var_21, Var_22); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:134: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:137: error: cannot find symbol RevCharList_8 = string.to_rev_char_list_2_p_0(S_6); ^ symbol: variable string location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:141: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:146: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_35_35, RevCharList_8, Var_28, Var_29); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:150: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:192: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_4); ^ symbol: variable mr_char location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:197: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_14 = null; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_22 = null; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:203: error: cannot find symbol Var_12 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:206: error: cannot find symbol Var_15 = string__format.format_cast_int_to_uint_2_p_0(Var_12); ^ symbol: variable string__format location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:208: error: package string__parse_util does not exist Var_22 = (string__parse_util.String_format_flags_0) string_char_list_ilseq.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:209: error: package string__parse_util does not exist Var_14 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_char_list_ilseq.java:211: error: cannot find symbol Var_16 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_22, Var_14, Var_15); ^ symbol: variable string__format location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:214: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:219: error: cannot find symbol io.write_char_3_p_0(Char_4); ^ symbol: variable io location: class string_char_list_ilseq Mercury/javas/jmercury/string_char_list_ilseq.java:255: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 55 errors gmake[3]: *** [/tmp/mmake.TzDTld:2411: string_char_list_ilseq] Error 1 gmake[3]: Target 'string_char_list_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_char_list_ilseq.log] Error 1 RUNNING TEST hard_coded/string_class in grade java FAILED TEST hard_coded/string_case in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_case.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_case Making Mercury/int3s/string_case.int3 Making Mercury/ints/string_case.int Making Mercury/javas/jmercury/string_case.java string_case.m:066: In predicate `test_to_lower_in_out'/3: string_case.m:066: warning: the second argument and the third argument, string_case.m:066: represented by the state variable `!IO', could be deleted, string_case.m:066: because they are not used, and because the final value is string_case.m:066: always the same as the initial value. string_case.m:077: In predicate `test_to_upper_in_out'/3: string_case.m:077: warning: the second argument and the third argument, string_case.m:077: represented by the state variable `!IO', could be deleted, string_case.m:077: because they are not used, and because the final value is string_case.m:077: always the same as the initial value. string_case.m:088: In predicate `test_to_lower_in_in'/3: string_case.m:088: warning: the second argument and the third argument, string_case.m:088: represented by the state variable `!IO', could be deleted, string_case.m:088: because they are not used, and because the final value is string_case.m:088: always the same as the initial value. string_case.m:098: In predicate `test_to_upper_in_in'/3: string_case.m:098: warning: the second argument and the third argument, string_case.m:098: represented by the state variable `!IO', could be deleted, string_case.m:098: because they are not used, and because the final value is string_case.m:098: always the same as the initial value. string_case.m:109: In predicate `test_compare_ignore_case_ascii'/3: string_case.m:109: warning: the second argument and the third argument, string_case.m:109: represented by the state variable `!IO', could be deleted, string_case.m:109: because they are not used, and because the final value is string_case.m:109: always the same as the initial value. Making Java class files Mercury/javas/jmercury/string_case.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_case.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_case.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_case.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/string_case.java:236: error: package builtin does not exist builtin.Comparison_result_0 ResIgnCase_7, ^ Mercury/javas/jmercury/string_case.java:237: error: package builtin does not exist builtin.Comparison_result_0 ResLower_8) ^ Mercury/javas/jmercury/string_case.java:246: error: package builtin does not exist builtin.Comparison_result_0 ResIgnCase_7, ^ Mercury/javas/jmercury/string_case.java:247: error: package builtin does not exist builtin.Comparison_result_0 ResUpper_9) ^ Mercury/javas/jmercury/string_case.java:256: error: package builtin does not exist builtin.Comparison_result_0 Expected_7, ^ Mercury/javas/jmercury/string_case.java:257: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__2_14) ^ Mercury/javas/jmercury/string_case.java:266: error: package builtin does not exist builtin.Comparison_result_0 Expected_7, ^ Mercury/javas/jmercury/string_case.java:267: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__2_18) ^ Mercury/javas/jmercury/string_case.java:286: error: package builtin does not exist builtin.Comparison_result_0 Expected_7, ^ Mercury/javas/jmercury/string_case.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__2_14) ^ Mercury/javas/jmercury/string_case.java:296: error: package builtin does not exist builtin.Comparison_result_0 Expected_7, ^ Mercury/javas/jmercury/string_case.java:297: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__2_18) ^ Mercury/javas/jmercury/string_case.java:453: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_case.java:517: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_case.java:581: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_case.java:619: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_case.java:1150: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/string_case.java:1245: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_case.java:1332: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_case.java:1433: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_case.java:1442: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_case.java:1451: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_case.java:1460: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_case.java:1463: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6; ^ Mercury/javas/jmercury/string_case.java:1466: error: package list does not exist public list.List_1 Var_5; ^ Mercury/javas/jmercury/string_case.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_case"; ^ Mercury/javas/jmercury/string_case.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_case.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_case.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_case Mercury/javas/jmercury/string_case.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_case Mercury/javas/jmercury/string_case.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_case.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_case.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_case.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_case.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_case.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_case.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_case.java:54: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/string_case.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_case.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/string_case.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_case.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_case.java:70: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:70: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_case.java:71: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:71: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_case.java:72: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:72: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_case.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_case.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_case Mercury/javas/jmercury/string_case.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_case.java:143: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:143: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_case.java:144: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:144: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_case.java:159: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_case.java:161: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:163: error: package list does not exist (list.List_1) string_case.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/string_case.java:166: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:168: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/string_case.java:171: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:173: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/string_case.java:176: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:178: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[2] ^ Mercury/javas/jmercury/string_case.java:181: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:183: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[3] ^ Mercury/javas/jmercury/string_case.java:186: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:188: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[4] ^ Mercury/javas/jmercury/string_case.java:191: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:193: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[5] ^ Mercury/javas/jmercury/string_case.java:196: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:198: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[6] ^ Mercury/javas/jmercury/string_case.java:201: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:203: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[7] ^ Mercury/javas/jmercury/string_case.java:206: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_case.java:208: error: package list does not exist (list.List_1) string_case.MR_scalar_common_5[8] ^ Mercury/javas/jmercury/string_case.java:215: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:215: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_case.java:216: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:216: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/string_case.java:223: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)), ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:223: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)), ^ Mercury/javas/jmercury/string_case.java:224: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ symbol: variable builtin location: class string_case Mercury/javas/jmercury/string_case.java:224: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0)) ^ Mercury/javas/jmercury/string_case.java:317: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_35_35 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.txH41N:2411: string_case] Error 1 gmake[3]: Target 'string_case.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_case.log] Error 1 RUNNING TEST hard_coded/string_code_point in grade java FAILED TEST hard_coded/string_class in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_class.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_class Making Mercury/int3s/string_class.int3 Making Mercury/ints/string_class.int Making Mercury/javas/jmercury/string_class.java Making Java class files Mercury/javas/jmercury/string_class.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_class.java:366: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_class.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_class"; ^ Mercury/javas/jmercury/string_class.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_class.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_class.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_class Mercury/javas/jmercury/string_class.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_class Mercury/javas/jmercury/string_class.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_class.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_class.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class string_class Mercury/javas/jmercury/string_class.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_class.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_class Mercury/javas/jmercury/string_class.java:59: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class string_class Mercury/javas/jmercury/string_class.java:59: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/string_class.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_class Mercury/javas/jmercury/string_class.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_class.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class string_class Mercury/javas/jmercury/string_class.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/string_class.java:170: error: cannot find symbol succeeded = string.is_all_alpha_1_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable string location: class string_class Mercury/javas/jmercury/string_class.java:184: error: cannot find symbol succeeded = string.is_all_alpha_or_underscore_1_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable string location: class string_class Mercury/javas/jmercury/string_class.java:198: error: cannot find symbol succeeded = string.is_all_alnum_or_underscore_1_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable string location: class string_class Mercury/javas/jmercury/string_class.java:212: error: cannot find symbol succeeded = string.is_all_digits_1_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable string location: class string_class Mercury/javas/jmercury/string_class.java:240: error: cannot find symbol succeeded = string.all_match_2_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) wrapper_arg_1)); ^ symbol: variable string location: class string_class Mercury/javas/jmercury/string_class.java:254: error: cannot find symbol Int_3 = mr_char.to_int_2_p_0(Char_2); ^ symbol: variable mr_char location: class string_class Mercury/javas/jmercury/string_class.java:302: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:313: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/string_class.java:313: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_6)[1]); ^ Mercury/javas/jmercury/string_class.java:316: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_6))), ((java.lang.Object) (((java.lang.Object) (Chars_8)))))).booleanValue(); ^ Mercury/javas/jmercury/string_class.java:324: error: cannot find symbol io.write_string_3_p_0(Name_7); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:328: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:331: error: cannot find symbol io.write_string_3_p_0(Chars_8); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:335: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:345: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:348: error: cannot find symbol io.write_string_3_p_0(Name_7); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:352: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:355: error: cannot find symbol io.write_string_3_p_0(Chars_8); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:359: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class string_class Mercury/javas/jmercury/string_class.java:431: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 43 errors gmake[3]: *** [/tmp/mmake.XpOoPr:2411: string_class] Error 1 gmake[3]: Target 'string_class.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_class.log] Error 1 RUNNING TEST hard_coded/string_code_point_offset_ilseq in grade java FAILED TEST hard_coded/string_code_point in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_point.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_point Making Mercury/int3s/string_code_point.int3 Making Mercury/ints/string_code_point.int Making Mercury/javas/jmercury/string_code_point.java Making Java class files Mercury/javas/jmercury/string_code_point.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_code_point.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_code_point.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_point.java:434: error: package list does not exist list.List_1 EndRange_7, ^ Mercury/javas/jmercury/string_code_point.java:1075: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_code_point.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_code_point"; ^ Mercury/javas/jmercury/string_code_point.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_code_point.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_code_point.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_code_point Mercury/javas/jmercury/string_code_point.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_code_point Mercury/javas/jmercury/string_code_point.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_code_point.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_code_point.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_code_point.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_code_point Mercury/javas/jmercury/string_code_point.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/string_code_point.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/string_code_point.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_point.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_code_point.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_code_point Mercury/javas/jmercury/string_code_point.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_code_point.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_code_point.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_code_point.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_code_point Mercury/javas/jmercury/string_code_point.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_code_point.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_code_point.java:65: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_code_point.java:66: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_code_point.java:67: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_code_point.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_code_point.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_code_point.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_code_point.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_code_point.java:79: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:79: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_code_point.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_point.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_point.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_code_point.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_code_point.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_code_point Mercury/javas/jmercury/string_code_point.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_code_point.java:91: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:91: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_point.java:92: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:92: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_point.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_112_112 = null; ^ Mercury/javas/jmercury/string_code_point.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_113_113 = null; ^ Mercury/javas/jmercury/string_code_point.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_117_117 = null; ^ Mercury/javas/jmercury/string_code_point.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = null; ^ Mercury/javas/jmercury/string_code_point.java:113: error: package list does not exist list.List_1 CharList_7 = null; ^ Mercury/javas/jmercury/string_code_point.java:116: error: package list does not exist list.List_1 CodeUnitList_10 = null; ^ Mercury/javas/jmercury/string_code_point.java:119: error: package list does not exist list.List_1 Range_14 = null; ^ Mercury/javas/jmercury/string_code_point.java:163: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:166: error: cannot find symbol NumCodeUnits_5 = string.count_code_units_2_p_0(Str_4); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:169: error: cannot find symbol io.write_int_3_p_0(NumCodeUnits_5); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:176: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:180: error: cannot find symbol io.write_int_3_p_0(NumCodePoints_6); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:183: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:187: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:219: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:222: error: cannot find symbol CharList_7 = string.to_char_list_2_p_0(Str_4); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:224: error: package jmercury.runtime does not exist TypeInfo_112_112 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_code_point.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_code_point.java:226: error: cannot find symbol io.write_3_p_0(TypeInfo_112_112, ((java.lang.Object) (CharList_7))); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:233: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:236: error: cannot find symbol Str1_8 = string.from_char_list_2_p_0(CharList_7); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:239: error: cannot find symbol io.write_string_3_p_0(Str1_8); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:242: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:246: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:249: error: cannot find symbol RevStr_9 = string.from_rev_char_list_2_p_0(CharList_7); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:252: error: cannot find symbol io.write_string_3_p_0(RevStr_9); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:255: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:259: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:262: error: cannot find symbol CodeUnitList_10 = string.to_code_unit_list_2_p_0(Str_4); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:264: error: package jmercury.runtime does not exist TypeInfo_113_113 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_code_point.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/string_code_point.java:266: error: cannot find symbol io.write_3_p_0(TypeInfo_113_113, ((java.lang.Object) (CodeUnitList_10))); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:269: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:272: error: cannot find symbol java.lang.Object [] result = string.from_code_unit_list_2_p_0(CodeUnitList_10); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:281: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:284: error: cannot find symbol io.write_string_3_p_0(Str2_11); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:287: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:292: error: cannot find symbol io.write_string_3_p_0(Var_61); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:300: error: cannot find symbol io.write_string_3_p_0(Var_65); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:308: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:316: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:319: error: cannot find symbol Var_75 = string.length_1_f_0(Str_4); ^ symbol: variable string location: class string_code_point Mercury/javas/jmercury/string_code_point.java:326: error: cannot find symbol io.write_string_3_p_0(Var_77); ^ symbol: variable io location: class string_code_point Mercury/javas/jmercury/string_code_point.java:362: error: cannot find symbol io.write_string_3_p_0(Var_95); ^ symbol: variable io location: class string_code_point 100 errors gmake[3]: *** [/tmp/mmake.z5gvMW:2411: string_code_point] Error 1 gmake[3]: Target 'string_code_point.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_code_point.log] Error 1 RUNNING TEST hard_coded/string_code_unit in grade java FAILED TEST hard_coded/string_code_point_offset_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_point_offset_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_point_offset_ilseq Making Mercury/int3s/string_code_point_offset_ilseq.int3 Making Mercury/ints/string_code_point_offset_ilseq.int Making Mercury/javas/jmercury/string_code_point_offset_ilseq.java Making Java class files Mercury/javas/jmercury/string_code_point_offset_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_code_point_offset_ilseq"; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:86: error: cannot find symbol Var_11 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:91: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:97: error: cannot find symbol Var_17 = string.f_43_43_2_f_0(S1_5, Var_18); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:100: error: cannot find symbol Var_15 = string.f_43_43_2_f_0(Var_16, Var_17); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:103: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(S0_4, Var_15); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:106: error: cannot find symbol S_6 = string.f_43_43_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:110: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:118: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:122: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:130: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:134: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:142: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:159: error: cannot find symbol java.lang.Object [] result = string.code_point_offset_4_p_0(S_6, StartOffset_7, Count_8); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:169: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_48 = null; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:179: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:181: error: package string__parse_util does not exist Var_48 = (string__parse_util.String_format_flags_0) string_code_point_offset_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:183: error: cannot find symbol Var_42 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_48, StartOffset_7); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:186: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:190: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:193: error: cannot find symbol Var_52 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_48, Count_8); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:196: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:200: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:203: error: cannot find symbol Var_62 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_48, Offset_10); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:206: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:210: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:213: error: cannot find symbol java.lang.Object [] result = string.index_3_p_0(S_6, Offset_10); ^ symbol: variable string location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:222: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:227: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_11); ^ symbol: variable mr_char location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:232: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_96 = null; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:235: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_104 = null; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:238: error: cannot find symbol Var_94 = mr_char.to_int_1_f_0(Char_11); ^ symbol: variable mr_char location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:241: error: cannot find symbol Var_97 = string__format.format_cast_int_to_uint_2_p_0(Var_94); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:243: error: package string__parse_util does not exist Var_104 = (string__parse_util.String_format_flags_0) string_code_point_offset_ilseq.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:244: error: package string__parse_util does not exist Var_96 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:246: error: cannot find symbol Var_98 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_104, Var_96, Var_97); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:249: error: cannot find symbol io.write_string_3_p_0(Var_98); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:254: error: cannot find symbol io.write_char_3_p_0(Char_11); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:257: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:265: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:279: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_79 = null; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:285: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:287: error: package string__parse_util does not exist Var_79 = (string__parse_util.String_format_flags_0) string_code_point_offset_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_code_point_offset_ilseq.java:289: error: cannot find symbol Var_73 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_79, StartOffset_7); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:292: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:296: error: cannot find symbol io.write_string_3_p_0(Var_81); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:299: error: cannot find symbol Var_83 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_79, Count_8); ^ symbol: variable string__format location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:302: error: cannot find symbol io.write_string_3_p_0(Var_83); ^ symbol: variable io location: class string_code_point_offset_ilseq Mercury/javas/jmercury/string_code_point_offset_ilseq.java:306: error: cannot find symbol io.write_string_3_p_0(Var_90); ^ symbol: variable io location: class string_code_point_offset_ilseq 73 errors gmake[3]: *** [/tmp/mmake.joKekg:2411: string_code_point_offset_ilseq] Error 1 gmake[3]: Target 'string_code_point_offset_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_code_point_offset_ilseq.log] Error 1 RUNNING TEST hard_coded/string_compare_substrings in grade java FAILED TEST hard_coded/string_code_unit in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_unit.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_code_unit Making Mercury/int3s/string_code_unit.int3 Making Mercury/ints/string_code_unit.int Making Mercury/javas/jmercury/string_code_unit.java Making Java class files Mercury/javas/jmercury/string_code_unit.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/string_code_unit.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/string_code_unit.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:384: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_code_unit.java:403: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_code_unit.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_code_unit"; ^ Mercury/javas/jmercury/string_code_unit.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_code_unit.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_code_unit.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_code_unit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_code_unit.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/string_code_unit.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/string_code_unit.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_code_unit.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:45: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/string_code_unit.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:50: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_code_unit.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:55: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/string_code_unit.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:60: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/string_code_unit.java:63: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:65: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/string_code_unit.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:70: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/string_code_unit.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:75: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/string_code_unit.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_code_unit.java:83: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:83: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_unit.java:84: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:84: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_unit.java:91: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:91: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_code_unit.java:92: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:92: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_unit.java:93: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:93: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_unit.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_code_unit.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_code_unit.java:134: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_code_unit.java:135: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:136: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:137: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_code_unit.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:139: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_code_unit.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_code_unit.java:152: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_code_unit.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_code_unit.java:153: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_code_unit.java:154: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_code_unit.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/string_code_unit.java:154: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_code_unit.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/string_code_unit.java:159: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_25_25, TypeCtorInfo_26_26, Var_21, Strings_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_31 = null; ^ Mercury/javas/jmercury/string_code_unit.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_32 = null; ^ Mercury/javas/jmercury/string_code_unit.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_35 = null; ^ Mercury/javas/jmercury/string_code_unit.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_38 = null; ^ Mercury/javas/jmercury/string_code_unit.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_41 = null; ^ Mercury/javas/jmercury/string_code_unit.java:188: error: package list does not exist list.List_1 Chars_6 = null; ^ Mercury/javas/jmercury/string_code_unit.java:189: error: package list does not exist list.List_1 UTF8_7 = null; ^ Mercury/javas/jmercury/string_code_unit.java:190: error: package list does not exist list.List_1 UTF16_8 = null; ^ Mercury/javas/jmercury/string_code_unit.java:194: error: package list does not exist list.List_1 Var_29 = null; ^ Mercury/javas/jmercury/string_code_unit.java:206: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:209: error: cannot find symbol Chars_6 = string.to_char_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:211: error: cannot find symbol TypeCtorInfo_11_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:211: error: package jmercury.runtime does not exist TypeCtorInfo_11_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_code_unit.java:212: error: cannot find symbol TypeCtorInfo_12_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:212: error: package jmercury.runtime does not exist TypeCtorInfo_12_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:215: error: cannot find symbol Var_29 = list.map_2_f_0(TypeCtorInfo_11_31, TypeCtorInfo_12_32, Var_30, Chars_6); ^ symbol: variable list location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:219: error: cannot find symbol TypeCtorInfo_13_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:219: error: package jmercury.runtime does not exist TypeCtorInfo_13_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:221: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_35, Var_29, Var_33, Var_34); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:224: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:227: error: cannot find symbol UTF8_7 = string.to_utf8_code_unit_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:231: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:235: error: cannot find symbol TypeCtorInfo_13_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:235: error: package jmercury.runtime does not exist TypeCtorInfo_13_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:237: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_38, UTF8_7, Var_36, Var_37); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:243: error: cannot find symbol java.lang.Object [] result = string.from_utf8_code_unit_list_2_p_0(UTF8_7); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:254: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:258: error: cannot find symbol UTF16_8 = string.to_utf16_code_unit_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:262: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:266: error: cannot find symbol TypeCtorInfo_13_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_13_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:268: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_41, UTF16_8, Var_39, Var_40); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:271: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:274: error: cannot find symbol java.lang.Object [] result = string.from_utf16_code_unit_list_2_p_0(UTF16_8); ^ symbol: variable string location: class string_code_unit 100 errors gmake[3]: *** [/tmp/mmake.Qutdln:2411: string_code_unit] Error 1 gmake[3]: Target 'string_code_unit.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_code_unit.log] Error 1 RUNNING TEST hard_coded/string_contains_char in grade java FAILED TEST hard_coded/string_contains_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_contains_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_contains_char Making Mercury/int3s/string_contains_char.int3 Making Mercury/ints/string_contains_char.int Making Mercury/javas/jmercury/string_contains_char.java Making Java class files Mercury/javas/jmercury/string_contains_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_contains_char"; ^ Mercury/javas/jmercury/string_contains_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_contains_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_contains_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_contains_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_contains_char.java:122: error: cannot find symbol Ilseq_4 = string.between_3_f_0(Var_38, Var_39, Var_40); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:127: error: cannot find symbol Var_42 = string.f_43_43_2_f_0(Ilseq_4, Var_43); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:130: error: cannot find symbol S_5 = string.f_43_43_2_f_0(Var_41, Var_42); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/string_contains_char.java:161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/string_contains_char.java:171: error: cannot find symbol succeeded = string.contains_char_2_p_0(String_5, Char_6); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:177: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:177: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_contains_char.java:179: error: cannot find symbol Var_15 = string.string_1_f_0(TypeCtorInfo_22_22, ((java.lang.Object) (String_5))); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:181: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:181: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_contains_char.java:183: error: cannot find symbol Var_18 = string.string_1_f_0(TypeCtorInfo_23_23, java.lang.Integer.valueOf(Char_6)); ^ symbol: variable string location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:187: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:190: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:194: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:197: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:201: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:204: error: cannot find symbol io.write_string_3_p_0(Result_8); ^ symbol: variable io location: class string_contains_char Mercury/javas/jmercury/string_contains_char.java:208: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_contains_char 30 errors gmake[3]: *** [/tmp/mmake.WsIVTt:2411: string_contains_char] Error 1 gmake[3]: Target 'string_contains_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_contains_char.log] Error 1 RUNNING TEST hard_coded/string_contains_match in grade java FAILED TEST hard_coded/string_compare_substrings in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_compare_substrings.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_compare_substrings Making Mercury/int3s/string_compare_substrings.int3 Making Mercury/ints/string_compare_substrings.int Making Mercury/javas/jmercury/string_compare_substrings.java Making Java class files Mercury/javas/jmercury/string_compare_substrings.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_compare_substrings.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_compare_substrings.java:95: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_compare_substrings.java:399: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_compare_substrings.java:590: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_compare_substrings.java:650: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_compare_substrings.java:699: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_compare_substrings.java:702: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26; ^ Mercury/javas/jmercury/string_compare_substrings.java:706: error: package list does not exist public list.List_1 Var_14; ^ Mercury/javas/jmercury/string_compare_substrings.java:711: error: package list does not exist public list.List_1 Var_19; ^ Mercury/javas/jmercury/string_compare_substrings.java:726: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_compare_substrings.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_compare_substrings"; ^ Mercury/javas/jmercury/string_compare_substrings.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_compare_substrings.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_compare_substrings.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_compare_substrings.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_compare_substrings.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_compare_substrings.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/string_compare_substrings.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/string_compare_substrings.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/string_compare_substrings.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_compare_substrings.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_compare_substrings.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/string_compare_substrings.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/string_compare_substrings.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/string_compare_substrings.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_compare_substrings.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_compare_substrings.java:69: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:69: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_compare_substrings.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_compare_substrings.java:78: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:78: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_compare_substrings.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_compare_substrings.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_compare_substrings.java:110: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:117: error: cannot find symbol Var_12 = string.length_1_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).X_4); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:122: error: cannot find symbol Var_9 = list.f_46_46_2_f_0(Var_10, Var_11); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:124: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:124: error: package jmercury.runtime does not exist ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_compare_substrings.java:126: error: cannot find symbol list.member_2_p_1(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).TypeCtorInfo_26_26, Var_9, new AddrOf2_0(2), env_ptr); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:139: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_17 = string.length_1_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Y_5); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:144: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_14 = list.f_46_46_2_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_15, ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_16); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:147: error: cannot find symbol list.member_2_p_1(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).TypeCtorInfo_26_26, ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_14, new AddrOf2_0(1), env_ptr); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:184: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_23 = string.length_1_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).X_4); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:187: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_24 = string.length_1_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Y_5); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:190: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_22 = mr_int.max_2_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_23, ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_24); ^ symbol: variable mr_int location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:195: error: cannot find symbol ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_19 = list.f_46_46_2_f_0(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_20, ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_21); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:198: error: cannot find symbol list.member_2_p_1(((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).TypeCtorInfo_26_26, ((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).Var_19, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:241: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((string_compare_substrings.Generate_params_3_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_compare_substrings.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_32_32 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:274: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:279: error: package list does not exist list.List_1 Params_8 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:302: error: cannot find symbol Var_13 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:307: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_11, Var_12); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:313: error: cannot find symbol Var_19 = string.f_43_43_2_f_0(S1_5, Var_20); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:316: error: cannot find symbol Var_17 = string.f_43_43_2_f_0(Var_18, Var_19); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:319: error: cannot find symbol Var_16 = string.f_43_43_2_f_0(S0_4, Var_17); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:322: error: cannot find symbol X_6 = string.f_43_43_2_f_0(Var_15, Var_16); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:328: error: cannot find symbol Var_25 = string.f_43_43_2_f_0(S1_5, Var_26); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:331: error: cannot find symbol Var_23 = string.f_43_43_2_f_0(Var_24, Var_25); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:334: error: cannot find symbol Var_22 = string.f_43_43_2_f_0(S0_4, Var_23); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:337: error: cannot find symbol Y_7 = string.f_43_43_2_f_0(Var_21, Var_22); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:348: error: package jmercury.runtime does not exist TypeInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_compare_substrings.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_compare_substrings.java:350: error: cannot find symbol Params_8 = solutions.solutions_2_p_1(TypeInfo_32_32, Var_27); ^ symbol: variable solutions location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:361: error: cannot find symbol TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:361: error: package jmercury.runtime does not exist TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_compare_substrings.java:363: error: cannot find symbol conv1_STATE_VARIABLE_IO_1_29 = list.foldl_4_p_2(TypeInfo_32_32, TypeCtorInfo_36_36, Var_28, Params_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:367: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:379: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_compare_substrings.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_compare_substrings.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((string_compare_substrings.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_compare_substrings.java:444: error: package builtin does not exist builtin.Comparison_result_0 Res_7 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:466: error: cannot find symbol Res_7 = private_builtin.builtin_compare_string_3_p_0(SubX_13, SubY_14); ^ symbol: variable private_builtin location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:496: error: cannot find symbol Var_10 = string.length_1_f_0(Str_5); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:502: error: cannot find symbol Var_11 = string.length_1_f_0(Str_5); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:508: error: cannot find symbol SubStr_8 = string.between_4_p_0(Str_5, Start_6, End_7); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:531: error: package builtin does not exist builtin.Comparison_result_0 Rel_12 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:534: error: cannot find symbol java.lang.Object [] result = string.compare_substrings_6_p_0(X_6, IX_8, Y_7, IY_9, Len_10); ^ symbol: variable string location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:536: error: package builtin does not exist Rel_12 = (builtin.Comparison_result_0) result[1]; ^ Mercury/javas/jmercury/string_compare_substrings.java:540: error: package builtin does not exist builtin.Comparison_result_0 RefRel_13 = null; ^ Mercury/javas/jmercury/string_compare_substrings.java:545: error: package builtin does not exist RefRel_13 = (builtin.Comparison_result_0) result[1]; ^ Mercury/javas/jmercury/string_compare_substrings.java:555: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:564: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_compare_substrings Mercury/javas/jmercury/string_compare_substrings.java:570: error: package builtin does not exist builtin.Comparison_result_0 _RelRef_14 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.nncxax:2411: string_compare_substrings] Error 1 gmake[3]: Target 'string_compare_substrings.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_compare_substrings.log] Error 1 RUNNING TEST hard_coded/string_count_code_points_ilseq in grade java FAILED TEST hard_coded/string_count_code_points_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_count_code_points_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_count_code_points_ilseq Making Mercury/int3s/string_count_code_points_ilseq.int3 Making Mercury/ints/string_count_code_points_ilseq.int Making Mercury/javas/jmercury/string_count_code_points_ilseq.java Making Java class files Mercury/javas/jmercury/string_count_code_points_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_count_code_points_ilseq"; ^ Mercury/javas/jmercury/string_count_code_points_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_count_code_points_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_count_code_points_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_count_code_points_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_count_code_points_ilseq.java:51: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_11, Var_12); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:55: error: cannot find symbol Var_14 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:58: error: cannot find symbol S2_6 = string.between_3_f_0(S0_4, Var_13, Var_14); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:62: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(S2_6, S0_4); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:65: error: cannot find symbol Var_16 = string.f_43_43_2_f_0(Var_17, Var_18); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:68: error: cannot find symbol Var_15 = string.f_43_43_2_f_0(S1_5, Var_16); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:71: error: cannot find symbol S_7 = string.f_43_43_2_f_0(S0_4, Var_15); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:74: error: cannot find symbol Num_8 = string.count_code_points_2_p_0(S_7); ^ symbol: variable string location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:77: error: cannot find symbol io.write_int_3_p_0(Num_8); ^ symbol: variable io location: class string_count_code_points_ilseq Mercury/javas/jmercury/string_count_code_points_ilseq.java:80: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_count_code_points_ilseq 21 errors gmake[3]: *** [/tmp/mmake.KFJZfB:2411: string_count_code_points_ilseq] Error 1 gmake[3]: Target 'string_count_code_points_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_count_code_points_ilseq.log] Error 1 RUNNING TEST hard_coded/string_find_char in grade java FAILED TEST hard_coded/string_contains_match in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_contains_match.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_contains_match Making Mercury/int3s/string_contains_match.int3 Making Mercury/ints/string_contains_match.int Making Mercury/javas/jmercury/string_contains_match.java Making Java class files Mercury/javas/jmercury/string_contains_match.java:393: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_contains_match.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_contains_match"; ^ Mercury/javas/jmercury/string_contains_match.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_contains_match.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_contains_match.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_contains_match.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_contains_match.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_contains_match.java:115: error: cannot find symbol CodePoint_3 = mr_char.to_int_2_p_0(Char_2); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:221: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:235: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:249: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:263: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:277: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:291: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:345: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null; ^ Mercury/javas/jmercury/string_contains_match.java:354: error: cannot find symbol succeeded = string.contains_match_2_p_0(Pred_6, String_8); ^ symbol: variable string location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:360: error: cannot find symbol TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:360: error: package jmercury.runtime does not exist TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_contains_match.java:362: error: cannot find symbol Var_19 = string.string_1_f_0(TypeCtorInfo_23_23, ((java.lang.Object) (String_8))); ^ symbol: variable string location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:366: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:369: error: cannot find symbol io.write_string_3_p_0(PredName_7); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:373: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:376: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:380: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:383: error: cannot find symbol io.write_string_3_p_0(Result_10); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:387: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_contains_match Mercury/javas/jmercury/string_contains_match.java:485: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 34 errors gmake[3]: *** [/tmp/mmake.s5miky:2411: string_contains_match] Error 1 gmake[3]: Target 'string_contains_match.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_contains_match.log] Error 1 RUNNING TEST hard_coded/string_first_char in grade java FAILED TEST hard_coded/string_find_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_find_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_find_char Making Mercury/int3s/string_find_char.int3 Making Mercury/ints/string_find_char.int Making Mercury/javas/jmercury/string_find_char.java Making Java class files Mercury/javas/jmercury/string_find_char.java:32: 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[2]; ^ Mercury/javas/jmercury/string_find_char.java:408: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_find_char.java:428: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/string_find_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_find_char"; ^ Mercury/javas/jmercury/string_find_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_find_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_find_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_find_char Mercury/javas/jmercury/string_find_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_find_char Mercury/javas/jmercury/string_find_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_find_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_find_char.java:32: 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[2]; ^ Mercury/javas/jmercury/string_find_char.java:39: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_find_char.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_find_char.java:47: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_find_char.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_find_char.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_find_char.java:59: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:59: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_find_char.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_find_char.java:61: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:61: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_find_char.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_find_char.java:75: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:75: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_find_char.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_find_char.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_find_char.java:78: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:78: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_find_char.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_70 = null; ^ Mercury/javas/jmercury/string_find_char.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_71 = null; ^ Mercury/javas/jmercury/string_find_char.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_72 = null; ^ Mercury/javas/jmercury/string_find_char.java:110: error: package list does not exist list.List_1 CharList_62 = null; ^ Mercury/javas/jmercury/string_find_char.java:120: error: cannot find symbol Happy1_8 = string.count_code_units_2_p_0(Str0_4); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:123: error: cannot find symbol A1_9 = string.count_code_units_2_p_0(Str1_5); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:126: error: cannot find symbol Bar_10 = string.count_code_units_2_p_0(Str2_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:129: error: cannot find symbol End_11 = string.count_code_units_2_p_0(Str_7); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:132: error: cannot find symbol CharList_62 = string.to_char_list_2_p_0(Str_7); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:135: error: cannot find symbol TypeCtorInfo_19_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_19_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_find_char.java:136: error: cannot find symbol TypeCtorInfo_20_71 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:136: error: package jmercury.runtime does not exist TypeCtorInfo_20_71 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_find_char.java:138: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_65 = list.foldl_4_p_2(TypeCtorInfo_19_70, TypeCtorInfo_20_71, Var_64, CharList_62, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_find_char Mercury/javas/jmercury/string_find_char.java:141: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:145: error: cannot find symbol TypeCtorInfo_26_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_26_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_find_char.java:147: error: cannot find symbol java.lang.Object [] result = list.foldl2_6_p_2(TypeCtorInfo_19_70, TypeCtorInfo_26_72, TypeCtorInfo_20_71, Var_67, CharList_62, java.lang.Integer.valueOf(Var_68), ((java.lang.Object) (0))); ^ symbol: variable list location: class string_find_char Mercury/javas/jmercury/string_find_char.java:152: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:155: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:170: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:232: error: cannot find symbol java.lang.Object [] result = string.find_first_char_3_p_0(Str_5, Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:240: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/string_find_char.java:246: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:248: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_find_char.java:250: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, Index_8); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:253: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:257: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:260: error: cannot find symbol Var_32 = string__format.format_char_component_nowidth_3_p_0(Var_28, Char_6); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:263: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:267: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:275: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:289: error: cannot find symbol java.lang.Object [] result = string.find_last_char_3_p_0(Str_5, Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:297: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/string_find_char.java:303: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:305: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_find_char.java:307: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, Index_8); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:310: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:314: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:317: error: cannot find symbol Var_32 = string__format.format_char_component_nowidth_3_p_0(Var_28, Char_6); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:320: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:324: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:332: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:346: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:346: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:350: error: cannot find symbol Var_19 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_25, Var_26, Offset0_7); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:353: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:356: error: cannot find symbol Str_10 = string.from_char_1_f_0(Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:359: error: cannot find symbol Var_18 = string.count_code_units_1_f_0(Str_10); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:374: error: cannot find symbol Var_8 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class string_find_char Mercury/javas/jmercury/string_find_char.java:381: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:381: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:385: error: cannot find symbol Var_20 = string__format.format_char_component_width_4_p_0(Var_26, Var_27, Char_4); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:388: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:394: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:394: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.JRaT1U:2411: string_find_char] Error 1 gmake[3]: Target 'string_find_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_find_char.log] Error 1 RUNNING TEST hard_coded/string_first_char_ilseq in grade java FAILED TEST hard_coded/string_first_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_first_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_first_char Making Mercury/int3s/string_first_char.int3 Making Mercury/ints/string_first_char.int Making Mercury/javas/jmercury/string_first_char.java Making Java class files Mercury/javas/jmercury/string_first_char.java:32: 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/string_first_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_first_char"; ^ Mercury/javas/jmercury/string_first_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_first_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_first_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_first_char Mercury/javas/jmercury/string_first_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_first_char Mercury/javas/jmercury/string_first_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_first_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_first_char.java:32: 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/string_first_char.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_first_char.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_first_char.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_first_char.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_first_char.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_first_char.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_first_char.java:122: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:168: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:202: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:236: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:264: error: cannot find symbol io.write_string_3_p_0(Var_90); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:302: error: cannot find symbol succeeded = string.first_char_3_p_0(Str_6, FirstChar_7, Rest_8); ^ symbol: variable string location: class string_first_char Mercury/javas/jmercury/string_first_char.java:309: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_42 = null; ^ Mercury/javas/jmercury/string_first_char.java:314: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:317: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:321: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:323: error: package string__parse_util does not exist Var_42 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:325: error: cannot find symbol Var_36 = string__format.format_char_component_nowidth_3_p_0(Var_42, FirstChar_7); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:328: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:332: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:335: error: cannot find symbol io.write_string_3_p_0(Rest_8); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:339: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:347: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_59 = null; ^ Mercury/javas/jmercury/string_first_char.java:352: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:355: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:359: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:361: error: package string__parse_util does not exist Var_59 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:363: error: cannot find symbol Var_53 = string__format.format_char_component_nowidth_3_p_0(Var_59, FirstChar_7); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:366: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:370: error: cannot find symbol io.write_string_3_p_0(Var_61); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:373: error: cannot find symbol io.write_string_3_p_0(Rest_8); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:377: error: cannot find symbol io.write_string_3_p_0(Var_63); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:391: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_2(Str_5, FirstChar_6); ^ symbol: variable string location: class string_first_char Mercury/javas/jmercury/string_first_char.java:400: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_39 = null; ^ Mercury/javas/jmercury/string_first_char.java:405: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:408: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:412: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:414: error: package string__parse_util does not exist Var_39 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:416: error: cannot find symbol Var_33 = string__format.format_char_component_nowidth_3_p_0(Var_39, FirstChar_6); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:419: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:423: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:426: error: cannot find symbol io.write_string_3_p_0(Rest_8); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:430: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:438: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_56 = null; ^ Mercury/javas/jmercury/string_first_char.java:442: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:445: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:449: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:451: error: package string__parse_util does not exist Var_56 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:453: error: cannot find symbol Var_50 = string__format.format_char_component_nowidth_3_p_0(Var_56, FirstChar_6); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:456: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:460: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:474: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_1(Str_5, Rest_6); ^ symbol: variable string location: class string_first_char Mercury/javas/jmercury/string_first_char.java:483: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_39 = null; ^ Mercury/javas/jmercury/string_first_char.java:488: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:491: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:495: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:497: error: package string__parse_util does not exist Var_39 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:499: error: cannot find symbol Var_33 = string__format.format_char_component_nowidth_3_p_0(Var_39, FirstChar_8); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:502: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:506: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:509: error: cannot find symbol io.write_string_3_p_0(Rest_6); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:513: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:523: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:526: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:530: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:533: error: cannot find symbol io.write_string_3_p_0(Rest_6); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:537: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:551: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_3(Str_4); ^ symbol: variable string location: class string_first_char Mercury/javas/jmercury/string_first_char.java:561: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_36 = null; ^ Mercury/javas/jmercury/string_first_char.java:566: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:569: error: cannot find symbol io.write_string_3_p_0(Str_4); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:573: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:575: error: package string__parse_util does not exist Var_36 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_first_char.java:577: error: cannot find symbol Var_30 = string__format.format_char_component_nowidth_3_p_0(Var_36, FirstChar_6); ^ symbol: variable string__format location: class string_first_char Mercury/javas/jmercury/string_first_char.java:580: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:584: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:587: error: cannot find symbol io.write_string_3_p_0(Rest_7); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:591: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:600: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:603: error: cannot find symbol io.write_string_3_p_0(Str_4); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:607: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:621: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_32 = null; ^ Mercury/javas/jmercury/string_first_char.java:626: error: cannot find symbol Str_8 = string.first_char_3_p_4(FirstChar_5, Rest_6); ^ symbol: variable string location: class string_first_char Mercury/javas/jmercury/string_first_char.java:630: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:633: error: cannot find symbol io.write_string_3_p_0(Str_8); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:637: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class string_first_char Mercury/javas/jmercury/string_first_char.java:639: error: package string__parse_util does not exist Var_32 = (string__parse_util.String_format_flags_0) string_first_char.MR_scalar_common_1[0]; ^ 100 errors gmake[3]: *** [/tmp/mmake.4HGgy8:2411: string_first_char] Error 1 gmake[3]: Target 'string_first_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_first_char.log] Error 1 RUNNING TEST hard_coded/string_fold_ilseq in grade java FAILED TEST hard_coded/string_first_char_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_first_char_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_first_char_ilseq Making Mercury/int3s/string_first_char_ilseq.int3 Making Mercury/ints/string_first_char_ilseq.int Making Mercury/javas/jmercury/string_first_char_ilseq.java Making Java class files Mercury/javas/jmercury/string_first_char_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_first_char_ilseq.java:325: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/string_first_char_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_first_char_ilseq"; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_first_char_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_first_char_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_first_char_ilseq.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_first_char_ilseq.java:57: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:57: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_first_char_ilseq.java:79: error: cannot find symbol _Str_8 = string.first_char_3_p_4(FirstChar_5, Rest_6); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:106: error: cannot find symbol Var_14 = string.length_1_f_0(S0_4); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:109: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_13, Var_14); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:113: error: cannot find symbol S_7 = string.f_43_43_2_f_0(S1_5, Rest_6); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:116: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_1(S_7, Rest_6); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:125: error: cannot find symbol io.write_string_3_p_0(Var_28); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:133: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:137: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_3(S_7); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:147: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:155: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:160: error: cannot find symbol Replacement_8 = mr_char.det_from_int_1_f_0(Var_17); ^ symbol: variable mr_char location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:170: error: cannot find symbol HiSurr_9 = mr_char.det_from_int_1_f_0(Var_20); ^ symbol: variable mr_char location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:174: error: cannot find symbol LoSurr_10 = mr_char.det_from_int_1_f_0(Var_21); ^ symbol: variable mr_char location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:205: error: cannot find symbol succeeded = string.first_char_3_p_0(Str_6, FirstChar_7, Rest_8); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:212: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:220: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:234: error: cannot find symbol java.lang.Object [] result = string.first_char_3_p_2(Str_5, FirstChar_6); ^ symbol: variable string location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:243: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:251: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:261: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:262: error: package exception does not exist exception.Exception_result_1 TryResult_12 = null; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:274: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:274: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/string_first_char_ilseq.java:276: error: cannot find symbol TryResult_12 = exception.try_2_p_0(TypeCtorInfo_22_22, TryLambda_21); ^ symbol: variable exception location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_19 = null; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:282: error: package univ does not exist univ.Univ_0 Var_13 = ((exception.Exception_result_1.Exception_1) TryResult_12).F1; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:282: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_13 = ((exception.Exception_result_1.Exception_1) TryResult_12).F1; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:286: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_13); ^ symbol: variable exception location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:287: error: package jmercury.runtime does not exist TypeInfo_19_19 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/string_first_char_ilseq.java:292: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:295: error: cannot find symbol io.print_line_3_p_0(TypeInfo_19_19, Excp_9); ^ symbol: variable io location: class string_first_char_ilseq Mercury/javas/jmercury/string_first_char_ilseq.java:303: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_first_char_ilseq 51 errors gmake[3]: *** [/tmp/mmake.W4jiss:2411: string_first_char_ilseq] Error 1 gmake[3]: Target 'string_first_char_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_first_char_ilseq.log] Error 1 RUNNING TEST hard_coded/string_from_char_list_ilseq in grade java FAILED TEST hard_coded/string_fold_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_fold_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_fold_ilseq Making Mercury/int3s/string_fold_ilseq.int3 Making Mercury/ints/string_fold_ilseq.int Making Mercury/javas/jmercury/string_fold_ilseq.java Making Java class files Mercury/javas/jmercury/string_fold_ilseq.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_fold_ilseq.java:220: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_fold_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_fold_ilseq"; ^ Mercury/javas/jmercury/string_fold_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_fold_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_fold_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_fold_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_fold_ilseq.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_fold_ilseq.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_fold_ilseq.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_fold_ilseq.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_fold_ilseq.java:59: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_fold_ilseq.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_fold_ilseq.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_fold_ilseq.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_fold_ilseq.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_fold_ilseq.java:64: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_fold_ilseq.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = null; ^ Mercury/javas/jmercury/string_fold_ilseq.java:99: error: cannot find symbol Var_11 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:104: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:109: error: cannot find symbol Var_15 = string.f_43_43_2_f_0(S1_5, Var_16); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:112: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(S0_4, Var_15); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:115: error: cannot find symbol S_6 = string.f_43_43_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:119: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:122: error: cannot find symbol TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:122: error: package jmercury.runtime does not exist TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_fold_ilseq.java:124: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_20 = string.foldl_4_p_0(TypeCtorInfo_31_31, Var_19, S_6, ((java.lang.Object) (0))); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:128: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:132: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:136: error: cannot find symbol conv1_STATE_VARIABLE_IO_5_26 = string.foldr_4_p_1(TypeCtorInfo_31_31, Var_25, S_6, ((java.lang.Object) (0))); ^ symbol: variable string location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:140: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:183: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_4); ^ symbol: variable mr_char location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:188: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_16 = null; ^ Mercury/javas/jmercury/string_fold_ilseq.java:191: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_24 = null; ^ Mercury/javas/jmercury/string_fold_ilseq.java:194: error: cannot find symbol Var_12 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:197: error: cannot find symbol Var_17 = string__format.format_cast_int_to_uint_2_p_0(Var_12); ^ symbol: variable string__format location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:199: error: package string__parse_util does not exist Var_24 = (string__parse_util.String_format_flags_0) string_fold_ilseq.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/string_fold_ilseq.java:200: error: package string__parse_util does not exist Var_16 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_fold_ilseq.java:202: error: cannot find symbol Var_18 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_24, Var_16, Var_17); ^ symbol: variable string__format location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:205: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:210: error: cannot find symbol io.write_char_3_p_0(Char_4); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:214: error: cannot find symbol io.write_char_3_p_0(Var_15); ^ symbol: variable io location: class string_fold_ilseq Mercury/javas/jmercury/string_fold_ilseq.java:250: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 52 errors gmake[3]: *** [/tmp/mmake.CyoSjt:2411: string_fold_ilseq] Error 1 gmake[3]: Target 'string_fold_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_fold_ilseq.log] Error 1 RUNNING TEST hard_coded/string_from_code_unit_list in grade java FAILED TEST hard_coded/string_from_char_list_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_from_char_list_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_from_char_list_ilseq Making Mercury/int3s/string_from_char_list_ilseq.int3 Making Mercury/ints/string_from_char_list_ilseq.int Making Mercury/javas/jmercury/string_from_char_list_ilseq.java Making Java class files Mercury/javas/jmercury/string_from_char_list_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:50: 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/string_from_char_list_ilseq.java:51: 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[2]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:182: error: package list does not exist list.List_1 Chars_4) ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:215: error: package list does not exist list.List_1 Chars_4) ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:312: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:502: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_from_char_list_ilseq"; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:50: 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/string_from_char_list_ilseq.java:51: 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[2]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:63: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:67: error: package list does not exist (list.List_1) string_from_char_list_ilseq.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:72: error: package list does not exist (list.List_1) string_from_char_list_ilseq.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:96: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:97: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:99: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:100: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:118: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:121: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:126: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:132: error: package jmercury.runtime does not exist TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_from_char_list_ilseq.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:133: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:133: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:135: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_10 = list.foldl_4_p_2(TypeInfo_18_18, TypeCtorInfo_19_19, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:139: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:146: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeInfo_18_18, TypeCtorInfo_19_19, Var_13, Var_14, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:160: error: package list does not exist string_from_char_list_ilseq.test_from_char_list_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:175: error: package list does not exist string_from_char_list_ilseq.test_from_rev_char_list_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:188: error: cannot find symbol java.lang.Object [] result = string.semidet_from_char_list_2_p_0(Chars_4); ^ symbol: variable string location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:200: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:208: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:221: error: cannot find symbol java.lang.Object [] result = string.semidet_from_rev_char_list_2_p_0(Chars_4); ^ symbol: variable string location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:233: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:241: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:259: error: cannot find symbol java.lang.Object [] result = string.index_next_4_p_0(S_5, Index_6); ^ symbol: variable string location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:270: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_9); ^ symbol: variable mr_char location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:275: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_21 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:278: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_29 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:281: error: cannot find symbol Var_12 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:284: error: cannot find symbol Var_22 = string__format.format_cast_int_to_uint_2_p_0(Var_12); ^ symbol: variable string__format location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:286: error: package string__parse_util does not exist Var_29 = (string__parse_util.String_format_flags_0) string_from_char_list_ilseq.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:287: error: package string__parse_util does not exist Var_21 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:289: error: cannot find symbol Var_23 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_29, Var_21, Var_22); ^ symbol: variable string__format location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:292: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:297: error: cannot find symbol io.write_char_3_p_0(Char_9); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:301: error: cannot find symbol io.write_char_3_p_0(Var_15); ^ symbol: variable io location: class string_from_char_list_ilseq Mercury/javas/jmercury/string_from_char_list_ilseq.java:315: error: package list does not exist list.List_1 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:316: error: package list does not exist list.List_1 Var_2 = (list.List_1) string_from_char_list_ilseq.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:316: error: package list does not exist list.List_1 Var_2 = (list.List_1) string_from_char_list_ilseq.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:317: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:318: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:320: error: package list does not exist list.List_1 Var_10 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:323: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:324: error: package list does not exist list.List_1 Var_16 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:325: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:327: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:330: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:331: error: package list does not exist list.List_1 Var_26 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:333: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:336: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:337: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:339: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:342: error: package list does not exist list.List_1 Var_40 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:345: error: package list does not exist list.List_1 Var_46 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:346: error: package list does not exist list.List_1 Var_47 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:348: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/string_from_char_list_ilseq.java:351: error: package list does not exist list.List_1 Var_52 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.E0YmFb:2411: string_from_char_list_ilseq] Error 1 gmake[3]: Target 'string_from_char_list_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_from_char_list_ilseq.log] Error 1 RUNNING TEST hard_coded/string_index_ilseq in grade java FAILED TEST hard_coded/string_from_code_unit_list in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_from_code_unit_list.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_from_code_unit_list Making Mercury/int3s/string_from_code_unit_list.int3 Making Mercury/ints/string_from_code_unit_list.int Making Mercury/javas/jmercury/string_from_code_unit_list.java Making Java class files Mercury/javas/jmercury/string_from_code_unit_list.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_from_code_unit_list.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:50: 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/string_from_code_unit_list.java:51: 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[17]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:346: error: package list does not exist list.List_1 CodeList_4) ^ Mercury/javas/jmercury/string_from_code_unit_list.java:398: error: package list does not exist list.List_1 CodeList_4) ^ Mercury/javas/jmercury/string_from_code_unit_list.java:455: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_from_code_unit_list.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_from_code_unit_list"; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_from_code_unit_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_from_code_unit_list.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_from_code_unit_list.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/string_from_code_unit_list.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:50: 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/string_from_code_unit_list.java:51: 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[17]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_from_code_unit_list.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_from_code_unit_list.java:62: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_from_code_unit_list.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:66: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:71: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:76: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:81: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:86: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:91: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:96: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:101: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:106: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:111: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:116: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:120: error: package list does not exist ((java.lang.Object) ((list.List_1) string_from_code_unit_list.MR_scalar_common_3[10])), ^ Mercury/javas/jmercury/string_from_code_unit_list.java:121: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:126: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:131: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:136: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:141: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:145: error: package list does not exist ((java.lang.Object) ((list.List_1) string_from_code_unit_list.MR_scalar_common_3[15])), ^ Mercury/javas/jmercury/string_from_code_unit_list.java:146: error: package list does not exist (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_from_code_unit_list.java:154: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:154: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_from_code_unit_list.java:155: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:155: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_from_code_unit_list.java:181: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:183: error: package list does not exist list.List_1 Cases_4 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:192: error: cannot find symbol Var_7 = string.length_1_f_0(Var_8); ^ symbol: variable string location: class string_from_code_unit_list Mercury/javas/jmercury/string_from_code_unit_list.java:197: error: package list does not exist list.List_1 Var_18 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:197: error: package list does not exist list.List_1 Var_18 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:198: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:199: error: package list does not exist list.List_1 Var_20 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:199: error: package list does not exist list.List_1 Var_20 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:200: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:201: error: package list does not exist list.List_1 Var_28 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[6]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:201: error: package list does not exist list.List_1 Var_28 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[6]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:202: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:203: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:208: error: package list does not exist list.List_1 Var_43 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:209: error: package list does not exist list.List_1 Var_50 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:214: error: package list does not exist Var_43 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:216: error: package list.List_1 does not exist Var_38 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:221: error: package list does not exist Var_50 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[11]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:223: error: package list.List_1 does not exist Var_37 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:229: error: package list.List_1 does not exist Var_27 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:235: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:241: error: package list.List_1 does not exist Cases_4 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_from_code_unit_list.java:249: error: package list does not exist list.List_1 Var_61 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:249: error: package list does not exist list.List_1 Var_61 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:250: error: package list does not exist list.List_1 Var_62 = null; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:251: error: package list does not exist list.List_1 Var_63 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:251: error: package list does not exist list.List_1 Var_63 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_from_code_unit_list.java:252: error: package list does not exist list.List_1 Var_70 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.DiGTHb:2411: string_from_code_unit_list] Error 1 gmake[3]: Target 'string_from_code_unit_list.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_from_code_unit_list.log] Error 1 RUNNING TEST hard_coded/string_index_next_ilseq in grade java FAILED TEST hard_coded/string_index_next_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_index_next_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_index_next_ilseq Making Mercury/int3s/string_index_next_ilseq.int3 Making Mercury/ints/string_index_next_ilseq.int Making Mercury/javas/jmercury/string_index_next_ilseq.java Making Java class files Mercury/javas/jmercury/string_index_next_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_index_next_ilseq"; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_index_next_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_index_next_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_index_next_ilseq.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_index_next_ilseq.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_index_next_ilseq.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_index_next_ilseq.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_index_next_ilseq.java:75: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_10, Var_11); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:80: error: cannot find symbol S2_6 = string.between_3_f_0(S0_4, Var_12, Var_13); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:83: error: cannot find symbol Var_15 = string.f_43_43_2_f_0(S1_5, S0_4); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:86: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(S2_6, Var_15); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:89: error: cannot find symbol S_7 = string.f_43_43_2_f_0(S0_4, Var_14); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:110: error: cannot find symbol java.lang.Object [] result = string.index_next_4_p_0(S_5, Index_6); ^ symbol: variable string location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_37 = null; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:124: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_51 = null; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:127: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_59 = null; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:132: error: cannot find symbol Var_20 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:136: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:138: error: package string__parse_util does not exist Var_37 = (string__parse_util.String_format_flags_0) string_index_next_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:140: error: cannot find symbol Var_31 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_37, Index_6); ^ symbol: variable string__format location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:143: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:147: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:150: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_37, NextIndex_8); ^ symbol: variable string__format location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:153: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:157: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:160: error: cannot find symbol Var_52 = string__format.format_cast_int_to_uint_2_p_0(Var_20); ^ symbol: variable string__format location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:162: error: package string__parse_util does not exist Var_59 = (string__parse_util.String_format_flags_0) string_index_next_ilseq.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:163: error: package string__parse_util does not exist Var_51 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:165: error: cannot find symbol Var_53 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_59, Var_51, Var_52); ^ symbol: variable string__format location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:168: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:172: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:183: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_70 = null; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:187: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:189: error: package string__parse_util does not exist Var_70 = (string__parse_util.String_format_flags_0) string_index_next_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_index_next_ilseq.java:191: error: cannot find symbol Var_64 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_70, Index_6); ^ symbol: variable string__format location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:194: error: cannot find symbol io.write_string_3_p_0(Var_64); ^ symbol: variable io location: class string_index_next_ilseq Mercury/javas/jmercury/string_index_next_ilseq.java:198: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class string_index_next_ilseq 55 errors gmake[3]: *** [/tmp/mmake.LAjbkp:2411: string_index_next_ilseq] Error 1 gmake[3]: Target 'string_index_next_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_index_next_ilseq.log] Error 1 RUNNING TEST hard_coded/string_loop in grade java FAILED TEST hard_coded/string_index_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_index_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_index_ilseq Making Mercury/int3s/string_index_ilseq.int3 Making Mercury/ints/string_index_ilseq.int Making Mercury/javas/jmercury/string_index_ilseq.java Making Java class files Mercury/javas/jmercury/string_index_ilseq.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/string_index_ilseq.java:219: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_index_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_index_ilseq"; ^ Mercury/javas/jmercury/string_index_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_index_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_index_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_index_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_index_ilseq.java:33: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/string_index_ilseq.java:41: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:41: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_index_ilseq.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_index_ilseq.java:43: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:43: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_index_ilseq.java:44: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:44: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_index_ilseq.java:47: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_index_ilseq.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_index_ilseq.java:55: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_index_ilseq.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_index_ilseq.java:57: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_index_ilseq.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_index_ilseq.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:82: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:88: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:91: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(S1_5, S0_4); ^ symbol: variable string location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:94: error: cannot find symbol S_6 = string.f_43_43_2_f_0(S0_4, Var_11); ^ symbol: variable string location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:106: error: cannot find symbol Var_16 = string.count_code_units_1_f_0(S_6); ^ symbol: variable string location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:109: error: cannot find symbol Var_13 = list.f_46_46_2_f_0(Var_15, Var_16); ^ symbol: variable list location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:111: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:111: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_index_ilseq.java:112: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:112: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_index_ilseq.java:114: error: cannot find symbol conv0_STATE_VARIABLE_IO_8 = list.foldl_4_p_2(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Var_12, Var_13, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:142: error: cannot find symbol java.lang.Object [] result = string.index_3_p_0(S_5, Index_6); ^ symbol: variable string location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:151: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:153: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_37 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:156: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_45 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:160: error: cannot find symbol Var_17 = mr_char.to_int_1_f_0(Char_8); ^ symbol: variable mr_char location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:164: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:166: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) string_index_ilseq.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_index_ilseq.java:168: error: cannot find symbol Var_27 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, Index_6); ^ symbol: variable string__format location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:171: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:175: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:178: error: cannot find symbol Var_38 = string__format.format_cast_int_to_uint_2_p_0(Var_17); ^ symbol: variable string__format location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:180: error: package string__parse_util does not exist Var_45 = (string__parse_util.String_format_flags_0) string_index_ilseq.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/string_index_ilseq.java:181: error: package string__parse_util does not exist Var_37 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_index_ilseq.java:183: error: cannot find symbol Var_39 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_45, Var_37, Var_38); ^ symbol: variable string__format location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:186: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:190: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:197: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_56 = null; ^ Mercury/javas/jmercury/string_index_ilseq.java:201: error: cannot find symbol io.write_string_3_p_0(Var_48); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:203: error: package string__parse_util does not exist Var_56 = (string__parse_util.String_format_flags_0) string_index_ilseq.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_index_ilseq.java:205: error: cannot find symbol Var_50 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_56, Index_6); ^ symbol: variable string__format location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:208: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class string_index_ilseq Mercury/javas/jmercury/string_index_ilseq.java:212: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class string_index_ilseq 69 errors gmake[3]: *** [/tmp/mmake.giI9DG:2411: string_index_ilseq] Error 1 gmake[3]: Target 'string_index_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_index_ilseq.log] Error 1 RUNNING TEST hard_coded/string_not_surrogate in grade java FAILED TEST hard_coded/string_loop in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_loop.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_loop Making Mercury/int3s/string_loop.int3 Making Mercury/ints/string_loop.int Making Mercury/javas/jmercury/string_loop.java Making Java class files Mercury/javas/jmercury/string_loop.java:32: 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/string_loop.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_loop"; ^ Mercury/javas/jmercury/string_loop.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_loop.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_loop.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_loop Mercury/javas/jmercury/string_loop.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_loop Mercury/javas/jmercury/string_loop.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_loop.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_loop Mercury/javas/jmercury/string_loop.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_loop Mercury/javas/jmercury/string_loop.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_loop Mercury/javas/jmercury/string_loop.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_loop Mercury/javas/jmercury/string_loop.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_loop.java:32: 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/string_loop.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_loop.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_loop.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_loop.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_loop.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_loop.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_loop.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_18 = (string__parse_util.String_format_flags_0) string_loop.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_loop.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_18 = (string__parse_util.String_format_flags_0) string_loop.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_loop.java:59: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_19 = string__parse_util.String_format_float_kind_0.K0; ^ Mercury/javas/jmercury/string_loop.java:59: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_19 = string__parse_util.String_format_float_kind_0.K0; ^ Mercury/javas/jmercury/string_loop.java:62: error: cannot find symbol Var_12 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_18, Var_19, Var_9); ^ symbol: variable string__format location: class string_loop Mercury/javas/jmercury/string_loop.java:65: error: cannot find symbol Str_5 = string.f_43_43_2_f_0(Var_12, Var_11); ^ symbol: variable string location: class string_loop Mercury/javas/jmercury/string_loop.java:68: error: cannot find symbol io.write_string_3_p_0(Str_5); ^ symbol: variable io location: class string_loop 26 errors gmake[3]: *** [/tmp/mmake.6EqaXl:2411: string_loop] Error 1 gmake[3]: Target 'string_loop.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_loop.log] Error 1 RUNNING TEST hard_coded/string_presuffix in grade java FAILED TEST hard_coded/string_not_surrogate in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_not_surrogate.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_not_surrogate Making Mercury/int3s/string_not_surrogate.int3 Making Mercury/ints/string_not_surrogate.int Making Mercury/javas/jmercury/string_not_surrogate.java Making Java class files Mercury/javas/jmercury/string_not_surrogate.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/string_not_surrogate.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/string_not_surrogate.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:237: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_not_surrogate.java:256: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_not_surrogate.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_not_surrogate"; ^ Mercury/javas/jmercury/string_not_surrogate.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_not_surrogate.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_not_surrogate.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_not_surrogate.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/string_not_surrogate.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[2]; ^ Mercury/javas/jmercury/string_not_surrogate.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_not_surrogate.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_not_surrogate.java:45: error: package list does not exist (list.List_1) string_not_surrogate.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/string_not_surrogate.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_not_surrogate.java:50: error: package list does not exist (list.List_1) string_not_surrogate.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_not_surrogate.java:57: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:57: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:58: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:58: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:67: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:67: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:68: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:68: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:97: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_not_surrogate.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:99: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:100: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_not_surrogate.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_not_surrogate.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:115: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:116: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:117: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_not_surrogate.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:117: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_not_surrogate.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:122: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_15_15, TypeCtorInfo_16_16, Var_11, Strings_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:147: error: package list does not exist list.List_1 Chars_6 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:148: error: package list does not exist list.List_1 Ints_7 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:155: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:158: error: cannot find symbol Chars_6 = string.to_char_list_1_f_0(String_4); ^ symbol: variable string location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:160: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:160: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:161: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:164: error: cannot find symbol Ints_7 = list.map_2_f_0(TypeCtorInfo_16_16, TypeCtorInfo_17_17, Var_12, Chars_6); ^ symbol: variable list location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:169: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_17_17, Ints_7, Var_13, Var_14); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:186: error: cannot find symbol conv0_HeadVar__2_2 = mr_char.to_int_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:212: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_15 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:215: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_23 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:219: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:222: error: cannot find symbol Var_16 = string__format.format_cast_int_to_uint_2_p_0(Int_4); ^ symbol: variable string__format location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:224: error: package string__parse_util does not exist Var_23 = (string__parse_util.String_format_flags_0) string_not_surrogate.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/string_not_surrogate.java:226: error: package string__parse_util does not exist Var_15 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_not_surrogate.java:228: error: cannot find symbol Var_17 = string__format.format_uint_component_width_noprec_5_p_0(Var_23, Var_24, Var_15, Var_16); ^ symbol: variable string__format location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:231: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:286: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors gmake[3]: *** [/tmp/mmake.Flm5St:2411: string_not_surrogate] Error 1 gmake[3]: Target 'string_not_surrogate.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_not_surrogate.log] Error 1 RUNNING TEST hard_coded/string_prev_index_ilseq in grade java FAILED TEST hard_coded/string_presuffix in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_presuffix.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_presuffix Making Mercury/int3s/string_presuffix.int3 Making Mercury/ints/string_presuffix.int Making Mercury/javas/jmercury/string_presuffix.java Making Java class files Mercury/javas/jmercury/string_presuffix.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_presuffix"; ^ Mercury/javas/jmercury/string_presuffix.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_presuffix.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_presuffix.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_presuffix.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_presuffix.java:74: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:78: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_9); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:84: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_10); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:90: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_11); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:96: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_12); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:102: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_13); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:108: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_14); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:114: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_15); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:120: error: cannot find symbol succeeded = string.prefix_2_p_0(Str_4, Var_16); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:135: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:143: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:148: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:152: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_23); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:159: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_24); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:165: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_25); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:171: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_26); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:177: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_27); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:183: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_28); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:189: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_29); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:195: error: cannot find symbol succeeded = string.suffix_2_p_0(Str_4, Var_30); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:209: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:217: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:222: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:226: error: cannot find symbol java.lang.Object [] result = string.remove_prefix_3_p_0(Str_4, Str_4); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:238: error: cannot find symbol java.lang.Object [] result = string.remove_prefix_3_p_0(Var_39, Str_4); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:249: error: cannot find symbol java.lang.Object [] result = string.remove_prefix_3_p_0(Var_41, Str_4); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:265: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:273: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:278: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:282: error: cannot find symbol java.lang.Object [] result = string.remove_suffix_3_p_0(Str_4, Str_4); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:294: error: cannot find symbol java.lang.Object [] result = string.remove_suffix_3_p_0(Str_4, Var_51); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:305: error: cannot find symbol java.lang.Object [] result = string.remove_suffix_3_p_0(Str_4, Var_53); ^ symbol: variable string location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:321: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class string_presuffix Mercury/javas/jmercury/string_presuffix.java:329: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class string_presuffix 45 errors gmake[3]: *** [/tmp/mmake.sZNa0H:2411: string_presuffix] Error 1 gmake[3]: Target 'string_presuffix.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_presuffix.log] Error 1 RUNNING TEST hard_coded/string_set_char in grade java FAILED TEST hard_coded/string_prev_index_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_prev_index_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_prev_index_ilseq Making Mercury/int3s/string_prev_index_ilseq.int3 Making Mercury/ints/string_prev_index_ilseq.int Making Mercury/javas/jmercury/string_prev_index_ilseq.java Making Java class files Mercury/javas/jmercury/string_prev_index_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_prev_index_ilseq"; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:32: 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[2]; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:75: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_10, Var_11); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:80: error: cannot find symbol S2_6 = string.between_3_f_0(S0_4, Var_12, Var_13); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:83: error: cannot find symbol Var_15 = string.f_43_43_2_f_0(S1_5, S0_4); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:86: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(S2_6, Var_15); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:89: error: cannot find symbol S_7 = string.f_43_43_2_f_0(S0_4, Var_14); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:92: error: cannot find symbol Var_16 = string.count_code_units_1_f_0(S_7); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:112: error: cannot find symbol java.lang.Object [] result = string.prev_index_4_p_0(S_5, Index_6); ^ symbol: variable string location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:122: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_37 = null; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:126: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_51 = null; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:129: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_59 = null; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:134: error: cannot find symbol Var_20 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:138: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:140: error: package string__parse_util does not exist Var_37 = (string__parse_util.String_format_flags_0) string_prev_index_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:142: error: cannot find symbol Var_31 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_37, Index_6); ^ symbol: variable string__format location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:145: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:149: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:152: error: cannot find symbol Var_41 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_37, PrevIndex_8); ^ symbol: variable string__format location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:155: error: cannot find symbol io.write_string_3_p_0(Var_41); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:159: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:162: error: cannot find symbol Var_52 = string__format.format_cast_int_to_uint_2_p_0(Var_20); ^ symbol: variable string__format location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:164: error: package string__parse_util does not exist Var_59 = (string__parse_util.String_format_flags_0) string_prev_index_ilseq.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:165: error: package string__parse_util does not exist Var_51 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:167: error: cannot find symbol Var_53 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_59, Var_51, Var_52); ^ symbol: variable string__format location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:170: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:174: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:185: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_70 = null; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:189: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:191: error: package string__parse_util does not exist Var_70 = (string__parse_util.String_format_flags_0) string_prev_index_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_prev_index_ilseq.java:193: error: cannot find symbol Var_64 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_70, Index_6); ^ symbol: variable string__format location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:196: error: cannot find symbol io.write_string_3_p_0(Var_64); ^ symbol: variable io location: class string_prev_index_ilseq Mercury/javas/jmercury/string_prev_index_ilseq.java:200: error: cannot find symbol io.write_string_3_p_0(Var_71); ^ symbol: variable io location: class string_prev_index_ilseq 56 errors gmake[3]: *** [/tmp/mmake.AF8jJh:2411: string_prev_index_ilseq] Error 1 gmake[3]: Target 'string_prev_index_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_prev_index_ilseq.log] Error 1 RUNNING TEST hard_coded/string_set_char_ilseq in grade java FAILED TEST hard_coded/string_set_char in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_set_char.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_set_char Making Mercury/int3s/string_set_char.int3 Making Mercury/ints/string_set_char.int Making Mercury/javas/jmercury/string_set_char.java Making Java class files Mercury/javas/jmercury/string_set_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_set_char"; ^ Mercury/javas/jmercury/string_set_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_set_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_set_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_set_char Mercury/javas/jmercury/string_set_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_set_char Mercury/javas/jmercury/string_set_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_set_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_set_char.java:171: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_10, Var_11, Var_12); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:180: error: cannot find symbol require.error_1_p_0(Var_13); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:187: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_14, Var_15, Var_16); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:196: error: cannot find symbol require.error_1_p_0(Var_17); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:203: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_18, Var_19, Var_20); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:212: error: cannot find symbol require.error_1_p_0(Var_21); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:220: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_22, Var_23, Var_24); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:231: error: cannot find symbol require.error_1_p_0(Var_26); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:239: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_27, Var_28, Var_29); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:250: error: cannot find symbol require.error_1_p_0(Var_31); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:258: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_32, Var_33, Var_34); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:269: error: cannot find symbol require.error_1_p_0(Var_36); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:276: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Var_37, Var_38, Var_39); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:285: error: cannot find symbol require.error_1_p_0(Var_40); ^ symbol: variable require location: class string_set_char Mercury/javas/jmercury/string_set_char.java:352: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:419: error: cannot find symbol io.write_string_3_p_0(Var_75); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:486: error: cannot find symbol io.write_string_3_p_0(Var_93); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:553: error: cannot find symbol io.write_string_3_p_0(Var_111); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:620: error: cannot find symbol io.write_string_3_p_0(Var_129); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:625: error: cannot find symbol io.write_string_3_p_0(Var_131); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:640: error: cannot find symbol java.lang.Object [] result = string.code_point_offset_3_p_0(Str0_5, CodePoint_6); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:647: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(Char_7, Offset_9, Str0_5); ^ symbol: variable string location: class string_set_char Mercury/javas/jmercury/string_set_char.java:659: error: cannot find symbol io.write_string_3_p_0(Str_8); ^ symbol: variable io location: class string_set_char Mercury/javas/jmercury/string_set_char.java:663: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_set_char 35 errors gmake[3]: *** [/tmp/mmake.QHpNRw:2411: string_set_char] Error 1 gmake[3]: Target 'string_set_char.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_set_char.log] Error 1 RUNNING TEST hard_coded/string_split_1 in grade java FAILED TEST hard_coded/string_set_char_ilseq in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_set_char_ilseq.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_set_char_ilseq Making Mercury/int3s/string_set_char_ilseq.int3 Making Mercury/ints/string_set_char_ilseq.int Making Mercury/javas/jmercury/string_set_char_ilseq.java Making Java class files Mercury/javas/jmercury/string_set_char_ilseq.java:32: 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/string_set_char_ilseq.java:33: 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/string_set_char_ilseq.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/string_set_char_ilseq.java:135: error: package list does not exist list.List_1 Chars_8) ^ Mercury/javas/jmercury/string_set_char_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_set_char_ilseq"; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:32: 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/string_set_char_ilseq.java:33: 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/string_set_char_ilseq.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/string_set_char_ilseq.java:38: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_set_char_ilseq.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_set_char_ilseq.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_set_char_ilseq.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_set_char_ilseq.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_set_char_ilseq.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_set_char_ilseq.java:46: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_set_char_ilseq.java:50: error: package list does not exist (list.List_1) string_set_char_ilseq.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_set_char_ilseq.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_set_char_ilseq.java:55: error: package list does not exist (list.List_1) string_set_char_ilseq.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_set_char_ilseq.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_set_char_ilseq.java:60: error: package list does not exist (list.List_1) string_set_char_ilseq.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_set_char_ilseq.java:87: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:91: error: cannot find symbol Var_10 = string.length_1_f_0(S0_4); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:94: error: cannot find symbol Var_8 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:98: error: cannot find symbol Var_17 = string.length_1_f_0(S0_4); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:103: error: cannot find symbol Var_14 = string.between_3_f_0(S0_4, Var_15, Var_16); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:106: error: cannot find symbol Var_13 = string.f_43_43_2_f_0(S0_4, Var_14); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:109: error: cannot find symbol Var_12 = string.f_43_43_2_f_0(S0_4, Var_13); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:112: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(S0_4, Var_12); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:115: error: cannot find symbol S_5 = string.f_43_43_2_f_0(Var_8, Var_11); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:122: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:125: error: package list does not exist Var_22 = (list.List_1) string_set_char_ilseq.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:141: error: package list does not exist list.List_1 Cs_11 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:147: error: package list.List_1 does not exist C_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Chars_8).F1)).intValue(); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:147: error: illegal start of type C_10 = ((java.lang.Integer) (((list.List_1.F_cons_2) Chars_8).F1)).intValue(); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:148: error: package list.List_1 does not exist Cs_11 = ((list.List_1.F_cons_2) Chars_8).F2; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:150: error: cannot find symbol java.lang.Object [] result = string.set_char_4_p_0(C_10, I_7, S0_6); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:161: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:162: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:163: error: package list does not exist list.List_1 Var_23 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:167: error: package list does not exist list.List_1 next_value_of_Chars_8 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:173: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:176: error: cannot find symbol Var_19 = string.char_to_string_1_f_0(C_10); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:179: error: cannot find symbol Var_18 = string.length_1_f_0(Var_19); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:182: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:182: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_set_char_ilseq.java:183: error: package list does not exist Var_23 = (list.List_1) string_set_char_ilseq.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:185: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_set_char_ilseq.java:191: error: cannot find symbol Var_20 = list.f_43_43_2_f_0(TypeCtorInfo_24_24, Cs_11, Var_22); ^ symbol: variable list location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:216: error: package string does not exist string.Maybe_replaced_0 MaybeReplaced_10 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:220: error: cannot find symbol java.lang.Object [] result = string.index_next_repl_5_p_0(S_5, Index_6); ^ symbol: variable string location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:224: error: package string does not exist MaybeReplaced_10 = (string.Maybe_replaced_0) result[3]; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:233: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_9); ^ symbol: variable mr_char location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:239: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_42 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:242: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_50 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:246: error: cannot find symbol Var_24 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:250: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:253: error: cannot find symbol Var_43 = string__format.format_cast_int_to_uint_2_p_0(Var_24); ^ symbol: variable string__format location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:255: error: package string__parse_util does not exist Var_50 = (string__parse_util.String_format_flags_0) string_set_char_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:256: error: package string__parse_util does not exist Var_42 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:258: error: cannot find symbol Var_44 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_50, Var_42, Var_43); ^ symbol: variable string__format location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:261: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:265: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:270: error: cannot find symbol io.write_char_3_p_0(Char_9); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:275: error: package string.Maybe_replaced_0 does not exist byte Code_11 = ((string.Maybe_replaced_0.Replaced_code_unit_1) MaybeReplaced_10).F1; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:278: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_29 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:281: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_37 = null; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:285: error: cannot find symbol Var_18 = uint8.to_int_1_f_0(Code_11); ^ symbol: variable uint8 location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:289: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:292: error: cannot find symbol Var_30 = string__format.format_cast_int_to_uint_2_p_0(Var_18); ^ symbol: variable string__format location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:294: error: package string__parse_util does not exist Var_37 = (string__parse_util.String_format_flags_0) string_set_char_ilseq.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:295: error: package string__parse_util does not exist Var_29 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_set_char_ilseq.java:297: error: cannot find symbol Var_31 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_37, Var_29, Var_30); ^ symbol: variable string__format location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:300: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class string_set_char_ilseq Mercury/javas/jmercury/string_set_char_ilseq.java:304: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class string_set_char_ilseq 86 errors gmake[3]: *** [/tmp/mmake.DRDsfL:2411: string_set_char_ilseq] Error 1 gmake[3]: Target 'string_set_char_ilseq.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_set_char_ilseq.log] Error 1 RUNNING TEST hard_coded/string_split_2 in grade java FAILED TEST hard_coded/string_split_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_split_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_split_2 Making Mercury/int3s/string_split_2.int3 Making Mercury/ints/string_split_2.int Making Mercury/javas/jmercury/string_split_2.java Making Java class files Mercury/javas/jmercury/string_split_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_split_2"; ^ Mercury/javas/jmercury/string_split_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_split_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_split_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_split_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_split_2.java:75: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_6, Var_7); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:90: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_10, Var_11); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:105: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_14, Var_15); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:120: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_18, Var_19); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:135: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_22, Var_23); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:150: error: cannot find symbol java.lang.Object [] result = string.split_4_p_0(Var_26, Var_27); ^ symbol: variable string location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:172: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_split_2 Mercury/javas/jmercury/string_split_2.java:180: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_split_2 19 errors gmake[3]: *** [/tmp/mmake.t5P63Z:2411: string_split_2] Error 1 gmake[3]: Target 'string_split_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_split_2.log] Error 1 RUNNING TEST hard_coded/string_string in grade java FAILED TEST hard_coded/string_split_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_split_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_split_1 Making Mercury/int3s/string_split_1.int3 Making Mercury/ints/string_split_1.int Making Mercury/javas/jmercury/string_split_1.java Making Java class files Mercury/javas/jmercury/string_split_1.java:558: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_split_1.java:618: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_split_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_split_1"; ^ Mercury/javas/jmercury/string_split_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_split_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_split_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_split_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_split_1.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_split_1.java:55: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:55: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_split_1.java:56: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:56: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_split_1.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_split_1.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_104_104 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_split_1.java:149: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_104_104 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_104_104 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_split_1.java:152: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_104_104, ((java.lang.Object) (HeadVar__1_101))); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_109_109 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_split_1.java:160: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_109_109 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:160: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_109_109 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_split_1.java:163: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_109_109, ((java.lang.Object) (HeadVar__1_106))); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_76_76 = null; ^ Mercury/javas/jmercury/string_split_1.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_105_105 = null; ^ Mercury/javas/jmercury/string_split_1.java:173: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/string_split_1.java:178: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/string_split_1.java:183: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/string_split_1.java:188: error: package list does not exist list.List_1 Var_27 = null; ^ Mercury/javas/jmercury/string_split_1.java:193: error: package list does not exist list.List_1 Var_34 = null; ^ Mercury/javas/jmercury/string_split_1.java:198: error: package list does not exist list.List_1 Var_41 = null; ^ Mercury/javas/jmercury/string_split_1.java:203: error: package list does not exist list.List_1 Var_48 = null; ^ Mercury/javas/jmercury/string_split_1.java:208: error: package list does not exist list.List_1 Var_55 = null; ^ Mercury/javas/jmercury/string_split_1.java:214: error: package list does not exist list.List_1 Var_64 = null; ^ Mercury/javas/jmercury/string_split_1.java:217: error: package list does not exist list.List_1 Var_69 = null; ^ Mercury/javas/jmercury/string_split_1.java:223: error: cannot find symbol Var_6 = string.split_at_separator_2_f_0(Var_10, Var_11); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:227: error: cannot find symbol TypeCtorInfo_76_76 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:227: error: package jmercury.runtime does not exist TypeCtorInfo_76_76 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_split_1.java:229: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_6, Var_7, Var_8); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:232: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:237: error: cannot find symbol Var_13 = string.split_at_separator_2_f_0(Var_17, Var_18); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:242: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_13, Var_14, Var_15); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:245: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:250: error: cannot find symbol Var_20 = string.split_at_separator_2_f_0(Var_24, Var_25); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:255: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_20, Var_21, Var_22); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:258: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:263: error: cannot find symbol Var_27 = string.split_at_separator_2_f_0(Var_31, Var_32); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:268: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_27, Var_28, Var_29); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:271: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:276: error: cannot find symbol Var_34 = string.split_at_char_2_f_0(Var_38, Var_39); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:281: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_34, Var_35, Var_36); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:284: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:289: error: cannot find symbol Var_41 = string.split_at_string_2_f_0(Var_45, Var_46); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:294: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_41, Var_42, Var_43); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:297: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:302: error: cannot find symbol Var_48 = string.split_at_string_2_f_0(Var_52, Var_53); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:307: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_48, Var_49, Var_50); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:310: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:315: error: cannot find symbol Var_55 = string.split_at_string_2_f_0(Var_59, Var_60); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:320: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_76_76, Var_55, Var_56, Var_57); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:323: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:326: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:331: error: cannot find symbol Var_64 = string.split_into_lines_1_f_0(Var_66); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:333: error: cannot find symbol TypeCtorInfo_105_105 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:333: error: package jmercury.runtime does not exist TypeCtorInfo_105_105 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_split_1.java:335: error: cannot find symbol conv0_STATE_VARIABLE_IO_18_65 = list.foldl_4_p_2(TypeCtorInfo_76_76, TypeCtorInfo_105_105, Var_63, Var_64, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:338: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:343: error: cannot find symbol Var_69 = string.split_into_lines_1_f_0(Var_71); ^ symbol: variable string location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:346: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_76_76, TypeCtorInfo_105_105, Var_68, Var_69, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:359: error: cannot find symbol succeeded = mr_char.is_upper_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:374: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:388: error: cannot find symbol succeeded = mr_char.is_upper_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:403: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:417: error: cannot find symbol succeeded = mr_char.is_upper_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:432: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:446: error: cannot find symbol succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:461: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:476: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:491: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:506: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:521: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_split_1 Mercury/javas/jmercury/string_split_1.java:605: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_split_1.java:720: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 89 errors gmake[3]: *** [/tmp/mmake.GIaRHf:2411: string_split_1] Error 1 gmake[3]: Target 'string_split_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_split_1.log] Error 1 RUNNING TEST hard_coded/string_strip in grade java FAILED TEST hard_coded/string_string in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_string.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_string Making Mercury/int3s/string_string.int3 Making Mercury/ints/string_string.int Making Mercury/javas/jmercury/string_string.java Making Java class files Mercury/javas/jmercury/string_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_string__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_string__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/string_string.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_string__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_string.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_string__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/string_string.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_string__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_string.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_string__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/string_string.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_string__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_string.java:125: 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/string_string.java:126: 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/string_string.java:127: 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/string_string.java:483: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/string_string.java:130: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_6 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/string_string.java:307: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/string_string.java:441: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_string"; ^ Mercury/javas/jmercury/string_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_string Mercury/javas/jmercury/string_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_string Mercury/javas/jmercury/string_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_string Mercury/javas/jmercury/string_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_string Mercury/javas/jmercury/string_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_string Mercury/javas/jmercury/string_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_string Mercury/javas/jmercury/string_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_string__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] string_string__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/string_string.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc string_string__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/string_string.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_string__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/string_string.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] string_string__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/string_string.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] string_string__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/string_string.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct string_string__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/string_string.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_string Mercury/javas/jmercury/string_string.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_string Mercury/javas/jmercury/string_string.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_string.string_string__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/string_string.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_string.string_string__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/string_string.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_string Mercury/javas/jmercury/string_string.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class string_string Mercury/javas/jmercury/string_string.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/string_string.java:84: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class string_string Mercury/javas/jmercury/string_string.java:102: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/string_string.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/string_string.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/string_string.java:125: 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/string_string.java:126: 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/string_string.java:127: 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/string_string.java:130: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_6 = new pair.Pair_2[1]; ^ Mercury/javas/jmercury/string_string.java:134: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_string.java:135: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_string Mercury/javas/jmercury/string_string.java:135: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_string.java:136: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:136: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_string.java:139: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_string.java:140: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class string_string Mercury/javas/jmercury/string_string.java:140: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/string_string.java:141: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:141: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/string_string.java:142: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:142: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_string.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_string.java:146: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class string_string Mercury/javas/jmercury/string_string.java:146: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/string_string.java:147: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:147: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_string.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_string.java:151: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ symbol: variable version_array location: class string_string Mercury/javas/jmercury/string_string.java:151: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ Mercury/javas/jmercury/string_string.java:152: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:152: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_string.java:155: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_string.java:157: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_string.java:159: error: package list does not exist (list.List_1) string_string.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_string.java:162: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_string.java:164: error: package list does not exist (list.List_1) string_string.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_string.java:167: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_string.java:169: error: package list does not exist (list.List_1) string_string.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_string.java:179: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/string_string.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_string.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_string Mercury/javas/jmercury/string_string.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_string.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/string_string.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_62_62 = null; ^ Mercury/javas/jmercury/string_string.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_63_63 = null; ^ Mercury/javas/jmercury/string_string.java:198: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_64_64 = null; ^ Mercury/javas/jmercury/string_string.java:199: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_65_65 = null; ^ Mercury/javas/jmercury/string_string.java:201: error: package jmercury.version_array does not exist jmercury.version_array.ML_va VersionArray_5 = null; ^ Mercury/javas/jmercury/string_string.java:202: error: package list does not exist list.List_1 Var_8 = (list.List_1) string_string.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_string.java:202: error: package list does not exist list.List_1 Var_8 = (list.List_1) string_string.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_string.java:203: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/string_string.java:214: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/string_string.java:218: error: package pair does not exist pair.Pair_2 Var_48 = null; ^ Mercury/javas/jmercury/string_string.java:229: error: cannot find symbol conv0_Array_4 = array.from_list_2_p_0(TypeCtorInfo_60_60, Var_8); ^ symbol: variable array location: class string_string Mercury/javas/jmercury/string_string.java:232: error: package list does not exist Var_15 = (list.List_1) string_string.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/string_string.java:234: error: cannot find symbol VersionArray_5 = version_array.from_list_1_f_0(TypeCtorInfo_60_60, Var_15); ^ symbol: variable version_array location: class string_string Mercury/javas/jmercury/string_string.java:236: error: package jmercury.runtime does not exist TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_string.string_string__type_ctor_info_tree_0); ^ Mercury/javas/jmercury/string_string.java:239: error: cannot find symbol Var_24 = string.string_1_f_0(TypeCtorInfo_61_61, ((java.lang.Object) (Var_25))); ^ symbol: variable string location: class string_string Mercury/javas/jmercury/string_string.java:243: error: cannot find symbol Var_22 = string.f_43_43_2_f_0(Var_24, Var_26); ^ symbol: variable string location: class string_string Mercury/javas/jmercury/string_string.java:246: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_string Mercury/javas/jmercury/string_string.java:250: error: cannot find symbol Var_29 = string.string_1_f_0(TypeCtorInfo_61_61, ((java.lang.Object) (Var_30))); ^ symbol: variable string location: class string_string Mercury/javas/jmercury/string_string.java:254: error: cannot find symbol Var_27 = string.f_43_43_2_f_0(Var_29, Var_33); ^ symbol: variable string location: class string_string 100 errors gmake[3]: *** [/tmp/mmake.FOE1vA:2411: string_string] Error 1 gmake[3]: Target 'string_string.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_string.log] Error 1 RUNNING TEST hard_coded/string_sub_string_search in grade java FAILED TEST hard_coded/string_strip in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_strip.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_strip Making Mercury/int3s/string_strip.int3 Making Mercury/ints/string_strip.int Making Mercury/javas/jmercury/string_strip.java Making Java class files Mercury/javas/jmercury/string_strip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_string_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain___vti_func_2builtin__type_ctor_info_string_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:87: 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/string_strip.java:90: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[8]; ^ Mercury/javas/jmercury/string_strip.java:93: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_strip.java:94: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/string_strip.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_strip.java:746: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_strip.java:805: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_strip.java:842: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/string_strip.java:853: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_strip.java:913: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_strip.java:963: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_strip.java:1082: error: package list does not exist list.List_1 Strings_4, ^ Mercury/javas/jmercury/string_strip.java:1083: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_92) ^ Mercury/javas/jmercury/string_strip.java:1080: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_strip.java:1197: error: package list does not exist list.List_1 LambdaHeadVar__2_10) ^ Mercury/javas/jmercury/string_strip.java:1194: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_strip.java:1299: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_strip.java:1485: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_strip.java:1537: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/string_strip.java:1562: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_strip.java:1571: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_strip.java:1580: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_strip.java:1583: error: package list does not exist public list.List_1 Cs_8; ^ Mercury/javas/jmercury/string_strip.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_strip"; ^ Mercury/javas/jmercury/string_strip.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_strip.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_strip.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_strip Mercury/javas/jmercury/string_strip.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_strip Mercury/javas/jmercury/string_strip.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_strip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_strip Mercury/javas/jmercury/string_strip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_strip Mercury/javas/jmercury/string_strip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_strip Mercury/javas/jmercury/string_strip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_strip Mercury/javas/jmercury/string_strip.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_strip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_func_2builtin__type_ctor_info_string_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain___vti_func_2builtin__type_ctor_info_string_0builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_strip.java:42: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_strip Mercury/javas/jmercury/string_strip.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_strip.java:44: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:48: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_strip.java:50: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:54: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:56: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0), ^ Mercury/javas/jmercury/string_strip.java:57: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/string_strip.java:61: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_strip Mercury/javas/jmercury/string_strip.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_strip.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) string_strip.__vti_func_2builtin__type_ctor_info_string_0builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_strip.java:68: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class string_strip Mercury/javas/jmercury/string_strip.java:70: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/string_strip.java:70: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:74: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:76: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_strip.java:76: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:77: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_strip.java:77: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:87: 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/string_strip.java:90: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[8]; ^ Mercury/javas/jmercury/string_strip.java:93: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_strip.java:94: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/string_strip.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_strip.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_strip Mercury/javas/jmercury/string_strip.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_strip.java:101: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_strip.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_strip.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/string_strip.java:106: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_strip.java:107: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/string_strip.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_strip.java:111: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class string_strip Mercury/javas/jmercury/string_strip.java:111: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/string_strip.java:112: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:112: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/string_strip.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(string_strip.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/string_strip.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_strip.java:117: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_strip Mercury/javas/jmercury/string_strip.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_strip.java:118: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:118: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/string_strip.java:125: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:125: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_strip.java:133: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_strip Mercury/javas/jmercury/string_strip.java:133: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ 100 errors gmake[3]: *** [/tmp/mmake.7rUyqs:2411: string_strip] Error 1 gmake[3]: Target 'string_strip.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_strip.log] Error 1 RUNNING TEST hard_coded/string_substring in grade java FAILED TEST hard_coded/string_sub_string_search in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_sub_string_search.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_sub_string_search Making Mercury/int3s/string_sub_string_search.int3 Making Mercury/ints/string_sub_string_search.int Making Mercury/javas/jmercury/string_sub_string_search.java Making Java class files Mercury/javas/jmercury/string_sub_string_search.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_sub_string_search"; ^ Mercury/javas/jmercury/string_sub_string_search.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_sub_string_search.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_sub_string_search.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_sub_string_search.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_sub_string_search.java:125: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_13, Var_14); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:137: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_16, Var_17); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:147: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_18, Var_19); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:158: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_20, Var_21); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:171: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_23, Var_24); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:184: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_26, Var_27); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:197: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_29, Var_30); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:210: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_32, Var_33, Var_34); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:222: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_35, Var_36, Var_37); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:236: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_39, Var_40, Var_41); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:250: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_43, Var_44, Var_45); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:264: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_47, Var_48, Var_49); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:278: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_51, Var_52, Var_53); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:292: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_55, Var_56, Var_57); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:306: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_59, Var_60, Var_61); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:319: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_63, Var_64, Var_65); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:330: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_66, Var_67, Var_68); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:341: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_69, Var_70, Var_71); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:352: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_start_4_p_0(Var_72, Var_73, Var_74); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:363: error: cannot find symbol Var_77 = string.length_1_f_0(Var_78); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:366: error: cannot find symbol java.lang.Object [] result = string.sub_string_search_3_p_0(Var_75, Var_76); ^ symbol: variable string location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:408: error: cannot find symbol io.write_string_3_p_0(Var_79); ^ symbol: variable io location: class string_sub_string_search Mercury/javas/jmercury/string_sub_string_search.java:416: error: cannot find symbol io.write_string_3_p_0(Var_81); ^ symbol: variable io location: class string_sub_string_search 34 errors gmake[3]: *** [/tmp/mmake.qMYI0C:2411: string_sub_string_search] Error 1 gmake[3]: Target 'string_sub_string_search.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_sub_string_search.log] Error 1 RUNNING TEST hard_coded/string_suffix_bug in grade java FAILED TEST hard_coded/string_substring in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_substring.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_substring Making Mercury/int3s/string_substring.int3 Making Mercury/ints/string_substring.int Making Mercury/javas/jmercury/string_substring.java Making Java class files Mercury/javas/jmercury/string_substring.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_substring"; ^ Mercury/javas/jmercury/string_substring.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_substring.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_substring.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_substring Mercury/javas/jmercury/string_substring.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_substring Mercury/javas/jmercury/string_substring.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_substring Mercury/javas/jmercury/string_substring.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_substring Mercury/javas/jmercury/string_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_substring Mercury/javas/jmercury/string_substring.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_substring Mercury/javas/jmercury/string_substring.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_substring.java:119: error: cannot find symbol Var_8 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:123: error: cannot find symbol Var_73 = string.between_4_p_0(Var_6, Var_7, Var_8); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:131: error: cannot find symbol Var_12 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:135: error: cannot find symbol Var_74 = string.between_4_p_0(Var_10, Var_11, Var_12); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:143: error: cannot find symbol Var_16 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:147: error: cannot find symbol Var_75 = string.between_4_p_0(Var_14, Var_15, Var_16); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:155: error: cannot find symbol Var_20 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:159: error: cannot find symbol Var_76 = string.between_4_p_0(Var_18, Var_19, Var_20); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:167: error: cannot find symbol Var_24 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:171: error: cannot find symbol Var_77 = string.between_4_p_0(Var_22, Var_23, Var_24); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:179: error: cannot find symbol Var_28 = mr_int.max_int_0_f_0(); ^ symbol: variable mr_int location: class string_substring Mercury/javas/jmercury/string_substring.java:183: error: cannot find symbol Var_78 = string.between_4_p_0(Var_26, Var_27, Var_28); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:193: error: cannot find symbol Var_79 = string.between_4_p_0(Var_30, Var_31, Var_32); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:203: error: cannot find symbol Var_80 = string.between_4_p_0(Var_34, Var_35, Var_36); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:213: error: cannot find symbol Var_81 = string.between_4_p_0(Var_38, Var_39, Var_40); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:223: error: cannot find symbol Var_82 = string.between_4_p_0(Var_42, Var_43, Var_44); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:233: error: cannot find symbol Var_83 = string.between_4_p_0(Var_46, Var_47, Var_48); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:243: error: cannot find symbol Var_84 = string.between_4_p_0(Var_50, Var_51, Var_52); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:253: error: cannot find symbol Var_85 = string.between_4_p_0(Var_54, Var_55, Var_56); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:263: error: cannot find symbol Var_86 = string.between_4_p_0(Var_58, Var_59, Var_60); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:273: error: cannot find symbol Var_87 = string.between_4_p_0(Var_62, Var_63, Var_64); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:283: error: cannot find symbol Var_88 = string.between_4_p_0(Var_66, Var_67, Var_68); ^ symbol: variable string location: class string_substring Mercury/javas/jmercury/string_substring.java:306: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class string_substring Mercury/javas/jmercury/string_substring.java:314: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class string_substring 35 errors gmake[3]: *** [/tmp/mmake.Zq21fo:2411: string_substring] Error 1 gmake[3]: Target 'string_substring.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_substring.log] Error 1 RUNNING TEST hard_coded/string_switch_1 in grade java FAILED TEST hard_coded/string_suffix_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_suffix_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_suffix_bug Making Mercury/int3s/string_suffix_bug.int3 Making Mercury/ints/string_suffix_bug.int Making Mercury/javas/jmercury/string_suffix_bug.java Making Java class files Mercury/javas/jmercury/string_suffix_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_suffix_bug"; ^ Mercury/javas/jmercury/string_suffix_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_suffix_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_suffix_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_suffix_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_suffix_bug.java:41: error: cannot find symbol succeeded = string.suffix_2_p_0(Var_6, Var_7); ^ symbol: variable string location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:48: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class string_suffix_bug Mercury/javas/jmercury/string_suffix_bug.java:56: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class string_suffix_bug 14 errors gmake[3]: *** [/tmp/mmake.t0bsxW:2411: string_suffix_bug] Error 1 gmake[3]: Target 'string_suffix_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_suffix_bug.log] Error 1 RUNNING TEST hard_coded/string_switch_2 in grade java FAILED TEST hard_coded/string_switch_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_1 Making Mercury/int3s/string_switch_1.int3 Making Mercury/ints/string_switch_1.int Making Mercury/javas/jmercury/string_switch_1.java Making Java class files Mercury/javas/jmercury/string_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_1.java:33: 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/string_switch_1.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[21]; ^ Mercury/javas/jmercury/string_switch_1.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_1.java:481: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:523: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:867: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:1519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:1608: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:1697: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_1.java:1720: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_switch_1.java:1771: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_switch_1.java:1882: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_1.java:1895: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_1.java:1904: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_1.java:1913: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_switch_1"; ^ Mercury/javas/jmercury/string_switch_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_switch_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_switch_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_switch_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_1.java:33: 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/string_switch_1.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[21]; ^ Mercury/javas/jmercury/string_switch_1.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_1.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_switch_1.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_switch_1.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_switch_1.java:47: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_switch_1.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:51: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_switch_1.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:56: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_switch_1.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:61: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_switch_1.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:66: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/string_switch_1.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:71: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_switch_1.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:76: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_switch_1.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:81: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_switch_1.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:86: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/string_switch_1.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:91: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_switch_1.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:96: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_switch_1.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:101: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_switch_1.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:106: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/string_switch_1.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:111: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/string_switch_1.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:116: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_switch_1.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:121: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/string_switch_1.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:126: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_switch_1.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:131: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/string_switch_1.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:136: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/string_switch_1.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:141: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/string_switch_1.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:146: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/string_switch_1.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_1.java:151: error: package list does not exist (list.List_1) string_switch_1.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/string_switch_1.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_1.java:159: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:159: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_switch_1.java:160: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:160: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_switch_1.java:199: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_switch_1.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_switch_1.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_switch_1.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_switch_1.java:203: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_switch_1.java:204: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_switch_1.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:211: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_1.java:212: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:212: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_switch_1.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_1.java:347: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_switch_1 Mercury/javas/jmercury/string_switch_1.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_1.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_switch_1.java:348: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_switch_1 100 errors gmake[3]: *** [/tmp/mmake.axxMoz:2411: string_switch_1] Error 1 gmake[3]: Target 'string_switch_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_switch_1.log] Error 1 RUNNING TEST hard_coded/string_switch_3 in grade java FAILED TEST hard_coded/string_switch_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_2 Making Mercury/int3s/string_switch_2.int3 Making Mercury/ints/string_switch_2.int Making Mercury/javas/jmercury/string_switch_2.java Making Java class files Mercury/javas/jmercury/string_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_2.java:33: 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/string_switch_2.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[21]; ^ Mercury/javas/jmercury/string_switch_2.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_2.java:481: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:523: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:867: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:1519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:1608: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:1697: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_2.java:1720: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_switch_2.java:1771: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_switch_2.java:1882: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_2.java:1895: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_2.java:1904: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_2.java:1913: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_switch_2"; ^ Mercury/javas/jmercury/string_switch_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_switch_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_switch_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_switch_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_2.java:33: 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/string_switch_2.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[21]; ^ Mercury/javas/jmercury/string_switch_2.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_2.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_switch_2.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_switch_2.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_switch_2.java:47: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_switch_2.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:51: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_switch_2.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:56: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_switch_2.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:61: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_switch_2.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:66: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/string_switch_2.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:71: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_switch_2.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:76: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_switch_2.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:81: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_switch_2.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:86: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/string_switch_2.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:91: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_switch_2.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:96: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_switch_2.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:101: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_switch_2.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:106: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/string_switch_2.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:111: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/string_switch_2.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:116: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_switch_2.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:121: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/string_switch_2.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:126: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_switch_2.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:131: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/string_switch_2.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:136: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/string_switch_2.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:141: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/string_switch_2.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:146: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/string_switch_2.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_2.java:151: error: package list does not exist (list.List_1) string_switch_2.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/string_switch_2.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_2.java:159: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:159: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_switch_2.java:160: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:160: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_switch_2.java:199: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_switch_2.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_switch_2.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_switch_2.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_switch_2.java:203: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_switch_2.java:204: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_switch_2.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:211: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_2.java:212: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:212: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_switch_2.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_2.java:347: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_switch_2 Mercury/javas/jmercury/string_switch_2.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_2.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_switch_2.java:348: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_switch_2 100 errors gmake[3]: *** [/tmp/mmake.6wA6v0:2411: string_switch_2] Error 1 gmake[3]: Target 'string_switch_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_switch_2.log] Error 1 RUNNING TEST hard_coded/string_switch_4 in grade java FAILED TEST hard_coded/string_switch_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=1 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=1 --string-binary-switch-size=100 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_3 Making Mercury/int3s/string_switch_3.int3 Making Mercury/ints/string_switch_3.int Making Mercury/javas/jmercury/string_switch_3.java Making Java class files Mercury/javas/jmercury/string_switch_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_3.java:33: 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/string_switch_3.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[21]; ^ Mercury/javas/jmercury/string_switch_3.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_3.java:481: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:523: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:867: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:1519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:1608: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:1697: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_3.java:1720: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_switch_3.java:1771: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_switch_3.java:1882: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_3.java:1895: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_3.java:1904: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_3.java:1913: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_switch_3"; ^ Mercury/javas/jmercury/string_switch_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_switch_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_switch_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_switch_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_switch_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_3.java:33: 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/string_switch_3.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[21]; ^ Mercury/javas/jmercury/string_switch_3.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_3.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_switch_3.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_switch_3.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_switch_3.java:47: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_switch_3.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:51: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_switch_3.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:56: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_switch_3.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:61: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_switch_3.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:66: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/string_switch_3.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:71: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_switch_3.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:76: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_switch_3.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:81: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_switch_3.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:86: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/string_switch_3.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:91: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_switch_3.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:96: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_switch_3.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:101: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_switch_3.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:106: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/string_switch_3.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:111: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/string_switch_3.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:116: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_switch_3.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:121: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/string_switch_3.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:126: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_switch_3.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:131: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/string_switch_3.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:136: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/string_switch_3.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:141: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/string_switch_3.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:146: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/string_switch_3.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_3.java:151: error: package list does not exist (list.List_1) string_switch_3.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/string_switch_3.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_3.java:159: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:159: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_switch_3.java:160: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:160: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_switch_3.java:199: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_switch_3.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_switch_3.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_switch_3.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_switch_3.java:203: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_switch_3.java:204: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_switch_3.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:211: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_3.java:212: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:212: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_switch_3.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_3.java:347: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_switch_3 Mercury/javas/jmercury/string_switch_3.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_3.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_switch_3.java:348: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_switch_3 100 errors gmake[3]: *** [/tmp/mmake.kSvp51:2411: string_switch_3] Error 1 gmake[3]: Target 'string_switch_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_switch_3.log] Error 1 RUNNING TEST hard_coded/string_to_float_overflow in grade java FAILED TEST hard_coded/string_to_float_overflow in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_to_float_overflow.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_to_float_overflow Making Mercury/int3s/string_to_float_overflow.int3 Making Mercury/ints/string_to_float_overflow.int Making Mercury/javas/jmercury/string_to_float_overflow.java Making Java class files Mercury/javas/jmercury/string_to_float_overflow.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_to_float_overflow"; ^ Mercury/javas/jmercury/string_to_float_overflow.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_to_float_overflow.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_to_float_overflow.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_to_float_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_to_float_overflow.java:43: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(Var_8); ^ symbol: variable string location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:49: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:49: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:52: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_15_15, java.lang.Double.valueOf(Float1_4)); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:57: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:61: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:66: error: cannot find symbol java.lang.Object [] result = string.to_float_2_p_0(Var_12); ^ symbol: variable string location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:72: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ symbol: variable builtin location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:75: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_17_17, java.lang.Double.valueOf(Float2_5)); ^ symbol: variable io location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:80: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_to_float_overflow Mercury/javas/jmercury/string_to_float_overflow.java:80: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_to_float_overflow.java:84: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Var_14))); ^ symbol: variable io location: class string_to_float_overflow 29 errors gmake[3]: *** [/tmp/mmake.H2XOKL:2411: string_to_float_overflow] Error 1 gmake[3]: Target 'string_to_float_overflow.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_to_float_overflow.log] Error 1 RUNNING TEST hard_coded/string_various in grade java FAILED TEST hard_coded/string_switch_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=100 --string-binary-switch-size=1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --string-trie-switch-size=100 --string-hash-switch-size=100 --string-binary-switch-size=1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_switch_4 Making Mercury/int3s/string_switch_4.int3 Making Mercury/ints/string_switch_4.int Making Mercury/javas/jmercury/string_switch_4.java Making Java class files Mercury/javas/jmercury/string_switch_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_4.java:33: 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/string_switch_4.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[21]; ^ Mercury/javas/jmercury/string_switch_4.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_4.java:481: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:523: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:867: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:1519: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:1608: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:1697: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_switch_4.java:1720: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_switch_4.java:1771: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_switch_4.java:1882: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_4.java:1895: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_4.java:1904: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_4.java:1913: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_switch_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_switch_4"; ^ Mercury/javas/jmercury/string_switch_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_switch_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_switch_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_switch_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_switch_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_switch_4.java:33: 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/string_switch_4.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[21]; ^ Mercury/javas/jmercury/string_switch_4.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_switch_4.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_switch_4.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/string_switch_4.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/string_switch_4.java:47: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_switch_4.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:51: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_switch_4.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:56: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/string_switch_4.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:61: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/string_switch_4.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:66: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/string_switch_4.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:71: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/string_switch_4.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:76: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/string_switch_4.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:81: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/string_switch_4.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:86: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/string_switch_4.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:91: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/string_switch_4.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:96: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/string_switch_4.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:101: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[9] ^ Mercury/javas/jmercury/string_switch_4.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:106: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/string_switch_4.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:111: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/string_switch_4.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:116: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[12] ^ Mercury/javas/jmercury/string_switch_4.java:119: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:121: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/string_switch_4.java:124: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:126: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/string_switch_4.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:131: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/string_switch_4.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:136: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/string_switch_4.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:141: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/string_switch_4.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:146: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/string_switch_4.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_switch_4.java:151: error: package list does not exist (list.List_1) string_switch_4.MR_scalar_common_3[19] ^ Mercury/javas/jmercury/string_switch_4.java:158: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:158: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_4.java:159: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:159: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_switch_4.java:160: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:160: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_switch_4.java:199: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_switch_4.java:200: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_switch_4.java:201: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_switch_4.java:202: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_switch_4.java:203: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_switch_4.java:204: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_switch_4.java:211: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:211: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_switch_4.java:212: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:212: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_switch_4.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_4.java:347: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_switch_4 Mercury/javas/jmercury/string_switch_4.java:347: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_switch_4.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_switch_4.java:348: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_switch_4 100 errors gmake[3]: *** [/tmp/mmake.iJDyCg:2411: string_switch_4] Error 1 gmake[3]: Target 'string_switch_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_switch_4.log] Error 1 RUNNING TEST hard_coded/string_well_formed in grade java FAILED TEST hard_coded/string_various in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_various.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_various Making Mercury/int3s/string_various.int3 Making Mercury/ints/string_various.int Making Mercury/javas/jmercury/string_various.java Making Java class files Mercury/javas/jmercury/string_various.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_various"; ^ Mercury/javas/jmercury/string_various.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_various.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_various.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_various Mercury/javas/jmercury/string_various.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_various Mercury/javas/jmercury/string_various.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_various.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_various.java:47: error: cannot find symbol Var_6 = string.remove_suffix_if_present_2_f_0(Var_8, Var_9); ^ symbol: variable string location: class string_various Mercury/javas/jmercury/string_various.java:50: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:53: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:58: error: cannot find symbol Var_11 = string.remove_suffix_if_present_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class string_various Mercury/javas/jmercury/string_various.java:61: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:64: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:69: error: cannot find symbol Var_16 = string.remove_suffix_if_present_2_f_0(Var_18, Var_19); ^ symbol: variable string location: class string_various Mercury/javas/jmercury/string_various.java:72: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class string_various Mercury/javas/jmercury/string_various.java:75: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_various 20 errors gmake[3]: *** [/tmp/mmake.mEogpX:2411: string_various] Error 1 gmake[3]: Target 'string_various.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_various.log] Error 1 RUNNING TEST hard_coded/string_well_formed_utf8 in grade java FAILED TEST hard_coded/string_well_formed in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_well_formed.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_well_formed Making Mercury/int3s/string_well_formed.int3 Making Mercury/ints/string_well_formed.int Making Mercury/javas/jmercury/string_well_formed.java Making Java class files Mercury/javas/jmercury/string_well_formed.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_well_formed"; ^ Mercury/javas/jmercury/string_well_formed.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_well_formed.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_well_formed.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_well_formed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_well_formed.java:56: error: cannot find symbol Bad1_6 = string.between_3_f_0(Good_5, Var_12, Var_13); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:60: error: cannot find symbol Var_16 = string.length_1_f_0(Good_5); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:65: error: cannot find symbol Bad2_7 = string.between_3_f_0(Good_5, Var_14, Var_15); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:68: error: cannot find symbol Bad3_8 = string.f_43_43_2_f_0(Bad1_6, Good_5); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:71: error: cannot find symbol Bad4_9 = string.f_43_43_2_f_0(Good_5, Bad2_7); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:107: error: cannot find symbol succeeded = string.is_well_formed_1_p_0(S_6); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:115: error: cannot find symbol Var_10 = string.f_43_43_2_f_0(Label_5, Var_12); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:118: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:127: error: cannot find symbol Var_13 = string.f_43_43_2_f_0(Label_5, Var_15); ^ symbol: variable string location: class string_well_formed Mercury/javas/jmercury/string_well_formed.java:130: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class string_well_formed 21 errors gmake[3]: *** [/tmp/mmake.XFnC3d:2411: string_well_formed] Error 1 gmake[3]: Target 'string_well_formed.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_well_formed.log] Error 1 RUNNING TEST hard_coded/subtype_abstract in grade java FAILED TEST hard_coded/string_well_formed_utf8 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_well_formed_utf8.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - string_well_formed_utf8 Making Mercury/int3s/string_well_formed_utf8.int3 Making Mercury/ints/string_well_formed_utf8.int Making Mercury/javas/jmercury/string_well_formed_utf8.java Making Java class files Mercury/javas/jmercury/string_well_formed_utf8.java:32: 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/string_well_formed_utf8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:87: error: package list does not exist list.List_1 STATE_VARIABLE_Acc_0_12) ^ Mercury/javas/jmercury/string_well_formed_utf8.java:85: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/string_well_formed_utf8.java:340: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_well_formed_utf8.java:359: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_well_formed_utf8.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_well_formed_utf8"; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:32: 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/string_well_formed_utf8.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:40: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_well_formed_utf8.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_well_formed_utf8.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_well_formed_utf8.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_well_formed_utf8.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_well_formed_utf8.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_well_formed_utf8.java:52: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:52: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/string_well_formed_utf8.java:65: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:65: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_well_formed_utf8.java:66: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:66: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_well_formed_utf8.java:67: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:67: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_well_formed_utf8.java:76: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:92: error: package list does not exist list.List_1 STATE_VARIABLE_Acc_13 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:94: error: package io does not exist io.Result_1 RLAS_8 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:98: error: cannot find symbol LineNr_7 = io.get_line_number_3_p_0(); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:101: error: cannot find symbol RLAS_8 = io.read_line_as_string_3_p_0(); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:103: error: illegal start of type switch (RLAS_8.data_tag) { ^ Mercury/javas/jmercury/string_well_formed_utf8.java:106: error: package io.Result_1 does not exist java.lang.String Line_9 = ((java.lang.String) ((io.Result_1.Ok_1) RLAS_8).F1); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:108: error: package list does not exist list.List_1 STATE_VARIABLE_Acc_1_19 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:110: error: package list does not exist list.List_1 next_value_of_STATE_VARIABLE_Acc_0_12 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:113: error: cannot find symbol Var_18 = string.strip_1_f_0(Line_9); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:116: error: cannot find symbol succeeded = string.is_well_formed_1_p_0(Var_18); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:123: error: cannot find symbol succeeded = string.all_match_2_p_0(Var_42, Var_18); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:132: error: cannot find symbol succeeded = string.contains_char_2_p_0(Var_18, Var_43); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_51 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_51 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:143: error: cannot find symbol Var_45 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_51, LineNr_7); ^ symbol: variable string__format location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:146: error: cannot find symbol Var_52 = string.f_43_43_2_f_0(Var_45, Var_44); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:150: error: cannot find symbol Msg_41 = string.f_43_43_2_f_0(Var_53, Var_52); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:157: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_61 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:157: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_61 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:162: error: cannot find symbol Var_55 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_61, LineNr_7); ^ symbol: variable string__format location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:165: error: cannot find symbol Var_62 = string.f_43_43_2_f_0(Var_55, Var_54); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:169: error: cannot find symbol Msg_41 = string.f_43_43_2_f_0(Var_63, Var_62); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:178: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_71 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:178: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_71 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:183: error: cannot find symbol Var_65 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_71, LineNr_7); ^ symbol: variable string__format location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:186: error: cannot find symbol Var_72 = string.f_43_43_2_f_0(Var_65, Var_64); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:190: error: cannot find symbol Msg_41 = string.f_43_43_2_f_0(Var_73, Var_72); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:194: error: package list.List_1 does not exist STATE_VARIABLE_Acc_1_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_well_formed_utf8.java:209: error: package io does not exist io.Error_0 Error_10 = ((io.Result_1.Error_1) RLAS_8).F1; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:209: error: package io.Result_1 does not exist io.Error_0 Error_10 = ((io.Result_1.Error_1) RLAS_8).F1; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:212: error: package list does not exist list.List_1 STATE_VARIABLE_Acc_3_29 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:216: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_38 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:219: error: package list does not exist list.List_1 next_value_of_STATE_VARIABLE_Acc_0_12 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:222: error: cannot find symbol Var_27 = io.error_message_1_f_0(Error_10); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:226: error: cannot find symbol Var_31 = string.f_43_43_2_f_0(Var_30, Var_27); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:228: error: package string__parse_util does not exist Var_38 = (string__parse_util.String_format_flags_0) string_well_formed_utf8.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:230: error: cannot find symbol Var_32 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_38, LineNr_7); ^ symbol: variable string__format location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:233: error: cannot find symbol Var_39 = string.f_43_43_2_f_0(Var_32, Var_31); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:237: error: cannot find symbol Msg_11 = string.f_43_43_2_f_0(Var_40, Var_39); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:240: error: package list.List_1 does not exist STATE_VARIABLE_Acc_3_29 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_well_formed_utf8.java:251: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:266: error: cannot find symbol succeeded = mr_char.is_ascii_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:275: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:276: error: package list does not exist list.List_1 AccResults_4 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:277: error: package list does not exist list.List_1 Results0_5 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:278: error: package list does not exist list.List_1 Results_6 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:279: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:286: error: cannot find symbol Var_9 = string.count_code_units_1_f_0(Var_10); ^ symbol: variable string location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:294: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:302: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:305: error: package list does not exist Var_15 = (list.List_1) string_well_formed_utf8.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/string_well_formed_utf8.java:309: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:309: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_well_formed_utf8.java:311: error: cannot find symbol Results0_5 = list.reverse_2_p_0(TypeCtorInfo_19_19, AccResults_4); ^ symbol: variable list location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:314: error: cannot find symbol Results_6 = list.remove_adjacent_dups_2_p_0(TypeCtorInfo_19_19, Results0_5); ^ symbol: variable list location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:319: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_19_19, Results_6, Var_17, Var_18); ^ symbol: variable io location: class string_well_formed_utf8 Mercury/javas/jmercury/string_well_formed_utf8.java:333: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class string_well_formed_utf8 91 errors gmake[3]: *** [/tmp/mmake.qisLAU:2411: string_well_formed_utf8] Error 1 gmake[3]: Target 'string_well_formed_utf8.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: string_well_formed_utf8.log] Error 1 RUNNING TEST hard_coded/subtype_field_names in grade java FAILED TEST hard_coded/subtype_abstract in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_abstract.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_abstract Making Mercury/int3s/subtype_abstract.int3 Making Mercury/int3s/subtype_abstract_helper_1.int3 Making Mercury/ints/subtype_abstract_helper_1.int Making Mercury/ints/subtype_abstract.int Making Mercury/javas/jmercury/subtype_abstract_helper_1.java Making Mercury/javas/jmercury/subtype_abstract.java Making Java class files Mercury/javas/jmercury/subtype_abstract.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_abstract_helper_1__pti_abstract_pair_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_abstract__field_types_foo_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract__du_functor_desc_foo_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract__du_stag_ordered_foo_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_abstract__du_ptag_ordered_foo_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract__du_name_ordered_foo_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract__type_ctor_info_foo_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:156: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/subtype_abstract.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_9, ^ Mercury/javas/jmercury/subtype_abstract.java:285: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_abstract.java:154: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_abstract.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/subtype_abstract.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_8, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:1051: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_abstract_helper_1__field_types_abstract_pair_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_abstract_pair_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_stag_ordered_abstract_pair_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_abstract_helper_1__du_ptag_ordered_abstract_pair_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_name_ordered_abstract_pair_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:21: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract_helper_1__type_ctor_info_abstract_pair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:22: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_bar_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_bar_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_bar_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_abstract_helper_1__field_types_bar_2_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_bar_2_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_stag_ordered_bar_2_0 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_abstract_helper_1__du_ptag_ordered_bar_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_name_ordered_bar_2 = new jmercury.runtime.DuFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:31: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract_helper_1__type_ctor_info_bar_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_abstract_helper_1__field_types_bar_pair_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract_helper_1__du_functor_desc_bar_pair_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_stag_ordered_bar_pair_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_abstract_helper_1__du_ptag_ordered_bar_pair_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract_helper_1__du_name_ordered_bar_pair_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract_helper_1__type_ctor_info_bar_pair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_abstract_helper_1__pti_bar_pair_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract_helper_1__type_ctor_info_eqv_bar_pair_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:306: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:307: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_7, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:324: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:325: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_7, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:322: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:443: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:444: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_12, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:441: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:560: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:561: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_7, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:558: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:679: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:680: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_7, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:677: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:713: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:714: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:783: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:784: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_10, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:851: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:852: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_6, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:921: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:922: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_6, ^ Mercury/javas/jmercury/subtype_abstract.java:241: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/subtype_abstract_helper_1.java:953: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/subtype_abstract.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "subtype_abstract"; ^ Mercury/javas/jmercury/subtype_abstract.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/subtype_abstract.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/subtype_abstract.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/subtype_abstract.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/subtype_abstract.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_abstract_helper_1__pti_abstract_pair_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_abstract__field_types_foo_2_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_abstract__du_functor_desc_foo_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_abstract.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract__du_stag_ordered_foo_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_abstract__du_ptag_ordered_foo_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_abstract__du_name_ordered_foo_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_abstract__type_ctor_info_foo_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_abstract.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/subtype_abstract.java:48: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/subtype_abstract.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) subtype_abstract.subtype_abstract_helper_1__pti_abstract_pair_2__pseudo_1__pseudo_2; ^ Mercury/javas/jmercury/subtype_abstract.java:59: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/subtype_abstract.java:75: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/subtype_abstract.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/subtype_abstract.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/subtype_abstract.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/subtype_abstract.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/subtype_abstract.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(subtype_abstract.subtype_abstract__type_ctor_info_foo_2))), ^ Mercury/javas/jmercury/subtype_abstract.java:118: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:118: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/subtype_abstract.java:119: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:119: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/subtype_abstract.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/subtype_abstract.java:132: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class subtype_abstract Mercury/javas/jmercury/subtype_abstract.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.2ABPvy:2411: subtype_abstract] Error 1 gmake[3]: Target 'subtype_abstract.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_abstract.log] Error 1 RUNNING TEST hard_coded/subtype_order in grade java FAILED TEST hard_coded/subtype_order in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_order.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_order Making Mercury/int3s/subtype_order.int3 Making Mercury/ints/subtype_order.int Making Mercury/javas/jmercury/subtype_order.java subtype_order.m:030: Warning: `citrus'/0 declares some constructors in a subtype_order.m:030: different order to its supertype `fruit'/0. The subtype_order.m:030: differences between the order of function symbols in the subtype_order.m:030: subtype, and the order of the same function symbols in subtype_order.m:030: the supertype, are as follows. subtype_order.m:030: subtype_order.m:030: @@ -1,5 +1,5 @@ subtype_order.m:030: -lemon/0 subtype_order.m:030: +pomelo/0 subtype_order.m:030: lime/0 subtype_order.m:030: +tangelo/0 subtype_order.m:030: orange/1 subtype_order.m:030: -pomelo/0 subtype_order.m:030: -tangelo/0 subtype_order.m:030: +lemon/0 Making Java class files Mercury/javas/jmercury/subtype_order.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_citrus_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_stag_ordered_citrus_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_order.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_order__du_ptag_ordered_citrus_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_order.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_name_ordered_citrus_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_order.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_order__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_order.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_fruit_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/subtype_order.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_order__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_order.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/subtype_order.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_order__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_order.java:449: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/subtype_order.java:450: 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/subtype_order.java:1055: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_order.java:452: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/subtype_order.java:570: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_order.java:600: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_order.java:995: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/subtype_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "subtype_order"; ^ Mercury/javas/jmercury/subtype_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/subtype_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/subtype_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class subtype_order Mercury/javas/jmercury/subtype_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class subtype_order Mercury/javas/jmercury/subtype_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/subtype_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_order Mercury/javas/jmercury/subtype_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_order Mercury/javas/jmercury/subtype_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_order Mercury/javas/jmercury/subtype_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_order Mercury/javas/jmercury/subtype_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/subtype_order.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_citrus_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_citrus_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_stag_ordered_citrus_0_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_order.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_order__du_ptag_ordered_citrus_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_order.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_name_ordered_citrus_0 = new jmercury.runtime.DuFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_order.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_order__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_order.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_order__field_types_fruit_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_order.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_order__du_functor_desc_fruit_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_order.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/subtype_order.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_order__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_order.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_order__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/subtype_order.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_order__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_order.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:75: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:90: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:97: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:105: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:109: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/subtype_order.java:109: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:114: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:122: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:129: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:137: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:151: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/subtype_order.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:180: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/subtype_order.java:180: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:185: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:193: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:200: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:208: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:215: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:223: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:230: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:238: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:242: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/subtype_order.java:242: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:247: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:255: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:262: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class subtype_order Mercury/javas/jmercury/subtype_order.java:270: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class subtype_order 100 errors gmake[3]: *** [/tmp/mmake.9v2lvn:2411: subtype_order] Error 1 gmake[3]: Target 'subtype_order.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_order.log] Error 1 RUNNING TEST hard_coded/subtype_pack in grade java FAILED TEST hard_coded/subtype_field_names in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_field_names.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_field_names Making Mercury/int3s/subtype_field_names.int3 Making Mercury/ints/subtype_field_names.int Making Mercury/javas/jmercury/subtype_field_names.java Making Java class files Mercury/javas/jmercury/subtype_field_names.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_citrus_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_citrus_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_ordinal_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_name_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_foo_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_foo_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_foo_bar_1_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_foo_bar_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_foo_bar_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_foo_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_foo_bar_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_foo_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_field_names.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_field_names.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_sub_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_sub_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_sub_bar_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_sub_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_sub_bar_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_sub_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_sub_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_sub_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_sub_foo_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_sub_foo_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_sub_foo_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:72: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_sub_foo_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_subsub_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_subsub_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_subsub_bar_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_subsub_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_subsub_bar_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_subsub_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:472: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:1319: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_field_names.java:564: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/subtype_field_names.java:1376: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/subtype_field_names.java:1377: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_field_names.java:584: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/subtype_field_names.java:604: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/subtype_field_names.java:622: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:665: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_22, ^ Mercury/javas/jmercury/subtype_field_names.java:663: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:803: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:844: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_field_names.java:842: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:876: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_field_names.java:874: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:908: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_field_names.java:906: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_field_names.java:966: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_17, ^ Mercury/javas/jmercury/subtype_field_names.java:1072: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_field_names.java:1102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_field_names.java:1132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5, ^ Mercury/javas/jmercury/subtype_field_names.java:1162: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/subtype_field_names.java:1222: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/subtype_field_names.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "subtype_field_names"; ^ Mercury/javas/jmercury/subtype_field_names.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/subtype_field_names.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/subtype_field_names.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/subtype_field_names.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_field_names Mercury/javas/jmercury/subtype_field_names.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/subtype_field_names.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_citrus_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_citrus_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_ordinal_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_name_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_foo_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_foo_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_foo_bar_1_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_foo_bar_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_foo_bar_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_foo_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_foo_bar_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_field_names.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_foo_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_field_names__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_field_names.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_field_names__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_field_names.java:56: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_sub_bar_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_sub_bar_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_field_names.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_stag_ordered_sub_bar_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_field_names__du_ptag_ordered_sub_bar_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_field_names__du_name_ordered_sub_bar_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_field_names.java:64: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_field_names__type_ctor_info_sub_bar_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_field_names.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_field_names__field_types_sub_foo_1_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_field_names.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_field_names__du_functor_desc_sub_foo_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Note: Mercury/javas/jmercury/subtype_field_names.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.oRZzh7:2411: subtype_field_names] Error 1 gmake[3]: Target 'subtype_field_names.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_field_names.log] Error 1 RUNNING TEST hard_coded/subtype_rtti in grade java FAILED TEST hard_coded/subtype_pack in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-packing-dummies '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_pack.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-packing-dummies '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_pack Making Mercury/int3s/subtype_pack.int3 Making Mercury/int3s/subtype_pack_helper_1.int3 Making Mercury/ints/subtype_pack.int Making Mercury/ints/subtype_pack_helper_1.int Making Mercury/javas/jmercury/subtype_pack.java Making Mercury/javas/jmercury/subtype_pack_helper_1.java Making Java class files Mercury/javas/jmercury/subtype_pack.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_dummy_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_ordinal_ordered_dummy_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_name_ordered_dummy_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_dummy_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_enum_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_ordinal_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_pack.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_name_ordered_enum_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_pack.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_pack__ti_notag0_1subtype_pack__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_notag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_notag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_notag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_notag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_notag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_notag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_notag0_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_notag0_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_notag0_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_notag0_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_notag0_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:58: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_notag0_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_struct_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_struct_2_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_pack__ti_dummy_1subtype_pack__type_ctor_info_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_struct_2_2 = new jmercury.runtime.PseudoTypeInfo[13]; ^ Mercury/javas/jmercury/subtype_pack.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_struct_2_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_struct_2_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_pack.java:66: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_struct_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_struct_2 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_pack.java:69: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_struct_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_sub_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_ordinal_ordered_sub_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_name_ordered_sub_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:74: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_sub_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_sub_enum_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_pack__enum_functor_desc_sub_enum_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_ordinal_ordered_sub_enum_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_pack.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_pack__enum_name_ordered_sub_enum_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_pack.java:80: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_sub_enum_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_pack__ti_sub_notag0_1subtype_pack__type_ctor_info_sub_enum_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_sub_notag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_sub_notag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_sub_notag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_sub_notag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:86: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_sub_notag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:88: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_sub_notag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_sub_notag0_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:90: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_sub_notag0_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:91: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_sub_notag0_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_sub_notag0_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_sub_notag0_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:95: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_sub_notag0_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_sub_tagged_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_sub_tagged_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:98: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_sub_tagged_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:99: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_sub_tagged_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_sub_tagged_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:102: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_sub_tagged_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_substruct_0_0 = new jmercury.runtime.PseudoTypeInfo[13]; ^ Mercury/javas/jmercury/subtype_pack.java:105: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_substruct_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:106: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_substruct_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_substruct_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_substruct_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_pack.java:110: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_substruct_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_tagged_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_pack__field_types_tagged_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_pack.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_pack__du_functor_desc_tagged_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_pack.java:114: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_stag_ordered_tagged_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_pack.java:115: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_pack__du_ptag_ordered_tagged_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_pack.java:116: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_pack__du_name_ordered_tagged_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_pack.java:118: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_pack__type_ctor_info_tagged_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_pack.java:876: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/subtype_pack.java:2418: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_pack.java:2401: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_pack.java:2518: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_pack.java:997: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4) ^ Mercury/javas/jmercury/subtype_pack.java:995: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:2567: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/subtype_pack.java:2568: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_pack.java:1020: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1059: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1102: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/subtype_pack.java:1100: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_42, ^ Mercury/javas/jmercury/subtype_pack.java:1145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_43, ^ Mercury/javas/jmercury/subtype_pack.java:2435: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_pack.java:1142: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1381: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1408: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1449: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1481: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/subtype_pack.java:1479: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1511: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1541: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1572: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_pack.java:1631: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3) ^ Mercury/javas/jmercury/subtype_pack.java:1715: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/subtype_pack.java:1754: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_31, ^ Note: Mercury/javas/jmercury/subtype_pack.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.MT59Ta:2411: subtype_pack] Error 1 gmake[3]: Target 'subtype_pack.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_pack.log] Error 1 RUNNING TEST hard_coded/subtype_user_compare in grade java FAILED TEST hard_coded/subtype_rtti in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-packing-local-sectags --allow-packing-remote-sectags '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_rtti.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --allow-packing-local-sectags --allow-packing-remote-sectags '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_rtti Making Mercury/int3s/subtype_rtti.int3 Making Mercury/ints/subtype_rtti.int Making Mercury/javas/jmercury/subtype_rtti.java subtype_rtti.m:071: Warning: `sub_color'/0 declares some constructors in a subtype_rtti.m:071: different order to its supertype `color'/0. The subtype_rtti.m:071: differences between the order of function symbols in the subtype_rtti.m:071: subtype, and the order of the same function symbols in subtype_rtti.m:071: the supertype, are as follows. subtype_rtti.m:071: subtype_rtti.m:071: @@ -1,3 +1,3 @@ subtype_rtti.m:071: -green/0 subtype_rtti.m:071: +orange/0 subtype_rtti.m:071: blue/0 subtype_rtti.m:071: -orange/0 subtype_rtti.m:071: +green/0 subtype_rtti.m:103: Warning: `sub_t'/0 declares some constructors in a subtype_rtti.m:103: different order to its supertype `t'/0. The differences subtype_rtti.m:103: between the order of function symbols in the subtype, and subtype_rtti.m:103: the order of the same function symbols in the supertype, subtype_rtti.m:103: are as follows. subtype_rtti.m:103: subtype_rtti.m:103: @@ -1,6 +1,6 @@ subtype_rtti.m:103: -f0_a/0 subtype_rtti.m:103: -f0_b/3 subtype_rtti.m:103: -f2/1 subtype_rtti.m:103: +f7_c/4 subtype_rtti.m:103: +f7_b/4 subtype_rtti.m:103: f6/1 subtype_rtti.m:103: -f7_b/4 subtype_rtti.m:103: -f7_c/4 subtype_rtti.m:103: +f2/1 subtype_rtti.m:103: +f0_b/3 subtype_rtti.m:103: +f0_a/0 Making Java class files Mercury/javas/jmercury/subtype_rtti.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_color_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_color_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_color_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_color_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_rtti.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_color_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/subtype_rtti.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_dummy_1_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_dummy_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_dummy_1 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_dummy_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_flag_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_flag_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_rtti.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_flag_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/subtype_rtti.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_flag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_rtti.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/subtype_rtti.java:59: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_rtti__ti_notag0_1subtype_rtti__type_ctor_info_color_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_notag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_notag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_notag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_notag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:65: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_notag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:67: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_notag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_notag0_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_notag0_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_notag0_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_notag0_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_notag0_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:74: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_notag0_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_sub_color_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_sub_color_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_sub_color_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_sub_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_rtti.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_sub_color_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_rtti.java:81: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_color_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_sub_dummy_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_sub_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_sub_dummy_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:86: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_dummy_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:87: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_rtti__enum_functor_desc_sub_flag_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:88: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_ordinal_ordered_sub_flag_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:89: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_rtti__enum_name_ordered_sub_flag_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:91: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_flag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:92: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct subtype_rtti__ti_sub_notag0_1subtype_rtti__type_ctor_info_sub_color_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:93: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_notag_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:94: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_notag_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_sub_notag_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_sub_notag_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:97: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_sub_notag_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:99: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_notag_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:100: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_notag0_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:101: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_notag0_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:102: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_sub_notag0_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:103: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_sub_notag0_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:104: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_sub_notag0_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:106: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_notag0_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:107: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_t_0_0 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/subtype_rtti.java:108: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:109: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_t_0_1 = new jmercury.runtime.PseudoTypeInfo[4]; ^ Mercury/javas/jmercury/subtype_rtti.java:111: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:112: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_t_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:113: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:114: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:115: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:116: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_t_0_4 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_rtti.java:117: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:118: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:119: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_sub_t_0_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/subtype_rtti.java:120: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_sub_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:121: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_sub_t_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/subtype_rtti.java:123: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:124: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_sub_tagged_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:125: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_sub_tagged_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:126: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_stag_ordered_sub_tagged_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:127: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] subtype_rtti__du_ptag_ordered_sub_tagged_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:128: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] subtype_rtti__du_name_ordered_sub_tagged_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:130: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_rtti__type_ctor_info_sub_tagged_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_rtti.java:131: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:132: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_rtti.java:134: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:135: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/subtype_rtti.java:137: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:138: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_3 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:140: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:141: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:142: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:143: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:144: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:145: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/subtype_rtti.java:146: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] subtype_rtti__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/subtype_rtti.java:147: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc subtype_rtti__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Note: Mercury/javas/jmercury/subtype_rtti.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.imYcSc:2411: subtype_rtti] Error 1 gmake[3]: Target 'subtype_rtti.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_rtti.log] Error 1 RUNNING TEST hard_coded/sv_nested_closures in grade java FAILED TEST hard_coded/subtype_user_compare in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_user_compare.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - subtype_user_compare Making Mercury/int3s/subtype_user_compare.int3 Making Mercury/int3s/subtype_user_compare_helper_1.int3 Making Mercury/ints/subtype_user_compare_helper_1.int Making Mercury/ints/subtype_user_compare.int Making Mercury/javas/jmercury/subtype_user_compare.java Making Mercury/javas/jmercury/subtype_user_compare_helper_1.java Making Java class files Mercury/javas/jmercury/subtype_user_compare.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_ordinal_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_name_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare.java:557: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/subtype_user_compare.java:558: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_user_compare.java:328: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare.java:358: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare.java:495: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare_helper_1__type_ctor_info_abs_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:16: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare_helper_1__type_ctor_info_abs_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_citrus_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_citrus_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_citrus_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare_helper_1__enum_ordinal_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare_helper_1__enum_name_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare_helper_1__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare_helper_1__enum_functor_desc_fruit_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare_helper_1__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare_helper_1__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare_helper_1__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:677: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:678: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:292: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:324: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:354: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:384: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/subtype_user_compare_helper_1.java:579: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/subtype_user_compare.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "subtype_user_compare"; ^ Mercury/javas/jmercury/subtype_user_compare.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/subtype_user_compare.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/subtype_user_compare.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/subtype_user_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/subtype_user_compare.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_citrus_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_ordinal_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_name_ordered_citrus_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/subtype_user_compare.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare__type_ctor_info_citrus_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc subtype_user_compare__enum_functor_desc_fruit_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/subtype_user_compare.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] subtype_user_compare__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[7]; ^ Mercury/javas/jmercury/subtype_user_compare.java:49: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct subtype_user_compare__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/subtype_user_compare.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM_USEREQ, ^ Mercury/javas/jmercury/subtype_user_compare.java:162: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/subtype_user_compare.java:165: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/subtype_user_compare.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM_USEREQ, ^ Mercury/javas/jmercury/subtype_user_compare.java:182: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/subtype_user_compare.java:185: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/subtype_user_compare.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_30 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:209: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_32 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:210: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_34 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_36 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:224: error: package builtin does not exist builtin.Comparison_result_0 Res_29 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:225: error: package builtin does not exist builtin.Comparison_result_0 Res_31 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:226: error: package builtin does not exist builtin.Comparison_result_0 Res_33 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:227: error: package builtin does not exist builtin.Comparison_result_0 Res_35 = null; ^ Mercury/javas/jmercury/subtype_user_compare.java:230: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:234: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(subtype_user_compare.subtype_user_compare__type_ctor_info_fruit_0); ^ Mercury/javas/jmercury/subtype_user_compare.java:236: error: cannot find symbol Res_29 = builtin.compare_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Var_8)), ((java.lang.Object) (Var_9))); ^ symbol: variable builtin location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:238: error: cannot find symbol TypeCtorInfo_12_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_comparison_result_0); ^ symbol: variable builtin location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:238: error: package jmercury.runtime does not exist TypeCtorInfo_12_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_comparison_result_0); ^ Mercury/javas/jmercury/subtype_user_compare.java:240: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_12_30, ((java.lang.Object) (Res_29))); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:244: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class subtype_user_compare Mercury/javas/jmercury/subtype_user_compare.java:248: error: package jmercury.runtime does not exist TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(subtype_user_compare.subtype_user_compare__type_ctor_info_citrus_0); ^ Mercury/javas/jmercury/subtype_user_compare.java:250: error: cannot find symbol Res_31 = builtin.compare_3_p_0(TypeCtorInfo_26_26, ((java.lang.Object) (Var_13)), ((java.lang.Object) (Var_14))); ^ symbol: variable builtin location: class subtype_user_compare 100 errors gmake[3]: *** [/tmp/mmake.NM7G3e:2411: subtype_user_compare] Error 1 gmake[3]: Target 'subtype_user_compare.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: subtype_user_compare.log] Error 1 RUNNING TEST hard_coded/sv_record_update in grade java FAILED TEST hard_coded/sv_nested_closures in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sv_nested_closures.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sv_nested_closures Making Mercury/int3s/sv_nested_closures.int3 Making Mercury/ints/sv_nested_closures.int Making Mercury/javas/jmercury/sv_nested_closures.java Making Java class files Mercury/javas/jmercury/sv_nested_closures.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:346: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/sv_nested_closures.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "sv_nested_closures"; ^ Mercury/javas/jmercury/sv_nested_closures.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/sv_nested_closures.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/sv_nested_closures.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/sv_nested_closures.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/sv_nested_closures.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/sv_nested_closures.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/sv_nested_closures.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/sv_nested_closures.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:78: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:78: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:79: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:79: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/sv_nested_closures.java:83: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/sv_nested_closures.java:100: error: package list does not exist list.List_1 Var_32 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:101: error: package string does not exist string.Poly_type_0 Var_34 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:102: error: package list does not exist list.List_1 Var_35 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:104: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:111: error: package string.Poly_type_0 does not exist Var_34 = new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/sv_nested_closures.java:115: error: package list does not exist Var_35 = (list.List_1) sv_nested_closures.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:117: error: package list.List_1 does not exist Var_32 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/sv_nested_closures.java:123: error: cannot find symbol io.format_4_p_0(Var_31, Var_32); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:134: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BazBar_8)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:136: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BazBar_8))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_51))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:172: error: package list does not exist list.List_1 Var_47 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:173: error: package string does not exist string.Poly_type_0 Var_49 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:174: error: package list does not exist list.List_1 Var_50 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:179: error: package string.Poly_type_0 does not exist Var_49 = new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/sv_nested_closures.java:183: error: package list does not exist Var_50 = (list.List_1) sv_nested_closures.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:185: error: package list.List_1 does not exist Var_47 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/sv_nested_closures.java:191: error: cannot find symbol io.format_4_p_0(Var_46, Var_47); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:203: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:216: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Bar_7)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:218: error: package jmercury.runtime does not exist conv1_LambdaHeadVar__3_15 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Bar_7))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_26))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:248: error: cannot find symbol io.write_int_3_p_0(Result_9); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:265: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_46 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:267: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_5)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:267: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_5)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:269: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:274: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_4_29 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Foo_5))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_28))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:279: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:281: error: package string__parse_util does not exist Var_46 = (string__parse_util.String_format_flags_0) sv_nested_closures.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:283: error: cannot find symbol Var_40 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_46, X_4); ^ symbol: variable string__format location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:286: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:290: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:294: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BazFoo_33)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:296: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BazFoo_33))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_36))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:301: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:304: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:394: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors gmake[3]: *** [/tmp/mmake.RVceRO:2411: sv_nested_closures] Error 1 gmake[3]: Target 'sv_nested_closures.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: sv_nested_closures.log] Error 1 RUNNING TEST hard_coded/switch_detect in grade java FAILED TEST hard_coded/sv_record_update in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sv_record_update.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - sv_record_update Making Mercury/int3s/sv_record_update.int3 Making Mercury/ints/sv_record_update.int Making Mercury/javas/jmercury/sv_record_update.java Making Java class files Mercury/javas/jmercury/sv_record_update.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sv_record_update__field_types_type1_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sv_record_update.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sv_record_update__du_functor_desc_type1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sv_record_update.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_stag_ordered_type1_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sv_record_update__du_ptag_ordered_type1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sv_record_update.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_name_ordered_type1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sv_record_update__type_ctor_info_type1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sv_record_update.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sv_record_update__field_types_type2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sv_record_update.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sv_record_update__du_functor_desc_type2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sv_record_update.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_stag_ordered_type2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sv_record_update__du_ptag_ordered_type2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sv_record_update.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_name_ordered_type2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sv_record_update__type_ctor_info_type2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sv_record_update.java:174: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/sv_record_update.java:545: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sv_record_update.java:275: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sv_record_update.java:565: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/sv_record_update.java:343: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/sv_record_update.java:485: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/sv_record_update.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "sv_record_update"; ^ Mercury/javas/jmercury/sv_record_update.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/sv_record_update.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/sv_record_update.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/sv_record_update.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/sv_record_update.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sv_record_update__field_types_type1_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sv_record_update.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sv_record_update__du_functor_desc_type1_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sv_record_update.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_stag_ordered_type1_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sv_record_update__du_ptag_ordered_type1_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sv_record_update.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_name_ordered_type1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sv_record_update__type_ctor_info_type1_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sv_record_update.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] sv_record_update__field_types_type2_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/sv_record_update.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc sv_record_update__du_functor_desc_type2_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/sv_record_update.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_stag_ordered_type2_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] sv_record_update__du_ptag_ordered_type2_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/sv_record_update.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] sv_record_update__du_name_ordered_type2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/sv_record_update.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct sv_record_update__type_ctor_info_type2_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/sv_record_update.java:52: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/sv_record_update.java:52: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/sv_record_update.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:63: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/sv_record_update.java:79: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/sv_record_update.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/sv_record_update.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/sv_record_update.java:110: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) sv_record_update.sv_record_update__type_ctor_info_type1_0; ^ Mercury/javas/jmercury/sv_record_update.java:112: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/sv_record_update.java:112: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:121: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:129: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/sv_record_update.java:137: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:151: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/sv_record_update.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/sv_record_update.java:159: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/sv_record_update.java:174: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/sv_record_update.java:179: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/sv_record_update.java:180: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:180: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/sv_record_update.java:181: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:181: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/sv_record_update.java:182: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:182: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/sv_record_update.java:185: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/sv_record_update.java:186: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:186: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/sv_record_update.java:187: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sv_record_update.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/sv_record_update.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(sv_record_update.sv_record_update__type_ctor_info_type1_0); ^ Mercury/javas/jmercury/sv_record_update.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(sv_record_update.sv_record_update__type_ctor_info_type1_0); ^ Mercury/javas/jmercury/sv_record_update.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/sv_record_update.java:207: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/sv_record_update.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/sv_record_update.java:209: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/sv_record_update.java:210: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_43 = null; ^ Mercury/javas/jmercury/sv_record_update.java:211: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_44 = null; ^ Mercury/javas/jmercury/sv_record_update.java:214: error: package tree234 does not exist tree234.Tree234_2 Map_6 = null; ^ Mercury/javas/jmercury/sv_record_update.java:215: error: package list does not exist list.List_1 AssocList_7 = null; ^ Mercury/javas/jmercury/sv_record_update.java:217: error: package tree234 does not exist tree234.Tree234_2 Var_17 = null; ^ Mercury/javas/jmercury/sv_record_update.java:220: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_1_38 = null; ^ Mercury/javas/jmercury/sv_record_update.java:228: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, ((java.lang.Object) (Type1_4))); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:245: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(sv_record_update.sv_record_update__type_ctor_info_type2_0); ^ Mercury/javas/jmercury/sv_record_update.java:247: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Type2_5))); ^ symbol: variable io location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:249: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:249: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/sv_record_update.java:250: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:250: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/sv_record_update.java:252: error: cannot find symbol Var_17 = map.init_0_f_0(TypeCtorInfo_20_20, TypeCtorInfo_21_21); ^ symbol: variable map location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:256: error: cannot find symbol TypeCtorInfo_12_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:256: error: package jmercury.runtime does not exist TypeCtorInfo_12_43 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/sv_record_update.java:257: error: cannot find symbol TypeCtorInfo_13_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:257: error: package jmercury.runtime does not exist TypeCtorInfo_13_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/sv_record_update.java:259: error: cannot find symbol STATE_VARIABLE_Map_1_38 = map.f_101_108_101_109_32_58_61_3_f_0(TypeCtorInfo_12_43, TypeCtorInfo_13_44, ((java.lang.Object) (Var_40)), Var_17, java.lang.Integer.valueOf(Var_39)); ^ symbol: variable map location: class sv_record_update Mercury/javas/jmercury/sv_record_update.java:264: error: cannot find symbol Map_6 = map.f_101_108_101_109_32_58_61_3_f_0(TypeCtorInfo_12_43, TypeCtorInfo_13_44, ((java.lang.Object) (Var_42)), STATE_VARIABLE_Map_1_38, java.lang.Integer.valueOf(Var_41)); ^ symbol: variable map location: class sv_record_update 100 errors gmake[3]: *** [/tmp/mmake.0RdI2x:2411: sv_record_update] Error 1 gmake[3]: Target 'sv_record_update.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: sv_record_update.log] Error 1 RUNNING TEST hard_coded/system_sort in grade java FAILED TEST hard_coded/switch_detect in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - switch_detect.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - switch_detect Making Mercury/int3s/switch_detect.int3 Making Mercury/ints/switch_detect.int Making Mercury/javas/jmercury/switch_detect.java Making Java class files Mercury/javas/jmercury/switch_detect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switch_detect.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/switch_detect.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switch_detect__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switch_detect.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switch_detect__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switch_detect.java:509: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/switch_detect.java:281: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/switch_detect.java:467: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/switch_detect.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "switch_detect"; ^ Mercury/javas/jmercury/switch_detect.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/switch_detect.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/switch_detect.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class switch_detect Mercury/javas/jmercury/switch_detect.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class switch_detect Mercury/javas/jmercury/switch_detect.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/switch_detect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/switch_detect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switch_detect.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/switch_detect.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switch_detect__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switch_detect.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switch_detect__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switch_detect.java:49: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:57: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/switch_detect.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/switch_detect.java:78: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:80: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/switch_detect.java:80: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:93: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/switch_detect.java:105: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/switch_detect.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/switch_detect.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/switch_detect.java:168: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:180: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (X_4))); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:192: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:195: error: cannot find symbol io.write_int_3_p_0(I_8); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:199: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:202: error: cannot find symbol io.write_float_3_p_0(F_9); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:212: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:233: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:236: error: cannot find symbol io.write_int_3_p_0(Num_11); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:248: error: package io does not exist io.Read_result_1 Res_6 = null; ^ Mercury/javas/jmercury/switch_detect.java:251: error: cannot find symbol Res_6 = io.read_3_p_0(TypeCtorInfo_14_14); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:253: error: illegal start of type switch (Res_6.data_tag) { ^ Mercury/javas/jmercury/switch_detect.java:255: error: package io.Read_result_1 does not exist X_4 = ((switch_detect.T_0) ((io.Read_result_1.Ok_1) Res_6).F1); ^ Mercury/javas/jmercury/switch_detect.java:262: error: cannot find symbol require.error_1_p_0(Var_13); ^ symbol: variable require location: class switch_detect Mercury/javas/jmercury/switch_detect.java:271: error: cannot find symbol require.error_1_p_0(Var_12); ^ symbol: variable require location: class switch_detect Mercury/javas/jmercury/switch_detect.java:276: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switch_detect.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:299: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:303: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:312: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:321: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:326: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:328: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:336: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:343: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:351: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/switch_detect.java:355: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:360: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:362: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:364: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/switch_detect.java:369: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX2_9, ArgY2_10); ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:374: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:378: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:389: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switch_detect.java:447: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:496: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 94 errors gmake[3]: *** [/tmp/mmake.HtIkJK:2411: switch_detect] Error 1 gmake[3]: Target 'switch_detect.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: switch_detect.log] Error 1 RUNNING TEST hard_coded/tag_switch_dup_label in grade java FAILED TEST hard_coded/system_sort in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - system_sort.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - system_sort Making Mercury/int3s/system_sort.int3 Making Mercury/ints/system_sort.int Making Mercury/javas/jmercury/system_sort.java Making Java class files Mercury/javas/jmercury/system_sort.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "system_sort"; ^ Mercury/javas/jmercury/system_sort.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/system_sort.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/system_sort.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class system_sort Mercury/javas/jmercury/system_sort.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class system_sort Mercury/javas/jmercury/system_sort.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/system_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class system_sort Mercury/javas/jmercury/system_sort.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class system_sort Mercury/javas/jmercury/system_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class system_sort Mercury/javas/jmercury/system_sort.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class system_sort Mercury/javas/jmercury/system_sort.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/system_sort.java:37: error: package io does not exist io.Res_1 Var_4 = null; ^ Mercury/javas/jmercury/system_sort.java:40: error: cannot find symbol Var_4 = io__call_system.call_system_4_p_0(Var_7); ^ symbol: variable io__call_system location: class system_sort 13 errors gmake[3]: *** [/tmp/mmake.GQnVdZ:2411: system_sort] Error 1 gmake[3]: Target 'system_sort.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: system_sort.log] Error 1 RUNNING TEST hard_coded/tail_rec_scc in grade java FAILED TEST hard_coded/tag_switch_dup_label in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tag_switch_dup_label.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tag_switch_dup_label Making Mercury/int3s/tag_switch_dup_label.int3 Making Mercury/ints/tag_switch_dup_label.int Making Mercury/javas/jmercury/tag_switch_dup_label.java Making Java class files Mercury/javas/jmercury/tag_switch_dup_label.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tag_switch_dup_label__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tag_switch_dup_label__field_types_fruit_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tag_switch_dup_label__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tag_switch_dup_label__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tag_switch_dup_label__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tag_switch_dup_label__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:451: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/tag_switch_dup_label.java:246: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tag_switch_dup_label.java:409: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tag_switch_dup_label.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tag_switch_dup_label"; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tag_switch_dup_label__field_types_fruit_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tag_switch_dup_label__field_types_fruit_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tag_switch_dup_label__du_functor_desc_fruit_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tag_switch_dup_label__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tag_switch_dup_label__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tag_switch_dup_label__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tag_switch_dup_label__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:49: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:57: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:78: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:83: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:91: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/tag_switch_dup_label.java:103: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:125: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/tag_switch_dup_label.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tag_switch_dup_label.java:133: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tag_switch_dup_label.java:177: error: cannot find symbol io.write_int_3_p_0(N_4); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:180: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:238: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:252: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:258: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:264: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:268: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:271: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:277: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:286: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:291: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:298: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:301: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:308: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:316: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_string_3_p_0(ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class tag_switch_dup_label Mercury/javas/jmercury/tag_switch_dup_label.java:321: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:325: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:336: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/tag_switch_dup_label.java:389: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tag_switch_dup_label.java:438: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 68 errors gmake[3]: *** [/tmp/mmake.9ACWnb:2411: tag_switch_dup_label] Error 1 gmake[3]: Target 'tag_switch_dup_label.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tag_switch_dup_label.log] Error 1 RUNNING TEST hard_coded/take_split_upto in grade java FAILED TEST hard_coded/tail_rec_scc in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tail_rec_scc.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tail_rec_scc Making Mercury/int3s/tail_rec_scc.int3 Making Mercury/ints/tail_rec_scc.int Making Mercury/javas/jmercury/tail_rec_scc.java Making Java class files Mercury/javas/jmercury/tail_rec_scc.java:32: 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/tail_rec_scc.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tail_rec_scc"; ^ Mercury/javas/jmercury/tail_rec_scc.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tail_rec_scc.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tail_rec_scc.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tail_rec_scc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tail_rec_scc.java:32: 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/tail_rec_scc.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/tail_rec_scc.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/tail_rec_scc.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/tail_rec_scc.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/tail_rec_scc.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/tail_rec_scc.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/tail_rec_scc.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_44 = null; ^ Mercury/javas/jmercury/tail_rec_scc.java:74: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:76: error: package string__parse_util does not exist Var_44 = (string__parse_util.String_format_flags_0) tail_rec_scc.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/tail_rec_scc.java:78: error: cannot find symbol Var_38 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_44, C1_4); ^ symbol: variable string__format location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:81: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:85: error: cannot find symbol io.write_string_3_p_0(Var_45); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:101: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:104: error: cannot find symbol Var_49 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_44, C2_5); ^ symbol: variable string__format location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:107: error: cannot find symbol io.write_string_3_p_0(Var_49); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:111: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:119: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:136: error: cannot find symbol io.write_string_3_p_0(Var_59); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:139: error: cannot find symbol Var_61 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_44, C3_6); ^ symbol: variable string__format location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:142: error: cannot find symbol io.write_string_3_p_0(Var_61); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:146: error: cannot find symbol io.write_string_3_p_0(Var_68); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:154: error: cannot find symbol io.write_string_3_p_0(Var_69); ^ symbol: variable io location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:279: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tail_rec_scc.java:406: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tail_rec_scc.java:533: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tail_rec_scc.java:577: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:625: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:673: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:709: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tail_rec_scc.java:756: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:804: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:852: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:888: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tail_rec_scc.java:935: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:983: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:1031: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(B_5, Var_8); ^ symbol: variable mr_int location: class tail_rec_scc Mercury/javas/jmercury/tail_rec_scc.java:1067: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 50 errors gmake[3]: *** [/tmp/mmake.29leJ6:2411: tail_rec_scc] Error 1 gmake[3]: Target 'tail_rec_scc.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tail_rec_scc.log] Error 1 RUNNING TEST hard_coded/tautological_compare in grade java FAILED TEST hard_coded/take_split_upto in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - take_split_upto.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - take_split_upto Making Mercury/int3s/take_split_upto.int3 Making Mercury/ints/take_split_upto.int Making Mercury/javas/jmercury/take_split_upto.java Making Java class files Mercury/javas/jmercury/take_split_upto.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:33: 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_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:79: 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/take_split_upto.java:80: 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/take_split_upto.java:81: 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[6]; ^ Mercury/javas/jmercury/take_split_upto.java:82: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[13]; ^ Mercury/javas/jmercury/take_split_upto.java:256: error: package list does not exist list.List_1 List_5) ^ Mercury/javas/jmercury/take_split_upto.java:280: error: package list does not exist list.List_1 List_5) ^ Mercury/javas/jmercury/take_split_upto.java:361: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/take_split_upto.java:489: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/take_split_upto.java:628: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/take_split_upto.java:874: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/take_split_upto.java:915: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/take_split_upto.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "take_split_upto"; ^ Mercury/javas/jmercury/take_split_upto.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/take_split_upto.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/take_split_upto.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/take_split_upto.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/take_split_upto.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:33: 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_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_list__ti_list_1builtin__type_ctor_info_int_0__plain_list__ti_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/take_split_upto.java:41: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:43: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:43: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/take_split_upto.java:47: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/take_split_upto.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:50: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) take_split_upto.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/take_split_upto.java:54: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/take_split_upto.java:56: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:60: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) take_split_upto.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/take_split_upto.java:66: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:68: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) take_split_upto.list__ti_list_1builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/take_split_upto.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) take_split_upto.list__ti_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/take_split_upto.java:79: 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/take_split_upto.java:80: 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/take_split_upto.java:81: 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[6]; ^ Mercury/javas/jmercury/take_split_upto.java:82: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_4 = new pair.Pair_2[13]; ^ Mercury/javas/jmercury/take_split_upto.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/take_split_upto.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/take_split_upto.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/take_split_upto.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/take_split_upto.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/take_split_upto.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/take_split_upto.java:96: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(take_split_upto.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/take_split_upto.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/take_split_upto.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/take_split_upto.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(take_split_upto.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/take_split_upto.java:104: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/take_split_upto.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class take_split_upto Mercury/javas/jmercury/take_split_upto.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/take_split_upto.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(take_split_upto.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/take_split_upto.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(take_split_upto.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/take_split_upto.java:110: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/take_split_upto.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:114: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/take_split_upto.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:119: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/take_split_upto.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:124: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/take_split_upto.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:129: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/take_split_upto.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:134: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/take_split_upto.java:137: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/take_split_upto.java:139: error: package list does not exist (list.List_1) take_split_upto.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/take_split_upto.java:142: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:144: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/take_split_upto.java:147: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:149: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/take_split_upto.java:152: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:154: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/take_split_upto.java:157: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:159: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/take_split_upto.java:162: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:164: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_3[0])) ^ Mercury/javas/jmercury/take_split_upto.java:167: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:169: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_3[2])) ^ Mercury/javas/jmercury/take_split_upto.java:172: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:174: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_2[0])) ^ Mercury/javas/jmercury/take_split_upto.java:177: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/take_split_upto.java:179: error: package list does not exist ((java.lang.Object) ((list.List_1) take_split_upto.MR_scalar_common_3[0])) ^ 100 errors gmake[3]: *** [/tmp/mmake.rkgxYS:2411: take_split_upto] Error 1 gmake[3]: Target 'take_split_upto.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: take_split_upto.log] Error 1 RUNNING TEST hard_coded/term_io_test in grade java FAILED TEST hard_coded/tautological_compare in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tautological_compare.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tautological_compare Making Mercury/int3s/tautological_compare.int3 Making Mercury/ints/tautological_compare.int Making Mercury/javas/jmercury/tautological_compare.java Making Java class files Mercury/javas/jmercury/tautological_compare.java:193: error: package builtin does not exist builtin.Comparison_result_0 R_4) ^ Mercury/javas/jmercury/tautological_compare.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tautological_compare"; ^ Mercury/javas/jmercury/tautological_compare.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tautological_compare.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tautological_compare.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tautological_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tautological_compare.java:68: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:72: error: cannot find symbol io.write_string_3_p_0(Var_51); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:76: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:80: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:84: error: cannot find symbol io.write_string_3_p_0(Var_61); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:88: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:92: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:96: error: cannot find symbol io.write_string_3_p_0(Var_70); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:100: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:104: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:108: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:112: error: cannot find symbol io.write_string_3_p_0(Var_81); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:116: error: cannot find symbol io.write_string_3_p_0(Var_85); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:120: error: cannot find symbol io.write_string_3_p_0(Var_87); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:124: error: cannot find symbol io.write_string_3_p_0(Var_91); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:128: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:136: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:144: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:152: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:160: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:168: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:176: error: cannot find symbol io.write_string_3_p_0(Var_42); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:184: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:195: error: illegal start of type switch (R_4.MR_value) { ^ Mercury/javas/jmercury/tautological_compare.java:202: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:211: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:216: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tautological_compare.java:223: error: package builtin does not exist builtin.Comparison_result_0 RI_5 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:223: error: package builtin does not exist builtin.Comparison_result_0 RI_5 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:224: error: package builtin does not exist builtin.Comparison_result_0 RU_7 = null; ^ Mercury/javas/jmercury/tautological_compare.java:225: error: package builtin does not exist builtin.Comparison_result_0 R8_9 = null; ^ Mercury/javas/jmercury/tautological_compare.java:226: error: package builtin does not exist builtin.Comparison_result_0 RU8_11 = null; ^ Mercury/javas/jmercury/tautological_compare.java:227: error: package builtin does not exist builtin.Comparison_result_0 R16_13 = null; ^ Mercury/javas/jmercury/tautological_compare.java:228: error: package builtin does not exist builtin.Comparison_result_0 RU16_15 = null; ^ Mercury/javas/jmercury/tautological_compare.java:229: error: package builtin does not exist builtin.Comparison_result_0 R32_17 = null; ^ Mercury/javas/jmercury/tautological_compare.java:230: error: package builtin does not exist builtin.Comparison_result_0 RU32_19 = null; ^ Mercury/javas/jmercury/tautological_compare.java:231: error: package builtin does not exist builtin.Comparison_result_0 R64_21 = null; ^ Mercury/javas/jmercury/tautological_compare.java:232: error: package builtin does not exist builtin.Comparison_result_0 RU64_23 = null; ^ Mercury/javas/jmercury/tautological_compare.java:237: error: package builtin does not exist RU_7 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:241: error: package builtin does not exist R8_9 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:245: error: package builtin does not exist RU8_11 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:249: error: package builtin does not exist R16_13 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:253: error: package builtin does not exist RU16_15 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:257: error: package builtin does not exist R32_17 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:261: error: package builtin does not exist RU32_19 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:265: error: package builtin does not exist R64_21 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:269: error: package builtin does not exist RU64_23 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tautological_compare.java:285: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:289: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:293: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:297: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:311: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:315: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:319: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:323: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:337: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:341: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:345: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:349: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:363: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:367: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:371: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:375: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:389: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:393: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:397: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:401: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:415: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:419: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:423: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:427: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:441: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:445: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:449: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class tautological_compare Mercury/javas/jmercury/tautological_compare.java:453: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class tautological_compare 87 errors gmake[3]: *** [/tmp/mmake.QxJNSO:2411: tautological_compare] Error 1 gmake[3]: Target 'tautological_compare.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tautological_compare.log] Error 1 RUNNING TEST hard_coded/term_to_univ_test in grade java FAILED TEST hard_coded/term_io_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-unresolved-polymorphism '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - term_io_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-unresolved-polymorphism '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - term_io_test Making Mercury/int3s/term_io_test.int3 Making Mercury/ints/term_io_test.int Making Mercury/javas/jmercury/term_io_test.java Making Java class files Mercury/javas/jmercury/term_io_test.java:32: 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/term_io_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "term_io_test"; ^ Mercury/javas/jmercury/term_io_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/term_io_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/term_io_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class term_io_test Mercury/javas/jmercury/term_io_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class term_io_test Mercury/javas/jmercury/term_io_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/term_io_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/term_io_test.java:32: 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/term_io_test.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/term_io_test.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/term_io_test.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/term_io_test.java:56: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ symbol: variable builtin location: class term_io_test Mercury/javas/jmercury/term_io_test.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/term_io_test.java:57: error: package mercury_term_parser does not exist mercury_term_parser.Read_term_1 Res0_4 = null; ^ Mercury/javas/jmercury/term_io_test.java:61: error: cannot find symbol Res0_4 = mercury_term_parser.read_term_3_p_0(TypeCtorInfo_23_23); ^ symbol: variable mercury_term_parser location: class term_io_test Mercury/javas/jmercury/term_io_test.java:63: error: illegal start of type switch (Res0_4.data_tag) { ^ Mercury/javas/jmercury/term_io_test.java:70: error: package mercury_term_parser.Read_term_1 does not exist java.lang.String Msg_7 = ((mercury_term_parser.Read_term_1.Error_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:71: error: package mercury_term_parser.Read_term_1 does not exist int Line_8 = ((mercury_term_parser.Read_term_1.Error_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:72: error: package io does not exist io.Text_output_stream_0 StdErr_9 = null; ^ Mercury/javas/jmercury/term_io_test.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_31 = null; ^ Mercury/javas/jmercury/term_io_test.java:79: error: cannot find symbol StdErr_9 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:81: error: package string__parse_util does not exist Var_31 = (string__parse_util.String_format_flags_0) term_io_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/term_io_test.java:83: error: cannot find symbol Var_25 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_31, Line_8); ^ symbol: variable string__format location: class term_io_test Mercury/javas/jmercury/term_io_test.java:86: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_25); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:90: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_33); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:93: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Msg_7); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:97: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_35); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:104: error: package varset does not exist varset.Varset_1 VarSet_5 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:104: error: package mercury_term_parser.Read_term_1 does not exist varset.Varset_1 VarSet_5 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:105: error: package term does not exist term.Term_1 Term_6 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:105: error: package mercury_term_parser.Read_term_1 does not exist term.Term_1 Term_6 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:108: error: cannot find symbol term_io.write_term_nl_4_p_0(TypeCtorInfo_23_23, VarSet_5, Term_6); ^ symbol: variable term_io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:114: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 42 errors gmake[3]: *** [/tmp/mmake.L2yZ1U:2411: term_io_test] Error 1 gmake[3]: Target 'term_io_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: term_io_test.log] Error 1 RUNNING TEST hard_coded/test234_sorted_insert in grade java FAILED TEST hard_coded/term_to_univ_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - term_to_univ_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - term_to_univ_test Making Mercury/int3s/term_to_univ_test.int3 Making Mercury/ints/term_to_univ_test.int Making Mercury/javas/jmercury/term_to_univ_test.java Making Java class files Mercury/javas/jmercury/term_to_univ_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/term_to_univ_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "term_to_univ_test"; ^ Mercury/javas/jmercury/term_to_univ_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/term_to_univ_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/term_to_univ_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/term_to_univ_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/term_to_univ_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/term_to_univ_test.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/term_to_univ_test.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ symbol: variable term location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ Mercury/javas/jmercury/term_to_univ_test.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/term_to_univ_test.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/term_to_univ_test.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/term_to_univ_test.java:52: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:53: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:56: error: package univ does not exist univ.Univ_0 Univ0_5 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:57: error: package univ does not exist univ.Univ_0 Univ_6 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:58: error: package term does not exist term.Term_1 Term_7 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:59: error: package varset does not exist varset.Varset_1 VarSet_8 = null; ^ Mercury/javas/jmercury/term_to_univ_test.java:62: error: cannot find symbol Univ0_5 = univ.type_to_univ_2_p_0(TypeCtorInfo_14_14, java.lang.Integer.valueOf(X_4)); ^ symbol: variable univ location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:64: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ symbol: variable univ location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:64: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(univ.univ__type_ctor_info_univ_0); ^ Mercury/javas/jmercury/term_to_univ_test.java:66: error: cannot find symbol Univ_6 = univ.type_to_univ_2_p_0(TypeCtorInfo_15_15, ((java.lang.Object) (Univ0_5))); ^ symbol: variable univ location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:68: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:68: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/term_to_univ_test.java:70: error: cannot find symbol Term_7 = term_conversion.univ_to_term_2_p_0(TypeCtorInfo_16_16, Univ_6); ^ symbol: variable term_conversion location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:72: error: package jmercury.runtime does not exist TypeInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term_to_univ_test.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/term_to_univ_test.java:74: error: cannot find symbol io.write_line_3_p_0(TypeInfo_17_17, ((java.lang.Object) (Term_7))); ^ symbol: variable io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:77: error: cannot find symbol VarSet_8 = varset.init_1_p_0(TypeCtorInfo_16_16); ^ symbol: variable varset location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:80: error: cannot find symbol term_io.write_term_4_p_0(TypeCtorInfo_16_16, VarSet_8, Term_7); ^ symbol: variable term_io location: class term_to_univ_test Mercury/javas/jmercury/term_to_univ_test.java:83: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class term_to_univ_test 40 errors gmake[3]: *** [/tmp/mmake.bree2W:2411: term_to_univ_test] Error 1 gmake[3]: Target 'term_to_univ_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: term_to_univ_test.log] Error 1 RUNNING TEST hard_coded/test_array2d in grade java FAILED TEST hard_coded/test234_sorted_insert in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test234_sorted_insert.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test234_sorted_insert Making Mercury/int3s/test234_sorted_insert.int3 Making Mercury/ints/test234_sorted_insert.int Making Mercury/javas/jmercury/test234_sorted_insert.java test234_sorted_insert.m:050: In predicate `test'/5: test234_sorted_insert.m:050: warning: the fourth argument and the fifth test234_sorted_insert.m:050: argument, represented by the state variable test234_sorted_insert.m:050: `!IO', could be deleted, because they are not test234_sorted_insert.m:050: used, and because the final value is always the test234_sorted_insert.m:050: same as the initial value. Making Java class files Mercury/javas/jmercury/test234_sorted_insert.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:33: 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/test234_sorted_insert.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:70: error: package list does not exist list.List_1 STATE_VARIABLE_RevList_0_8) ^ Mercury/javas/jmercury/test234_sorted_insert.java:66: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test234_sorted_insert.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test234_sorted_insert"; ^ Mercury/javas/jmercury/test234_sorted_insert.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test234_sorted_insert.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test234_sorted_insert.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test234_sorted_insert.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test234_sorted_insert.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:33: 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/test234_sorted_insert.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test234_sorted_insert.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/test234_sorted_insert.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/test234_sorted_insert.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test234_sorted_insert.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test234_sorted_insert.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test234_sorted_insert.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(test234_sorted_insert.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/test234_sorted_insert.java:49: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test234_sorted_insert.java:51: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test234_sorted_insert.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test234_sorted_insert.java:53: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test234_sorted_insert.java:54: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test234_sorted_insert.java:55: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test234_sorted_insert.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test234_sorted_insert.java:75: error: package list does not exist list.List_1 STATE_VARIABLE_RevList_9 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:82: error: package list does not exist list.List_1 STATE_VARIABLE_RevList_1_10 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:83: error: package pair does not exist pair.Pair_2 Var_11 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:87: error: package list does not exist list.List_1 next_value_of_STATE_VARIABLE_RevList_0_8 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:90: error: package pair does not exist Var_11 = new pair.Pair_2( ^ Mercury/javas/jmercury/test234_sorted_insert.java:96: error: package list.List_1 does not exist STATE_VARIABLE_RevList_1_10 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test234_sorted_insert.java:132: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) test234_sorted_insert.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) test234_sorted_insert.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:142: error: cannot find symbol Var_19 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_25, Failed_4); ^ symbol: variable string__format location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:145: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:149: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:170: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_56 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:171: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_52_58 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_8_98 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:176: error: package list does not exist list.List_1 List_21 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:177: error: package tree234 does not exist tree234.Tree234_2 Tree_22 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:178: error: package maybe does not exist maybe.Maybe_1 MaybeDepth_23 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:179: error: package list does not exist list.List_1 TreeList_24 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:180: error: package list does not exist list.List_1 SortedTreeList_25 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:181: error: package list does not exist list.List_1 RevList_26 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:182: error: package tree234 does not exist tree234.Tree234_2 RevTree_27 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:183: error: package maybe does not exist maybe.Maybe_1 RevMaybeDepth_28 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:184: error: package list does not exist list.List_1 RevTreeList_29 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:185: error: package list does not exist list.List_1 RevSortedTreeList_30 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:186: error: package list does not exist list.List_1 RevList_95 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:188: error: package list does not exist list.List_1 Var_97 = (list.List_1) test234_sorted_insert.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:188: error: package list does not exist list.List_1 Var_97 = (list.List_1) test234_sorted_insert.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:190: error: package list does not exist list.List_1 Var_100 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_87_93 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_88_94 = null; ^ Mercury/javas/jmercury/test234_sorted_insert.java:199: error: package jmercury.runtime does not exist TypeInfo_8_98 = jmercury.runtime.TypeInfo_Struct.maybe_new(test234_sorted_insert.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test234_sorted_insert.java:201: error: cannot find symbol List_21 = list.reverse_2_p_0(TypeInfo_8_98, RevList_95); ^ symbol: variable list location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:203: error: cannot find symbol TypeCtorInfo_50_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:203: error: package jmercury.runtime does not exist TypeCtorInfo_50_56 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test234_sorted_insert.java:205: error: cannot find symbol Tree_22 = tree234.from_sorted_assoc_list_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, List_21); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:208: error: cannot find symbol MaybeDepth_23 = tree234.well_formed_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, Tree_22); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:211: error: cannot find symbol TreeList_24 = tree234.tree234_to_assoc_list_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, Tree_22); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:213: error: package jmercury.runtime does not exist TypeInfo_52_58 = jmercury.runtime.TypeInfo_Struct.maybe_new(test234_sorted_insert.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test234_sorted_insert.java:215: error: cannot find symbol SortedTreeList_25 = list.sort_2_p_0(TypeInfo_52_58, TreeList_24); ^ symbol: variable list location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:218: error: package list does not exist Var_100 = (list.List_1) test234_sorted_insert.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/test234_sorted_insert.java:223: error: cannot find symbol RevTree_27 = tree234.from_rev_sorted_assoc_list_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, RevList_26); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:226: error: cannot find symbol RevMaybeDepth_28 = tree234.well_formed_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, RevTree_27); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:229: error: cannot find symbol RevTreeList_29 = tree234.tree234_to_assoc_list_2_p_0(TypeCtorInfo_50_56, TypeCtorInfo_50_56, RevTree_27); ^ symbol: variable tree234 location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:232: error: cannot find symbol RevSortedTreeList_30 = list.sort_2_p_0(TypeInfo_52_58, RevTreeList_29); ^ symbol: variable list location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:240: error: package jmercury.runtime does not exist TypeInfo_87_93 = jmercury.runtime.TypeInfo_Struct.maybe_new(test234_sorted_insert.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test234_sorted_insert.java:242: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_87_93, ((java.lang.Object) (TreeList_24)), ((java.lang.Object) (SortedTreeList_25))); ^ symbol: variable builtin location: class test234_sorted_insert Mercury/javas/jmercury/test234_sorted_insert.java:246: error: package jmercury.runtime does not exist TypeInfo_88_94 = jmercury.runtime.TypeInfo_Struct.maybe_new(test234_sorted_insert.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test234_sorted_insert.java:248: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_88_94, ((java.lang.Object) (RevTreeList_29)), ((java.lang.Object) (RevSortedTreeList_30))); ^ symbol: variable builtin location: class test234_sorted_insert 86 errors gmake[3]: *** [/tmp/mmake.gRy9tX:2411: test234_sorted_insert] Error 1 gmake[3]: Target 'test234_sorted_insert.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test234_sorted_insert.log] Error 1 RUNNING TEST hard_coded/test_bag in grade java FAILED TEST hard_coded/test_array2d in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_array2d.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_array2d Making Mercury/int3s/test_array2d.int3 Making Mercury/ints/test_array2d.int Making Mercury/javas/jmercury/test_array2d.java Making Java class files Mercury/javas/jmercury/test_array2d.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array2d__pti_array2d_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_array2d.java:67: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_array2d.java:69: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_array2d.java:70: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[36]; ^ Mercury/javas/jmercury/test_array2d.java:324: error: package list does not exist list.List_1 HeadVar__1_181) ^ Mercury/javas/jmercury/test_array2d.java:644: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_18, ^ Mercury/javas/jmercury/test_array2d.java:646: error: package array2d does not exist array2d.Array2d_1 Table_6) ^ Mercury/javas/jmercury/test_array2d.java:730: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_27, ^ Mercury/javas/jmercury/test_array2d.java:732: error: package array2d does not exist array2d.Array2d_1 Table_8, ^ Mercury/javas/jmercury/test_array2d.java:827: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_12, ^ Mercury/javas/jmercury/test_array2d.java:828: error: package list does not exist list.List_1 HeadVar__2_17) ^ Mercury/javas/jmercury/test_array2d.java:825: error: package pprint does not exist private static pprint.Doc_0 ^ Mercury/javas/jmercury/test_array2d.java:848: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_array2d.java:866: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_array2d.java:885: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_array2d.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_array2d"; ^ Mercury/javas/jmercury/test_array2d.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_array2d.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_array2d.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_array2d Mercury/javas/jmercury/test_array2d.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_array2d Mercury/javas/jmercury/test_array2d.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_array2d.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_array2d.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct array2d__pti_array2d_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_array2d.java:39: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_array2d Mercury/javas/jmercury/test_array2d.java:41: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/test_array2d.java:45: error: cannot find symbol array2d.array2d__type_ctor_info_array2d_1, ^ symbol: variable array2d location: class test_array2d Mercury/javas/jmercury/test_array2d.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/test_array2d.java:51: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_array2d Mercury/javas/jmercury/test_array2d.java:53: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_array2d.java:53: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_array2d.java:67: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_array2d.java:69: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_7 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_array2d.java:70: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_8 = new list.List_1.F_cons_2[36]; ^ Mercury/javas/jmercury/test_array2d.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_array2d.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_array2d Mercury/javas/jmercury/test_array2d.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_array2d.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_array2d.java:81: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) pprint.base_typeclass_info_pprint__doc__arity1__pprint__doc__arity0__)), ^ symbol: variable pprint location: class test_array2d Mercury/javas/jmercury/test_array2d.java:82: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ symbol: variable pprint location: class test_array2d Mercury/javas/jmercury/test_array2d.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pprint.pprint__type_ctor_info_doc_0))) ^ Mercury/javas/jmercury/test_array2d.java:94: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:94: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/test_array2d.java:96: error: cannot find symbol ((java.lang.Object) (pprint.pprint__type_ctor_info_doc_0)) ^ symbol: variable pprint location: class test_array2d Mercury/javas/jmercury/test_array2d.java:96: error: illegal start of type ((java.lang.Object) (pprint.pprint__type_ctor_info_doc_0)) ^ Mercury/javas/jmercury/test_array2d.java:104: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:104: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_array2d.java:105: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_array2d Mercury/javas/jmercury/test_array2d.java:105: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_array2d.java:108: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_array2d.java:109: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_array2d.java:110: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_array2d.java:111: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_array2d.java:112: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_array2d.java:113: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_array2d.java:120: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:120: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/test_array2d.java:122: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:122: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_array2d.java:123: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_array2d Mercury/javas/jmercury/test_array2d.java:123: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_array2d.java:127: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_array2d.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:131: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:135: error: package list does not exist ((java.lang.Object) ((list.List_1) test_array2d.MR_scalar_common_8[0])), ^ Mercury/javas/jmercury/test_array2d.java:136: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:141: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:144: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:146: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[2] ^ Mercury/javas/jmercury/test_array2d.java:149: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:150: error: package list does not exist ((java.lang.Object) ((list.List_1) test_array2d.MR_scalar_common_8[3])), ^ Mercury/javas/jmercury/test_array2d.java:151: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:156: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:161: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[5] ^ Mercury/javas/jmercury/test_array2d.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:165: error: package list does not exist ((java.lang.Object) ((list.List_1) test_array2d.MR_scalar_common_8[6])), ^ Mercury/javas/jmercury/test_array2d.java:166: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[4] ^ Mercury/javas/jmercury/test_array2d.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:171: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/test_array2d.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:176: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[8] ^ Mercury/javas/jmercury/test_array2d.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:181: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[9] ^ Mercury/javas/jmercury/test_array2d.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_array2d.java:186: error: package list does not exist (list.List_1) test_array2d.MR_scalar_common_8[10] ^ Mercury/javas/jmercury/test_array2d.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ 100 errors gmake[3]: *** [/tmp/mmake.7zzrZR:2411: test_array2d] Error 1 gmake[3]: Target 'test_array2d.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_array2d.log] Error 1 RUNNING TEST hard_coded/test_bitsets in grade java FAILED TEST hard_coded/test_bag in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_bag.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_bag Making Mercury/int3s/test_bag.int3 Making Mercury/ints/test_bag.int Making Mercury/javas/jmercury/test_bag.java Making Java class files Mercury/javas/jmercury/test_bag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_bag.java:33: 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/test_bag.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[29]; ^ Mercury/javas/jmercury/test_bag.java:327: error: package bag does not exist bag.Bag_1 HeadVar__1_1, ^ Mercury/javas/jmercury/test_bag.java:328: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/test_bag.java:572: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/test_bag.java:573: error: package list does not exist list.List_1 InnerBags_2) ^ Mercury/javas/jmercury/test_bag.java:598: error: package list does not exist list.List_1 ListA_4, ^ Mercury/javas/jmercury/test_bag.java:599: error: package list does not exist list.List_1 ListB_5) ^ Mercury/javas/jmercury/test_bag.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_bag"; ^ Mercury/javas/jmercury/test_bag.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_bag.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_bag.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_bag Mercury/javas/jmercury/test_bag.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_bag Mercury/javas/jmercury/test_bag.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_bag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_bag Mercury/javas/jmercury/test_bag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_bag Mercury/javas/jmercury/test_bag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_bag Mercury/javas/jmercury/test_bag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_bag Mercury/javas/jmercury/test_bag.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_bag.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_bag.java:33: 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/test_bag.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[29]; ^ Mercury/javas/jmercury/test_bag.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_bag.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_bag Mercury/javas/jmercury/test_bag.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_bag.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_bag Mercury/javas/jmercury/test_bag.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_bag.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_bag.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:47: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_bag.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:52: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/test_bag.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:57: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/test_bag.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:62: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/test_bag.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:67: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/test_bag.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:72: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/test_bag.java:75: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:77: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/test_bag.java:80: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:82: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/test_bag.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:87: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[7] ^ Mercury/javas/jmercury/test_bag.java:90: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:92: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/test_bag.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:97: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_bag.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:102: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[10] ^ Mercury/javas/jmercury/test_bag.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:107: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[11] ^ Mercury/javas/jmercury/test_bag.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:112: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_bag.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:117: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[13] ^ Mercury/javas/jmercury/test_bag.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:122: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/test_bag.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:127: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_bag.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:132: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[16] ^ Mercury/javas/jmercury/test_bag.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:137: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[17] ^ Mercury/javas/jmercury/test_bag.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:142: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[18] ^ Mercury/javas/jmercury/test_bag.java:145: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:147: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/test_bag.java:150: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:152: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[20] ^ Mercury/javas/jmercury/test_bag.java:155: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:157: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[21] ^ Mercury/javas/jmercury/test_bag.java:160: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:162: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[15] ^ Mercury/javas/jmercury/test_bag.java:165: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:167: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[14] ^ Mercury/javas/jmercury/test_bag.java:170: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:172: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[24] ^ Mercury/javas/jmercury/test_bag.java:175: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:177: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[25] ^ Mercury/javas/jmercury/test_bag.java:180: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:182: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[26] ^ Mercury/javas/jmercury/test_bag.java:185: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_bag.java:187: error: package list does not exist (list.List_1) test_bag.MR_scalar_common_3[27] ^ Mercury/javas/jmercury/test_bag.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_117_117 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_bag.java:200: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_117_117 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_bag Mercury/javas/jmercury/test_bag.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_117_117 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_bag.java:201: error: package bag does not exist bag.Bag_1 Bag111_4 = null; ^ Mercury/javas/jmercury/test_bag.java:202: error: package bag does not exist bag.Bag_1 Bag212_5 = null; ^ Mercury/javas/jmercury/test_bag.java:203: error: package bag does not exist bag.Bag_1 Bag222_6 = null; ^ Mercury/javas/jmercury/test_bag.java:204: error: package bag does not exist bag.Bag_1 BagS_7 = null; ^ Mercury/javas/jmercury/test_bag.java:205: error: package bag does not exist bag.Bag_1 BagL_8 = null; ^ Mercury/javas/jmercury/test_bag.java:206: error: package bag does not exist bag.Bag_1 BagSM_9 = null; ^ Mercury/javas/jmercury/test_bag.java:207: error: package bag does not exist bag.Bag_1 BagSL_10 = null; ^ Mercury/javas/jmercury/test_bag.java:208: error: package bag does not exist bag.Bag_1 BagML_11 = null; ^ Mercury/javas/jmercury/test_bag.java:209: error: package bag does not exist bag.Bag_1 BagSML_12 = null; ^ Mercury/javas/jmercury/test_bag.java:210: error: package list does not exist list.List_1 AllBags_13 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.MysnoQ:2411: test_bag] Error 1 gmake[3]: Target 'test_bag.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_bag.log] Error 1 RUNNING TEST hard_coded/test_builder_format in grade java FAILED TEST hard_coded/test_builder_format in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_builder_format.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_builder_format Making Mercury/int3s/test_builder_format.int3 Making Mercury/ints/test_builder_format.int Making Mercury/javas/jmercury/test_builder_format.java Making Java class files Mercury/javas/jmercury/test_builder_format.java:32: 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_builder_format.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_builder_format"; ^ Mercury/javas/jmercury/test_builder_format.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_builder_format.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_builder_format.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_builder_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_builder_format.java:32: 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_builder_format.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_builder_format.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_builder_format.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_builder_format.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_builder_format.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_builder_format.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_builder_format.java:54: error: package string__builder does not exist string__builder.State_0 State0_4 = null; ^ Mercury/javas/jmercury/test_builder_format.java:55: error: package string__builder does not exist string__builder.State_0 State_5 = null; ^ Mercury/javas/jmercury/test_builder_format.java:60: error: package string__builder does not exist string__builder.State_0 Var_20 = null; ^ Mercury/javas/jmercury/test_builder_format.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_27 = null; ^ Mercury/javas/jmercury/test_builder_format.java:63: error: package string__builder does not exist string__builder.State_0 Var_28 = null; ^ Mercury/javas/jmercury/test_builder_format.java:65: error: package string__builder does not exist string__builder.State_0 Var_30 = null; ^ Mercury/javas/jmercury/test_builder_format.java:67: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_38 = null; ^ Mercury/javas/jmercury/test_builder_format.java:68: error: package string__builder does not exist string__builder.State_0 Var_39 = null; ^ Mercury/javas/jmercury/test_builder_format.java:70: error: package string__builder does not exist string__builder.State_0 Var_41 = null; ^ Mercury/javas/jmercury/test_builder_format.java:74: error: cannot find symbol State0_4 = string__builder.init_0_f_0(); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:79: error: package string__parse_util does not exist Var_27 = (string__parse_util.String_format_flags_0) test_builder_format.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_builder_format.java:81: error: cannot find symbol Var_21 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_27, Var_9); ^ symbol: variable string__format location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:84: error: cannot find symbol Var_20 = string__builder.append_string_3_p_0(Var_21, State0_4); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:88: error: cannot find symbol Var_28 = string__builder.append_string_3_p_0(Var_29, Var_20); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:90: error: package string__parse_util does not exist Var_38 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/test_builder_format.java:92: error: cannot find symbol Var_31 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_27, Var_38, Var_10); ^ symbol: variable string__format location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:95: error: cannot find symbol Var_30 = string__builder.append_string_3_p_0(Var_31, Var_28); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:99: error: cannot find symbol Var_39 = string__builder.append_string_3_p_0(Var_40, Var_30); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:102: error: cannot find symbol Var_41 = string__builder.append_string_3_p_0(Var_18, Var_39); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:106: error: cannot find symbol State_5 = string__builder.append_string_3_p_0(Var_42, Var_41); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:109: error: cannot find symbol Str_6 = string__builder.to_string_1_f_0(State_5); ^ symbol: variable string__builder location: class test_builder_format Mercury/javas/jmercury/test_builder_format.java:112: error: cannot find symbol io.write_string_3_p_0(Str_6); ^ symbol: variable io location: class test_builder_format 41 errors gmake[3]: *** [/tmp/mmake.l4XNVv:2411: test_builder_format] Error 1 gmake[3]: Target 'test_builder_format.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_builder_format.log] Error 1 RUNNING TEST hard_coded/test_char_digits in grade java FAILED TEST hard_coded/test_bitsets in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_bitsets.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_bitsets Making Mercury/int3s/test_bitsets.int3 Making Mercury/ints/test_bitsets.int Making Mercury/javas/jmercury/test_bitsets.java Making Java class files Mercury/javas/jmercury/test_bitsets.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct test_bitset__pti_test_bitset_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_double_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_double_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_maybe_double_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_maybe_double_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_maybe_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_write_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_write_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_maybe_write_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_maybe_write_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_maybe_write_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_which_test_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/test_bitsets.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_which_test_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/test_bitsets.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_which_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:298: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_bitsets.java:299: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_bitsets.java:300: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[120]; ^ Mercury/javas/jmercury/test_bitsets.java:303: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_7 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_bitsets.java:305: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_9 = new pair.Pair_2[12]; ^ Mercury/javas/jmercury/test_bitsets.java:1095: error: package test_bitset does not exist test_bitset.Test_bitset_1 HeadVar__2_138) ^ Mercury/javas/jmercury/test_bitsets.java:1092: error: package test_bitset does not exist private static test_bitset.Test_bitset_1 ^ Mercury/javas/jmercury/test_bitsets.java:1109: error: package test_bitset does not exist test_bitset.Test_bitset_1 HeadVar__2_144) ^ Mercury/javas/jmercury/test_bitsets.java:1106: error: package test_bitset does not exist private static test_bitset.Test_bitset_1 ^ Mercury/javas/jmercury/test_bitsets.java:1122: error: package test_bitset does not exist test_bitset.Test_bitset_1 Delete1From1_30, ^ Mercury/javas/jmercury/test_bitsets.java:1123: error: package test_bitset does not exist test_bitset.Test_bitset_1 HeadVar__2_114) ^ Mercury/javas/jmercury/test_bitsets.java:1136: error: package test_bitset does not exist test_bitset.Test_bitset_1 DeleteList1From1_32, ^ Mercury/javas/jmercury/test_bitsets.java:1137: error: package test_bitset does not exist test_bitset.Test_bitset_1 HeadVar__2_120) ^ Mercury/javas/jmercury/test_bitsets.java:2712: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/test_bitsets.java:2713: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_bitsets.java:2724: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/test_bitsets.java:2725: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_bitsets.java:1152: error: package pair does not exist pair.Pair_2 HeadVar__3_3) ^ Mercury/javas/jmercury/test_bitsets.java:1903: error: package list does not exist list.List_1 List_3) ^ Mercury/javas/jmercury/test_bitsets.java:1956: error: package list does not exist list.List_1 STATE_VARIABLE_List_0_12, ^ Mercury/javas/jmercury/test_bitsets.java:2070: error: package test_bitset does not exist test_bitset.Test_bitset_1 Set_6) ^ Mercury/javas/jmercury/test_bitsets.java:2700: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/test_bitsets.java:2701: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_bitsets.java:2171: error: package pair does not exist pair.Pair_2 HeadVar__4_4) ^ Mercury/javas/jmercury/test_bitsets.java:2253: error: package list does not exist list.List_1 HeadVar__4_4) ^ Mercury/javas/jmercury/test_bitsets.java:2287: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_bitsets.java:2295: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_bitsets.java:2303: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_bitsets.java:2342: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_bitsets.java:2381: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_bitsets.java:2491: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_bitsets.java:2532: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_bitsets.java:2628: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_bitsets.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_bitsets"; ^ Mercury/javas/jmercury/test_bitsets.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_bitsets.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_bitsets.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_bitsets.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_bitsets.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct test_bitset__pti_test_bitset_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_double_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_double_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_maybe_double_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_maybe_double_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_maybe_double_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_write_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_maybe_write_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_maybe_write_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_maybe_write_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_bitsets.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_maybe_write_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_5 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_6 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_7 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_8 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_9 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_10 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_bitsets__enum_functor_desc_which_test_0_11 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_bitsets.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_ordinal_ordered_which_test_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/test_bitsets.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_bitsets__enum_name_ordered_which_test_0 = new jmercury.runtime.EnumFunctorDesc[12]; ^ Mercury/javas/jmercury/test_bitsets.java:60: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_bitsets__type_ctor_info_which_test_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_bitsets.java:65: error: cannot find symbol test_bitset.test_bitset__type_ctor_info_test_bitset_1, ^ symbol: variable test_bitset location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_bitsets.java:67: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_bitsets Mercury/javas/jmercury/test_bitsets.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ 100 errors gmake[3]: *** [/tmp/mmake.vhMSLG:2411: test_bitsets] Error 1 gmake[3]: Target 'test_bitsets.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_bitsets.log] Error 1 RUNNING TEST hard_coded/test_cord_1 in grade java FAILED TEST hard_coded/test_char_digits in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_char_digits.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_char_digits Making Mercury/int3s/test_char_digits.int3 Making Mercury/ints/test_char_digits.int Making Mercury/javas/jmercury/test_char_digits.java Making Java class files Mercury/javas/jmercury/test_char_digits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_character_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:65: 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/test_char_digits.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[65]; ^ Mercury/javas/jmercury/test_char_digits.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_char_digits.java:1209: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_char_digits.java:1219: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_char_digits.java:1378: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_char_digits.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_char_digits"; ^ Mercury/javas/jmercury/test_char_digits.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_char_digits.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_char_digits.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_char_digits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_char_digits.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_character_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_char_digits.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/test_char_digits.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:45: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0, ^ Mercury/javas/jmercury/test_char_digits.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0, ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_char_digits.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:52: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/test_char_digits.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/test_char_digits.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class test_char_digits Mercury/javas/jmercury/test_char_digits.java:65: 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/test_char_digits.java:66: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[65]; ^ Mercury/javas/jmercury/test_char_digits.java:72: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_8 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_char_digits.java:76: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_char_digits.java:78: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:80: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/test_char_digits.java:83: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:85: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_char_digits.java:88: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:90: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/test_char_digits.java:93: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:95: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/test_char_digits.java:98: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:100: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/test_char_digits.java:103: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:105: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/test_char_digits.java:108: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:110: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/test_char_digits.java:113: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:115: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/test_char_digits.java:118: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:120: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/test_char_digits.java:123: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:125: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[8] ^ Mercury/javas/jmercury/test_char_digits.java:128: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:130: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[9] ^ Mercury/javas/jmercury/test_char_digits.java:133: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:135: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[10] ^ Mercury/javas/jmercury/test_char_digits.java:138: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:140: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[11] ^ Mercury/javas/jmercury/test_char_digits.java:143: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:145: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[12] ^ Mercury/javas/jmercury/test_char_digits.java:148: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:150: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[13] ^ Mercury/javas/jmercury/test_char_digits.java:153: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:155: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[14] ^ Mercury/javas/jmercury/test_char_digits.java:158: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:160: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[15] ^ Mercury/javas/jmercury/test_char_digits.java:163: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:165: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[16] ^ Mercury/javas/jmercury/test_char_digits.java:168: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:170: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[17] ^ Mercury/javas/jmercury/test_char_digits.java:173: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:175: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[18] ^ Mercury/javas/jmercury/test_char_digits.java:178: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:180: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[19] ^ Mercury/javas/jmercury/test_char_digits.java:183: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:185: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[20] ^ Mercury/javas/jmercury/test_char_digits.java:188: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:190: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[21] ^ Mercury/javas/jmercury/test_char_digits.java:193: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:195: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[22] ^ Mercury/javas/jmercury/test_char_digits.java:198: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:200: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[23] ^ Mercury/javas/jmercury/test_char_digits.java:203: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:205: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[24] ^ Mercury/javas/jmercury/test_char_digits.java:208: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:210: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[25] ^ Mercury/javas/jmercury/test_char_digits.java:213: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:215: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[26] ^ Mercury/javas/jmercury/test_char_digits.java:218: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:220: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[27] ^ Mercury/javas/jmercury/test_char_digits.java:223: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_char_digits.java:225: error: package list does not exist (list.List_1) test_char_digits.MR_scalar_common_2[28] ^ 100 errors gmake[3]: *** [/tmp/mmake.dgCMek:2411: test_char_digits] Error 1 gmake[3]: Target 'test_char_digits.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_char_digits.log] Error 1 RUNNING TEST hard_coded/test_cord_2 in grade java FAILED TEST hard_coded/test_cord_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_1 Making Mercury/int3s/test_cord_1.int3 Making Mercury/ints/test_cord_1.int Making Mercury/javas/jmercury/test_cord_1.java Making Java class files Mercury/javas/jmercury/test_cord_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__pti_cord_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_1.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_cord_1.java:57: 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/test_cord_1.java:58: 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[2]; ^ Mercury/javas/jmercury/test_cord_1.java:151: error: package cord does not exist cord.Cord_1 ABBA_13, ^ Mercury/javas/jmercury/test_cord_1.java:152: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_1.java:2161: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_1.java:2283: error: package list does not exist list.List_1 LambdaHeadVar__2_232) ^ Mercury/javas/jmercury/test_cord_1.java:2280: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_1.java:2299: error: package list does not exist list.List_1 LambdaHeadVar__2_242) ^ Mercury/javas/jmercury/test_cord_1.java:2296: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_1.java:2315: error: package list does not exist list.List_1 LambdaHeadVar__2_263) ^ Mercury/javas/jmercury/test_cord_1.java:2312: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_1.java:2331: error: package list does not exist list.List_1 LambdaHeadVar__2_273) ^ Mercury/javas/jmercury/test_cord_1.java:2328: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_1.java:2346: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_cord_1.java:2397: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_cord_1.java:2471: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_1.java:2480: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_cord_1"; ^ Mercury/javas/jmercury/test_cord_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_cord_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_cord_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_cord_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_cord_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__pti_cord_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_1.java:38: error: cannot find symbol cord.cord__type_ctor_info_cord_1, ^ symbol: variable cord location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/test_cord_1.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/test_cord_1.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_cord_1.java:57: 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/test_cord_1.java:58: 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[2]; ^ Mercury/javas/jmercury/test_cord_1.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_1.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ symbol: variable cord location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ Mercury/javas/jmercury/test_cord_1.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/test_cord_1.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_1.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_cord_1.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/test_cord_1.java:75: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_cord_1.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_1.java:79: error: package list does not exist (list.List_1) test_cord_1.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_cord_1.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_1.java:84: error: package list does not exist (list.List_1) test_cord_1.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/test_cord_1.java:92: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:92: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/test_cord_1.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/test_cord_1.java:100: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:100: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)) ^ Mercury/javas/jmercury/test_cord_1.java:113: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:113: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/test_cord_1.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_396_396 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/test_cord_1.java:165: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_396_396 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_396_396 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/test_cord_1.java:168: error: cannot find symbol cord.member_2_p_0(TypeCtorInfo_396_396, ABBA_13, new AddrOf2_0(0), env_ptr); ^ symbol: variable cord location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:181: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_cord_1.introducedFrom__pred__main__127__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((test_cord_1.introducedFrom__pred__main__127__1_2_p_0_env_0) env_ptr).LambdaHeadVar__1_205), ((java.lang.Object) (((test_cord_1.introducedFrom__pred__main__127__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_cord_1.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_394_394 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/test_cord_1.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_394_394 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class test_cord_1 Mercury/javas/jmercury/test_cord_1.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_394_394 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/test_cord_1.java:203: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_395_395 = null; ^ Mercury/javas/jmercury/test_cord_1.java:204: error: package cord does not exist cord.Cord_1 Z_4 = null; ^ Mercury/javas/jmercury/test_cord_1.java:205: error: package cord does not exist cord.Cord_1 A_5 = null; ^ Mercury/javas/jmercury/test_cord_1.java:206: error: package cord does not exist cord.Cord_1 B_6 = null; ^ Mercury/javas/jmercury/test_cord_1.java:207: error: package cord does not exist cord.Cord_1 AB_7 = null; ^ Mercury/javas/jmercury/test_cord_1.java:208: error: package cord does not exist cord.Cord_1 BA_8 = null; ^ Mercury/javas/jmercury/test_cord_1.java:209: error: package cord does not exist cord.Cord_1 ABA1_9 = null; ^ Mercury/javas/jmercury/test_cord_1.java:210: error: package cord does not exist cord.Cord_1 ABA2_10 = null; ^ Mercury/javas/jmercury/test_cord_1.java:211: error: package cord does not exist cord.Cord_1 BAB1_11 = null; ^ Mercury/javas/jmercury/test_cord_1.java:212: error: package cord does not exist cord.Cord_1 BAB2_12 = null; ^ Mercury/javas/jmercury/test_cord_1.java:213: error: package cord does not exist cord.Cord_1 ABBA_13 = null; ^ Mercury/javas/jmercury/test_cord_1.java:214: error: package cord does not exist cord.Cord_1 BAAB_14 = null; ^ Mercury/javas/jmercury/test_cord_1.java:224: error: package cord does not exist cord.Cord_1 CAB_26 = null; ^ Mercury/javas/jmercury/test_cord_1.java:225: error: package cord does not exist cord.Cord_1 CBA_27 = null; ^ Mercury/javas/jmercury/test_cord_1.java:226: error: package cord does not exist cord.Cord_1 CABA1_28 = null; ^ Mercury/javas/jmercury/test_cord_1.java:227: error: package cord does not exist cord.Cord_1 CABA2_29 = null; ^ Mercury/javas/jmercury/test_cord_1.java:228: error: package cord does not exist cord.Cord_1 CBAB1_30 = null; ^ Mercury/javas/jmercury/test_cord_1.java:229: error: package cord does not exist cord.Cord_1 CBAB2_31 = null; ^ Mercury/javas/jmercury/test_cord_1.java:230: error: package cord does not exist cord.Cord_1 CABBA_32 = null; ^ Mercury/javas/jmercury/test_cord_1.java:231: error: package cord does not exist cord.Cord_1 CBAAB_33 = null; ^ Mercury/javas/jmercury/test_cord_1.java:234: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/test_cord_1.java:235: error: package cord does not exist cord.Cord_1 Var_291 = null; ^ Mercury/javas/jmercury/test_cord_1.java:236: error: package list does not exist list.List_1 Var_292 = null; ^ Mercury/javas/jmercury/test_cord_1.java:237: error: package list does not exist list.List_1 Var_293 = null; ^ Mercury/javas/jmercury/test_cord_1.java:238: error: package list does not exist list.List_1 Var_294 = null; ^ Mercury/javas/jmercury/test_cord_1.java:239: error: package cord does not exist cord.Cord_1 Var_295 = null; ^ Mercury/javas/jmercury/test_cord_1.java:240: error: package list does not exist list.List_1 Var_296 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.ge9DvB:2411: test_cord_1] Error 1 gmake[3]: Target 'test_cord_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_cord_1.log] Error 1 RUNNING TEST hard_coded/test_cord_3 in grade java FAILED TEST hard_coded/test_cord_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_2 Making Mercury/int3s/test_cord_2.int3 Making Mercury/ints/test_cord_2.int Making Mercury/javas/jmercury/test_cord_2.java Making Java class files Mercury/javas/jmercury/test_cord_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__pti_cord_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_cord_2.java:74: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_cord_2.java:75: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/test_cord_2.java:274: error: package list does not exist list.List_1 List1_6, ^ Mercury/javas/jmercury/test_cord_2.java:275: error: package list does not exist list.List_1 List2_7) ^ Mercury/javas/jmercury/test_cord_2.java:288: error: package list does not exist list.List_1 List1_6, ^ Mercury/javas/jmercury/test_cord_2.java:289: error: package list does not exist list.List_1 List3_8) ^ Mercury/javas/jmercury/test_cord_2.java:303: error: package list does not exist list.List_1 HeadVar__2_43) ^ Mercury/javas/jmercury/test_cord_2.java:300: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_2.java:316: error: package list does not exist list.List_1 RevList_7, ^ Mercury/javas/jmercury/test_cord_2.java:317: error: package list does not exist list.List_1 FoldlResultA_8) ^ Mercury/javas/jmercury/test_cord_2.java:330: error: package list does not exist list.List_1 RevList_7, ^ Mercury/javas/jmercury/test_cord_2.java:331: error: package list does not exist list.List_1 FoldlResultB_9) ^ Mercury/javas/jmercury/test_cord_2.java:345: error: package list does not exist list.List_1 HeadVar__2_53) ^ Mercury/javas/jmercury/test_cord_2.java:342: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_2.java:358: error: package list does not exist list.List_1 List_6, ^ Mercury/javas/jmercury/test_cord_2.java:359: error: package list does not exist list.List_1 FoldrResultA_10) ^ Mercury/javas/jmercury/test_cord_2.java:372: error: package list does not exist list.List_1 List_6, ^ Mercury/javas/jmercury/test_cord_2.java:373: error: package list does not exist list.List_1 FoldrResultB_11) ^ Mercury/javas/jmercury/test_cord_2.java:396: error: package list does not exist list.List_1 List_6, ^ Mercury/javas/jmercury/test_cord_2.java:397: error: package list does not exist list.List_1 HeadVar__2_23) ^ Mercury/javas/jmercury/test_cord_2.java:410: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:451: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:484: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:512: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:525: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:558: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:586: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:599: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:646: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:690: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:733: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:840: error: package cord does not exist cord.Cord_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:854: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:934: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/test_cord_2.java:948: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_cord_2.java:986: error: package list does not exist list.List_1 List_5, ^ Mercury/javas/jmercury/test_cord_2.java:987: error: package cord does not exist cord.Cord_1 Cord0_6) ^ Mercury/javas/jmercury/test_cord_2.java:1063: error: package list does not exist list.List_1 Cords_4) ^ Mercury/javas/jmercury/test_cord_2.java:1178: error: package cord does not exist cord.Cord_1 Cord_4) ^ Mercury/javas/jmercury/test_cord_2.java:1433: error: package cord does not exist cord.Cord_1 Cord_4) ^ Mercury/javas/jmercury/test_cord_2.java:1539: error: package cord does not exist cord.Cord_1 HeadVar__1_23) ^ Mercury/javas/jmercury/test_cord_2.java:1537: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_2.java:1553: error: package list does not exist list.List_1 HeadVar__2_39) ^ Mercury/javas/jmercury/test_cord_2.java:1550: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_2.java:1567: error: package list does not exist list.List_1 HeadVar__2_49) ^ Mercury/javas/jmercury/test_cord_2.java:1564: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_2.java:1580: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_cord_2.java:1675: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_cord_2.java:1789: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_cord_2.java:1908: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_2.java:1910: error: package cord does not exist public cord.Cord_1 C_2; ^ Mercury/javas/jmercury/test_cord_2.java:1911: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5; ^ Mercury/javas/jmercury/test_cord_2.java:1912: error: package cord does not exist public cord.Cord_1 A_3; ^ Mercury/javas/jmercury/test_cord_2.java:1913: error: package cord does not exist public cord.Cord_1 B_4; ^ Mercury/javas/jmercury/test_cord_2.java:1919: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_2.java:1921: error: package cord does not exist public cord.Cord_1 C_2; ^ Mercury/javas/jmercury/test_cord_2.java:1922: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5; ^ Mercury/javas/jmercury/test_cord_2.java:1923: error: package cord does not exist public cord.Cord_1 A_3; ^ Mercury/javas/jmercury/test_cord_2.java:1924: error: package cord does not exist public cord.Cord_1 B_4; ^ Mercury/javas/jmercury/test_cord_2.java:1930: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_2.java:1932: error: package list does not exist public list.List_1 L_2; ^ Mercury/javas/jmercury/test_cord_2.java:1933: error: package cord does not exist public cord.Cord_1 A_3; ^ Mercury/javas/jmercury/test_cord_2.java:1934: error: package cord does not exist public cord.Cord_1 B_4; ^ Mercury/javas/jmercury/test_cord_2.java:1935: error: package cord does not exist public cord.Cord_1 C_5; ^ Mercury/javas/jmercury/test_cord_2.java:1936: error: package list does not exist public list.List_1 Var_9; ^ Mercury/javas/jmercury/test_cord_2.java:1937: error: package list does not exist public list.List_1 Var_10; ^ Mercury/javas/jmercury/test_cord_2.java:1938: error: package list does not exist public list.List_1 Var_11; ^ Mercury/javas/jmercury/test_cord_2.java:1944: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_2.java:1947: error: package cord does not exist public cord.Cord_1 conv0_C_2; ^ Mercury/javas/jmercury/test_cord_2.java:1953: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_cord_2.java:1956: error: package list does not exist public list.List_1 conv4_L_2; ^ Mercury/javas/jmercury/test_cord_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_cord_2"; ^ Mercury/javas/jmercury/test_cord_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_cord_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_cord_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_cord_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_cord_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__pti_cord_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_2.java:40: error: cannot find symbol cord.cord__type_ctor_info_cord_1, ^ symbol: variable cord location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_cord_2.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:46: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_cord_2.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:52: error: cannot find symbol cord.cord__type_ctor_info_cord_1, ^ symbol: variable cord location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:54: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class test_cord_2 Mercury/javas/jmercury/test_cord_2.java:54: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ 100 errors gmake[3]: *** [/tmp/mmake.d2gSCf:2411: test_cord_2] Error 1 gmake[3]: Target 'test_cord_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_cord_2.log] Error 1 RUNNING TEST hard_coded/test_foreign_proc in grade java FAILED TEST hard_coded/test_cord_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_cord_3 Making Mercury/int3s/test_cord_3.int3 Making Mercury/ints/test_cord_3.int Making Mercury/javas/jmercury/test_cord_3.java Making Java class files Mercury/javas/jmercury/test_cord_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_cord_3.java:58: 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/test_cord_3.java:59: 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/test_cord_3.java:62: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:194: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/test_cord_3.java:229: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/test_cord_3.java:288: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_cord_3.java:417: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_cord_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_cord_3"; ^ Mercury/javas/jmercury/test_cord_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_cord_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_cord_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_cord_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_cord_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_cord__ti_cord_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_cord_3.java:38: error: cannot find symbol cord.cord__type_ctor_info_cord_1, ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:40: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:40: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/test_cord_3.java:44: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/test_cord_3.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) test_cord_3.cord__ti_cord_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_cord_3.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_cord_3.java:58: 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/test_cord_3.java:59: 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/test_cord_3.java:62: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_cord_3.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_3.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(cord.cord__type_ctor_info_cord_1))), ^ Mercury/javas/jmercury/test_cord_3.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_cord_3.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_cord_3.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/test_cord_3.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/test_cord_3.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(test_cord_3.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/test_cord_3.java:77: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_cord_3.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:81: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_cord_3.java:84: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:86: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_cord_3.java:89: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_cord_3.java:91: error: package list does not exist (list.List_1) test_cord_3.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/test_cord_3.java:99: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:99: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_cord_3.java:100: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:100: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_cord_3.java:115: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_cord_3.java:116: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:117: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:118: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:119: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_cord_3.java:120: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_cord_3.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/test_cord_3.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/test_cord_3.java:136: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/test_cord_3.java:138: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/test_cord_3.java:145: error: package jmercury.runtime does not exist TypeInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_cord_3.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_cord_3.java:146: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:146: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_cord_3.java:148: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_8 = list.foldl_4_p_2(TypeInfo_15_15, TypeCtorInfo_16_16, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:151: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:158: error: cannot find symbol conv1_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeInfo_15_15, TypeCtorInfo_16_16, Var_10, Var_11, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:172: error: package pair does not exist test_cord_3.test_is_empty_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_cord_3.java:187: error: package pair does not exist test_cord_3.test_is_singleton_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_cord_3.java:197: error: package pair does not exist java.lang.String Name_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:198: error: package pair does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:202: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:202: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:205: error: cannot find symbol succeeded = cord.is_empty_1_p_0(TypeCtorInfo_17_17, Cord_5); ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:212: error: cannot find symbol io.write_string_3_p_0(Name_4); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:216: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:219: error: cannot find symbol io.write_string_3_p_0(Result_7); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:223: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:232: error: package pair does not exist java.lang.String Name_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package cord does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:233: error: package pair does not exist cord.Cord_1 Cord_5 = ((cord.Cord_1) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/test_cord_3.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:235: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_cord_3.java:239: error: cannot find symbol java.lang.Object [] result = cord.is_singleton_2_p_0(TypeCtorInfo_22_22, Cord_5); ^ symbol: variable cord location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:252: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_33 = null; ^ Mercury/javas/jmercury/test_cord_3.java:256: error: cannot find symbol io.write_string_3_p_0(Name_4); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:260: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:262: error: package string__parse_util does not exist Var_33 = (string__parse_util.String_format_flags_0) test_cord_3.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/test_cord_3.java:264: error: cannot find symbol Var_27 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_33, Result_7); ^ symbol: variable string__format location: class test_cord_3 Mercury/javas/jmercury/test_cord_3.java:267: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class test_cord_3 100 errors gmake[3]: *** [/tmp/mmake.Qx0FRq:2411: test_cord_3] Error 1 gmake[3]: Target 'test_cord_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_cord_3.log] Error 1 RUNNING TEST hard_coded/test_imported_no_tag in grade java FAILED TEST hard_coded/test_foreign_proc in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_foreign_proc.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_foreign_proc Making Mercury/int3s/test_foreign_proc.int3 Making Mercury/ints/test_foreign_proc.int Making Mercury/javas/jmercury/test_foreign_proc.java Making Java class files Mercury/javas/jmercury/test_foreign_proc.java:32: 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_foreign_proc.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_foreign_proc"; ^ Mercury/javas/jmercury/test_foreign_proc.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_foreign_proc.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_foreign_proc.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_foreign_proc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_foreign_proc.java:32: 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_foreign_proc.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_foreign_proc.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_foreign_proc.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_foreign_proc.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_foreign_proc.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_foreign_proc.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_foreign_proc.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_20 = (string__parse_util.String_format_flags_0) test_foreign_proc.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_foreign_proc.java:56: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_20 = (string__parse_util.String_format_flags_0) test_foreign_proc.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_foreign_proc.java:60: error: cannot find symbol Var_14 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_20, Int_4); ^ symbol: variable string__format location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:63: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:67: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:79: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/test_foreign_proc.java:81: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_30 = null; ^ Mercury/javas/jmercury/test_foreign_proc.java:86: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_46 = null; ^ Mercury/javas/jmercury/test_foreign_proc.java:90: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:101: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) test_foreign_proc.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_foreign_proc.java:103: error: package string__parse_util does not exist Var_30 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/test_foreign_proc.java:105: error: cannot find symbol Var_22 = string__format.format_float_component_nowidth_prec_5_p_0(Var_28, Var_29, Var_30, Z_6); ^ symbol: variable string__format location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:108: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:112: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:115: error: cannot find symbol Var_35 = math.cos_1_f_0(Z_6); ^ symbol: variable math location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:118: error: package string__parse_util does not exist Var_46 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/test_foreign_proc.java:120: error: cannot find symbol Var_38 = string__format.format_float_component_nowidth_prec_5_p_0(Var_28, Var_45, Var_46, Var_35); ^ symbol: variable string__format location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:123: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class test_foreign_proc Mercury/javas/jmercury/test_foreign_proc.java:127: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class test_foreign_proc 38 errors gmake[3]: *** [/tmp/mmake.fWKAS4:2411: test_foreign_proc] Error 1 gmake[3]: Target 'test_foreign_proc.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_foreign_proc.log] Error 1 RUNNING TEST hard_coded/test_infinity in grade java FAILED TEST hard_coded/test_imported_no_tag in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-interface-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_imported_no_tag.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-interface-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_imported_no_tag Making Mercury/int3s/test_imported_no_tag.int3 Making Mercury/int3s/imported_no_tag.int3 Making Mercury/ints/test_imported_no_tag.int Making Mercury/ints/imported_no_tag.int Making Mercury/javas/jmercury/imported_no_tag.java Making Mercury/javas/jmercury/test_imported_no_tag.java Making Java class files Mercury/javas/jmercury/imported_no_tag.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/imported_no_tag.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] imported_no_tag__field_types_printable_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc imported_no_tag__du_functor_desc_printable_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/imported_no_tag.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] imported_no_tag__du_stag_ordered_printable_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] imported_no_tag__du_ptag_ordered_printable_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] imported_no_tag__du_name_ordered_printable_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct imported_no_tag__type_ctor_info_printable_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/imported_no_tag.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_6, ^ Mercury/javas/jmercury/imported_no_tag.java:234: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/imported_no_tag.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/imported_no_tag.java:108: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/imported_no_tag.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/imported_no_tag.java:191: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_imported_no_tag.java:116: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/imported_no_tag.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/imported_no_tag.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] imported_no_tag__field_types_printable_1_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc imported_no_tag__du_functor_desc_printable_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/imported_no_tag.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] imported_no_tag__du_stag_ordered_printable_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] imported_no_tag__du_ptag_ordered_printable_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] imported_no_tag__du_name_ordered_printable_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/imported_no_tag.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct imported_no_tag__type_ctor_info_printable_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/imported_no_tag.java:27: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:29: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/imported_no_tag.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) imported_no_tag.__vpti_pred_1__pseudo_1; ^ Mercury/javas/jmercury/imported_no_tag.java:38: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:46: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/imported_no_tag.java:54: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:68: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/imported_no_tag.java:73: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/imported_no_tag.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/imported_no_tag.java:100: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Test_5)[1]); ^ Mercury/javas/jmercury/imported_no_tag.java:100: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Test_5)[1]); ^ Mercury/javas/jmercury/imported_no_tag.java:103: error: package jmercury.runtime does not exist succeeded = ((java.lang.Boolean) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Test_5))), ((java.lang.Object) (Data_4)))).booleanValue(); ^ Mercury/javas/jmercury/imported_no_tag.java:115: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/imported_no_tag.java:121: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/imported_no_tag.java:128: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) ArgX1_4, (/* closure */ java.lang.Object[]) ArgY1_5); ^ symbol: variable private_builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:141: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/imported_no_tag.java:144: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = imported_no_tag.__Compare____printable_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((imported_no_tag.Printable_1) wrapper_arg_3), ((imported_no_tag.Printable_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/imported_no_tag.java:169: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) ArgX1_3, (/* closure */ java.lang.Object[]) ArgY1_4); ^ symbol: variable private_builtin location: class imported_no_tag Mercury/javas/jmercury/imported_no_tag.java:184: error: package jmercury.runtime does not exist succeeded = imported_no_tag.__Unify____printable_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((imported_no_tag.Printable_1) wrapper_arg_2), ((imported_no_tag.Printable_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/imported_no_tag.java:221: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/test_imported_no_tag.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_imported_no_tag"; ^ Mercury/javas/jmercury/test_imported_no_tag.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_imported_no_tag.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_imported_no_tag.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_imported_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_imported_no_tag.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_imported_no_tag.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_imported_no_tag.java:66: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:66: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_imported_no_tag.java:78: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class test_imported_no_tag Mercury/javas/jmercury/test_imported_no_tag.java:86: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test_imported_no_tag 60 errors gmake[3]: *** [/tmp/mmake.4vmGDA:2411: test_imported_no_tag] Error 1 gmake[3]: Target 'test_imported_no_tag.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_imported_no_tag.log] Error 1 RUNNING TEST hard_coded/test_injection in grade java FAILED TEST hard_coded/test_infinity in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_infinity.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_infinity Making Mercury/int3s/test_infinity.int3 Making Mercury/ints/test_infinity.int Making Mercury/javas/jmercury/test_infinity.java Making Java class files Mercury/javas/jmercury/test_infinity.java:32: 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_infinity.java:620: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_infinity.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_infinity"; ^ Mercury/javas/jmercury/test_infinity.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_infinity.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_infinity.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_infinity Mercury/javas/jmercury/test_infinity.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_infinity Mercury/javas/jmercury/test_infinity.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_infinity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_infinity.java:32: 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_infinity.java:37: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_infinity.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_infinity.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_infinity.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_infinity.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_infinity.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_infinity.java:49: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ symbol: variable builtin location: class test_infinity Mercury/javas/jmercury/test_infinity.java:49: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_float_0)) ^ Mercury/javas/jmercury/test_infinity.java:63: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_129_129 = null; ^ Mercury/javas/jmercury/test_infinity.java:73: error: package bool does not exist bool.Bool_0 Var_35 = null; ^ Mercury/javas/jmercury/test_infinity.java:77: error: package bool does not exist bool.Bool_0 Var_44 = null; ^ Mercury/javas/jmercury/test_infinity.java:82: error: package bool does not exist bool.Bool_0 Var_54 = null; ^ Mercury/javas/jmercury/test_infinity.java:86: error: package bool does not exist bool.Bool_0 Var_63 = null; ^ Mercury/javas/jmercury/test_infinity.java:91: error: package bool does not exist bool.Bool_0 Var_73 = null; ^ Mercury/javas/jmercury/test_infinity.java:95: error: package bool does not exist bool.Bool_0 Var_82 = null; ^ Mercury/javas/jmercury/test_infinity.java:100: error: package bool does not exist bool.Bool_0 Var_92 = null; ^ Mercury/javas/jmercury/test_infinity.java:104: error: package bool does not exist bool.Bool_0 Var_101 = null; ^ Mercury/javas/jmercury/test_infinity.java:118: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_139 = null; ^ Mercury/javas/jmercury/test_infinity.java:119: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_140 = null; ^ Mercury/javas/jmercury/test_infinity.java:123: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_152 = null; ^ Mercury/javas/jmercury/test_infinity.java:143: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_196 = null; ^ Mercury/javas/jmercury/test_infinity.java:147: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_208 = null; ^ Mercury/javas/jmercury/test_infinity.java:151: error: package string__parse_util does not exist string__parse_util.String_format_float_kind_0 Var_220 = null; ^ Mercury/javas/jmercury/test_infinity.java:155: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:158: error: cannot find symbol Var_8 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:161: error: cannot find symbol io.write_float_3_p_0(Var_8); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:164: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:168: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:171: error: cannot find symbol Var_15 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:175: error: cannot find symbol io.write_float_3_p_0(Var_13); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:178: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:181: error: cannot find symbol Var_21 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:185: error: cannot find symbol io.write_string_3_p_0(Var_131); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:187: error: package string__parse_util does not exist Var_139 = (string__parse_util.String_format_flags_0) test_infinity.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_infinity.java:188: error: package string__parse_util does not exist Var_140 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/test_infinity.java:190: error: cannot find symbol Var_133 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_139, Var_140, Var_21); ^ symbol: variable string__format location: class test_infinity Mercury/javas/jmercury/test_infinity.java:193: error: cannot find symbol io.write_string_3_p_0(Var_133); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:197: error: cannot find symbol io.write_string_3_p_0(Var_141); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:200: error: cannot find symbol Var_28 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:205: error: cannot find symbol io.write_string_3_p_0(Var_143); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:207: error: package string__parse_util does not exist Var_152 = string__parse_util.String_format_float_kind_0.K2; ^ Mercury/javas/jmercury/test_infinity.java:209: error: cannot find symbol Var_145 = string__format.format_float_component_nowidth_noprec_4_p_0(Var_139, Var_152, Var_27); ^ symbol: variable string__format location: class test_infinity Mercury/javas/jmercury/test_infinity.java:212: error: cannot find symbol io.write_string_3_p_0(Var_145); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:216: error: cannot find symbol io.write_string_3_p_0(Var_153); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:218: error: cannot find symbol TypeCtorInfo_129_129 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:218: error: package jmercury.runtime does not exist TypeCtorInfo_129_129 = jmercury.runtime.TypeInfo_Struct.maybe_new(bool.bool__type_ctor_info_bool_0); ^ Mercury/javas/jmercury/test_infinity.java:220: error: cannot find symbol Var_37 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:231: error: cannot find symbol Var_35 = bool.pred_to_bool_1_f_0(Var_36); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:234: error: cannot find symbol Var_34 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_35))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:238: error: cannot find symbol io.write_string_3_p_0(Var_155); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:241: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:245: error: cannot find symbol io.write_string_3_p_0(Var_157); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:248: error: cannot find symbol Var_47 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:260: error: cannot find symbol Var_44 = bool.pred_to_bool_1_f_0(Var_45); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:263: error: cannot find symbol Var_43 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_44))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:267: error: cannot find symbol io.write_string_3_p_0(Var_159); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:270: error: cannot find symbol io.write_string_3_p_0(Var_43); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:274: error: cannot find symbol io.write_string_3_p_0(Var_161); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:277: error: cannot find symbol Var_56 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:288: error: cannot find symbol Var_54 = bool.pred_to_bool_1_f_0(Var_55); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:291: error: cannot find symbol Var_53 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_54))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:295: error: cannot find symbol io.write_string_3_p_0(Var_163); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:298: error: cannot find symbol io.write_string_3_p_0(Var_53); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:302: error: cannot find symbol io.write_string_3_p_0(Var_165); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:305: error: cannot find symbol Var_66 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:317: error: cannot find symbol Var_63 = bool.pred_to_bool_1_f_0(Var_64); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:320: error: cannot find symbol Var_62 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_63))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:324: error: cannot find symbol io.write_string_3_p_0(Var_167); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:327: error: cannot find symbol io.write_string_3_p_0(Var_62); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:331: error: cannot find symbol io.write_string_3_p_0(Var_169); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:334: error: cannot find symbol Var_75 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:345: error: cannot find symbol Var_73 = bool.pred_to_bool_1_f_0(Var_74); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:348: error: cannot find symbol Var_72 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_73))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:352: error: cannot find symbol io.write_string_3_p_0(Var_171); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:355: error: cannot find symbol io.write_string_3_p_0(Var_72); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:359: error: cannot find symbol io.write_string_3_p_0(Var_173); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:362: error: cannot find symbol Var_85 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:374: error: cannot find symbol Var_82 = bool.pred_to_bool_1_f_0(Var_83); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:377: error: cannot find symbol Var_81 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_82))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:381: error: cannot find symbol io.write_string_3_p_0(Var_175); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:384: error: cannot find symbol io.write_string_3_p_0(Var_81); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:388: error: cannot find symbol io.write_string_3_p_0(Var_177); ^ symbol: variable io location: class test_infinity Mercury/javas/jmercury/test_infinity.java:391: error: cannot find symbol Var_94 = mr_float.infinity_0_f_0(); ^ symbol: variable mr_float location: class test_infinity Mercury/javas/jmercury/test_infinity.java:402: error: cannot find symbol Var_92 = bool.pred_to_bool_1_f_0(Var_93); ^ symbol: variable bool location: class test_infinity Mercury/javas/jmercury/test_infinity.java:405: error: cannot find symbol Var_91 = string.string_1_f_0(TypeCtorInfo_129_129, ((java.lang.Object) (Var_92))); ^ symbol: variable string location: class test_infinity Mercury/javas/jmercury/test_infinity.java:409: error: cannot find symbol io.write_string_3_p_0(Var_179); ^ symbol: variable io location: class test_infinity 100 errors gmake[3]: *** [/tmp/mmake.BZOr6o:2411: test_infinity] Error 1 gmake[3]: Target 'test_infinity.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_infinity.log] Error 1 RUNNING TEST hard_coded/test_int_hash in grade java FAILED TEST hard_coded/test_injection in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_injection.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_injection Making Mercury/int3s/test_injection.int3 Making Mercury/ints/test_injection.int Making Mercury/javas/jmercury/test_injection.java Making Java class files Mercury/javas/jmercury/test_injection.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct injection__pti_injection_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:34: 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_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:35: 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_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:37: 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_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_injection__type_ctor_info_test_data_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct injection__ti_injection_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_injection__type_ctor_info_test_inj_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_injection.java:139: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_injection.java:140: 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/test_injection.java:141: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[14]; ^ Mercury/javas/jmercury/test_injection.java:142: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[19]; ^ Mercury/javas/jmercury/test_injection.java:433: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:539: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:565: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:587: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:610: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:611: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:717: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:718: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:826: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:848: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:871: error: package injection does not exist injection.Injection_2 J_3) ^ Mercury/javas/jmercury/test_injection.java:889: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:890: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:1131: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3271: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3392: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3601: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3602: error: package injection does not exist injection.Injection_2 M_5) ^ Mercury/javas/jmercury/test_injection.java:3625: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_injection.java:3633: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_injection.java:3643: error: package injection does not exist injection.Injection_2 J_3) ^ Mercury/javas/jmercury/test_injection.java:3660: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3661: error: package injection does not exist injection.Injection_2 M_5) ^ Mercury/javas/jmercury/test_injection.java:3686: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3708: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3731: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3732: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:3838: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3839: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:3947: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:3969: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:3970: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:3995: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:4022: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:4139: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_injection.java:4147: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_injection.java:4155: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_injection.java:4165: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:4187: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:4188: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:4292: error: package injection does not exist injection.Injection_2 J_5, ^ Mercury/javas/jmercury/test_injection.java:4315: error: package injection does not exist injection.Injection_2 J_2) ^ Mercury/javas/jmercury/test_injection.java:4539: error: package injection does not exist injection.Injection_2 J_4, ^ Mercury/javas/jmercury/test_injection.java:4540: error: package list does not exist list.List_1 Data_5) ^ Mercury/javas/jmercury/test_injection.java:4781: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_38, ^ Mercury/javas/jmercury/test_injection.java:4782: error: package injection does not exist injection.Injection_2 LambdaHeadVar__2_39) ^ Mercury/javas/jmercury/test_injection.java:4779: error: package injection does not exist private static injection.Injection_2 ^ Mercury/javas/jmercury/test_injection.java:4817: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/test_injection.java:4818: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/test_injection.java:4815: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_injection.java:4848: error: package injection does not exist injection.Injection_2 HeadVar__2_2, ^ Mercury/javas/jmercury/test_injection.java:4849: error: package injection does not exist injection.Injection_2 HeadVar__3_3) ^ Mercury/javas/jmercury/test_injection.java:4846: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_injection.java:4879: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/test_injection.java:4880: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/test_injection.java:4908: error: package injection does not exist injection.Injection_2 HeadVar__1_1, ^ Mercury/javas/jmercury/test_injection.java:4909: error: package injection does not exist injection.Injection_2 HeadVar__2_2) ^ Mercury/javas/jmercury/test_injection.java:4937: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_injection.java:5383: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_injection.java:5596: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_injection.java:5654: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10; ^ Mercury/javas/jmercury/test_injection.java:5655: error: package injection does not exist public injection.Injection_2 NewJ_6; ^ Mercury/javas/jmercury/test_injection.java:5656: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/test_injection.java:5665: error: package injection does not exist public injection.Injection_2 J_4; ^ Mercury/javas/jmercury/test_injection.java:5667: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/test_injection.java:5668: error: package pair does not exist public pair.Pair_2 Var_9; ^ Mercury/javas/jmercury/test_injection.java:5676: error: package injection does not exist public injection.Injection_2 J_4; ^ Mercury/javas/jmercury/test_injection.java:5678: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/test_injection.java:5679: error: package pair does not exist public pair.Pair_2 Var_8; ^ Mercury/javas/jmercury/test_injection.java:5688: error: package list does not exist public list.List_1 Data_5; ^ Mercury/javas/jmercury/test_injection.java:5690: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_12; ^ Mercury/javas/jmercury/test_injection.java:5691: error: package list does not exist public list.List_1 Ks_6; ^ Mercury/javas/jmercury/test_injection.java:5692: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/test_injection.java:5694: error: package pair does not exist public pair.Pair_2 Var_9; ^ Mercury/javas/jmercury/test_injection.java:5696: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_1; ^ Mercury/javas/jmercury/test_injection.java:5699: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_2; ^ Mercury/javas/jmercury/test_injection.java:5700: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17; ^ Mercury/javas/jmercury/test_injection.java:5701: error: package pair does not exist public pair.Pair_2 Var_11; ^ Mercury/javas/jmercury/test_injection.java:5702: error: package pair does not exist public pair.Pair_2 Var_16; ^ Mercury/javas/jmercury/test_injection.java:5712: error: package injection does not exist public injection.Injection_2 J_4; ^ Mercury/javas/jmercury/test_injection.java:5715: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13; ^ Mercury/javas/jmercury/test_injection.java:5716: error: package injection does not exist public injection.Injection_2 NewJ_6; ^ Mercury/javas/jmercury/test_injection.java:5717: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/test_injection.java:5726: error: package injection does not exist public injection.Injection_2 J_4; ^ Mercury/javas/jmercury/test_injection.java:5729: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17; ^ Mercury/javas/jmercury/test_injection.java:5730: error: package injection does not exist public injection.Injection_2 NewJ_6; ^ Mercury/javas/jmercury/test_injection.java:5731: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ 100 errors gmake[3]: *** [/tmp/mmake.bpy8j5:2411: test_injection] Error 1 gmake[3]: Target 'test_injection.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_injection.log] Error 1 RUNNING TEST hard_coded/test_java_foreign_primitive in grade java FAILED TEST hard_coded/test_int_hash in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_int_hash.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_int_hash Making Mercury/int3s/test_int_hash.int3 Making Mercury/ints/test_int_hash.int Making Mercury/javas/jmercury/test_int_hash.java Making Java class files Mercury/javas/jmercury/test_int_hash.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_int_hash.java:274: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/test_int_hash.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_int_hash"; ^ Mercury/javas/jmercury/test_int_hash.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_int_hash.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_int_hash.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_int_hash.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_int_hash.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_int_hash.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_int_hash.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/test_int_hash.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint32_0)), ^ Mercury/javas/jmercury/test_int_hash.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_int_hash.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_int_hash.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_int_hash.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_int_hash.java:57: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_int_hash.java:58: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_int_hash.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_int_hash.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_int_hash.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_int_hash.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_int_hash.java:128: error: cannot find symbol Num_12 = uint32.cast_to_int_1_f_0(STATE_VARIABLE_RNG_16); ^ symbol: variable uint32 location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:131: error: cannot find symbol LibHash_13 = mr_int.hash_2_p_0(Num_12); ^ symbol: variable mr_int location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:158: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_42 = null; ^ Mercury/javas/jmercury/test_int_hash.java:166: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:168: error: package string__parse_util does not exist Var_42 = (string__parse_util.String_format_flags_0) test_int_hash.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/test_int_hash.java:170: error: cannot find symbol Var_36 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, Num_12); ^ symbol: variable string__format location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:173: error: cannot find symbol io.write_string_3_p_0(Var_36); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:177: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:180: error: cannot find symbol Var_46 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, LibHash_13); ^ symbol: variable string__format location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:183: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:187: error: cannot find symbol io.write_string_3_p_0(Var_54); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:190: error: cannot find symbol Var_56 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_42, OrigHash_14); ^ symbol: variable string__format location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:193: error: cannot find symbol io.write_string_3_p_0(Var_56); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:197: error: cannot find symbol io.write_string_3_p_0(Var_63); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/test_int_hash.java:212: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:212: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint32_0); ^ Mercury/javas/jmercury/test_int_hash.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_int_hash.java:213: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_int_hash.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_int_hash.java:214: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_int_hash.java:226: error: cannot find symbol java.lang.Object [] result = mr_int.fold_up3_9_p_2(TypeCtorInfo_22_22, TypeCtorInfo_23_23, TypeCtorInfo_24_24, Var_10, Var_11, NumTests_5, java.lang.Integer.valueOf(RNG0_4), java.lang.Integer.valueOf(Var_12), ((java.lang.Object) (0))); ^ symbol: variable mr_int location: class test_int_hash Mercury/javas/jmercury/test_int_hash.java:238: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class test_int_hash 59 errors gmake[3]: *** [/tmp/mmake.k2i3up:2411: test_int_hash] Error 1 gmake[3]: Target 'test_int_hash.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_int_hash.log] Error 1 RUNNING TEST hard_coded/test_keys_and_values in grade java FAILED TEST hard_coded/test_java_foreign_primitive in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_java_foreign_primitive.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_java_foreign_primitive Making Mercury/int3s/test_java_foreign_primitive.int3 Making Mercury/ints/test_java_foreign_primitive.int Making Mercury/javas/jmercury/test_java_foreign_primitive.java Making Java class files Mercury/javas/jmercury/test_java_foreign_primitive.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jboolean_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jbyte_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jchar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jdouble_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jfloat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jlong_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jshort_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:210: 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/test_java_foreign_primitive.java:1804: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1834: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1864: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1894: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1924: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1954: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:1984: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:2014: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:2270: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:2438: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_java_foreign_primitive"; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jboolean_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jbyte_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jchar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:35: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jdouble_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jfloat_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jint_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jlong_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_java_foreign_primitive__type_ctor_info_jshort_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:52: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:67: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:107: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:115: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:152: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:172: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:175: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_FOREIGN, ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:192: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:195: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:210: 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/test_java_foreign_primitive.java:216: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:223: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:223: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:224: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:224: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:232: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:232: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:233: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:233: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:241: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:241: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:242: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:242: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:250: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:250: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:251: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:251: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:259: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:259: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:260: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:260: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:268: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:268: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:269: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:269: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:277: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:277: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:278: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:278: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:286: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:286: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:287: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_java_foreign_primitive Mercury/javas/jmercury/test_java_foreign_primitive.java:287: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:348: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_185_185 = null; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:349: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_189_189 = null; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:350: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_193_193 = null; ^ Mercury/javas/jmercury/test_java_foreign_primitive.java:351: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_197_197 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.L9znmH:2411: test_java_foreign_primitive] Error 1 gmake[3]: Target 'test_java_foreign_primitive.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_java_foreign_primitive.log] Error 1 RUNNING TEST hard_coded/test_map_filter in grade java FAILED TEST hard_coded/test_keys_and_values in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_keys_and_values.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_keys_and_values Making Mercury/int3s/test_keys_and_values.int3 Making Mercury/ints/test_keys_and_values.int Making Mercury/javas/jmercury/test_keys_and_values.java Making Java class files Mercury/javas/jmercury/test_keys_and_values.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_keys_and_values.java:33: 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/test_keys_and_values.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/test_keys_and_values.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/test_keys_and_values.java:131: error: package tree234 does not exist tree234.Tree234_2 Map_4) ^ Mercury/javas/jmercury/test_keys_and_values.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_keys_and_values"; ^ Mercury/javas/jmercury/test_keys_and_values.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_keys_and_values.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_keys_and_values.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_keys_and_values.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_keys_and_values.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/test_keys_and_values.java:33: 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/test_keys_and_values.java:34: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_3 = new pair.Pair_2[4]; ^ Mercury/javas/jmercury/test_keys_and_values.java:35: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/test_keys_and_values.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_keys_and_values.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_keys_and_values.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_keys_and_values.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_keys_and_values.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_keys_and_values.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_keys_and_values.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_keys_and_values.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/test_keys_and_values.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/test_keys_and_values.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_keys_and_values.java:55: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_keys_and_values.java:57: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:62: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:67: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:72: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:78: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/test_keys_and_values.java:79: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_keys_and_values.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:83: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/test_keys_and_values.java:84: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/test_keys_and_values.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:88: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[2])), ^ Mercury/javas/jmercury/test_keys_and_values.java:89: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_keys_and_values.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:93: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/test_keys_and_values.java:94: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/test_keys_and_values.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:98: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/test_keys_and_values.java:99: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/test_keys_and_values.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:103: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[3])), ^ Mercury/javas/jmercury/test_keys_and_values.java:104: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/test_keys_and_values.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:108: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[2])), ^ Mercury/javas/jmercury/test_keys_and_values.java:109: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[5] ^ Mercury/javas/jmercury/test_keys_and_values.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:113: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/test_keys_and_values.java:114: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[6] ^ Mercury/javas/jmercury/test_keys_and_values.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_keys_and_values.java:118: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) test_keys_and_values.MR_scalar_common_3[1])), ^ Mercury/javas/jmercury/test_keys_and_values.java:119: error: package list does not exist (list.List_1) test_keys_and_values.MR_scalar_common_4[7] ^ Mercury/javas/jmercury/test_keys_and_values.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_keys_and_values.java:134: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_keys_and_values.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_keys_and_values.java:135: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_keys_and_values.java:136: error: package list does not exist list.List_1 Keys_6 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:137: error: package list does not exist list.List_1 Values_7 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:138: error: package list does not exist list.List_1 KeysPrime_8 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:139: error: package list does not exist list.List_1 ValuesPrime_9 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_25_25 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:144: error: cannot find symbol Keys_6 = map.keys_1_f_0(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Map_4); ^ symbol: variable map location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:147: error: cannot find symbol Values_7 = map.values_1_f_0(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Map_4); ^ symbol: variable map location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:150: error: cannot find symbol java.lang.Object [] result = map.keys_and_values_3_p_0(TypeCtorInfo_20_20, TypeCtorInfo_21_21, Map_4); ^ symbol: variable map location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:151: error: package list does not exist KeysPrime_8 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/test_keys_and_values.java:152: error: package list does not exist ValuesPrime_9 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/test_keys_and_values.java:154: error: package jmercury.runtime does not exist TypeInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_keys_and_values.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_keys_and_values.java:156: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_25_25, ((java.lang.Object) (Keys_6)), ((java.lang.Object) (KeysPrime_8))); ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:160: error: package jmercury.runtime does not exist TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_keys_and_values.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_keys_and_values.java:162: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_26_26, ((java.lang.Object) (Values_7)), ((java.lang.Object) (ValuesPrime_9))); ^ symbol: variable builtin location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:168: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_23_23 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:173: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:175: error: package jmercury.runtime does not exist TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_keys_and_values.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_keys_and_values.java:177: error: cannot find symbol io.write_3_p_0(TypeInfo_22_22, ((java.lang.Object) (KeysPrime_8))); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:181: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:183: error: package jmercury.runtime does not exist TypeInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_keys_and_values.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_keys_and_values.java:185: error: cannot find symbol io.write_line_3_p_0(TypeInfo_23_23, ((java.lang.Object) (ValuesPrime_9))); ^ symbol: variable io location: class test_keys_and_values Mercury/javas/jmercury/test_keys_and_values.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/test_keys_and_values.java:194: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class test_keys_and_values 100 errors gmake[3]: *** [/tmp/mmake.qw31hz:2411: test_keys_and_values] Error 1 gmake[3]: Target 'test_keys_and_values.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_keys_and_values.log] Error 1 RUNNING TEST hard_coded/test_one_or_more in grade java FAILED TEST hard_coded/test_map_filter in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_map_filter.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_map_filter Making Mercury/int3s/test_map_filter.int3 Making Mercury/ints/test_map_filter.int Making Mercury/javas/jmercury/test_map_filter.java Making Java class files Mercury/javas/jmercury/test_map_filter.java:32: 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_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_map_filter.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_map_filter.java:101: error: package pair does not exist pair.Pair_2 HeadVar__1_24) ^ Mercury/javas/jmercury/test_map_filter.java:114: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_0_8) ^ Mercury/javas/jmercury/test_map_filter.java:110: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/test_map_filter.java:294: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_map_filter.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_map_filter"; ^ Mercury/javas/jmercury/test_map_filter.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_map_filter.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_map_filter.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_map_filter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_map_filter.java:32: 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_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_map_filter.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/test_map_filter.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/test_map_filter.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_map_filter.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_map_filter.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/test_map_filter.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/test_map_filter.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_map_filter.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/test_map_filter.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/test_map_filter.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_map_filter.java:76: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:76: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_map_filter.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_map_filter.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:106: error: cannot find symbol io.write_line_3_p_0(TypeInfo_27_27, ((java.lang.Object) (HeadVar__1_24))); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:119: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_9 = null; ^ Mercury/javas/jmercury/test_map_filter.java:124: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/test_map_filter.java:126: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Map_1_11 = null; ^ Mercury/javas/jmercury/test_map_filter.java:130: error: package tree234 does not exist tree234.Tree234_2 next_value_of_STATE_VARIABLE_Map_0_8 = null; ^ Mercury/javas/jmercury/test_map_filter.java:133: error: cannot find symbol Var_10 = string.int_to_string_1_f_0(Cur_5); ^ symbol: variable string location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:135: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:137: error: cannot find symbol STATE_VARIABLE_Map_1_11 = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_4_p_0(TypeCtorInfo_16_16, Cur_5, ((java.lang.Object) (Var_10)), STATE_VARIABLE_Map_0_8); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:167: error: cannot find symbol Var_7 = mr_int.mod_2_f_0(Key_4, Var_9); ^ symbol: variable mr_int location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:175: error: cannot find symbol Value_6 = string.f_43_43_2_f_0(Var_10, Value0_5); ^ symbol: variable string location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_map_filter.java:189: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_map_filter.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:190: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:190: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_map_filter.java:191: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/test_map_filter.java:192: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/test_map_filter.java:193: error: package tree234 does not exist tree234.Tree234_2 Map0_4 = null; ^ Mercury/javas/jmercury/test_map_filter.java:194: error: package tree234 does not exist tree234.Tree234_2 Map_5 = null; ^ Mercury/javas/jmercury/test_map_filter.java:195: error: package list does not exist list.List_1 AL_7 = null; ^ Mercury/javas/jmercury/test_map_filter.java:198: error: package tree234 does not exist tree234.Tree234_2 Var_12 = null; ^ Mercury/javas/jmercury/test_map_filter.java:207: error: cannot find symbol Var_12 = map.init_0_f_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:214: error: cannot find symbol Map_5 = map.filter_map_values_3_p_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20, TypeCtorInfo_20_20, Var_13, Map0_4); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:218: error: cannot find symbol java.lang.Object [] result = map.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_115_101_97_114_99_104_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_p_0(TypeCtorInfo_20_20, Map_5, Var_14); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:229: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Val14_6))); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:236: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:240: error: cannot find symbol AL_7 = map.to_sorted_assoc_list_2_p_0(TypeCtorInfo_19_19, TypeCtorInfo_20_20, Map_5); ^ symbol: variable map location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:243: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_map_filter.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_map_filter.java:244: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:244: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_map_filter.java:246: error: cannot find symbol conv2_STATE_VARIABLE_IO_9 = list.foldl_4_p_2(TypeInfo_28_28, TypeCtorInfo_29_29, Var_18, AL_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class test_map_filter Mercury/javas/jmercury/test_map_filter.java:287: error: package pair does not exist test_map_filter.IntroducedFrom__pred__main__31__1_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/test_map_filter.java:324: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors gmake[3]: *** [/tmp/mmake.6kO0r4:2411: test_map_filter] Error 1 gmake[3]: Target 'test_map_filter.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_map_filter.log] Error 1 RUNNING TEST hard_coded/test_one_or_more_chunk in grade java FAILED TEST hard_coded/test_one_or_more in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_one_or_more.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_one_or_more Making Mercury/int3s/test_one_or_more.int3 Making Mercury/ints/test_one_or_more.int Making Mercury/javas/jmercury/test_one_or_more.java Making Java class files Mercury/javas/jmercury/test_one_or_more.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:153: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_6, ^ Mercury/javas/jmercury/test_one_or_more.java:154: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:202: error: package list does not exist list.List_1 List_8, ^ Mercury/javas/jmercury/test_one_or_more.java:203: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:254: error: package list does not exist list.List_1 List0_9, ^ Mercury/javas/jmercury/test_one_or_more.java:593: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_6) ^ Mercury/javas/jmercury/test_one_or_more.java:695: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:744: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:767: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_33, ^ Mercury/javas/jmercury/test_one_or_more.java:770: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_10, ^ Mercury/javas/jmercury/test_one_or_more.java:848: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_55) ^ Mercury/javas/jmercury/test_one_or_more.java:846: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:861: error: package list does not exist list.List_1 HeadVar__1_58) ^ Mercury/javas/jmercury/test_one_or_more.java:859: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:874: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_62) ^ Mercury/javas/jmercury/test_one_or_more.java:872: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:887: error: package list does not exist list.List_1 HeadVar__1_65) ^ Mercury/javas/jmercury/test_one_or_more.java:885: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:900: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_68) ^ Mercury/javas/jmercury/test_one_or_more.java:898: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:913: error: package list does not exist list.List_1 HeadVar__1_71) ^ Mercury/javas/jmercury/test_one_or_more.java:911: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:926: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_one_or_more.java:1040: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_one_or_more.java:1087: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1096: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1105: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1114: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_one_or_more"; ^ Mercury/javas/jmercury/test_one_or_more.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_one_or_more.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_one_or_more.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_one_or_more.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_one_or_more.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:38: error: cannot find symbol one_or_more.one_or_more__type_ctor_info_one_or_more_1, ^ symbol: variable one_or_more location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_one_or_more.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_one_or_more.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:59: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:65: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/test_one_or_more.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_one_or_more.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_one_or_more.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_one_or_more.java:79: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:79: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_one_or_more.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_one_or_more.java:106: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_one_or_more.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:167: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:170: error: cannot find symbol one_or_more.member_2_p_1(TypeCtorInfo_31_31, OoM_6, new AddrOf2_0(1), env_ptr); ^ symbol: variable one_or_more location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:183: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).LambdaHeadVar__1_16), ((java.lang.Object) (((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_one_or_more.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:216: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:219: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_32_32, List_8, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:232: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).LambdaHeadVar__1_17), ((java.lang.Object) (((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_one_or_more.java:260: error: package list does not exist list.List_1 List_10 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:272: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:275: error: package list does not exist list.List_1 next_value_of_List0_9 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:279: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_22, Var_16, Max_8, STATE_VARIABLE_RandomState_0_13); ^ symbol: variable random location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:286: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_one_or_more.java:319: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_8 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:322: error: package list does not exist list.List_1 T_11 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:326: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:330: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_20, Var_14, Max_7, STATE_VARIABLE_RandomState_0_12); ^ symbol: variable random location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:336: error: package list does not exist Var_17 = (list.List_1) test_one_or_more.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/test_one_or_more.java:339: error: package list does not exist T_11 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/test_one_or_more.java:343: error: package one_or_more does not exist OoM_8 = new one_or_more.One_or_more_1( ^ Mercury/javas/jmercury/test_one_or_more.java:359: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:360: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMA_5 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:361: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMB_6 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:362: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMC_7 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:363: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMA_8 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:364: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMB_9 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:365: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMC_10 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:366: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_1_14 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:369: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_2_17 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:372: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_3_20 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:375: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_4_23 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:378: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_5_26 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.iNas6l:2411: test_one_or_more] Error 1 gmake[3]: Target 'test_one_or_more.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_one_or_more.log] Error 1 RUNNING TEST hard_coded/test_pretty_printer in grade java FAILED TEST hard_coded/test_one_or_more_chunk in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_one_or_more_chunk.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_one_or_more_chunk Making Mercury/int3s/test_one_or_more_chunk.int3 Making Mercury/ints/test_one_or_more_chunk.int Making Mercury/javas/jmercury/test_one_or_more_chunk.java Making Java class files Mercury/javas/jmercury/test_one_or_more_chunk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:101: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_24) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:114: error: package list does not exist list.List_1 STATE_VARIABLE_List_0_8) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:110: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:176: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_8) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:251: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_one_or_more_chunk"; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:37: error: cannot find symbol one_or_more.one_or_more__type_ctor_info_one_or_more_1, ^ symbol: variable one_or_more location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:50: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(one_or_more.one_or_more__type_ctor_info_one_or_more_1))), ^ symbol: variable one_or_more location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(one_or_more.one_or_more__type_ctor_info_one_or_more_1))), ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:67: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:68: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:69: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:70: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:71: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:81: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:81: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:90: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_one_or_more_chunk.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:103: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_one_or_more_chunk.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:106: error: cannot find symbol io.write_line_3_p_0(TypeInfo_27_27, ((java.lang.Object) (HeadVar__1_24))); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:117: error: package list does not exist list.List_1 STATE_VARIABLE_List_9 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:124: error: package list does not exist list.List_1 STATE_VARIABLE_List_1_11 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:132: error: package list.List_1 does not exist STATE_VARIABLE_List_9 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:146: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:147: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_5 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:150: error: package list does not exist list.List_1 Var_10 = (list.List_1) test_one_or_more_chunk.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:150: error: package list does not exist list.List_1 Var_10 = (list.List_1) test_one_or_more_chunk.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:157: error: package jmercury.runtime does not exist TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_one_or_more_chunk.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:159: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_14, ((java.lang.Object) (List_4))); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:161: error: cannot find symbol TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:163: error: cannot find symbol OoM_5 = one_or_more.det_list_to_one_or_more_2_p_0(TypeCtorInfo_15_15, List_4); ^ symbol: variable one_or_more location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:185: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:188: error: package one_or_more does not exist one_or_more.One_or_more_1 Chunks_10 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:194: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_39 = null; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:200: error: cannot find symbol Chunks_10 = one_or_more.chunk_3_p_0(TypeCtorInfo_23_23, OoM_8, CurChunkSize_6); ^ symbol: variable one_or_more location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:204: error: cannot find symbol io.write_string_3_p_0(Var_31); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:206: error: package string__parse_util does not exist Var_39 = (string__parse_util.String_format_flags_0) test_one_or_more_chunk.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:208: error: cannot find symbol Var_33 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_39, CurChunkSize_6); ^ symbol: variable string__format location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:211: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:215: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:218: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_one_or_more_chunk.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:219: error: cannot find symbol TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:219: error: package jmercury.runtime does not exist TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/test_one_or_more_chunk.java:221: error: cannot find symbol conv0_STATE_VARIABLE_IO_2_19 = one_or_more.foldl_4_p_2(TypeInfo_28_28, TypeCtorInfo_29_29, Var_18, Chunks_10, ((java.lang.Object) (0))); ^ symbol: variable one_or_more location: class test_one_or_more_chunk Mercury/javas/jmercury/test_one_or_more_chunk.java:244: error: package one_or_more does not exist test_one_or_more_chunk.IntroducedFrom__pred__test_chunk_sizes__38__1_3_p_0(((one_or_more.One_or_more_1) wrapper_arg_1)); ^ 83 errors gmake[3]: *** [/tmp/mmake.lWckir:2411: test_one_or_more_chunk] Error 1 gmake[3]: Target 'test_one_or_more_chunk.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_one_or_more_chunk.log] Error 1 RUNNING TEST hard_coded/test_pretty_printer_defaults in grade java FAILED TEST hard_coded/test_pretty_printer in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_pretty_printer.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_pretty_printer Making Mercury/int3s/test_pretty_printer.int3 Making Mercury/int3s/test_pretty_printer_helper_1.int3 Making Mercury/ints/test_pretty_printer_helper_1.int Making Mercury/ints/test_pretty_printer.int Making Mercury/javas/jmercury/test_pretty_printer.java Making Mercury/javas/jmercury/test_pretty_printer_helper_1.java Making Java class files Mercury/javas/jmercury/test_pretty_printer.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_float_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_pretty_printer__type_ctor_info_func_symbol_limit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_church_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_church_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_church_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_stag_ordered_church_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer__du_ptag_ordered_church_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_name_ordered_church_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer__type_ctor_info_church_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_non_canonical_bool_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_non_canonical_bool_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_stag_ordered_non_canonical_bool_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer__du_ptag_ordered_non_canonical_bool_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_name_ordered_non_canonical_bool_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:50: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer__type_ctor_info_non_canonical_bool_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:51: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:52: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_op_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:54: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_op_tree_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:55: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_op_tree_0_3 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_op_tree_0_4 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:59: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:60: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_op_tree_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:61: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_op_tree_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:62: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_stag_ordered_op_tree_0_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/test_pretty_printer.java:63: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer__du_ptag_ordered_op_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:64: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_name_ordered_op_tree_0 = new jmercury.runtime.DuFunctorDesc[6]; ^ Mercury/javas/jmercury/test_pretty_printer.java:66: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer__type_ctor_info_op_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:67: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:68: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:69: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:70: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_4 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:72: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:73: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_5 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:74: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:75: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_6 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:76: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:77: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_7 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:78: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:79: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_8 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:80: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer__field_types_prio_op_tree_0_9 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer.java:82: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer__du_functor_desc_prio_op_tree_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer.java:83: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_stag_ordered_prio_op_tree_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_pretty_printer.java:84: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer__du_ptag_ordered_prio_op_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:85: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer__du_name_ordered_prio_op_tree_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_pretty_printer.java:87: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer__type_ctor_info_prio_op_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer.java:683: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/test_pretty_printer.java:3735: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_pretty_printer.java:685: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Str_1[] MR_scalar_common_3 = new pretty_printer.Doc_0.Str_1[9]; ^ Mercury/javas/jmercury/test_pretty_printer.java:686: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Nl_0[] MR_scalar_common_4 = new pretty_printer.Doc_0.Nl_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:687: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer.java:688: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[18]; ^ Mercury/javas/jmercury/test_pretty_printer.java:3682: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_pretty_printer.java:3718: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_pretty_printer.java:696: error: package pretty_printer.Func_symbol_limit_0 does not exist private static final pretty_printer.Func_symbol_limit_0.Linear_1[] MR_scalar_common_14 = new pretty_printer.Func_symbol_limit_0.Linear_1[4]; ^ Mercury/javas/jmercury/test_pretty_printer.java:3855: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_pretty_printer.java:708: error: package pretty_printer.Func_symbol_limit_0 does not exist private static final pretty_printer.Func_symbol_limit_0.Triangular_1[] MR_scalar_common_26 = new pretty_printer.Func_symbol_limit_0.Triangular_1[3]; ^ Mercury/javas/jmercury/test_pretty_printer.java:1104: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_pretty_printer.java:1926: error: package univ does not exist private static univ.Univ_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:1942: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_23) ^ Mercury/javas/jmercury/test_pretty_printer.java:1939: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/test_pretty_printer.java:1967: error: package tree234 does not exist tree234.Tree234_2 LambdaHeadVar__2_32) ^ Mercury/javas/jmercury/test_pretty_printer.java:1964: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/test_pretty_printer.java:1983: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:1998: error: package pretty_printer does not exist private static pretty_printer.Doc_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:2291: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:2347: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:2376: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:2621: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_pretty_printer.java:3489: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_pretty_printer.java:3507: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_pretty_printer.java:3612: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_type_desc__type_ctor_info_type_desc_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_univ__type_ctor_info_univ_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer_helper_1__field_types_key_value_2_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer_helper_1__du_functor_desc_key_value_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer_helper_1__du_stag_ordered_key_value_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer_helper_1__du_ptag_ordered_key_value_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer_helper_1__du_name_ordered_key_value_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer_helper_1__type_ctor_info_key_value_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_pretty_printer_helper_1__enum_functor_desc_maybe_print_test_value_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_pretty_printer_helper_1__enum_functor_desc_maybe_print_test_value_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_pretty_printer_helper_1__enum_ordinal_ordered_maybe_print_test_value_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_pretty_printer_helper_1__enum_name_ordered_maybe_print_test_value_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer_helper_1__type_ctor_info_maybe_print_test_value_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer_helper_1__field_types_test_case_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:31: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer_helper_1__du_functor_desc_test_case_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer_helper_1__du_stag_ordered_test_case_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_pretty_printer_helper_1__du_ptag_ordered_test_case_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_pretty_printer_helper_1__du_name_ordered_test_case_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_pretty_printer_helper_1__type_ctor_info_test_case_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_pretty_printer_helper_1__field_types_test_data_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_pretty_printer_helper_1__du_functor_desc_test_data_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_pretty_printer_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1univ__type_ctor_info_univ_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Note: Mercury/javas/jmercury/test_pretty_printer_helper_1.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.lu8XYt:2411: test_pretty_printer] Error 1 gmake[3]: Target 'test_pretty_printer.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_pretty_printer.log] Error 1 RUNNING TEST hard_coded/test_ranges in grade java FAILED TEST hard_coded/test_pretty_printer_defaults in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_pretty_printer_defaults.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_pretty_printer_defaults Making Mercury/int3s/test_pretty_printer_defaults.int3 Making Mercury/ints/test_pretty_printer_defaults.int Making Mercury/javas/jmercury/test_pretty_printer_defaults.java Making Java class files Mercury/javas/jmercury/test_pretty_printer_defaults.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[11]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:34: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Nl_0[] MR_scalar_common_3 = new pretty_printer.Doc_0.Nl_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[29]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:37: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Str_1[] MR_scalar_common_6 = new pretty_printer.Doc_0.Str_1[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:292: error: package pretty_printer does not exist pretty_printer.Formatter_map_entry_0 HeadVar__1_125) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:303: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_23, ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_30, ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:666: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_pretty_printer_defaults"; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[11]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:34: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Nl_0[] MR_scalar_common_3 = new pretty_printer.Doc_0.Nl_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[29]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:37: error: package pretty_printer.Doc_0 does not exist private static final pretty_printer.Doc_0.Str_1[] MR_scalar_common_6 = new pretty_printer.Doc_0.Str_1[1]; ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:49: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:63: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ symbol: variable version_array location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:63: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(one_or_more.one_or_more__type_ctor_info_one_or_more_1))), ^ symbol: variable one_or_more location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(one_or_more.one_or_more__type_ctor_info_one_or_more_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:74: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:74: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sparse_bitset.sparse_bitset__type_ctor_info_sparse_bitset_1))), ^ symbol: variable sparse_bitset location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(sparse_bitset.sparse_bitset__type_ctor_info_sparse_bitset_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(fat_sparse_bitset.fat_sparse_bitset__type_ctor_info_fat_sparse_bitset_1))), ^ symbol: variable fat_sparse_bitset location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(fat_sparse_bitset.fat_sparse_bitset__type_ctor_info_fat_sparse_bitset_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(fatter_sparse_bitset.fatter_sparse_bitset__type_ctor_info_fatter_sparse_bitset_1))), ^ symbol: variable fatter_sparse_bitset location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(fatter_sparse_bitset.fatter_sparse_bitset__type_ctor_info_fatter_sparse_bitset_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:99: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree_bitset.tree_bitset__type_ctor_info_tree_bitset_1))), ^ symbol: variable tree_bitset location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree_bitset.tree_bitset__type_ctor_info_tree_bitset_1))), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:104: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) uint.base_typeclass_info_enum__uenum__arity1__uint__arity0__)), ^ symbol: variable uint location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ symbol: variable builtin location: class test_pretty_printer_defaults Mercury/javas/jmercury/test_pretty_printer_defaults.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint_0))) ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:108: error: package pretty_printer.Doc_0 does not exist new pretty_printer.Doc_0.Nl_0(); ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:110: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:113: error: package pretty_printer does not exist ((java.lang.Object) ((pretty_printer.Doc_0) test_pretty_printer_defaults.MR_scalar_common_3[0])), ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:114: error: package list does not exist (list.List_1) test_pretty_printer_defaults.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:119: error: package list does not exist (list.List_1) test_pretty_printer_defaults.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_pretty_printer_defaults.java:124: error: package list does not exist (list.List_1) test_pretty_printer_defaults.MR_scalar_common_5[1] ^ 100 errors gmake[3]: *** [/tmp/mmake.rii1eo:2411: test_pretty_printer_defaults] Error 1 gmake[3]: Target 'test_pretty_printer_defaults.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_pretty_printer_defaults.log] Error 1 RUNNING TEST hard_coded/test_semaphore in grade java FAILED TEST hard_coded/test_semaphore in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_semaphore.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_semaphore Making Mercury/int3s/test_semaphore.int3 Making Mercury/ints/test_semaphore.int Making Mercury/javas/jmercury/test_semaphore.java Making Java class files Mercury/javas/jmercury/test_semaphore.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_semaphore"; ^ Mercury/javas/jmercury/test_semaphore.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_semaphore.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_semaphore.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_semaphore.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_semaphore.java:36: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore S_4 = null; ^ Mercury/javas/jmercury/test_semaphore.java:40: error: cannot find symbol S_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:43: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:46: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:49: error: cannot find symbol thread__semaphore.wait_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:52: error: cannot find symbol thread__semaphore.wait_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:55: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:59: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class test_semaphore 19 errors gmake[3]: *** [/tmp/mmake.mtQJDF:2411: test_semaphore] Error 1 gmake[3]: Target 'test_semaphore.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_semaphore.log] Error 1 RUNNING TEST hard_coded/test_split_switch_arms in grade java FAILED TEST hard_coded/test_ranges in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_ranges.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_ranges Making Mercury/int3s/test_ranges.int3 Making Mercury/ints/test_ranges.int Making Mercury/javas/jmercury/test_ranges.java Making Java class files Mercury/javas/jmercury/test_ranges.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_1__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_ranges__type_ctor_info_ranges_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_int_0__plain_ranges__type_ctor_info_ranges_0__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain___vti_tuple_2builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_ranges__type_ctor_info_ranges_0__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_ranges__type_ctor_info_ranges_0__plain_ranges__type_ctor_info_ranges_0__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_4__plain_ranges__type_ctor_info_ranges_0__plain_ranges__type_ctor_info_ranges_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct set_ordlist__pti_set_ordlist_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_ranges__type_ctor_info_ranges_0__plain_builtin__type_ctor_info_int_0__plain_ranges__type_ctor_info_ranges_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_ranges.java:167: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[7]; ^ Mercury/javas/jmercury/test_ranges.java:170: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_ranges.java:172: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/test_ranges.java:173: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[81]; ^ Mercury/javas/jmercury/test_ranges.java:1373: error: package list does not exist list.List_1 List_4) ^ Mercury/javas/jmercury/test_ranges.java:1391: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 Set_4) ^ Mercury/javas/jmercury/test_ranges.java:1410: error: package ranges does not exist ranges.Ranges_0 Ranges_9, ^ Mercury/javas/jmercury/test_ranges.java:1432: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:1471: error: package ranges does not exist ranges.Ranges_0 Ranges_4, ^ Mercury/javas/jmercury/test_ranges.java:1472: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_ranges.java:1548: error: package list does not exist list.List_1 SecondArgs_9, ^ Mercury/javas/jmercury/test_ranges.java:1549: error: package ranges does not exist ranges.Ranges_0 FirstArg_10) ^ Mercury/javas/jmercury/test_ranges.java:1592: error: package ranges does not exist ranges.Ranges_0 FirstArg_9, ^ Mercury/javas/jmercury/test_ranges.java:1593: error: package ranges does not exist ranges.Ranges_0 SecondArg_10) ^ Mercury/javas/jmercury/test_ranges.java:1662: error: package list does not exist list.List_1 SecondArgs_9, ^ Mercury/javas/jmercury/test_ranges.java:1663: error: package ranges does not exist ranges.Ranges_0 FirstArg_10) ^ Mercury/javas/jmercury/test_ranges.java:1706: error: package ranges does not exist ranges.Ranges_0 FirstArg_9, ^ Mercury/javas/jmercury/test_ranges.java:1707: error: package ranges does not exist ranges.Ranges_0 SecondArg_10) ^ Mercury/javas/jmercury/test_ranges.java:1779: error: package ranges does not exist ranges.Ranges_0 A_5, ^ Mercury/javas/jmercury/test_ranges.java:1780: error: package ranges does not exist ranges.Ranges_0 B_6) ^ Mercury/javas/jmercury/test_ranges.java:1889: error: package list does not exist list.List_1 TestValues_5, ^ Mercury/javas/jmercury/test_ranges.java:1890: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:1929: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:1971: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2039: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2131: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2247: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2315: error: package list does not exist list.List_1 List_4) ^ Mercury/javas/jmercury/test_ranges.java:2481: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 Set_4) ^ Mercury/javas/jmercury/test_ranges.java:2653: error: package list does not exist list.List_1 Values_9, ^ Mercury/javas/jmercury/test_ranges.java:2654: error: package ranges does not exist ranges.Ranges_0 Ranges_10) ^ Mercury/javas/jmercury/test_ranges.java:2697: error: package ranges does not exist ranges.Ranges_0 Ranges_9, ^ Mercury/javas/jmercury/test_ranges.java:2859: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2934: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:2992: error: package ranges does not exist ranges.Ranges_0 Ranges_8) ^ Mercury/javas/jmercury/test_ranges.java:3069: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:3194: error: package list does not exist list.List_1 TestValues_5, ^ Mercury/javas/jmercury/test_ranges.java:3195: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:3234: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:3295: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:3335: error: package list does not exist list.List_1 TestValues_5, ^ Mercury/javas/jmercury/test_ranges.java:3336: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:3375: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:3447: error: package list does not exist list.List_1 TestValues_9, ^ Mercury/javas/jmercury/test_ranges.java:3448: error: package ranges does not exist ranges.Ranges_0 Ranges_10) ^ Mercury/javas/jmercury/test_ranges.java:3491: error: package ranges does not exist ranges.Ranges_0 Ranges_9, ^ Mercury/javas/jmercury/test_ranges.java:3579: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:3648: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:3746: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:3815: error: package list does not exist list.List_1 TestValues_5, ^ Mercury/javas/jmercury/test_ranges.java:3816: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:3855: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:3909: error: package list does not exist list.List_1 TestValues_5, ^ Mercury/javas/jmercury/test_ranges.java:3910: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:3949: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:4003: error: package list does not exist list.List_1 TestMinMax_5, ^ Mercury/javas/jmercury/test_ranges.java:4004: error: package ranges does not exist ranges.Ranges_0 Ranges_6) ^ Mercury/javas/jmercury/test_ranges.java:4043: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:4112: error: package ranges does not exist ranges.Ranges_0 Ranges_5, ^ Mercury/javas/jmercury/test_ranges.java:4202: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:4292: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:4342: error: package ranges does not exist ranges.Ranges_0 Arg_8) ^ Mercury/javas/jmercury/test_ranges.java:4444: error: package list does not exist list.List_1 Acc_5) ^ Mercury/javas/jmercury/test_ranges.java:4441: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:4460: error: package list does not exist list.List_1 Acc_5) ^ Mercury/javas/jmercury/test_ranges.java:4457: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:5093: error: package list does not exist list.List_1 Acc1_9, ^ Mercury/javas/jmercury/test_ranges.java:5125: error: package list does not exist list.List_1 Acc_7) ^ Mercury/javas/jmercury/test_ranges.java:5121: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:5149: error: package list does not exist list.List_1 Acc_7) ^ Mercury/javas/jmercury/test_ranges.java:5145: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:5173: error: package list does not exist list.List_1 STATE_VARIABLE_Descs_0_9) ^ Mercury/javas/jmercury/test_ranges.java:5169: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:5816: error: package list does not exist list.List_1 RangesList_9, ^ Mercury/javas/jmercury/test_ranges.java:5861: error: package ranges does not exist ranges.Ranges_0 Ranges_10) ^ Mercury/javas/jmercury/test_ranges.java:7261: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:7346: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_ranges.java:7369: error: package ranges does not exist ranges.Ranges_0 Ranges_4) ^ Mercury/javas/jmercury/test_ranges.java:7454: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_ranges.java:8184: error: package ranges does not exist ranges.Ranges_0 Ranges_3) ^ Mercury/javas/jmercury/test_ranges.java:8182: error: package string does not exist private static string.Poly_type_0 ^ Mercury/javas/jmercury/test_ranges.java:8241: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_ranges.java:8498: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_ranges.java:8575: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ 100 errors gmake[3]: *** [/tmp/mmake.XaE5pt:2411: test_ranges] Error 1 gmake[3]: Target 'test_ranges.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_ranges.log] Error 1 RUNNING TEST hard_coded/test_yield in grade java FAILED TEST hard_coded/test_split_switch_arms in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --split-switch-arms '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_split_switch_arms.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --split-switch-arms '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_split_switch_arms Making Mercury/int3s/test_split_switch_arms.int3 Making Mercury/ints/test_split_switch_arms.int Making Mercury/javas/jmercury/test_split_switch_arms.java Making Java class files Mercury/javas/jmercury/test_split_switch_arms.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_split_switch_arms__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_split_switch_arms__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_split_switch_arms__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_split_switch_arms__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:311: 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_split_switch_arms.java:2046: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_split_switch_arms.java:314: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:316: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:444: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/test_split_switch_arms.java:1562: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_split_switch_arms.java:2004: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_split_switch_arms.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_split_switch_arms"; ^ Mercury/javas/jmercury/test_split_switch_arms.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_split_switch_arms.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_split_switch_arms.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_split_switch_arms.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_3 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_4 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_5 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_5 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_6 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_6 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_7 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_7 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_8 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_8 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] test_split_switch_arms__field_types_t_0_9 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc test_split_switch_arms__du_functor_desc_t_0_9 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_split_switch_arms__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] test_split_switch_arms__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] test_split_switch_arms__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:51: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_split_switch_arms__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_split_switch_arms.java:59: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:67: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:74: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:82: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:89: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:97: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:104: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:112: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:119: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:127: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:131: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:131: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:136: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:144: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:148: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:148: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:153: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:161: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:165: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:165: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:170: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:178: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:182: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:182: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:187: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:195: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:199: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/test_split_switch_arms.java:199: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:204: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:212: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:236: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/test_split_switch_arms.java:238: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class test_split_switch_arms Mercury/javas/jmercury/test_split_switch_arms.java:288: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/test_split_switch_arms.java:293: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_split_switch_arms.java:296: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_split_switch_arms.java:311: 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_split_switch_arms.java:314: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:316: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10]; ^ Mercury/javas/jmercury/test_split_switch_arms.java:327: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_split_switch_arms.java:328: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_split_switch_arms.java:329: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_split_switch_arms.java:330: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_split_switch_arms.java:331: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_split_switch_arms.java:332: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ 100 errors gmake[3]: *** [/tmp/mmake.zP6qr4:2411: test_split_switch_arms] Error 1 gmake[3]: Target 'test_split_switch_arms.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_split_switch_arms.log] Error 1 RUNNING TEST hard_coded/thread_barrier_test in grade java FAILED TEST hard_coded/test_yield in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_yield.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - test_yield Making Mercury/int3s/test_yield.int3 Making Mercury/ints/test_yield.int Making Mercury/javas/jmercury/test_yield.java Making Java class files Mercury/javas/jmercury/test_yield.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_yield"; ^ Mercury/javas/jmercury/test_yield.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_yield.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_yield.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_yield Mercury/javas/jmercury/test_yield.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_yield Mercury/javas/jmercury/test_yield.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_yield.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_yield Mercury/javas/jmercury/test_yield.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_yield Mercury/javas/jmercury/test_yield.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_yield Mercury/javas/jmercury/test_yield.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_yield Mercury/javas/jmercury/test_yield.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_yield.java:39: error: cannot find symbol thread.yield_2_p_0(); ^ symbol: variable thread location: class test_yield Mercury/javas/jmercury/test_yield.java:42: error: cannot find symbol thread.yield_2_p_0(); ^ symbol: variable thread location: class test_yield Mercury/javas/jmercury/test_yield.java:46: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class test_yield 14 errors gmake[3]: *** [/tmp/mmake.YxYu5s:2411: test_yield] Error 1 gmake[3]: Target 'test_yield.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: test_yield.log] Error 1 RUNNING TEST hard_coded/thread_commit in grade java FAILED TEST hard_coded/thread_commit in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_commit.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_commit Making Mercury/int3s/thread_commit.int3 Making Mercury/ints/thread_commit.int Making Mercury/javas/jmercury/thread_commit.java Making Java class files Mercury/javas/jmercury/thread_commit.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_commit.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_commit.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_commit__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_commit.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_commit__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_commit.java:687: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_commit.java:211: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/thread_commit.java:341: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore JoinSem_5, ^ Mercury/javas/jmercury/thread_commit.java:342: error: package thread does not exist thread.Thread_0 _Thread_6) ^ Mercury/javas/jmercury/thread_commit.java:457: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_commit.java:616: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_commit.java:667: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_commit.java:738: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/thread_commit.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "thread_commit"; ^ Mercury/javas/jmercury/thread_commit.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/thread_commit.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/thread_commit.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class thread_commit Mercury/javas/jmercury/thread_commit.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class thread_commit Mercury/javas/jmercury/thread_commit.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/thread_commit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/thread_commit.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_commit.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_commit.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_commit__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_commit.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_commit__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_commit.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/thread_commit.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_commit.thread_commit__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_commit.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_commit.thread_commit__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_commit.java:69: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/thread_commit.java:87: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/thread_commit.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/thread_commit.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/thread_commit.java:136: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:136: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/thread_commit.java:137: error: cannot find symbol ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:137: error: illegal start of type ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ Mercury/javas/jmercury/thread_commit.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/thread_commit.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/thread_commit.java:239: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(Leaf_3), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/thread_commit.java:252: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:256: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore JoinSem_4 = null; ^ Mercury/javas/jmercury/thread_commit.java:257: error: package maybe does not exist maybe.Maybe_error_2 SpawnRes_5 = null; ^ Mercury/javas/jmercury/thread_commit.java:262: error: cannot find symbol JoinSem_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:266: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:277: error: cannot find symbol SpawnRes_5 = thread.spawn_native_4_p_0(Var_13); ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:281: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:282: error: package maybe.Maybe_error_2 does not exist java.lang.String Error_7 = ((java.lang.String) ((maybe.Maybe_error_2.Error_1) SpawnRes_5).F1); ^ Mercury/javas/jmercury/thread_commit.java:285: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Error_7))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:295: error: cannot find symbol thread__semaphore.wait_3_p_0(JoinSem_4); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:299: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:303: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:310: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:319: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:334: error: package jmercury.runtime does not exist thread_commit.thread_proc_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_commit.java:334: error: package thread does not exist thread_commit.thread_proc_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_commit.java:344: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/thread_commit.java:344: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:344: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/thread_commit.java:349: error: cannot find symbol conv0_STATE_VARIABLE_IO_1_10 = builtin.cc_multi_equal_2_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (0))); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:353: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:359: error: cannot find symbol thread__semaphore.signal_3_p_0(JoinSem_5); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:393: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/thread_commit.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:400: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:404: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:409: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:409: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:409: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:413: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:425: error: package jmercury.runtime does not exist ((thread_commit.Tree_test_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/thread_commit.java:436: error: cannot find symbol ((thread_commit.Tree_test_2_p_0_env_0) env_ptr).succeeded = mr_int.even_1_p_0(((thread_commit.Tree_test_2_p_0_env_0) env_ptr).Leaf_15); ^ symbol: variable mr_int location: class thread_commit Mercury/javas/jmercury/thread_commit.java:465: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/thread_commit.java:472: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_commit.java:481: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/thread_commit.java:486: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_commit.java:501: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_commit.java:504: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_commit.java:512: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_commit.java:517: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors gmake[3]: *** [/tmp/mmake.xBWmdt:2411: thread_commit] Error 1 gmake[3]: Target 'thread_commit.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: thread_commit.log] Error 1 RUNNING TEST hard_coded/thread_sbrk in grade java FAILED TEST hard_coded/thread_barrier_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_barrier_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_barrier_test Making Mercury/int3s/thread_barrier_test.int3 Making Mercury/int3s/thread_barrier_test_helper_1.int3 Making Mercury/ints/thread_barrier_test_helper_1.int Making Mercury/ints/thread_barrier_test.int Making Mercury/javas/jmercury/thread_barrier_test.java Making Mercury/javas/jmercury/thread_barrier_test_helper_1.java Making Java class files Mercury/javas/jmercury/thread_barrier_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__mvar__pti_mvar_1__plain_thread_barrier_test__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc thread_barrier_test__enum_functor_desc_state_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc thread_barrier_test__enum_functor_desc_state_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] thread_barrier_test__enum_ordinal_ordered_state_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_barrier_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] thread_barrier_test__enum_name_ordered_state_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_barrier_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test__type_ctor_info_state_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test.java:95: 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/thread_barrier_test.java:98: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1329: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1410: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_barrier_test.java:176: error: package thread__barrier does not exist thread__barrier.Barrier_0 Barrier_10, ^ Mercury/javas/jmercury/thread_barrier_test.java:177: error: package thread__mvar does not exist thread__mvar.Mvar_1 StateMvar_11, ^ Mercury/javas/jmercury/thread_barrier_test.java:240: error: package thread__barrier does not exist thread__barrier.Barrier_0 Barrier_8, ^ Mercury/javas/jmercury/thread_barrier_test.java:300: error: package thread__mvar does not exist thread__mvar.Mvar_1 StateMvar_7, ^ Mercury/javas/jmercury/thread_barrier_test.java:590: error: package thread__barrier does not exist thread__barrier.Barrier_0 Barrier_11, ^ Mercury/javas/jmercury/thread_barrier_test.java:591: error: package thread__mvar does not exist thread__mvar.Mvar_1 StateMvar_12) ^ Mercury/javas/jmercury/thread_barrier_test.java:702: error: package thread__barrier does not exist thread__barrier.Barrier_0 Barrier_8) ^ Mercury/javas/jmercury/thread_barrier_test.java:802: error: package integer does not exist integer.Integer_0 N_3) ^ Mercury/javas/jmercury/thread_barrier_test.java:800: error: package integer does not exist private static integer.Integer_0 ^ Mercury/javas/jmercury/thread_barrier_test.java:1029: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/thread_barrier_test.java:1030: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_barrier_test.java:860: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__channel__ti_channel_1thread_barrier_test_helper_1__type_ctor_info_message_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_barrier_test_helper_1__field_types_all_threads_output_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_barrier_test_helper_1__du_functor_desc_all_threads_output_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_stag_ordered_all_threads_output_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_barrier_test_helper_1__du_ptag_ordered_all_threads_output_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_name_ordered_all_threads_output_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test_helper_1__type_ctor_info_all_threads_output_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_barrier_test_helper_1__field_types_message_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_barrier_test_helper_1__du_functor_desc_message_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_barrier_test_helper_1__field_types_message_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_barrier_test_helper_1__du_functor_desc_message_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_barrier_test_helper_1__field_types_message_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_barrier_test_helper_1__du_functor_desc_message_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_stag_ordered_message_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_barrier_test_helper_1__du_ptag_ordered_message_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_name_ordered_message_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test_helper_1__type_ctor_info_message_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__ti_tree234_2builtin__type_ctor_info_int_0list__ti_list_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test_helper_1__type_ctor_info_messages_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_barrier_test_helper_1__field_types_thread_output_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_barrier_test_helper_1__du_functor_desc_thread_output_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_stag_ordered_thread_output_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_barrier_test_helper_1__du_ptag_ordered_thread_output_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_barrier_test_helper_1__du_name_ordered_thread_output_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test_helper_1__type_ctor_info_thread_output_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:322: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:323: 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/thread_barrier_test_helper_1.java:326: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:418: error: package set_ordlist does not exist set_ordlist.Set_ordlist_1 OpenThreads_8, ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:419: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_Messages_0_19) ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:415: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:687: error: package list does not exist list.List_1 Messages_6) ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:735: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1346: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:776: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:910: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2, ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:911: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3) ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:908: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:939: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1118: error: package tree234 does not exist tree234.Tree234_2 HeadVar__1_1, ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1119: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2) ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1331: error: package thread__channel does not exist public thread__channel.Channel_1 F1; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1339: error: package thread__channel does not exist thread__channel.Channel_1 F1) ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1413: error: package thread__channel does not exist public thread__channel.Channel_1 to_chan; ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1422: error: package thread__channel does not exist thread__channel.Channel_1 to_chan) ^ Mercury/javas/jmercury/thread_barrier_test.java:924: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_barrier_test.java:984: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1192: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1288: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_barrier_test_helper_1.java:1308: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/thread_barrier_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "thread_barrier_test"; ^ Mercury/javas/jmercury/thread_barrier_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/thread_barrier_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/thread_barrier_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/thread_barrier_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/thread_barrier_test.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__mvar__pti_mvar_1__plain_thread_barrier_test__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc thread_barrier_test__enum_functor_desc_state_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc thread_barrier_test__enum_functor_desc_state_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/thread_barrier_test.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] thread_barrier_test__enum_ordinal_ordered_state_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_barrier_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] thread_barrier_test__enum_name_ordered_state_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_barrier_test.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_barrier_test__type_ctor_info_state_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_barrier_test.java:43: error: cannot find symbol thread__mvar.thread__mvar__type_ctor_info_mvar_1, ^ symbol: variable thread__mvar location: class thread_barrier_test Mercury/javas/jmercury/thread_barrier_test.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_barrier_test.thread_barrier_test__type_ctor_info_state_0 ^ Mercury/javas/jmercury/thread_barrier_test.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/thread_barrier_test.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/thread_barrier_test.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/thread_barrier_test.java:95: 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/thread_barrier_test.java:98: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/thread_barrier_test.java:104: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/thread_barrier_test.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ 100 errors gmake[3]: *** [/tmp/mmake.2QjIqF:2411: thread_barrier_test] Error 1 gmake[3]: Target 'thread_barrier_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: thread_barrier_test.log] Error 1 RUNNING TEST hard_coded/tim_qual in grade java FAILED TEST hard_coded/tim_qual in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tim_qual.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tim_qual Making Mercury/int3s/tim_qual.int3 Making Mercury/int3s/tim_qual_helper_1.int3 Making Mercury/int3s/tim_qual_helper_2.int3 Making Mercury/ints/tim_qual_helper_2.int Making Mercury/ints/tim_qual.int Making Mercury/ints/tim_qual_helper_1.int Making Mercury/javas/jmercury/tim_qual_helper_1.java Making Mercury/javas/jmercury/tim_qual.java Making Mercury/javas/jmercury/tim_qual_helper_2.java Making Java class files Mercury/javas/jmercury/tim_qual_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc tim_qual_helper_1__enum_functor_desc_test_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/tim_qual_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_1__enum_ordinal_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_1__enum_name_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tim_qual_helper_1__type_ctor_info_test_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tim_qual_helper_1.java:61: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tim_qual_helper_1.java:107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tim_qual_helper_1.java:151: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/tim_qual_helper_1.java:152: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/tim_qual_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc tim_qual_helper_2__enum_functor_desc_test_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/tim_qual_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_2__enum_ordinal_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_2__enum_name_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tim_qual_helper_2__type_ctor_info_test_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tim_qual_helper_2.java:61: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tim_qual_helper_2.java:107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tim_qual_helper_2.java:151: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/tim_qual_helper_2.java:152: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/tim_qual.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tim_qual"; ^ Mercury/javas/jmercury/tim_qual.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tim_qual.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tim_qual.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tim_qual Mercury/javas/jmercury/tim_qual.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tim_qual Mercury/javas/jmercury/tim_qual.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tim_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tim_qual.java:46: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual.java:54: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class tim_qual Mercury/javas/jmercury/tim_qual_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc tim_qual_helper_1__enum_functor_desc_test_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/tim_qual_helper_1.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_1__enum_ordinal_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_1__enum_name_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tim_qual_helper_1__type_ctor_info_test_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tim_qual_helper_1.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/tim_qual_helper_1.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tim_qual_helper_1.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tim_qual_helper_1.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:75: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/tim_qual_helper_1.java:136: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/tim_qual_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc tim_qual_helper_2__enum_functor_desc_test_type_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/tim_qual_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_2__enum_ordinal_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] tim_qual_helper_2__enum_name_ordered_test_type_0 = new jmercury.runtime.EnumFunctorDesc[1]; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tim_qual_helper_2__type_ctor_info_test_type_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tim_qual_helper_2.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY, ^ Mercury/javas/jmercury/tim_qual_helper_2.java:42: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tim_qual_helper_2.java:45: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tim_qual_helper_2.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:64: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:75: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/tim_qual_helper_2.java:136: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 51 errors gmake[3]: *** [/tmp/mmake.j6upzb:2411: tim_qual] Error 1 gmake[3]: Target 'tim_qual.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tim_qual.log] Error 1 RUNNING TEST hard_coded/time_test in grade java FAILED TEST hard_coded/thread_sbrk in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_sbrk.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - thread_sbrk Making Mercury/int3s/thread_sbrk.int3 Making Mercury/ints/thread_sbrk.int Making Mercury/javas/jmercury/thread_sbrk.java Making Java class files Mercury/javas/jmercury/thread_sbrk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_sbrk__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/thread_sbrk.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_sbrk__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_sbrk__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_sbrk.java:654: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_sbrk.java:129: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:162: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_5, ^ Mercury/javas/jmercury/thread_sbrk.java:238: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_5, ^ Mercury/javas/jmercury/thread_sbrk.java:239: error: package thread does not exist thread.Thread_0 _Thread_6) ^ Mercury/javas/jmercury/thread_sbrk.java:374: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_4) ^ Mercury/javas/jmercury/thread_sbrk.java:430: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_sbrk.java:592: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_sbrk.java:634: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_sbrk.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "thread_sbrk"; ^ Mercury/javas/jmercury/thread_sbrk.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/thread_sbrk.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/thread_sbrk.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/thread_sbrk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/thread_sbrk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_sbrk__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/thread_sbrk.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_sbrk__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_sbrk__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_sbrk.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/thread_sbrk.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_sbrk.thread_sbrk__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_sbrk.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_sbrk.thread_sbrk__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_sbrk.java:68: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:76: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/thread_sbrk.java:86: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/thread_sbrk.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/thread_sbrk.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/thread_sbrk.java:129: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:137: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:137: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:138: error: cannot find symbol ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:138: error: illegal start of type ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/thread_sbrk.java:145: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/thread_sbrk.java:146: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:147: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:148: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:150: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/thread_sbrk.java:174: error: cannot find symbol thread__semaphore.signal_3_p_0(Sem_5); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:185: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_35 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:202: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:204: error: package string__parse_util does not exist Var_35 = (string__parse_util.String_format_flags_0) thread_sbrk.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/thread_sbrk.java:206: error: cannot find symbol Var_29 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_35, Depth_6); ^ symbol: variable string__format location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:209: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:213: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:216: error: cannot find symbol Var_39 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_35, Var_21); ^ symbol: variable string__format location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:219: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:223: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:244: error: cannot find symbol thread__semaphore.signal_3_p_0(Sem_5); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:313: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:317: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_4 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:320: error: package maybe does not exist maybe.Maybe_error_2 Var_5 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:323: error: cannot find symbol Sem_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:334: error: cannot find symbol Var_5 = thread.spawn_native_4_p_0(Var_9); ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:337: error: cannot find symbol thread__semaphore.wait_3_p_0(Sem_4); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:344: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:352: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:367: error: package jmercury.runtime does not exist thread_sbrk.alloc_thread_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_sbrk.java:367: error: package thread does not exist thread_sbrk.alloc_thread_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_sbrk.java:378: error: package bool does not exist bool.Bool_0 Success_6 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:382: error: cannot find symbol Success_6 = thread__semaphore.try_wait_4_p_0(Sem_4); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:384: error: illegal start of type switch (Success_6.MR_value) { ^ Mercury/javas/jmercury/thread_sbrk.java:395: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/thread_sbrk.java:438: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:445: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:449: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:451: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_sbrk.java:454: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_sbrk.java:463: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:467: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_sbrk.java:472: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_sbrk.java:474: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:476: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_sbrk.java:481: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:486: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_sbrk.java:511: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.6GeN48:2411: thread_sbrk] Error 1 gmake[3]: Target 'thread_sbrk.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: thread_sbrk.log] Error 1 RUNNING TEST hard_coded/trace_goal_1 in grade java FAILED TEST hard_coded/time_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - time_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - time_test Making Mercury/int3s/time_test.int3 Making Mercury/ints/time_test.int Making Mercury/javas/jmercury/time_test.java Making Java class files Mercury/javas/jmercury/time_test.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/time_test.java:33: error: package time does not exist private static final time.Tm_0[] MR_scalar_common_2 = new time.Tm_0[1]; ^ Mercury/javas/jmercury/time_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "time_test"; ^ Mercury/javas/jmercury/time_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/time_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/time_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class time_test Mercury/javas/jmercury/time_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class time_test Mercury/javas/jmercury/time_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/time_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/time_test.java:32: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_1 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/time_test.java:33: error: package time does not exist private static final time.Tm_0[] MR_scalar_common_2 = new time.Tm_0[1]; ^ Mercury/javas/jmercury/time_test.java:37: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/time_test.java:39: error: package time does not exist new time.Tm_0( ^ Mercury/javas/jmercury/time_test.java:48: error: package maybe does not exist (maybe.Maybe_1) time_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/time_test.java:62: error: package time does not exist time.Time_t_0 Time_4 = null; ^ Mercury/javas/jmercury/time_test.java:63: error: package time does not exist time.Tm_0 LocalTM_5 = null; ^ Mercury/javas/jmercury/time_test.java:64: error: package time does not exist time.Time_t_0 MkTime_6 = null; ^ Mercury/javas/jmercury/time_test.java:66: error: package time does not exist time.Tm_0 TM_8 = null; ^ Mercury/javas/jmercury/time_test.java:72: error: cannot find symbol Time_4 = time.time_3_p_0(); ^ symbol: variable time location: class time_test Mercury/javas/jmercury/time_test.java:75: error: cannot find symbol LocalTM_5 = time.localtime_4_p_0(Time_4); ^ symbol: variable time location: class time_test Mercury/javas/jmercury/time_test.java:78: error: cannot find symbol MkTime_6 = time.mktime_4_p_0(LocalTM_5); ^ symbol: variable time location: class time_test Mercury/javas/jmercury/time_test.java:81: error: cannot find symbol Diff_7 = time.difftime_2_f_0(Time_4, MkTime_6); ^ symbol: variable time location: class time_test Mercury/javas/jmercury/time_test.java:95: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:103: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:106: error: package time does not exist TM_8 = (time.Tm_0) time_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/time_test.java:108: error: cannot find symbol Var_29 = time.asctime_1_f_0(TM_8); ^ symbol: variable time location: class time_test Mercury/javas/jmercury/time_test.java:111: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class time_test Mercury/javas/jmercury/time_test.java:114: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class time_test 32 errors gmake[3]: *** [/tmp/mmake.gYMbM6:2411: time_test] Error 1 gmake[3]: Target 'time_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: time_test.log] Error 1 RUNNING TEST hard_coded/trace_goal_2 in grade java FAILED TEST hard_coded/trace_goal_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc --trace-flag def '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc --trace-flag def '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_1 Making Mercury/int3s/trace_goal_1.int3 Making Mercury/ints/trace_goal_1.int Making Mercury/javas/jmercury/trace_goal_1.java Making Java class files Mercury/javas/jmercury/trace_goal_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_1"; ^ Mercury/javas/jmercury/trace_goal_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_1.java:48: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:51: error: cannot find symbol io.write_int_3_p_0(Var_7); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:55: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:59: error: cannot find symbol Var_15 = string.int_to_string_1_f_0(Var_16); ^ symbol: variable string location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:64: error: cannot find symbol Var_20 = string.int_to_string_1_f_0(Var_21); ^ symbol: variable string location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:67: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(Var_19, Var_20); ^ symbol: variable string location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:70: error: cannot find symbol X_4 = string.f_43_43_2_f_0(Var_15, Var_18); ^ symbol: variable string location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:73: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class trace_goal_1 Mercury/javas/jmercury/trace_goal_1.java:76: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trace_goal_1 20 errors gmake[3]: *** [/tmp/mmake.x6gHBh:2411: trace_goal_1] Error 1 gmake[3]: Target 'trace_goal_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_1.log] Error 1 RUNNING TEST hard_coded/trace_goal_3 in grade java FAILED TEST hard_coded/trace_goal_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_2 Making Mercury/int3s/trace_goal_2.int3 Making Mercury/ints/trace_goal_2.int Making Mercury/javas/jmercury/trace_goal_2.java Making Java class files Mercury/javas/jmercury/trace_goal_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_2"; ^ Mercury/javas/jmercury/trace_goal_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_2.java:45: error: cannot find symbol Var_15 = string.int_to_string_1_f_0(Var_16); ^ symbol: variable string location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:50: error: cannot find symbol Var_20 = string.int_to_string_1_f_0(Var_21); ^ symbol: variable string location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:53: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(Var_19, Var_20); ^ symbol: variable string location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:56: error: cannot find symbol X_4 = string.f_43_43_2_f_0(Var_15, Var_18); ^ symbol: variable string location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:59: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class trace_goal_2 Mercury/javas/jmercury/trace_goal_2.java:62: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trace_goal_2 17 errors gmake[3]: *** [/tmp/mmake.NCNDcS:2411: trace_goal_2] Error 1 gmake[3]: Target 'trace_goal_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_2.log] Error 1 RUNNING TEST hard_coded/trace_goal_4 in grade java FAILED TEST hard_coded/trace_goal_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_3 Making Mercury/int3s/trace_goal_3.int3 Making Mercury/ints/trace_goal_3.int Making Mercury/javas/jmercury/trace_goal_3.java trace_goal_3.m:026: Warning: new state variable `S' shadows old one. trace_goal_3.m:031: Warning: new state variable `S' shadows old one. Making Java class files Mercury/javas/jmercury/trace_goal_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_3"; ^ Mercury/javas/jmercury/trace_goal_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_3.java:51: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:54: error: cannot find symbol io.write_int_3_p_0(Var_7); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:58: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:62: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:66: error: cannot find symbol io.write_int_3_p_0(Var_18); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:70: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:74: error: cannot find symbol Var_23 = string.int_to_string_1_f_0(Var_24); ^ symbol: variable string location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:79: error: cannot find symbol Var_28 = string.int_to_string_1_f_0(Var_29); ^ symbol: variable string location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:82: error: cannot find symbol Var_26 = string.f_43_43_2_f_0(Var_27, Var_28); ^ symbol: variable string location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:85: error: cannot find symbol X_4 = string.f_43_43_2_f_0(Var_23, Var_26); ^ symbol: variable string location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:88: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class trace_goal_3 Mercury/javas/jmercury/trace_goal_3.java:91: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trace_goal_3 23 errors gmake[3]: *** [/tmp/mmake.1QGnyA:2411: trace_goal_3] Error 1 gmake[3]: Target 'trace_goal_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_3.log] Error 1 RUNNING TEST hard_coded/trace_goal_env_1 in grade java FAILED TEST hard_coded/trace_goal_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_4 Making Mercury/int3s/trace_goal_4.int3 Making Mercury/ints/trace_goal_4.int Making Mercury/javas/jmercury/trace_goal_4.java trace_goal_4.m:017: In predicate `main'/2: trace_goal_4.m:017: warning: the first argument and the second argument, trace_goal_4.m:017: represented by the state variable `!IO', could be trace_goal_4.m:017: deleted, because they are not used, and because the final trace_goal_4.m:017: value is always the same as the initial value. trace_goal_4.m:018: Warning: the condition of this if-then-else cannot succeed. trace_goal_4.m:019: Warning: the negated goal cannot succeed. Making Java class files Mercury/javas/jmercury/trace_goal_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_4"; ^ Mercury/javas/jmercury/trace_goal_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_4 Mercury/javas/jmercury/trace_goal_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ 11 errors gmake[3]: *** [/tmp/mmake.qr64wp:2411: trace_goal_4] Error 1 gmake[3]: Target 'trace_goal_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_4.log] Error 1 RUNNING TEST hard_coded/trace_goal_env_2 in grade java FAILED TEST hard_coded/trace_goal_env_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_1 Making Mercury/int3s/trace_goal_env_1.int3 Making Mercury/ints/trace_goal_env_1.int Making Mercury/javas/jmercury/trace_goal_env_1.java trace_goal_env_1.m:035: Warning: new state variable `IO' shadows old one. Making Java class files Mercury/javas/jmercury/trace_goal_env_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_env_1"; ^ Mercury/javas/jmercury/trace_goal_env_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_env_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_env_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_env_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_env_1.java:75: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(A_4, Var_15); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:78: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:81: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:90: error: cannot find symbol Var_21 = string.f_43_43_2_f_0(B_5, Var_22); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:93: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(Var_20, Var_21); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:96: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:107: error: cannot find symbol io.write_int_3_p_0(FinalX_6); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:110: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:148: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:151: error: cannot find symbol io.write_int_3_p_0(STATE_VARIABLE_X_1_12); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:157: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:160: error: cannot find symbol io.write_int_3_p_0(N_5); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:164: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:178: error: cannot find symbol Var_23 = string.int_to_string_1_f_0(Var_24); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:184: error: cannot find symbol Var_28 = string.int_to_string_1_f_0(Var_29); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:187: error: cannot find symbol Var_26 = string.f_43_43_2_f_0(Var_27, Var_28); ^ symbol: variable string location: class trace_goal_env_1 Mercury/javas/jmercury/trace_goal_env_1.java:190: error: cannot find symbol S_6 = string.f_43_43_2_f_0(Var_23, Var_26); ^ symbol: variable string location: class trace_goal_env_1 28 errors gmake[3]: *** [/tmp/mmake.fJUqfU:2411: trace_goal_env_1] Error 1 gmake[3]: Target 'trace_goal_env_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_env_1.log] Error 1 RUNNING TEST hard_coded/trace_goal_env_3 in grade java FAILED TEST hard_coded/trace_goal_env_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-flag=abc '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_2 Making Mercury/int3s/trace_goal_env_2.int3 Making Mercury/ints/trace_goal_env_2.int Making Mercury/javas/jmercury/trace_goal_env_2.java trace_goal_env_2.m:035: Warning: new state variable `IO' shadows old one. Making Java class files Mercury/javas/jmercury/trace_goal_env_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_env_2"; ^ Mercury/javas/jmercury/trace_goal_env_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_env_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_env_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_env_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_env_2.java:75: error: cannot find symbol Var_14 = string.f_43_43_2_f_0(A_4, Var_15); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:78: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(Var_13, Var_14); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:81: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:90: error: cannot find symbol Var_21 = string.f_43_43_2_f_0(B_5, Var_22); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:93: error: cannot find symbol Var_18 = string.f_43_43_2_f_0(Var_20, Var_21); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:96: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:107: error: cannot find symbol io.write_int_3_p_0(FinalX_6); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:110: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:148: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:151: error: cannot find symbol io.write_int_3_p_0(STATE_VARIABLE_X_1_12); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:157: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:160: error: cannot find symbol io.write_int_3_p_0(N_5); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:164: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:178: error: cannot find symbol Var_23 = string.int_to_string_1_f_0(Var_24); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:184: error: cannot find symbol Var_28 = string.int_to_string_1_f_0(Var_29); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:187: error: cannot find symbol Var_26 = string.f_43_43_2_f_0(Var_27, Var_28); ^ symbol: variable string location: class trace_goal_env_2 Mercury/javas/jmercury/trace_goal_env_2.java:190: error: cannot find symbol S_6 = string.f_43_43_2_f_0(Var_23, Var_26); ^ symbol: variable string location: class trace_goal_env_2 28 errors gmake[3]: *** [/tmp/mmake.NPpXCw:2411: trace_goal_env_2] Error 1 gmake[3]: Target 'trace_goal_env_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_env_2.log] Error 1 RUNNING TEST hard_coded/trace_goal_opt in grade java FAILED TEST hard_coded/trace_goal_env_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_env_3 Making Mercury/int3s/trace_goal_env_3.int3 Making Mercury/ints/trace_goal_env_3.int Making Mercury/javas/jmercury/trace_goal_env_3.java Making Java class files Mercury/javas/jmercury/trace_goal_env_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_env_3"; ^ Mercury/javas/jmercury/trace_goal_env_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_env_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_env_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_env_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_env_3.java:54: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:59: error: cannot find symbol Var_16 = string.int_to_string_1_f_0(Var_17); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:64: error: cannot find symbol Var_21 = string.int_to_string_1_f_0(Var_22); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:67: error: cannot find symbol Var_19 = string.f_43_43_2_f_0(Var_20, Var_21); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:70: error: cannot find symbol A_4 = string.f_43_43_2_f_0(Var_16, Var_19); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:75: error: cannot find symbol Var_11 = string.f_43_43_2_f_0(A_4, Var_12); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:78: error: cannot find symbol Var_8 = string.f_43_43_2_f_0(Var_10, Var_11); ^ symbol: variable string location: class trace_goal_env_3 Mercury/javas/jmercury/trace_goal_env_3.java:81: error: cannot find symbol io.write_string_3_p_0(Var_8); ^ symbol: variable io location: class trace_goal_env_3 19 errors gmake[3]: *** [/tmp/mmake.qqVipu:2411: trace_goal_env_3] Error 1 gmake[3]: Target 'trace_goal_env_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_env_3.log] Error 1 RUNNING TEST hard_coded/transform_value in grade java FAILED TEST hard_coded/transform_value in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - transform_value.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - transform_value Making Mercury/int3s/transform_value.int3 Making Mercury/ints/transform_value.int Making Mercury/javas/jmercury/transform_value.java Making Java class files Mercury/javas/jmercury/transform_value.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transform_value.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transform_value.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/transform_value.java:63: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/transform_value.java:64: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/transform_value.java:205: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_116) ^ Mercury/javas/jmercury/transform_value.java:201: error: package tree234 does not exist private static tree234.Tree234_2 ^ Mercury/javas/jmercury/transform_value.java:648: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/transform_value.java:735: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/transform_value.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "transform_value"; ^ Mercury/javas/jmercury/transform_value.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/transform_value.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/transform_value.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class transform_value Mercury/javas/jmercury/transform_value.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class transform_value Mercury/javas/jmercury/transform_value.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/transform_value.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class transform_value Mercury/javas/jmercury/transform_value.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class transform_value Mercury/javas/jmercury/transform_value.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class transform_value Mercury/javas/jmercury/transform_value.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class transform_value Mercury/javas/jmercury/transform_value.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/transform_value.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transform_value.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transform_value.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/transform_value.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/transform_value.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:45: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class transform_value Mercury/javas/jmercury/transform_value.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/transform_value.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/transform_value.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/transform_value.java:63: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/transform_value.java:64: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/transform_value.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/transform_value.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class transform_value Mercury/javas/jmercury/transform_value.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/transform_value.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/transform_value.java:71: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:71: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/transform_value.java:74: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/transform_value.java:75: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class transform_value Mercury/javas/jmercury/transform_value.java:75: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/transform_value.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/transform_value.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/transform_value.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/transform_value.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class transform_value Mercury/javas/jmercury/transform_value.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/transform_value.java:82: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(transform_value.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/transform_value.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/transform_value.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/transform_value.java:140: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:140: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/transform_value.java:152: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/transform_value.java:154: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:156: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/transform_value.java:159: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:161: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/transform_value.java:164: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:166: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[1] ^ Mercury/javas/jmercury/transform_value.java:169: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:171: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[2] ^ Mercury/javas/jmercury/transform_value.java:174: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:176: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[3] ^ Mercury/javas/jmercury/transform_value.java:179: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:181: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[4] ^ Mercury/javas/jmercury/transform_value.java:184: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:186: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[5] ^ Mercury/javas/jmercury/transform_value.java:189: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/transform_value.java:191: error: package list does not exist (list.List_1) transform_value.MR_scalar_common_7[6] ^ Mercury/javas/jmercury/transform_value.java:207: error: package tree234 does not exist tree234.Tree234_2 HeadVar__4_117 = null; ^ Mercury/javas/jmercury/transform_value.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transform_value.java:208: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:208: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_118_118 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transform_value.java:211: error: cannot find symbol HeadVar__4_117 = map.det_transform_value_4_p_0(TypeCtorInfo_118_118, TypeCtorInfo_118_118, HeadVar__1_75, java.lang.Integer.valueOf(HeadVar__2_115), HeadVar__3_116); ^ symbol: variable map location: class transform_value Mercury/javas/jmercury/transform_value.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_106_106 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transform_value.java:231: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_106_106 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class transform_value Mercury/javas/jmercury/transform_value.java:231: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_106_106 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transform_value.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_121_121 = null; ^ Mercury/javas/jmercury/transform_value.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_122_122 = null; ^ Mercury/javas/jmercury/transform_value.java:234: error: package tree234 does not exist tree234.Tree234_2 M0_5 = null; ^ Mercury/javas/jmercury/transform_value.java:235: error: package tree234 does not exist tree234.Tree234_2 M3_8 = null; ^ Mercury/javas/jmercury/transform_value.java:236: error: package tree234 does not exist tree234.Tree234_2 M4_9 = null; ^ Mercury/javas/jmercury/transform_value.java:237: error: package list does not exist list.List_1 A_10 = null; ^ Mercury/javas/jmercury/transform_value.java:238: error: package rbtree does not exist rbtree.Rbtree_2 RB0_11 = null; ^ Mercury/javas/jmercury/transform_value.java:239: error: package rbtree does not exist rbtree.Rbtree_2 RB1_12 = null; ^ Mercury/javas/jmercury/transform_value.java:240: error: package rbtree does not exist rbtree.Rbtree_2 RB2_13 = null; ^ Mercury/javas/jmercury/transform_value.java:241: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_1_19 = null; ^ Mercury/javas/jmercury/transform_value.java:244: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_2_22 = null; ^ Mercury/javas/jmercury/transform_value.java:247: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_3_25 = null; ^ Mercury/javas/jmercury/transform_value.java:250: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_4_28 = null; ^ Mercury/javas/jmercury/transform_value.java:253: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_5_31 = null; ^ Mercury/javas/jmercury/transform_value.java:256: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_6_34 = null; ^ Mercury/javas/jmercury/transform_value.java:259: error: package tree234 does not exist tree234.Tree234_2 STATE_VARIABLE_M_7_37 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.Lds7Pe:2411: transform_value] Error 1 gmake[3]: Target 'transform_value.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: transform_value.log] Error 1 RUNNING TEST hard_coded/transitive_inst_type in grade java FAILED TEST hard_coded/trace_goal_opt in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermod-opt '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_opt.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermod-opt '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trace_goal_opt Making Mercury/int3s/trace_goal_opt.int3 Making Mercury/int3s/trace_goal_opt_helper_1.int3 Making Mercury/ints/trace_goal_opt_helper_1.int Making Mercury/ints/trace_goal_opt.int Making Mercury/opts/trace_goal_opt_helper_1.opt Making Mercury/opts/trace_goal_opt.opt Making Mercury/javas/jmercury/trace_goal_opt.java Making Mercury/javas/jmercury/trace_goal_opt_helper_1.java Making Java class files Mercury/javas/jmercury/trace_goal_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trace_goal_opt"; ^ Mercury/javas/jmercury/trace_goal_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trace_goal_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trace_goal_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trace_goal_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trace_goal_opt.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt.java:43: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt.java:50: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:52: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:52: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt.java:53: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:53: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/trace_goal_opt.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt.java:68: error: package io does not exist io.Text_output_stream_0 Var_10 = null; ^ Mercury/javas/jmercury/trace_goal_opt.java:69: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_12 = null; ^ Mercury/javas/jmercury/trace_goal_opt.java:72: error: cannot find symbol Var_12 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt.java:75: error: package io does not exist Var_10 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/trace_goal_opt.java:80: error: cannot find symbol io.write_string_4_p_0(Var_10, Var_8); ^ symbol: variable io location: class trace_goal_opt Mercury/javas/jmercury/trace_goal_opt_helper_1.java:24: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:25: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:25: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:26: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:26: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:30: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:32: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:32: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:33: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:33: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:37: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:98: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class trace_goal_opt_helper_1 Mercury/javas/jmercury/trace_goal_opt_helper_1.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/trace_goal_opt_helper_1.java:102: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_6_6, ((java.lang.Object) (Var_5))); ^ symbol: variable exception location: class trace_goal_opt_helper_1 54 errors gmake[3]: *** [/tmp/mmake.JD8588:2411: trace_goal_opt] Error 1 gmake[3]: Target 'trace_goal_opt.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trace_goal_opt.log] Error 1 RUNNING TEST hard_coded/trigraphs in grade java FAILED TEST hard_coded/transitive_inst_type in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - transitive_inst_type.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - transitive_inst_type Making Mercury/int3s/transitive_inst_type.int3 Making Mercury/int3s/transitive_inst_type_helper_1.int3 Making Mercury/int3s/transitive_inst_type_helper_2.int3 Making Mercury/ints/transitive_inst_type_helper_1.int Making Mercury/ints/transitive_inst_type_helper_2.int Making Mercury/ints/transitive_inst_type.int Making Mercury/javas/jmercury/transitive_inst_type.java Making Mercury/javas/jmercury/transitive_inst_type_helper_1.java Making Mercury/javas/jmercury/transitive_inst_type_helper_2.java Making Java class files Mercury/javas/jmercury/transitive_inst_type_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct transitive_inst_type_helper_2__ti_my_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:16: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct transitive_inst_type_helper_1__type_ctor_info_sequence_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:321: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:93: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc transitive_inst_type_helper_2__du_functor_desc_my_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct transitive_inst_type_helper_2__pti_my_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] transitive_inst_type_helper_2__field_types_my_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc transitive_inst_type_helper_2__du_functor_desc_my_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] transitive_inst_type_helper_2__du_stag_ordered_my_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] transitive_inst_type_helper_2__du_ptag_ordered_my_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] transitive_inst_type_helper_2__du_name_ordered_my_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct transitive_inst_type_helper_2__type_ctor_info_my_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_7, ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:140: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:213: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:155: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:278: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/transitive_inst_type.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "transitive_inst_type"; ^ Mercury/javas/jmercury/transitive_inst_type.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/transitive_inst_type.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/transitive_inst_type.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/transitive_inst_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/transitive_inst_type.java:46: error: cannot find symbol io.write_int_3_p_0(Size_5); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type.java:49: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class transitive_inst_type Mercury/javas/jmercury/transitive_inst_type_helper_1.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct transitive_inst_type_helper_2__ti_my_list_1builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:16: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct transitive_inst_type_helper_1__type_ctor_info_sequence_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:23: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ symbol: variable builtin location: class transitive_inst_type_helper_1 Mercury/javas/jmercury/transitive_inst_type_helper_1.java:23: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0) ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:30: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:35: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) transitive_inst_type_helper_1.transitive_inst_type_helper_2__ti_my_list_1builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:53: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(transitive_inst_type_helper_2.transitive_inst_type_helper_2__type_ctor_info_my_list_1))), ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class transitive_inst_type_helper_1 Mercury/javas/jmercury/transitive_inst_type_helper_1.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:85: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class transitive_inst_type_helper_1 Mercury/javas/jmercury/transitive_inst_type_helper_1.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:98: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(transitive_inst_type_helper_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_6 = jmercury.runtime.TypeInfo_Struct.maybe_new(transitive_inst_type_helper_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:104: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_6_6, ((java.lang.Object) (Cast_HeadVar1_4)), ((java.lang.Object) (Cast_HeadVar2_5))); ^ symbol: variable builtin location: class transitive_inst_type_helper_1 Mercury/javas/jmercury/transitive_inst_type_helper_1.java:115: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(transitive_inst_type_helper_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_5_5 = jmercury.runtime.TypeInfo_Struct.maybe_new(transitive_inst_type_helper_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/transitive_inst_type_helper_1.java:135: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_5_5, ((java.lang.Object) (Cast_HeadVar1_3)), ((java.lang.Object) (Cast_HeadVar2_4))); ^ symbol: variable builtin location: class transitive_inst_type_helper_1 Mercury/javas/jmercury/transitive_inst_type_helper_1.java:184: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc transitive_inst_type_helper_2__du_functor_desc_my_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct transitive_inst_type_helper_2__pti_my_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] transitive_inst_type_helper_2__field_types_my_list_1_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc transitive_inst_type_helper_2__du_functor_desc_my_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] transitive_inst_type_helper_2__du_stag_ordered_my_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] transitive_inst_type_helper_2__du_ptag_ordered_my_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] transitive_inst_type_helper_2__du_name_ordered_my_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct transitive_inst_type_helper_2__type_ctor_info_my_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:31: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:39: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:47: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) transitive_inst_type_helper_2.transitive_inst_type_helper_2__pti_my_list_1__pseudo_1; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:55: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:63: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:106: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:149: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:156: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:160: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:162: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:165: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:172: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:175: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_T_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:177: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:202: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:205: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = transitive_inst_type_helper_2.__Compare____my_list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((transitive_inst_type_helper_2.My_list_1) wrapper_arg_3), ((transitive_inst_type_helper_2.My_list_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:245: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class transitive_inst_type_helper_2 Mercury/javas/jmercury/transitive_inst_type_helper_2.java:271: error: package jmercury.runtime does not exist succeeded = transitive_inst_type_helper_2.__Unify____my_list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((transitive_inst_type_helper_2.My_list_1) wrapper_arg_2), ((transitive_inst_type_helper_2.My_list_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/transitive_inst_type_helper_2.java:308: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 90 errors gmake[3]: *** [/tmp/mmake.1tWQuR:2411: transitive_inst_type] Error 1 gmake[3]: Target 'transitive_inst_type.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: transitive_inst_type.log] Error 1 RUNNING TEST hard_coded/try_syntax_1 in grade java FAILED TEST hard_coded/trigraphs in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trigraphs.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - trigraphs Making Mercury/int3s/trigraphs.int3 Making Mercury/ints/trigraphs.int Making Mercury/javas/jmercury/trigraphs.java Making Java class files Mercury/javas/jmercury/trigraphs.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "trigraphs"; ^ Mercury/javas/jmercury/trigraphs.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/trigraphs.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/trigraphs.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class trigraphs Mercury/javas/jmercury/trigraphs.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class trigraphs Mercury/javas/jmercury/trigraphs.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/trigraphs.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trigraphs Mercury/javas/jmercury/trigraphs.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class trigraphs Mercury/javas/jmercury/trigraphs.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trigraphs Mercury/javas/jmercury/trigraphs.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class trigraphs Mercury/javas/jmercury/trigraphs.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/trigraphs.java:39: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class trigraphs Mercury/javas/jmercury/trigraphs.java:42: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class trigraphs 13 errors gmake[3]: *** [/tmp/mmake.yTR3kn:2411: trigraphs] Error 1 gmake[3]: Target 'trigraphs.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: trigraphs.log] Error 1 RUNNING TEST hard_coded/try_syntax_2 in grade java FAILED TEST hard_coded/try_syntax_1 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_1 Making Mercury/int3s/try_syntax_1.int3 Making Mercury/ints/try_syntax_1.int Making Mercury/javas/jmercury/try_syntax_1.java Making Java class files Mercury/javas/jmercury/try_syntax_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/try_syntax_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/try_syntax_1.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_1__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_primate_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_primate_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_ordinal_ordered_primate_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_name_ordered_primate_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_1.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_1__type_ctor_info_primate_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:174: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_1.java:687: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/try_syntax_1.java:688: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/try_syntax_1.java:481: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/try_syntax_1.java:702: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/try_syntax_1.java:703: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/try_syntax_1.java:520: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/try_syntax_1.java:607: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_1.java:625: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/try_syntax_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_1"; ^ Mercury/javas/jmercury/try_syntax_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_action_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/try_syntax_1.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/try_syntax_1.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_1__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_primate_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_1__enum_functor_desc_primate_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_1.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_ordinal_ordered_primate_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_1.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_1__enum_name_ordered_primate_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_1.java:47: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_1__type_ctor_info_primate_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_1.java:52: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:54: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/try_syntax_1.java:54: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/try_syntax_1.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/try_syntax_1.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/try_syntax_1.java:151: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/try_syntax_1.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/try_syntax_1.java:159: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/try_syntax_1.java:174: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_1.java:179: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/try_syntax_1.java:180: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:180: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/try_syntax_1.java:181: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:181: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/try_syntax_1.java:189: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:189: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/try_syntax_1.java:211: error: cannot find symbol Output_36 = string.f_43_43_2_f_0(Input_6, Var_16); ^ symbol: variable string location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:213: error: cannot find symbol switch (Action_4.MR_value) { ^ symbol: variable MR_value location: variable Action_4 of type Action_0 Mercury/javas/jmercury/try_syntax_1.java:213: error: illegal start of type switch (Action_4.MR_value) { ^ Mercury/javas/jmercury/try_syntax_1.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_1.java:219: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:219: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_1.java:223: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_28_28, java.lang.Integer.valueOf(Var_17)); ^ symbol: variable exception location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_1.try_syntax_1__type_ctor_info_primate_0); ^ Mercury/javas/jmercury/try_syntax_1.java:230: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_1.try_syntax_1__type_ctor_info_primate_0); ^ Mercury/javas/jmercury/try_syntax_1.java:234: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Var_19))); ^ symbol: variable exception location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_1.java:241: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_1.java:245: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_29_29, ((java.lang.Object) (Var_18))); ^ symbol: variable exception location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:283: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:291: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:299: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:307: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:315: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:328: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_37_37 = null; ^ Mercury/javas/jmercury/try_syntax_1.java:331: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/try_syntax_1.java:346: error: package jmercury.runtime does not exist TypeInfo_37_37 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_1.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_1.java:348: error: cannot find symbol TryResult_13 = exception.try_2_p_1(TypeInfo_37_37, TryLambda_35); ^ symbol: variable exception location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:350: error: illegal start of type switch (TryResult_13.data_tag) { ^ Mercury/javas/jmercury/try_syntax_1.java:353: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_39 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_13).F1); ^ Mercury/javas/jmercury/try_syntax_1.java:363: error: package univ does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_1.java:363: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_1.java:365: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_1.java:365: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:365: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_1.java:369: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_31_31, Var_14); ^ symbol: variable exception location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:384: error: cannot find symbol Var_21 = string.from_int_1_f_0(E_9); ^ symbol: variable string location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:387: error: cannot find symbol X_8 = string.f_43_43_2_f_0(Var_20, Var_21); ^ symbol: variable string location: class try_syntax_1 Mercury/javas/jmercury/try_syntax_1.java:393: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_1.java:393: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_1 100 errors gmake[3]: *** [/tmp/mmake.z1kTHR:2411: try_syntax_1] Error 1 gmake[3]: Target 'try_syntax_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_1.log] Error 1 RUNNING TEST hard_coded/try_syntax_3 in grade java FAILED TEST hard_coded/try_syntax_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_2 Making Mercury/int3s/try_syntax_2.int3 Making Mercury/ints/try_syntax_2.int Making Mercury/javas/jmercury/try_syntax_2.java Making Java class files Mercury/javas/jmercury/try_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_2__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_2.java:420: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/try_syntax_2.java:421: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/try_syntax_2.java:294: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/try_syntax_2.java:358: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_2.java:376: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/try_syntax_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_2"; ^ Mercury/javas/jmercury/try_syntax_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_2__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/try_syntax_2.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/try_syntax_2.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/try_syntax_2.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/try_syntax_2.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_2.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/try_syntax_2.java:101: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/try_syntax_2.java:102: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/try_syntax_2.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/try_syntax_2.java:131: error: cannot find symbol Output_27 = string.f_43_43_2_f_0(Input_6, Var_16); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:133: error: cannot find symbol switch (Action_4.MR_value) { ^ symbol: variable MR_value location: variable Action_4 of type Action_0 Mercury/javas/jmercury/try_syntax_2.java:133: error: illegal start of type switch (Action_4.MR_value) { ^ Mercury/javas/jmercury/try_syntax_2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:140: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:144: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_22_22, ((java.lang.Object) (Var_17))); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:149: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/try_syntax_2.java:168: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:176: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:192: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:207: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_2.java:209: error: cannot find symbol TryResult_13 = exception.try_2_p_0(TypeInfo_28_28, TryLambda_26); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:213: error: package univ does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_2.java:213: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_2.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:215: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:219: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_23_23, Var_14); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:233: error: cannot find symbol X_8 = string.f_43_43_2_f_0(Var_18, E_9); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:244: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_14); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:245: error: package jmercury.runtime does not exist TypeInfo_24_24 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/try_syntax_2.java:250: error: cannot find symbol Var_20 = string.string_1_f_0(TypeInfo_24_24, Other_10); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:253: error: cannot find symbol X_8 = string.f_43_43_2_f_0(Var_19, Var_20); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:259: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_30 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_13).F1); ^ Mercury/javas/jmercury/try_syntax_2.java:264: error: cannot find symbol io.write_string_3_p_0(X_8); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:267: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:300: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:301: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:302: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:306: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/try_syntax_2.java:311: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/try_syntax_2.java:313: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/try_syntax_2.java:324: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:338: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:338: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:405: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 82 errors gmake[3]: *** [/tmp/mmake.RK4gcD:2411: try_syntax_2] Error 1 gmake[3]: Target 'try_syntax_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_2.log] Error 1 RUNNING TEST hard_coded/try_syntax_4 in grade java FAILED TEST hard_coded/try_syntax_3 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_3.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_3 Making Mercury/int3s/try_syntax_3.int3 Making Mercury/ints/try_syntax_3.int Making Mercury/javas/jmercury/try_syntax_3.java Making Java class files Mercury/javas/jmercury/try_syntax_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_3.java:186: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_3.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_3"; ^ Mercury/javas/jmercury/try_syntax_3.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_3.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_3.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_3.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_3.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_3.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_3.java:80: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_19_19, ((java.lang.Object) (Var_11))); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_3.java:89: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_3.java:91: error: package exception does not exist exception.Exception_result_1 TryResult_8 = null; ^ Mercury/javas/jmercury/try_syntax_3.java:95: error: cannot find symbol TryResult_8 = exception.try_2_p_0(TypeCtorInfo_26_26, TryLambda_25); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:99: error: package univ does not exist univ.Univ_0 Var_9 = ((exception.Exception_result_1.Exception_1) TryResult_8).F1; ^ Mercury/javas/jmercury/try_syntax_3.java:99: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_9 = ((exception.Exception_result_1.Exception_1) TryResult_8).F1; ^ Mercury/javas/jmercury/try_syntax_3.java:101: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_3.java:101: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:101: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_3.java:105: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_20_20, Var_9); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:120: error: cannot find symbol Var_13 = string.from_int_1_f_0(E_5); ^ symbol: variable string location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:123: error: cannot find symbol X_4 = string.f_43_43_2_f_0(Var_12, Var_13); ^ symbol: variable string location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_3.java:128: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_3.java:134: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_21_21, Var_9); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_3.java:149: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_3.java:152: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_22_22, TryResult_8); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:159: error: cannot find symbol exception.unreachable_0_p_0(); ^ symbol: variable exception location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:162: error: cannot find symbol io.write_string_3_p_0(X_4); ^ symbol: variable io location: class try_syntax_3 Mercury/javas/jmercury/try_syntax_3.java:165: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class try_syntax_3 43 errors gmake[3]: *** [/tmp/mmake.yy3tsS:2411: try_syntax_3] Error 1 gmake[3]: Target 'try_syntax_3.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_3.log] Error 1 RUNNING TEST hard_coded/try_syntax_5 in grade java FAILED TEST hard_coded/try_syntax_5 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_5.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_5 Making Mercury/int3s/try_syntax_5.int3 Making Mercury/ints/try_syntax_5.int Making Mercury/javas/jmercury/try_syntax_5.java Making Java class files Mercury/javas/jmercury/try_syntax_5.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_5.java:192: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_5.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_5"; ^ Mercury/javas/jmercury/try_syntax_5.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_5.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_5.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_5.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_5.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_5.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:82: error: cannot find symbol succeeded = builtin.semidet_true_0_p_0(); ^ symbol: variable builtin location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_5.java:86: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_5.java:90: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_17_17, java.lang.Integer.valueOf(Var_10)); ^ symbol: variable exception location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:96: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_5.java:113: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:113: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_5.java:114: error: package exception does not exist exception.Exception_result_1 TryResult_7 = null; ^ Mercury/javas/jmercury/try_syntax_5.java:118: error: cannot find symbol TryResult_7 = exception.try_2_p_1(TypeCtorInfo_21_21, TryLambda_20); ^ symbol: variable exception location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:120: error: illegal start of type switch (TryResult_7.data_tag) { ^ Mercury/javas/jmercury/try_syntax_5.java:126: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:135: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/try_syntax_5.java:143: error: package univ does not exist univ.Univ_0 Var_8 = ((exception.Exception_result_1.Exception_1) TryResult_7).F1; ^ Mercury/javas/jmercury/try_syntax_5.java:143: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_8 = ((exception.Exception_result_1.Exception_1) TryResult_7).F1; ^ Mercury/javas/jmercury/try_syntax_5.java:147: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_8); ^ symbol: variable exception location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:148: error: package jmercury.runtime does not exist TypeInfo_18_18 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/try_syntax_5.java:153: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:156: error: cannot find symbol io.write_line_3_p_0(TypeInfo_18_18, E_4); ^ symbol: variable io location: class try_syntax_5 Mercury/javas/jmercury/try_syntax_5.java:161: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 37 errors gmake[3]: *** [/tmp/mmake.cS0XYA:2411: try_syntax_5] Error 1 gmake[3]: Target 'try_syntax_5.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_5.log] Error 1 RUNNING TEST hard_coded/try_syntax_6 in grade java FAILED TEST hard_coded/try_syntax_4 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_4.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_4 Making Mercury/int3s/try_syntax_4.int3 Making Mercury/ints/try_syntax_4.int Making Mercury/javas/jmercury/try_syntax_4.java Making Java class files Mercury/javas/jmercury/try_syntax_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_4__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_4__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_4__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_4__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_4__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_4.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_4.java:462: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/try_syntax_4.java:463: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/try_syntax_4.java:345: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/try_syntax_4.java:409: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/try_syntax_4.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_4"; ^ Mercury/javas/jmercury/try_syntax_4.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_4.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_4.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_4.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_4.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_4__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_4.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_4__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_4.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_4__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_4.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_4__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_4.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_4__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_4.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/try_syntax_4.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/try_syntax_4.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/try_syntax_4.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/try_syntax_4.java:95: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_4.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/try_syntax_4.java:102: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/try_syntax_4.java:103: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:103: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/try_syntax_4.java:112: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:112: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/try_syntax_4.java:113: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:113: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/try_syntax_4.java:136: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:138: error: cannot find symbol switch (Action_4.MR_value) { ^ symbol: variable MR_value location: variable Action_4 of type Action_0 Mercury/javas/jmercury/try_syntax_4.java:138: error: illegal start of type switch (Action_4.MR_value) { ^ Mercury/javas/jmercury/try_syntax_4.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:145: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:149: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_39_39, java.lang.Integer.valueOf(Var_18)); ^ symbol: variable exception location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:154: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/try_syntax_4.java:158: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:173: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:180: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:184: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:197: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_48_48 = null; ^ Mercury/javas/jmercury/try_syntax_4.java:199: error: package exception does not exist exception.Exception_result_1 TryResult_12 = null; ^ Mercury/javas/jmercury/try_syntax_4.java:210: error: package jmercury.runtime does not exist TypeInfo_48_48 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_4.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_4.java:212: error: cannot find symbol TryResult_12 = exception.try_io_4_p_0(TypeInfo_48_48, TryLambda_45); ^ symbol: variable exception location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:216: error: package univ does not exist univ.Univ_0 Var_13 = ((exception.Exception_result_1.Exception_1) TryResult_12).F1; ^ Mercury/javas/jmercury/try_syntax_4.java:216: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_13 = ((exception.Exception_result_1.Exception_1) TryResult_12).F1; ^ Mercury/javas/jmercury/try_syntax_4.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:218: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:218: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_40_40 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:222: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_40_40, Var_13); ^ symbol: variable exception location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:233: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_41_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_4.java:239: error: cannot find symbol Var_25 = string.string_1_f_0(TypeCtorInfo_41_41, java.lang.Integer.valueOf(E_8)); ^ symbol: variable string location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:242: error: cannot find symbol X_7 = string.f_43_43_2_f_0(Var_24, Var_25); ^ symbol: variable string location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:246: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:252: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_4.java:252: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:252: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_42_42 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_4.java:256: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_42_42, Var_13); ^ symbol: variable exception location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:271: error: cannot find symbol X_7 = string.f_43_43_2_f_0(Var_29, E_38); ^ symbol: variable string location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:275: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:280: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_43_43 = null; ^ Mercury/javas/jmercury/try_syntax_4.java:287: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_13); ^ symbol: variable exception location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:288: error: package jmercury.runtime does not exist TypeInfo_43_43 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/try_syntax_4.java:293: error: cannot find symbol Var_33 = string.string_1_f_0(TypeInfo_43_43, Other_9); ^ symbol: variable string location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:296: error: cannot find symbol X_7 = string.f_43_43_2_f_0(Var_32, Var_33); ^ symbol: variable string location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:300: error: cannot find symbol io.write_string_3_p_0(Var_34); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:308: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] TmpOutputTuple_49 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_12).F1); ^ Mercury/javas/jmercury/try_syntax_4.java:314: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:318: error: cannot find symbol io.write_string_3_p_0(X_7); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:321: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class try_syntax_4 Mercury/javas/jmercury/try_syntax_4.java:351: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_4.java:352: 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 Action_0 Mercury/javas/jmercury/try_syntax_4.java:353: 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 Action_0 Mercury/javas/jmercury/try_syntax_4.java:357: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/try_syntax_4.java:362: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/try_syntax_4.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/try_syntax_4.java:375: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_4.java:389: 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 Action_0 Mercury/javas/jmercury/try_syntax_4.java:389: 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 Action_0 Mercury/javas/jmercury/try_syntax_4.java:447: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 98 errors gmake[3]: *** [/tmp/mmake.kUj4kP:2411: try_syntax_4] Error 1 gmake[3]: Target 'try_syntax_4.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_4.log] Error 1 RUNNING TEST hard_coded/try_syntax_7 in grade java FAILED TEST hard_coded/try_syntax_7 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_7.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_7 Making Mercury/int3s/try_syntax_7.int3 Making Mercury/ints/try_syntax_7.int Making Mercury/javas/jmercury/try_syntax_7.java Making Java class files Mercury/javas/jmercury/try_syntax_7.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_7.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_7.java:141: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_7.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_7"; ^ Mercury/javas/jmercury/try_syntax_7.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_7.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_7.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_7.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_7.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_7.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/try_syntax_7.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/try_syntax_7.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/try_syntax_7.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/try_syntax_7.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/try_syntax_7.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/try_syntax_7.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/try_syntax_7.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_7.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_7.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_7.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_7.java:100: error: package exception does not exist exception.Exception_result_1 TryResult_8 = null; ^ Mercury/javas/jmercury/try_syntax_7.java:104: error: cannot find symbol TryResult_8 = exception.try_2_p_0(TypeInfo_16_16, TryLambda_13); ^ symbol: variable exception location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_7.java:108: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_7.java:111: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_11_11, TryResult_8); ^ symbol: variable exception location: class try_syntax_7 Mercury/javas/jmercury/try_syntax_7.java:119: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class try_syntax_7 37 errors gmake[3]: *** [/tmp/mmake.OlWce0:2411: try_syntax_7] Error 1 gmake[3]: Target 'try_syntax_7.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_7.log] Error 1 RUNNING TEST hard_coded/tuple_test_1 in grade java FAILED TEST hard_coded/try_syntax_6 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_6.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - try_syntax_6 Making Mercury/int3s/try_syntax_6.int3 Making Mercury/ints/try_syntax_6.int Making Mercury/javas/jmercury/try_syntax_6.java Making Java class files Mercury/javas/jmercury/try_syntax_6.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_6.java:754: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17, ^ Mercury/javas/jmercury/try_syntax_6.java:1149: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_6.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_6"; ^ Mercury/javas/jmercury/try_syntax_6.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_6.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_6.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_6.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_6.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_6.java:37: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:143: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:143: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/try_syntax_6.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:162: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:163: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/try_syntax_6.java:167: error: cannot find symbol TryResult_10 = exception.try_2_p_0(TypeCtorInfo_29_29, TryLambda_28); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:171: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:171: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:172: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:172: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:178: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_21_21, Var_11); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:194: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:199: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:199: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:199: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:202: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_22_22, TryResult_10); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:208: error: cannot find symbol exception.unreachable_0_p_0(); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:233: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:237: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_20_20, java.lang.Integer.valueOf(Var_13)); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:247: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:248: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/try_syntax_6.java:252: error: cannot find symbol TryResult_10 = exception.try_2_p_0(TypeCtorInfo_44_44, TryLambda_43); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:256: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:256: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:257: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:257: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:257: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:263: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_30_30, Var_11); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:279: error: cannot find symbol io.write_string_3_p_0(Var_23); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:284: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:287: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_31_31, TryResult_10); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:293: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:293: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:293: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_39_39 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:294: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/try_syntax_6.java:298: error: cannot find symbol TryResult_13 = exception.try_2_p_0(TypeCtorInfo_39_39, TryLambda_38); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:302: error: package univ does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:302: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:303: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:303: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:303: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:309: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_28_28, Var_14); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:325: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:330: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:330: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:333: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_29_29, TryResult_13); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:339: error: cannot find symbol exception.unreachable_0_p_0(); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:388: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:388: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:388: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:392: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_27_27, java.lang.Integer.valueOf(Var_16)); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:413: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:413: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:413: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/try_syntax_6.java:417: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_23_23, java.lang.Integer.valueOf(Var_16)); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:427: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:427: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:427: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_38_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:428: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/try_syntax_6.java:432: error: cannot find symbol TryResult_10 = exception.try_2_p_1(TypeCtorInfo_38_38, TryLambda_37); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:434: error: illegal start of type switch (TryResult_10.data_tag) { ^ Mercury/javas/jmercury/try_syntax_6.java:437: error: cannot find symbol exception.unreachable_0_p_0(); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:442: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:442: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:442: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:443: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/try_syntax_6.java:447: error: cannot find symbol TryResult_13 = exception.try_2_p_0(TypeCtorInfo_33_33, TryLambda_32); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:451: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:451: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:451: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/try_syntax_6.java:454: error: cannot find symbol exception.rethrow_1_p_0(TypeCtorInfo_24_24, TryResult_13); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:459: error: cannot find symbol exception.unreachable_0_p_0(); ^ symbol: variable exception location: class try_syntax_6 Mercury/javas/jmercury/try_syntax_6.java:465: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:465: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/try_syntax_6.java:466: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.8rgiju:2411: try_syntax_6] Error 1 gmake[3]: Target 'try_syntax_6.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: try_syntax_6.log] Error 1 RUNNING TEST hard_coded/tuple_test_2 in grade java FAILED TEST hard_coded/tuple_test_2 in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tuple_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tuple_test_2 Making Mercury/int3s/tuple_test_2.int3 Making Mercury/ints/tuple_test_2.int Making Mercury/javas/jmercury/tuple_test_2.java Making Java class files Mercury/javas/jmercury/tuple_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_tuple_test_2__type_ctor_info_list_0__plain_tuple_test_2__type_ctor_info_list_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tuple_test_2__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tuple_test_2__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_list_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_2tuple_test_2__type_ctor_info_list_0tuple_test_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tuple_test_2__field_types_list_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_list_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_stag_ordered_list_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tuple_test_2__du_ptag_ordered_list_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_name_ordered_list_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_2__type_ctor_info_list_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:198: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:749: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/tuple_test_2.java:766: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/tuple_test_2.java:203: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:204: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/tuple_test_2.java:472: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tuple_test_2.java:512: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tuple_test_2.java:646: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tuple_test_2.java:706: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/tuple_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tuple_test_2"; ^ Mercury/javas/jmercury/tuple_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tuple_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tuple_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tuple_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tuple_test_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_tuple_test_2__type_ctor_info_list_0__plain_tuple_test_2__type_ctor_info_list_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tuple_test_2__field_types_fruit_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_fruit_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_stag_ordered_fruit_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tuple_test_2__du_ptag_ordered_fruit_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_name_ordered_fruit_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_list_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vti_tuple_2tuple_test_2__type_ctor_info_list_0tuple_test_2__type_ctor_info_fruit_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] tuple_test_2__field_types_list_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc tuple_test_2__du_functor_desc_list_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/tuple_test_2.java:44: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_stag_ordered_list_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:45: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] tuple_test_2__du_ptag_ordered_list_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] tuple_test_2__du_name_ordered_list_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:48: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_2__type_ctor_info_list_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_2.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tuple_test_2.tuple_test_2__type_ctor_info_list_0, ^ Mercury/javas/jmercury/tuple_test_2.java:56: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tuple_test_2.tuple_test_2__type_ctor_info_list_0 ^ Mercury/javas/jmercury/tuple_test_2.java:60: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/tuple_test_2.java:60: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:65: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:73: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/tuple_test_2.java:81: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/tuple_test_2.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tuple_test_2.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tuple_test_2.java:115: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:123: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:127: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_list_0), ^ Mercury/javas/jmercury/tuple_test_2.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_fruit_0) ^ Mercury/javas/jmercury/tuple_test_2.java:134: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tuple_test_2.__vti_tuple_2tuple_test_2__type_ctor_info_list_0tuple_test_2__type_ctor_info_fruit_0; ^ Mercury/javas/jmercury/tuple_test_2.java:139: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:147: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:155: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/tuple_test_2.java:157: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/tuple_test_2.java:180: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tuple_test_2.java:183: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tuple_test_2.java:198: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/tuple_test_2.java:203: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/tuple_test_2.java:204: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_7 = new list.List_1.F_cons_2[4]; ^ Mercury/javas/jmercury/tuple_test_2.java:210: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_2.java:211: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:211: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_2.java:212: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_list_0))), ^ Mercury/javas/jmercury/tuple_test_2.java:213: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_list_0))) ^ Mercury/javas/jmercury/tuple_test_2.java:216: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_2.java:217: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:217: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_2.java:218: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_list_0))), ^ Mercury/javas/jmercury/tuple_test_2.java:219: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_2.tuple_test_2__type_ctor_info_fruit_0))) ^ Mercury/javas/jmercury/tuple_test_2.java:270: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/tuple_test_2.java:272: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/tuple_test_2.java:274: error: package list does not exist (list.List_1) tuple_test_2.MR_scalar_common_6[0] ^ Mercury/javas/jmercury/tuple_test_2.java:277: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/tuple_test_2.java:279: error: package list does not exist (list.List_1) tuple_test_2.MR_scalar_common_7[0] ^ Mercury/javas/jmercury/tuple_test_2.java:282: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/tuple_test_2.java:284: error: package list does not exist (list.List_1) tuple_test_2.MR_scalar_common_7[1] ^ Mercury/javas/jmercury/tuple_test_2.java:287: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/tuple_test_2.java:289: error: package list does not exist (list.List_1) tuple_test_2.MR_scalar_common_7[2] ^ Mercury/javas/jmercury/tuple_test_2.java:297: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class tuple_test_2 Mercury/javas/jmercury/tuple_test_2.java:297: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/tuple_test_2.java:298: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class tuple_test_2 100 errors gmake[3]: *** [/tmp/mmake.A0lZVu:2411: tuple_test_2] Error 1 gmake[3]: Target 'tuple_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tuple_test_2.log] Error 1 FAILED TEST hard_coded/tuple_test_1 in grade java LOG OF THE FAILED TEST RUNNING TEST hard_coded/type_ctor_desc in grade java MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tuple_test_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - tuple_test_1 Making Mercury/int3s/tuple_test_1.int3 Making Mercury/ints/tuple_test_1.int Making Mercury/javas/jmercury/tuple_test_1.java Making Java class files Mercury/javas/jmercury/tuple_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_4__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_1__type_ctor_info_foo_3 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/tuple_test_1.java:84: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/tuple_test_1.java:85: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/tuple_test_1.java:251: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/tuple_test_1.java:252: error: package bool does not exist bool.Bool_0 HeadVar__1_1, ^ Mercury/javas/jmercury/tuple_test_1.java:642: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/tuple_test_1.java:666: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/tuple_test_1.java:707: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_4, ^ Mercury/javas/jmercury/tuple_test_1.java:708: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_5, ^ Mercury/javas/jmercury/tuple_test_1.java:709: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_C_6, ^ Mercury/javas/jmercury/tuple_test_1.java:735: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_6, ^ Mercury/javas/jmercury/tuple_test_1.java:736: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_7, ^ Mercury/javas/jmercury/tuple_test_1.java:737: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_C_8, ^ Mercury/javas/jmercury/tuple_test_1.java:733: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/tuple_test_1.java:783: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_5, ^ Mercury/javas/jmercury/tuple_test_1.java:784: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_B_6, ^ Mercury/javas/jmercury/tuple_test_1.java:785: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_C_7, ^ Mercury/javas/jmercury/tuple_test_1.java:829: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11, ^ Mercury/javas/jmercury/tuple_test_1.java:830: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12, ^ Mercury/javas/jmercury/tuple_test_1.java:831: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13, ^ Mercury/javas/jmercury/tuple_test_1.java:851: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/tuple_test_1.java:870: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/tuple_test_1.java:890: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr5 ^ Mercury/javas/jmercury/tuple_test_1.java:939: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/tuple_test_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "tuple_test_1"; ^ Mercury/javas/jmercury/tuple_test_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/tuple_test_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/tuple_test_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/tuple_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/tuple_test_1.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_4__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2__pseudo_3 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct tuple_test_1__type_ctor_info_foo_3 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/tuple_test_1.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/tuple_test_1.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/tuple_test_1.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:46: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:48: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/tuple_test_1.java:48: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:49: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/tuple_test_1.java:50: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2, ^ Mercury/javas/jmercury/tuple_test_1.java:51: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K3 ^ Mercury/javas/jmercury/tuple_test_1.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV, ^ Mercury/javas/jmercury/tuple_test_1.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/tuple_test_1.java:66: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/tuple_test_1.java:67: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) tuple_test_1.__vpti_tuple_4__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2__pseudo_3 ^ Mercury/javas/jmercury/tuple_test_1.java:81: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[6]; ^ Mercury/javas/jmercury/tuple_test_1.java:84: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/tuple_test_1.java:85: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/tuple_test_1.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_1.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/tuple_test_1.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/tuple_test_1.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_1.java:99: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:99: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/tuple_test_1.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_1.java:104: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:104: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:105: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:105: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:106: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:107: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_1.MR_scalar_common_1[0]))), ^ Mercury/javas/jmercury/tuple_test_1.java:108: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:108: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:109: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_1.MR_scalar_common_1[1]))) ^ Mercury/javas/jmercury/tuple_test_1.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_1.java:113: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:113: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:114: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:114: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tuple_test_1.MR_scalar_common_1[2]))), ^ Mercury/javas/jmercury/tuple_test_1.java:116: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:116: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/tuple_test_1.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/tuple_test_1.java:120: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:120: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:121: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:121: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:122: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:122: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:123: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:123: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/tuple_test_1.java:124: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class tuple_test_1 Mercury/javas/jmercury/tuple_test_1.java:124: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/tuple_test_1.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ 100 errors gmake[3]: *** [/tmp/mmake.fEY7jS:2411: tuple_test_1] Error 1 gmake[3]: Target 'tuple_test_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: tuple_test_1.log] Error 1 RUNNING TEST hard_coded/type_ctor_desc_manip in grade java FAILED TEST hard_coded/type_ctor_desc in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_ctor_desc.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_ctor_desc Making Mercury/int3s/type_ctor_desc.int3 Making Mercury/ints/type_ctor_desc.int Making Mercury/javas/jmercury/type_ctor_desc.java Making Java class files Mercury/javas/jmercury/type_ctor_desc.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_ctor_desc.java:134: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/type_ctor_desc.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_ctor_desc"; ^ Mercury/javas/jmercury/type_ctor_desc.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_ctor_desc.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_ctor_desc.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_ctor_desc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_ctor_desc.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_ctor_desc.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/type_ctor_desc.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc.java:41: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:41: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc.java:44: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_ctor_desc.java:46: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))) ^ symbol: variable type_desc location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:46: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_desc_0))) ^ Mercury/javas/jmercury/type_ctor_desc.java:53: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:53: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/type_ctor_desc.java:54: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:54: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/type_ctor_desc.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_ctor_desc.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_ctor_desc.java:73: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_ctor_desc.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_ctor_desc.java:74: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:75: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Type_4 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorInfo_Struct TypeCtor_5 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:79: error: package list does not exist list.List_1 TypeArgs_6 = null; ^ Mercury/javas/jmercury/type_ctor_desc.java:83: error: cannot find symbol Type_4 = type_desc.type_of_1_f_0(TypeInfo_13_13); ^ symbol: variable type_desc location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:86: error: cannot find symbol java.lang.Object [] result = type_desc.type_ctor_and_args_3_p_0(Type_4); ^ symbol: variable type_desc location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:87: error: package jmercury.runtime does not exist TypeCtor_5 = (jmercury.runtime.TypeCtorInfo_Struct) result[0]; ^ Mercury/javas/jmercury/type_ctor_desc.java:88: error: package list does not exist TypeArgs_6 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/type_ctor_desc.java:90: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_ctor_desc_0); ^ symbol: variable type_desc location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:90: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_desc.type_desc__type_ctor_info_type_ctor_desc_0); ^ Mercury/javas/jmercury/type_ctor_desc.java:92: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, ((java.lang.Object) (TypeCtor_5))); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:95: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:95: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/type_ctor_desc.java:97: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Var_11))); ^ symbol: variable io location: class type_ctor_desc Mercury/javas/jmercury/type_ctor_desc.java:99: error: package jmercury.runtime does not exist TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_ctor_desc.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/type_ctor_desc.java:101: error: cannot find symbol io.write_line_3_p_0(TypeInfo_18_18, ((java.lang.Object) (TypeArgs_6))); ^ symbol: variable io location: class type_ctor_desc 50 errors gmake[3]: *** [/tmp/mmake.5XmiCa:2411: type_ctor_desc] Error 1 gmake[3]: Target 'type_ctor_desc.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_ctor_desc.log] Error 1 RUNNING TEST hard_coded/type_info_const_inst in grade java FAILED TEST hard_coded/type_ctor_desc_manip in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_ctor_desc_manip.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_ctor_desc_manip Making Mercury/int3s/type_ctor_desc_manip.int3 Making Mercury/ints/type_ctor_desc_manip.int Making Mercury/javas/jmercury/type_ctor_desc_manip.java Making Java class files Mercury/javas/jmercury/type_ctor_desc_manip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[13]; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:580: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:581: error: package list does not exist list.List_1 L_5, ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:582: error: package list does not exist list.List_1 All_6) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:607: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:609: error: package list does not exist list.List_1 L_6) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:687: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Type_4) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:751: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:811: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_ctor_desc_manip"; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[13]; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:47: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:48: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:48: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:54: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:54: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_func_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:55: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:55: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:56: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:56: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_pred_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:67: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:67: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:68: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:68: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:71: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:80: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:80: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:85: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:85: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:90: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:90: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:95: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:95: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:96: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:96: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:100: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:100: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:101: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:102: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ symbol: variable builtin location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_float_0))) ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:105: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:106: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ symbol: variable tree234 location: class type_ctor_desc_manip Mercury/javas/jmercury/type_ctor_desc_manip.java:106: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(tree234.tree234__type_ctor_info_tree234_2))), ^ Mercury/javas/jmercury/type_ctor_desc_manip.java:107: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))), ^ symbol: variable builtin location: class type_ctor_desc_manip 100 errors gmake[3]: *** [/tmp/mmake.NdDKZ7:2411: type_ctor_desc_manip] Error 1 gmake[3]: Target 'type_ctor_desc_manip.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_ctor_desc_manip.log] Error 1 RUNNING TEST hard_coded/type_info_order in grade java FAILED TEST hard_coded/type_info_const_inst in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_info_const_inst.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_info_const_inst Making Mercury/int3s/type_info_const_inst.int3 Making Mercury/ints/type_info_const_inst.int Making Mercury/javas/jmercury/type_info_const_inst.java Making Java class files Mercury/javas/jmercury/type_info_const_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_a_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_a_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_a_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_a_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_a_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_a_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_b_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_b_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_b_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_b_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_b_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_thing_2_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/type_info_const_inst.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_thing_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_thing_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_thing_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_thing_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_thing_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:227: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:723: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/type_info_const_inst.java:867: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/type_info_const_inst.java:847: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/type_info_const_inst.java:282: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_13, ^ Mercury/javas/jmercury/type_info_const_inst.java:283: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_14, ^ Mercury/javas/jmercury/type_info_const_inst.java:397: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_info_const_inst.java:455: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_info_const_inst.java:525: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_14, ^ Mercury/javas/jmercury/type_info_const_inst.java:526: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_15, ^ Mercury/javas/jmercury/type_info_const_inst.java:523: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_info_const_inst.java:670: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/type_info_const_inst.java:671: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_12, ^ Mercury/javas/jmercury/type_info_const_inst.java:743: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/type_info_const_inst.java:803: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/type_info_const_inst.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_info_const_inst"; ^ Mercury/javas/jmercury/type_info_const_inst.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_info_const_inst.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_info_const_inst.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_info_const_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_info_const_inst.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_a_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_a_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_a_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_a_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_a_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_a_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_b_0_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_b_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_b_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_b_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_b_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_b_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:46: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_info_const_inst__field_types_thing_2_0 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/type_info_const_inst.java:47: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_info_const_inst__du_functor_desc_thing_2_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_info_const_inst.java:48: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_stag_ordered_thing_2_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_info_const_inst__du_ptag_ordered_thing_2 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_info_const_inst__du_name_ordered_thing_2 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/type_info_const_inst.java:52: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_info_const_inst__type_ctor_info_thing_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_info_const_inst.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/type_info_const_inst.java:57: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/type_info_const_inst.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:72: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:78: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:80: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/type_info_const_inst.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_info_const_inst.java:102: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:111: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/type_info_const_inst.java:111: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:113: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/type_info_const_inst.java:113: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:118: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:126: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:134: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/type_info_const_inst.java:153: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_info_const_inst.java:156: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:165: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/type_info_const_inst.java:167: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2; ^ Mercury/javas/jmercury/type_info_const_inst.java:169: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/type_info_const_inst.java:169: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:174: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:182: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:188: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:190: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class type_info_const_inst Mercury/javas/jmercury/type_info_const_inst.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/type_info_const_inst.java:209: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_info_const_inst.java:212: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_info_const_inst.java:227: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_info_const_inst.java:234: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_info_const_inst.java:235: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_info_const_inst.type_info_const_inst__type_ctor_info_thing_2))), ^ Mercury/javas/jmercury/type_info_const_inst.java:236: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_info_const_inst.type_info_const_inst__type_ctor_info_a_0))), ^ Mercury/javas/jmercury/type_info_const_inst.java:237: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(type_info_const_inst.type_info_const_inst__type_ctor_info_a_0))) ^ Note: Mercury/javas/jmercury/type_info_const_inst.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors gmake[3]: *** [/tmp/mmake.YFWq5U:2411: type_info_const_inst] Error 1 gmake[3]: Target 'type_info_const_inst.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_info_const_inst.log] Error 1 RUNNING TEST hard_coded/type_qual in grade java FAILED TEST hard_coded/type_info_order in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_info_order.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_info_order Making Mercury/int3s/type_info_order.int3 Making Mercury/ints/type_info_order.int Making Mercury/javas/jmercury/type_info_order.java Making Java class files Mercury/javas/jmercury/type_info_order.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_info_order"; ^ Mercury/javas/jmercury/type_info_order.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_info_order.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_info_order.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_info_order Mercury/javas/jmercury/type_info_order.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_info_order Mercury/javas/jmercury/type_info_order.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_info_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_info_order Mercury/javas/jmercury/type_info_order.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_info_order Mercury/javas/jmercury/type_info_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_info_order Mercury/javas/jmercury/type_info_order.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_info_order Mercury/javas/jmercury/type_info_order.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_info_order.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/type_info_order.java:37: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class type_info_order Mercury/javas/jmercury/type_info_order.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/type_info_order.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_6_13 = TypeCtorInfo_10_10; ^ Mercury/javas/jmercury/type_info_order.java:43: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_6_13, B_11, B_11); ^ symbol: variable builtin location: class type_info_order Mercury/javas/jmercury/type_info_order.java:50: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class type_info_order Mercury/javas/jmercury/type_info_order.java:58: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class type_info_order 18 errors gmake[3]: *** [/tmp/mmake.AMXnmC:2411: type_info_order] Error 1 gmake[3]: Target 'type_info_order.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_info_order.log] Error 1 RUNNING TEST hard_coded/type_spec_ho_term in grade java FAILED TEST hard_coded/type_spec_ho_term in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_spec_ho_term.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_spec_ho_term Making Mercury/int3s/type_spec_ho_term.int3 Making Mercury/ints/type_spec_ho_term.int Making Mercury/javas/jmercury/type_spec_ho_term.java Making Java class files Mercury/javas/jmercury/type_spec_ho_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/type_spec_ho_term.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:51: 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/type_spec_ho_term.java:52: 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[4]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:246: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/type_spec_ho_term.java:265: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/type_spec_ho_term.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_spec_ho_term"; ^ Mercury/javas/jmercury/type_spec_ho_term.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_spec_ho_term.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_spec_ho_term.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_spec_ho_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_spec_ho_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/type_spec_ho_term.java:37: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:39: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/type_spec_ho_term.java:40: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/type_spec_ho_term.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:51: 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/type_spec_ho_term.java:52: 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[4]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:60: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_spec_ho_term.java:61: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ symbol: variable term location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:61: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ Mercury/javas/jmercury/type_spec_ho_term.java:62: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:62: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/type_spec_ho_term.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/type_spec_ho_term.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:69: error: package list does not exist (list.List_1) type_spec_ho_term.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_spec_ho_term.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:74: error: package list does not exist (list.List_1) type_spec_ho_term.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_spec_ho_term.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:79: error: package list does not exist (list.List_1) type_spec_ho_term.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/type_spec_ho_term.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:84: error: package list does not exist (list.List_1) type_spec_ho_term.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/type_spec_ho_term.java:97: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:97: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/type_spec_ho_term.java:98: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:98: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/type_spec_ho_term.java:108: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:108: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/type_spec_ho_term.java:109: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:109: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/type_spec_ho_term.java:110: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:110: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/type_spec_ho_term.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/type_spec_ho_term.java:129: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:129: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/type_spec_ho_term.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_33_33 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_34_34 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_36 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:133: error: package varset does not exist varset.Varset_1 VarSet0_4 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:134: error: package list does not exist list.List_1 Vars_5 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:135: error: package tree234 does not exist tree234.Tree234_2 Map_7 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:136: error: package list does not exist list.List_1 List_8 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:138: error: package list does not exist list.List_1 Var_13 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:139: error: package list does not exist list.List_1 Var_22 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:140: error: package term does not exist term.Var_1 Var_23 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:142: error: package list does not exist list.List_1 Var_25 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:143: error: package term does not exist term.Var_1 Var_26 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:145: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:149: error: package varset does not exist varset.Varset_1 _VarSet_6 = null; ^ Mercury/javas/jmercury/type_spec_ho_term.java:154: error: cannot find symbol VarSet0_4 = varset.init_1_p_0(TypeCtorInfo_32_32); ^ symbol: variable varset location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:158: error: cannot find symbol java.lang.Object [] result = varset.new_vars_4_p_0(TypeCtorInfo_32_32, Var_12, VarSet0_4); ^ symbol: variable varset location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:159: error: package list does not exist Vars_5 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:160: error: package varset does not exist _VarSet_6 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:162: error: package list does not exist Var_13 = (list.List_1) type_spec_ho_term.MR_scalar_common_3[3]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:163: error: package jmercury.runtime does not exist TypeInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_spec_ho_term.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_spec_ho_term.java:164: error: cannot find symbol TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:164: error: package jmercury.runtime does not exist TypeCtorInfo_34_34 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/type_spec_ho_term.java:166: error: cannot find symbol Map_7 = map.from_corresponding_lists_3_p_0(TypeInfo_33_33, TypeCtorInfo_34_34, Vars_5, Var_13); ^ symbol: variable map location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:170: error: cannot find symbol conv0_Var_23 = list.det_index1_2_f_0(TypeInfo_33_33, Vars_5, Var_24); ^ symbol: variable list location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:172: error: package term does not exist Var_23 = ((term.Var_1) conv0_Var_23); ^ Mercury/javas/jmercury/type_spec_ho_term.java:175: error: cannot find symbol conv1_Var_26 = list.det_index1_2_f_0(TypeInfo_33_33, Vars_5, Var_27); ^ symbol: variable list location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:177: error: package term does not exist Var_26 = ((term.Var_1) conv1_Var_26); ^ Mercury/javas/jmercury/type_spec_ho_term.java:178: error: package list does not exist Var_28 = (list.List_1) type_spec_ho_term.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/type_spec_ho_term.java:180: error: package list.List_1 does not exist Var_25 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:186: error: package list.List_1 does not exist Var_22 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_ho_term.java:191: error: package jmercury.runtime does not exist TypeInfo_for_T_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_spec_ho_term.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_spec_ho_term.java:203: error: cannot find symbol List_8 = list.map_3_p_0(TypeInfo_for_T_36, TypeCtorInfo_34_34, Var_35, Var_22); ^ symbol: variable list location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:208: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_34_34, List_8, Var_29, Var_30); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:211: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:224: error: package jmercury.runtime does not exist wrapper_arg_2 = map.lookup_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((tree234.Tree234_2) ((java.lang.Object[]) closure)[5]), wrapper_arg_1); ^ Mercury/javas/jmercury/type_spec_ho_term.java:224: error: package jmercury.runtime does not exist wrapper_arg_2 = map.lookup_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((tree234.Tree234_2) ((java.lang.Object[]) closure)[5]), wrapper_arg_1); ^ Mercury/javas/jmercury/type_spec_ho_term.java:224: error: package tree234 does not exist wrapper_arg_2 = map.lookup_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((tree234.Tree234_2) ((java.lang.Object[]) closure)[5]), wrapper_arg_1); ^ Mercury/javas/jmercury/type_spec_ho_term.java:224: error: cannot find symbol wrapper_arg_2 = map.lookup_3_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[4]), ((tree234.Tree234_2) ((java.lang.Object[]) closure)[5]), wrapper_arg_1); ^ symbol: variable map location: class type_spec_ho_term Mercury/javas/jmercury/type_spec_ho_term.java:239: error: cannot find symbol io.write_string_3_p_0(((java.lang.String) wrapper_arg_1)); ^ symbol: variable io location: class type_spec_ho_term 90 errors gmake[3]: *** [/tmp/mmake.4H3bSL:2411: type_spec_ho_term] Error 1 gmake[3]: Target 'type_spec_ho_term.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_spec_ho_term.log] Error 1 RUNNING TEST hard_coded/type_spec_modes in grade java FAILED TEST hard_coded/type_qual in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inform-inferred-types --infer-all --from-ground-term-threshold=4 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_qual.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-inform-inferred-types --infer-all --from-ground-term-threshold=4 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_qual Making Mercury/int3s/type_qual.int3 Making Mercury/ints/type_qual.int Making Mercury/javas/jmercury/type_qual.java type_qual.m:119: Inferred :- mode empty(uo) is det. Making Java class files Mercury/javas/jmercury/type_qual.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/type_qual.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual__type_ctor_info_my_map_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/type_qual.java:72: 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/type_qual.java:73: 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/type_qual.java:321: error: package bool does not exist bool.Bool_0 HeadVar__1_1) ^ Mercury/javas/jmercury/type_qual.java:441: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for__K_6, ^ Mercury/javas/jmercury/type_qual.java:442: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_7, ^ Mercury/javas/jmercury/type_qual.java:443: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2, ^ Mercury/javas/jmercury/type_qual.java:444: error: package tree234 does not exist tree234.Tree234_2 HeadVar__3_3) ^ Mercury/javas/jmercury/type_qual.java:439: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_qual.java:476: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for__K_5, ^ Mercury/javas/jmercury/type_qual.java:477: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_V_6, ^ Mercury/javas/jmercury/type_qual.java:478: error: package tree234 does not exist tree234.Tree234_2 HeadVar__1_1, ^ Mercury/javas/jmercury/type_qual.java:479: error: package tree234 does not exist tree234.Tree234_2 HeadVar__2_2) ^ Mercury/javas/jmercury/type_qual.java:509: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/type_qual.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_qual"; ^ Mercury/javas/jmercury/type_qual.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_qual.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_qual.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_qual Mercury/javas/jmercury/type_qual.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_qual Mercury/javas/jmercury/type_qual.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_qual.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/type_qual.java:33: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual__type_ctor_info_my_map_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual.java:38: error: cannot find symbol tree234.tree234__type_ctor_info_tree234_2, ^ symbol: variable tree234 location: class type_qual Mercury/javas/jmercury/type_qual.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/type_qual.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class type_qual Mercury/javas/jmercury/type_qual.java:41: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/type_qual.java:48: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV, ^ Mercury/javas/jmercury/type_qual.java:53: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_qual.java:56: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_qual.java:57: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) type_qual.tree234__pti_tree234_2__plain_builtin__type_ctor_info_int_0__pseudo_2 ^ Mercury/javas/jmercury/type_qual.java:71: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[5]; ^ Mercury/javas/jmercury/type_qual.java:72: 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/type_qual.java:73: 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/type_qual.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_qual.java:78: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_qual Mercury/javas/jmercury/type_qual.java:78: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_qual.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/type_qual.java:82: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_qual.java:83: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_read_result_1))), ^ symbol: variable io location: class type_qual Mercury/javas/jmercury/type_qual.java:83: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_read_result_1))), ^ Mercury/javas/jmercury/type_qual.java:84: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_qual Mercury/javas/jmercury/type_qual.java:84: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_qual.java:87: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_qual.java:88: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_qual Mercury/javas/jmercury/type_qual.java:88: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_qual.java:89: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_qual Mercury/javas/jmercury/type_qual.java:89: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_qual.java:92: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_qual.java:93: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_qual Mercury/javas/jmercury/type_qual.java:93: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_qual.java:94: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class type_qual Mercury/javas/jmercury/type_qual.java:94: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/type_qual.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_qual.java:98: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ symbol: variable list location: class type_qual Mercury/javas/jmercury/type_qual.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1), ^ Mercury/javas/jmercury/type_qual.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(type_qual.MR_scalar_common_1[0]) ^ Mercury/javas/jmercury/type_qual.java:102: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/type_qual.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_qual.java:106: error: package list does not exist (list.List_1) type_qual.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_qual.java:109: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_qual.java:111: error: package list does not exist (list.List_1) type_qual.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_qual.java:114: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_qual.java:116: error: package list does not exist (list.List_1) type_qual.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/type_qual.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null; ^ Mercury/javas/jmercury/type_qual.java:131: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_22 = null; ^ Mercury/javas/jmercury/type_qual.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_23 = null; ^ Mercury/javas/jmercury/type_qual.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_32 = null; ^ Mercury/javas/jmercury/type_qual.java:134: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_34 = null; ^ Mercury/javas/jmercury/type_qual.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_45 = null; ^ Mercury/javas/jmercury/type_qual.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_46 = null; ^ Mercury/javas/jmercury/type_qual.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_16_57 = null; ^ Mercury/javas/jmercury/type_qual.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_58 = null; ^ Mercury/javas/jmercury/type_qual.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_59 = null; ^ Mercury/javas/jmercury/type_qual.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_60 = null; ^ Mercury/javas/jmercury/type_qual.java:141: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_70 = null; ^ Mercury/javas/jmercury/type_qual.java:142: error: package bool does not exist bool.Bool_0 Var_11 = null; ^ Mercury/javas/jmercury/type_qual.java:143: error: package bool does not exist bool.Bool_0 Var_13 = null; ^ Mercury/javas/jmercury/type_qual.java:144: error: package io does not exist io.Read_result_1 X_17 = null; ^ Mercury/javas/jmercury/type_qual.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_27 = null; ^ Mercury/javas/jmercury/type_qual.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_30 = null; ^ Mercury/javas/jmercury/type_qual.java:149: error: package list does not exist list.List_1 X_35 = null; ^ Mercury/javas/jmercury/type_qual.java:151: error: package list does not exist list.List_1 Var_38 = null; ^ Mercury/javas/jmercury/type_qual.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_40 = null; ^ Mercury/javas/jmercury/type_qual.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_44 = null; ^ Mercury/javas/jmercury/type_qual.java:154: error: package list does not exist list.List_1 List_48 = null; ^ Mercury/javas/jmercury/type_qual.java:155: error: package list does not exist list.List_1 EmptyList_49 = null; ^ Mercury/javas/jmercury/type_qual.java:157: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_52 = null; ^ Mercury/javas/jmercury/type_qual.java:158: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_55 = null; ^ Mercury/javas/jmercury/type_qual.java:159: error: package list does not exist list.List_1 HeadVar__1_63 = null; ^ Mercury/javas/jmercury/type_qual.java:161: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_30_94 = null; ^ Mercury/javas/jmercury/type_qual.java:162: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct X_72 = null; ^ Mercury/javas/jmercury/type_qual.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_96 = null; ^ 100 errors gmake[3]: *** [/tmp/mmake.Iohjtu:2411: type_qual] Error 1 gmake[3]: Target 'type_qual.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_qual.log] Error 1 RUNNING TEST hard_coded/type_to_term in grade java FAILED TEST hard_coded/type_spec_modes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_spec_modes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_spec_modes Making Mercury/int3s/type_spec_modes.int3 Making Mercury/ints/type_spec_modes.int Making Mercury/javas/jmercury/type_spec_modes.java Making Java class files Mercury/javas/jmercury/type_spec_modes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/type_spec_modes.java:33: 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/type_spec_modes.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[12]; ^ Mercury/javas/jmercury/type_spec_modes.java:124: error: package list does not exist list.List_1 X_3, ^ Mercury/javas/jmercury/type_spec_modes.java:125: error: package list does not exist list.List_1 X_2) ^ Mercury/javas/jmercury/type_spec_modes.java:138: error: package list does not exist list.List_1 X_2) ^ Mercury/javas/jmercury/type_spec_modes.java:136: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/type_spec_modes.java:326: error: package list does not exist list.List_1 Bs_5) ^ Mercury/javas/jmercury/type_spec_modes.java:323: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/type_spec_modes.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_10, ^ Mercury/javas/jmercury/type_spec_modes.java:380: error: package list does not exist list.List_1 Bs_5) ^ Mercury/javas/jmercury/type_spec_modes.java:376: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/type_spec_modes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_spec_modes"; ^ Mercury/javas/jmercury/type_spec_modes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_spec_modes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_spec_modes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_spec_modes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_spec_modes.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/type_spec_modes.java:33: 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/type_spec_modes.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[12]; ^ Mercury/javas/jmercury/type_spec_modes.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_spec_modes.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_spec_modes.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_spec_modes.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/type_spec_modes.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:47: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_spec_modes.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:52: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_spec_modes.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:57: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/type_spec_modes.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:62: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_spec_modes.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:67: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/type_spec_modes.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:72: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/type_spec_modes.java:75: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:77: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_spec_modes.java:80: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:82: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_spec_modes.java:85: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:87: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_spec_modes.java:90: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:92: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/type_spec_modes.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:97: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/type_spec_modes.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_spec_modes.java:102: error: package list does not exist (list.List_1) type_spec_modes.MR_scalar_common_3[8] ^ Mercury/javas/jmercury/type_spec_modes.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_spec_modes.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_spec_modes.java:128: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_spec_modes.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_spec_modes.java:131: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_4, ((java.lang.Object) (X_2)), ((java.lang.Object) (X_3))); ^ symbol: variable builtin location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:140: error: package list does not exist list.List_1 X_3 = X_2; ^ Mercury/javas/jmercury/type_spec_modes.java:149: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_99_99 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:150: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_100_100 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:151: error: package list does not exist list.List_1 X_4 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:152: error: package bool does not exist bool.Bool_0 IsAscending123_5 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:153: error: package bool does not exist bool.Bool_0 IsAscending133_6 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:154: error: package bool does not exist bool.Bool_0 IsAscending213_7 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:155: error: package bool does not exist bool.Bool_0 IsAscendingABC_8 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:156: error: package bool does not exist bool.Bool_0 IsAscendingACC_9 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:157: error: package bool does not exist bool.Bool_0 IsAscendingBAC_10 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:158: error: package list does not exist list.List_1 Var_37 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:160: error: package list does not exist list.List_1 Var_55 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:162: error: package list does not exist list.List_1 Var_62 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:164: error: package list does not exist list.List_1 Var_69 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:166: error: package list does not exist list.List_1 Var_76 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:168: error: package list does not exist list.List_1 Var_83 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:170: error: package list does not exist list.List_1 Var_90 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:173: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:174: error: package list does not exist list.List_1 Var_20 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:176: error: package list does not exist list.List_1 Var_45 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:178: error: package list does not exist list.List_1 Var_47 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:180: error: package list does not exist list.List_1 Var_49 = null; ^ Mercury/javas/jmercury/type_spec_modes.java:190: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:198: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:201: error: package list does not exist Var_19 = (list.List_1) type_spec_modes.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/type_spec_modes.java:202: error: package list does not exist Var_20 = (list.List_1) type_spec_modes.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/type_spec_modes.java:211: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:219: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:222: error: package list does not exist Var_37 = (list.List_1) type_spec_modes.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/type_spec_modes.java:229: error: package list.List_1 does not exist Var_44 = ((java.lang.Integer) (((list.List_1.F_cons_2) X_4).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:229: error: illegal start of type Var_44 = ((java.lang.Integer) (((list.List_1.F_cons_2) X_4).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:230: error: package list.List_1 does not exist Var_45 = ((list.List_1.F_cons_2) X_4).F2; ^ Mercury/javas/jmercury/type_spec_modes.java:237: error: package list.List_1 does not exist Var_46 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_45).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:237: error: illegal start of type Var_46 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_45).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:238: error: package list.List_1 does not exist Var_47 = ((list.List_1.F_cons_2) Var_45).F2; ^ Mercury/javas/jmercury/type_spec_modes.java:245: error: package list.List_1 does not exist Var_48 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_47).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:245: error: illegal start of type Var_48 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_47).F1)).intValue(); ^ Mercury/javas/jmercury/type_spec_modes.java:246: error: package list.List_1 does not exist Var_49 = ((list.List_1.F_cons_2) Var_47).F2; ^ Mercury/javas/jmercury/type_spec_modes.java:260: error: cannot find symbol io.write_string_3_p_0(Var_50); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:268: error: cannot find symbol io.write_string_3_p_0(Var_52); ^ symbol: variable io location: class type_spec_modes Mercury/javas/jmercury/type_spec_modes.java:272: error: package list does not exist Var_55 = (list.List_1) type_spec_modes.MR_scalar_common_3[1]; ^ 100 errors gmake[3]: *** [/tmp/mmake.XUaL6z:2411: type_spec_modes] Error 1 gmake[3]: Target 'type_spec_modes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_spec_modes.log] Error 1 RUNNING TEST hard_coded/type_to_term_bug in grade java FAILED TEST hard_coded/type_to_term in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_to_term.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_to_term Making Mercury/int3s/type_to_term.int3 Making Mercury/ints/type_to_term.int Making Mercury/javas/jmercury/type_to_term.java Making Java class files Mercury/javas/jmercury/type_to_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/type_to_term.java:33: 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/type_to_term.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/type_to_term.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_to_term"; ^ Mercury/javas/jmercury/type_to_term.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_to_term.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_to_term.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_to_term Mercury/javas/jmercury/type_to_term.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_to_term Mercury/javas/jmercury/type_to_term.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_to_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_to_term.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/type_to_term.java:33: 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/type_to_term.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/type_to_term.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_to_term.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class type_to_term Mercury/javas/jmercury/type_to_term.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/type_to_term.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_to_term Mercury/javas/jmercury/type_to_term.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_to_term.java:43: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_to_term.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ symbol: variable array location: class type_to_term Mercury/javas/jmercury/type_to_term.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(array.array__type_ctor_info_array_1))), ^ Mercury/javas/jmercury/type_to_term.java:45: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_to_term Mercury/javas/jmercury/type_to_term.java:45: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_to_term.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_to_term.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ symbol: variable version_array location: class type_to_term Mercury/javas/jmercury/type_to_term.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(version_array.version_array__type_ctor_info_version_array_1))), ^ Mercury/javas/jmercury/type_to_term.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_to_term Mercury/javas/jmercury/type_to_term.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_to_term.java:53: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/type_to_term.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_to_term.java:57: error: package list does not exist (list.List_1) type_to_term.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/type_to_term.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_to_term.java:62: error: package list does not exist (list.List_1) type_to_term.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/type_to_term.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/type_to_term.java:67: error: package list does not exist (list.List_1) type_to_term.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/type_to_term.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_252_252 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/type_to_term.java:81: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_252_252 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class type_to_term Mercury/javas/jmercury/type_to_term.java:81: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_252_252 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/type_to_term.java:82: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_253_253 = null; ^ Mercury/javas/jmercury/type_to_term.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_254_254 = null; ^ Mercury/javas/jmercury/type_to_term.java:84: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_255_255 = null; ^ Mercury/javas/jmercury/type_to_term.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_256_256 = null; ^ Mercury/javas/jmercury/type_to_term.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_257_257 = null; ^ Mercury/javas/jmercury/type_to_term.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_258_258 = null; ^ Mercury/javas/jmercury/type_to_term.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_259_259 = null; ^ Mercury/javas/jmercury/type_to_term.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_260_260 = null; ^ Mercury/javas/jmercury/type_to_term.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_261_261 = null; ^ Mercury/javas/jmercury/type_to_term.java:91: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_262_262 = null; ^ Mercury/javas/jmercury/type_to_term.java:92: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_263_263 = null; ^ Mercury/javas/jmercury/type_to_term.java:93: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_264_264 = null; ^ Mercury/javas/jmercury/type_to_term.java:94: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_265_265 = null; ^ Mercury/javas/jmercury/type_to_term.java:95: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_266_266 = null; ^ Mercury/javas/jmercury/type_to_term.java:96: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_267_267 = null; ^ Mercury/javas/jmercury/type_to_term.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_268_268 = null; ^ Mercury/javas/jmercury/type_to_term.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_269_269 = null; ^ Mercury/javas/jmercury/type_to_term.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_270_270 = null; ^ Mercury/javas/jmercury/type_to_term.java:100: error: package varset does not exist varset.Varset_1 VarSet_4 = null; ^ Mercury/javas/jmercury/type_to_term.java:102: error: package term does not exist term.Term_1 CharTerm_6 = null; ^ Mercury/javas/jmercury/type_to_term.java:105: error: package term does not exist term.Term_1 IntTerm_9 = null; ^ Mercury/javas/jmercury/type_to_term.java:108: error: package term does not exist term.Term_1 UIntTerm_12 = null; ^ Mercury/javas/jmercury/type_to_term.java:111: error: package term does not exist term.Term_1 Int8Term_15 = null; ^ Mercury/javas/jmercury/type_to_term.java:114: error: package term does not exist term.Term_1 UInt8Term_18 = null; ^ Mercury/javas/jmercury/type_to_term.java:117: error: package term does not exist term.Term_1 Int16Term_21 = null; ^ Mercury/javas/jmercury/type_to_term.java:120: error: package term does not exist term.Term_1 UInt16Term_24 = null; ^ Mercury/javas/jmercury/type_to_term.java:123: error: package term does not exist term.Term_1 Int32Term_27 = null; ^ Mercury/javas/jmercury/type_to_term.java:126: error: package term does not exist term.Term_1 UInt32Term_30 = null; ^ Mercury/javas/jmercury/type_to_term.java:129: error: package term does not exist term.Term_1 Int64Term_33 = null; ^ Mercury/javas/jmercury/type_to_term.java:132: error: package term does not exist term.Term_1 UInt64Term_36 = null; ^ Mercury/javas/jmercury/type_to_term.java:135: error: package term does not exist term.Term_1 FloatTerm_39 = null; ^ Mercury/javas/jmercury/type_to_term.java:138: error: package term does not exist term.Term_1 StringTerm_42 = null; ^ Mercury/javas/jmercury/type_to_term.java:140: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bitmap_45 = null; ^ Mercury/javas/jmercury/type_to_term.java:141: error: package term does not exist term.Term_1 BitmapTerm_46 = null; ^ Mercury/javas/jmercury/type_to_term.java:142: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap BitmapValue_47 = null; ^ Mercury/javas/jmercury/type_to_term.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDesc_48 = null; ^ Mercury/javas/jmercury/type_to_term.java:144: error: package term does not exist term.Term_1 TypeDescTerm_49 = null; ^ Mercury/javas/jmercury/type_to_term.java:146: error: package term does not exist term.Term_1 ArrayTerm_52 = null; ^ Mercury/javas/jmercury/type_to_term.java:148: error: package jmercury.version_array does not exist jmercury.version_array.ML_va VArray_54 = null; ^ Mercury/javas/jmercury/type_to_term.java:149: error: package term does not exist term.Term_1 VArrayTerm_55 = null; ^ Mercury/javas/jmercury/type_to_term.java:150: error: package jmercury.version_array does not exist jmercury.version_array.ML_va VArrayValue_56 = null; ^ Mercury/javas/jmercury/type_to_term.java:182: error: package list does not exist list.List_1 Var_221 = null; ^ Mercury/javas/jmercury/type_to_term.java:185: error: package list does not exist list.List_1 Var_237 = null; ^ Mercury/javas/jmercury/type_to_term.java:201: error: package jmercury.runtime does not exist jmercury.runtime.MercuryBitmap Bitmap0_44 = null; ^ Mercury/javas/jmercury/type_to_term.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeDescValue_50 = null; ^ Mercury/javas/jmercury/type_to_term.java:211: error: cannot find symbol VarSet_4 = varset.init_1_p_0(TypeCtorInfo_252_252); ^ symbol: variable varset location: class type_to_term Mercury/javas/jmercury/type_to_term.java:214: error: cannot find symbol TypeCtorInfo_253_253 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class type_to_term Mercury/javas/jmercury/type_to_term.java:214: error: package jmercury.runtime does not exist TypeCtorInfo_253_253 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/type_to_term.java:216: error: cannot find symbol CharTerm_6 = term_conversion.type_to_term_2_p_0(TypeCtorInfo_253_253, TypeCtorInfo_252_252, java.lang.Integer.valueOf(Char_5)); ^ symbol: variable term_conversion location: class type_to_term Mercury/javas/jmercury/type_to_term.java:220: error: cannot find symbol io.write_string_3_p_0(Var_60); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:223: error: cannot find symbol term_io.write_term_4_p_0(TypeCtorInfo_252_252, VarSet_4, CharTerm_6); ^ symbol: variable term_io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:226: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:229: error: cannot find symbol conv0_CharValue_7 = term_conversion.det_term_to_type_2_p_0(TypeCtorInfo_252_252, TypeCtorInfo_253_253, CharTerm_6); ^ symbol: variable term_conversion location: class type_to_term Mercury/javas/jmercury/type_to_term.java:234: error: cannot find symbol io.write_string_3_p_0(Var_65); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:237: error: cannot find symbol io.write_char_3_p_0(CharValue_7); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class type_to_term Mercury/javas/jmercury/type_to_term.java:243: error: cannot find symbol TypeCtorInfo_254_254 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class type_to_term Mercury/javas/jmercury/type_to_term.java:243: error: package jmercury.runtime does not exist TypeCtorInfo_254_254 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ 100 errors gmake[3]: *** [/tmp/mmake.ee0gsa:2411: type_to_term] Error 1 gmake[3]: Target 'type_to_term.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_to_term.log] Error 1 RUNNING TEST hard_coded/uc_export_enum in grade java FAILED TEST hard_coded/type_to_term_bug in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_to_term_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - type_to_term_bug Making Mercury/int3s/type_to_term_bug.int3 Making Mercury/ints/type_to_term_bug.int Making Mercury/javas/jmercury/type_to_term_bug.java Making Java class files Mercury/javas/jmercury/type_to_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_to_term_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_to_term_bug"; ^ Mercury/javas/jmercury/type_to_term_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_to_term_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_to_term_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_to_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_to_term_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/type_to_term_bug.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_to_term_bug.java:37: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(queue.queue__type_ctor_info_queue_1))), ^ symbol: variable queue location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:37: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(queue.queue__type_ctor_info_queue_1))), ^ Mercury/javas/jmercury/type_to_term_bug.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/type_to_term_bug.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/type_to_term_bug.java:42: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ symbol: variable term location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:42: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_term_1))), ^ Mercury/javas/jmercury/type_to_term_bug.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/type_to_term_bug.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/type_to_term_bug.java:56: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/type_to_term_bug.java:57: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:58: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:60: error: package queue does not exist queue.Queue_1 Q1_4 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:61: error: package term does not exist term.Term_1 Term3_6 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:63: error: package queue does not exist queue.Queue_1 _Q2_5 = null; ^ Mercury/javas/jmercury/type_to_term_bug.java:66: error: cannot find symbol Q1_4 = queue.init_1_p_0(TypeCtorInfo_11_11); ^ symbol: variable queue location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:70: error: cannot find symbol _Q2_5 = queue.put_3_p_0(TypeCtorInfo_11_11, java.lang.Integer.valueOf(Var_9), Q1_4); ^ symbol: variable queue location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:72: error: package jmercury.runtime does not exist TypeInfo_12_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_to_term_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/type_to_term_bug.java:73: error: cannot find symbol TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:73: error: package jmercury.runtime does not exist TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/type_to_term_bug.java:75: error: cannot find symbol Term3_6 = term_conversion.type_to_term_2_p_0(TypeInfo_12_12, TypeCtorInfo_13_13, ((java.lang.Object) (Q1_4))); ^ symbol: variable term_conversion location: class type_to_term_bug Mercury/javas/jmercury/type_to_term_bug.java:77: error: package jmercury.runtime does not exist TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(type_to_term_bug.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/type_to_term_bug.java:79: error: cannot find symbol io.write_line_3_p_0(TypeInfo_14_14, ((java.lang.Object) (Term3_6))); ^ symbol: variable io location: class type_to_term_bug 40 errors gmake[3]: *** [/tmp/mmake.PSOCph:2411: type_to_term_bug] Error 1 gmake[3]: Target 'type_to_term_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: type_to_term_bug.log] Error 1 RUNNING TEST hard_coded/uint16_from_bytes in grade java FAILED TEST hard_coded/uc_export_enum in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uc_export_enum.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uc_export_enum Making Mercury/int3s/uc_export_enum.int3 Making Mercury/ints/uc_export_enum.int Making Mercury/javas/jmercury/uc_export_enum.java Making Java class files Mercury/javas/jmercury/uc_export_enum.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] uc_export_enum__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/uc_export_enum.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] uc_export_enum__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/uc_export_enum.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct uc_export_enum__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/uc_export_enum.java:373: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/uc_export_enum.java:374: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/uc_export_enum.java:265: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/uc_export_enum.java:329: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/uc_export_enum.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "uc_export_enum"; ^ Mercury/javas/jmercury/uc_export_enum.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/uc_export_enum.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/uc_export_enum.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/uc_export_enum.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/uc_export_enum.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc uc_export_enum__enum_functor_desc_foo_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/uc_export_enum.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] uc_export_enum__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/uc_export_enum.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] uc_export_enum__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/uc_export_enum.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct uc_export_enum__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/uc_export_enum.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/uc_export_enum.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/uc_export_enum.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/uc_export_enum.java:119: error: cannot find symbol succeeded = (UC_4.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable UC_4 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:119: error: cannot find symbol succeeded = (UC_4.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable K0 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:125: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:133: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:145: error: cannot find symbol succeeded = (LC_5.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable LC_5 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:145: error: cannot find symbol succeeded = (LC_5.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable K0 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:151: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:159: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:177: error: cannot find symbol succeeded = (X_6.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable X_6 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:177: error: cannot find symbol succeeded = (X_6.MR_value == uc_export_enum.Foo_0.K0.MR_value); ^ symbol: variable MR_value location: variable K0 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:180: error: cannot find symbol succeeded = (Y_7.MR_value == uc_export_enum.Foo_0.K1.MR_value); ^ symbol: variable MR_value location: variable Y_7 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:180: error: cannot find symbol succeeded = (Y_7.MR_value == uc_export_enum.Foo_0.K1.MR_value); ^ symbol: variable MR_value location: variable K1 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:182: error: cannot find symbol succeeded = (Z_8.MR_value == uc_export_enum.Foo_0.K2.MR_value); ^ symbol: variable MR_value location: variable Z_8 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:182: error: cannot find symbol succeeded = (Z_8.MR_value == uc_export_enum.Foo_0.K2.MR_value); ^ symbol: variable MR_value location: variable K2 of type Foo_0 Mercury/javas/jmercury/uc_export_enum.java:189: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:197: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class uc_export_enum Mercury/javas/jmercury/uc_export_enum.java:271: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/uc_export_enum.java:272: 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 Foo_0 Mercury/javas/jmercury/uc_export_enum.java:273: 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 Foo_0 Mercury/javas/jmercury/uc_export_enum.java:277: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/uc_export_enum.java:282: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/uc_export_enum.java:284: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/uc_export_enum.java:295: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/uc_export_enum.java:309: 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 Foo_0 Mercury/javas/jmercury/uc_export_enum.java:309: 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 Foo_0 Mercury/javas/jmercury/uc_export_enum.java:358: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 56 errors gmake[3]: *** [/tmp/mmake.MZyMvj:2411: uc_export_enum] Error 1 gmake[3]: Target 'uc_export_enum.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: uc_export_enum.log] Error 1 RUNNING TEST hard_coded/uint16_switch_test in grade java FAILED TEST hard_coded/uint16_from_bytes in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uint16_from_bytes.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uint16_from_bytes Making Mercury/int3s/uint16_from_bytes.int3 Making Mercury/ints/uint16_from_bytes.int Making Mercury/javas/jmercury/uint16_from_bytes.java Making Java class files Mercury/javas/jmercury/uint16_from_bytes.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "uint16_from_bytes"; ^ Mercury/javas/jmercury/uint16_from_bytes.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/uint16_from_bytes.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/uint16_from_bytes.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/uint16_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/uint16_from_bytes.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/uint16_from_bytes.java:51: error: cannot find symbol Test1_4 = uint16.from_bytes_le_2_f_0(Var_10, Var_11); ^ symbol: variable uint16 location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:53: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:53: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/uint16_from_bytes.java:55: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test1_4)); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:60: error: cannot find symbol Test2_5 = uint16.from_bytes_le_2_f_0(Var_13, Var_14); ^ symbol: variable uint16 location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:63: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test2_5)); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:68: error: cannot find symbol Test3_6 = uint16.from_bytes_be_2_f_0(Var_16, Var_17); ^ symbol: variable uint16 location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:71: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test3_6)); ^ symbol: variable io location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:76: error: cannot find symbol Test4_7 = uint16.from_bytes_be_2_f_0(Var_19, Var_20); ^ symbol: variable uint16 location: class uint16_from_bytes Mercury/javas/jmercury/uint16_from_bytes.java:79: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_21_21, java.lang.Short.valueOf(Test4_7)); ^ symbol: variable io location: class uint16_from_bytes 22 errors gmake[3]: *** [/tmp/mmake.H6gN75:2411: uint16_from_bytes] Error 1 gmake[3]: Target 'uint16_from_bytes.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: uint16_from_bytes.log] Error 1 RUNNING TEST hard_coded/uint16_to_string in grade java FAILED TEST hard_coded/uint16_switch_test in grade java LOG OF THE FAILED TEST MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uint16_switch_test.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/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-03-02/stage2/scripts/mmc --make --options-file - uint16_switch_test Making Mercury/int3s/uint16_switch_test.int3 Making Mercury/ints/uint16_switch_test.int Making Mercury/javas/jmercury/uint16_switch_test.java Making Java class files Mercury/javas/jmercury/uint16_switch_test.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/uint16_switch_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/uint16_switch_test.java:103: error: package list does not exist list.List_1 Values_4) ^ Mercury/javas/jmercury/uint16_switch_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "uint16_switch_test"; ^ Mercury/javas/jmercury/uint16_switch_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/uint16_switch_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/uint16_switch_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/uint16_switch_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/uint16_switch_test.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/uint16_switch_test.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9]; ^ Mercury/javas/jmercury/uint16_switch_test.java:37: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/uint16_switch_test.java:39: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:41: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/uint16_switch_test.java:44: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:46: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/uint16_switch_test.java:49: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:51: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/uint16_switch_test.java:54: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:56: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/uint16_switch_test.java:59: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:61: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/uint16_switch_test.java:64: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:66: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/uint16_switch_test.java:69: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:71: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/uint16_switch_test.java:74: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:76: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/uint16_switch_test.java:79: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/uint16_switch_test.java:81: error: package list does not exist (list.List_1) uint16_switch_test.MR_scalar_common_2[7] ^ Mercury/javas/jmercury/uint16_switch_test.java:94: error: package list does not exist list.List_1 Var_6 = (list.List_1) uint16_switch_test.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/uint16_switch_test.java:94: error: package list does not exist list.List_1 Var_6 = (list.List_1) uint16_switch_test.MR_scalar_common_2[8]; ^ Mercury/javas/jmercury/uint16_switch_test.java:112: error: package list.List_1 does not exist short Value_6 = ((java.lang.Short) (((list.List_1.F_cons_2) Values_4).F1)).shortValue(); ^ Mercury/javas/jmercury/uint16_switch_test.java:112: error: illegal start of type short Value_6 = ((java.lang.Short) (((list.List_1.F_cons_2) Values_4).F1)).shortValue(); ^ Mercury/javas/jmercury/uint16_switch_test.java:113: error: package list does not exist list.List_1 ValuesPrime_7 = ((list.List_1.F_cons_2) Values_4).F2; ^ Mercury/javas/jmercury/uint16_switch_test.java:113: error: package list.List_1 does not exist list.List_1 ValuesPrime_7 = ((list.List_1.F_cons_2) Values_4).F2; ^ Mercury/javas/jmercury/uint16_switch_test.java:115: error: package list does not exist list.List_1 next_value_of_Values_4 = null; ^ Mercury/javas/jmercury/uint16_switch_test.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/uint16_switch_test.java:147: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:147: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/uint16_switch_test.java:148: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = null; ^ Mercury/javas/jmercury/uint16_switch_test.java:156: error: cannot find symbol Var_15 = string.string_1_f_0(TypeCtorInfo_26_26, java.lang.Short.valueOf(Value_6)); ^ symbol: variable string location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:158: error: cannot find symbol TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:158: error: package jmercury.runtime does not exist TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/uint16_switch_test.java:160: error: cannot find symbol Var_18 = string.string_1_f_0(TypeCtorInfo_27_27, ((java.lang.Object) (Result_8))); ^ symbol: variable string location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:164: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:167: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:171: error: cannot find symbol io.write_string_3_p_0(Var_33); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:174: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:178: error: cannot find symbol io.write_string_3_p_0(Var_35); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/uint16_switch_test.java:183: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/uint16_switch_test.java:189: error: cannot find symbol Var_24 = string.string_1_f_0(TypeCtorInfo_28_28, java.lang.Short.valueOf(Value_6)); ^ symbol: variable string location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:193: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:196: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class uint16_switch_test Mercury/javas/jmercury/uint16_switch_test.java:200: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class uint16_switch_test 62 errors gmake[3]: *** [/tmp/mmake.2GS4oQ:2411: uint16_switch_test] Error 1 gmake[3]: Target 'uint16_switch_test.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-03-02/tests/hard_coded' END OF THE LOG OF THE FAILED TEST gmake[2]: *** [../Mmake.common:388: uint16_switch_test.log] Error 1 RUNNING TEST hard_coded/uint16_uint8_casts in grade java